]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
conformtest: Correct some sys/stat.h expectations for XPG3.
[thirdparty/glibc.git] / ChangeLog
1 2016-05-10 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4 [XPG3] (S_IFSOCK): Likewise.
5 [XPG3] (S_ISVTX): Likewise.
6 [XPG3] (S_ISLNK): Likewise.
7 [XPG3] (S_ISSOCK): Likewise.
8 [XPG3] (fchmod): Likewise.
9 [XPG3] (lstat): Likewise.
10 [XPG3] (mknod): Likewise.
11
12 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13 [XPG3]. Expect type long and XFAIL for [XPG4].
14 (st_blocks): Likewise.
15
16 [BZ #20044]
17 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18 (pthread_atfork): New prototype.
19 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20 variable.
21
22 [BZ #20043]
23 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
24 prototype.
25
26 2016-05-10 Florian Weimer <fweimer@redhat.com>
27
28 [BZ #20017]
29 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
30 gmtime.
31
32 2016-05-10 Florian Weimer <fweimer@redhat.com>
33
34 [BZ #19994]
35 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
36 flag in _res.options.
37
38 2016-05-09 Joseph Myers <joseph@codesourcery.com>
39
40 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
41 [XPG3 || XPG4].
42 (blksize_t): Likewise.
43 (clockid_t): Likewise.
44 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
45 variable.
46 (test-xfail-XPG4/sys/types.h/conform): Likewise.
47
48 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
49
50 * sysdeps/unix/sysv/linux/s390/init-first.c:
51 Add VDSO_SYMBOL(getcpu).
52 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
53 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
54 Add VDSO_SYMBOL(getcpu).
55 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
56 New define HAVE_GETCPU_VSYSCALL.
57 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58
59 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
60
61 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
62 instead of <sysdeps/x86_64/cacheinfo.c>.
63 * sysdeps/x86_64/cacheinfo.c: Moved to ...
64 * sysdeps/x86/cacheinfo.c: Here.
65
66 2016-05-04 Florian Weimer <fweimer@redhat.com>
67
68 * malloc/malloc-internal.h: Adjust header file guard.
69
70 2016-05-04 Florian Weimer <fweimer@redhat.com>
71
72 [BZ #19787]
73 * inet/getnameinfo.c (check_sprintf_result): New function.
74 (CHECKED_SNPRINTF): New macro.
75 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
76 to the host buffer.
77 (gni_host_local): Use checked_copy to copy the host name.
78 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
79 (gni_serv_local): Use checked_copy to copy the service name.
80 (getnameinfo): Remove unnecessary truncation of result buffers.
81
82 2016-05-04 Florian Weimer <fweimer@redhat.com>
83
84 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
85 in case of inet_ntop failure.
86
87 2016-05-04 Florian Weimer <fweimer@redhat.com>
88
89 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
90 avoid long lines.
91 (gni_host_inet_numeric): Likewise. Reduce scope of local
92 variables.
93 (gni_host_inet, gni_host_local): Add comment.
94 (gni_host): Add comment. Use temporary to avoid long lines.
95
96 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
97
98 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
99 registers specifiers where general purpose registers specifiers should
100 have been used.
101
102 2016-05-04 Florian Weimer <fweimer@redhat.com>
103
104 [BZ #19779]
105 CVE-2016-1234
106 Avoid copying names of directory entries.
107 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
108 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
109 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
110 (struct readdir_result): New type.
111 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
112 (GL_READDIR): New macros.
113 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
114 (convert_dirent, convert_dirent64): New functions.
115 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
116 convert_dirent64. Adjust references to the readdir result.
117 * sysdeps/unix/sysv/linux/i386/glob64.c:
118 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
119 * posix/bug-glob2.c (LONG_NAME): Define.
120 (filesystem): Add LONG_NAME.
121 (my_DIR): Increase the size of room_for_dirent.
122
123 2016-05-03 Joseph Myers <joseph@codesourcery.com>
124
125 [BZ #20041]
126 * misc/sys/select.h (__need_timespec): Only define if
127 [__USE_XOPEN2K].
128 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
129 variable.
130 (test-xfail-XPG4/utmpx.h/conform): Likewise.
131 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
132 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
133
134 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
135 Segher Boessenkool <segher@gcc.gnu.org>
136
137 [BZ #20004]
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
139 (__novec_swapcontext): Add missing load.
140
141 2016-05-02 Joseph Myers <joseph@codesourcery.com>
142
143 [BZ #20023]
144 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
145 <time.h>.
146 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
147 variable.
148 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
149
150 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
151
152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
153 flags CLONE_VM compare.
154
155 2016-05-02 Florian Weimer <fweimer@redhat.com>
156
157 [BZ #20031]
158 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
159 completely empty.
160
161 2016-05-02 Florian Weimer <fweimer@redhat.com>
162
163 [BZ #19573]
164 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
165 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
166 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
167 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
168 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
169 (hesiod_free_list): Mark as hidden.
170 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
171 res_set, res_get.
172 * hesiod/hesiod.c: Remove unnecessary forward declarations.
173 (init, __hesiod_res_get, __hesiod_res_set): Remove.
174 (hesiod_init): Remove obsolete res_ninit call.
175 (hesiod_end): Do not free resolver state. Do not invoke callback.
176 (hesiod_bind): Do not call init.
177 (get_txt_records): Use res_mkquery, res_send instead of
178 res_nmkquery, res_nsend.
179 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
180 instead of _nss_hesiod_init.
181 (_nss_hesiod_initgroups_dyn): Likewise.
182 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
183 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
184 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
185
186 2016-05-02 Florian Weimer <fweimer@redhat.com>
187
188 * hesiod/hesiod_p.h (DEF_RHS): Remove.
189 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
190
191 2016-05-02 Florian Weimer <fweimer@redhat.com>
192
193 * hesiod/hesiod.h: Remove RCS keyword.
194 * hesiod/hesiod_p.h: Likewise.
195
196 * hesiod/hesiod.c: Likewise.
197
198 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
199
200 [BZ #12450]
201 * locale/iso-639.def: Add Samogitian/sgs.
202
203 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
204
205 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
206
207 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
208
209 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
210 Carlos O'Donell <carlos@redhat.com>
211
212 [BZ #19072]
213 * grp/Makefile (headers): Add grp-merge.h
214 (routines): Add grp-merge.
215 * grp/getgrgid_r.c: Include grp-merge.h.
216 (DEEPCOPY_FN): Define.
217 (MERGE_FN): Define.
218 * grp/getgrname_r.c: Include grp-merge.h.
219 (DEEPCOPY_FN): Define.
220 (MERGE_FN): Define.
221 * grp/grp-merge.c: New file.
222 * grp/grp-merge.h: New file.
223 * include/grp-merge.h: New file.
224 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
225 __copy_grp@GLIBC_PRIVATE.
226 * manual/nss.texi (Actions in the NSS configuration): Describe
227 return, continue, and merge.
228 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
229 (DEEPCOPY_FN): Define.
230 (MERGE_FN): Define.
231 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
232 (DEEPCOPY_FN): Define.
233 (MERGE_FN): Define.
234 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
235 [!MERGE_FN]: Define __merge_einval.
236 (CHECK_MERGE): Define.
237 (REENTRANT_NAME): Process merge if do_merge is true.
238 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
239 (__nss_getent_r): Likewise.
240 * nss/nsswitch.c (nss_parse_service_list): Likewise.
241 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
242
243 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
244
245 [BZ #20012]
246 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
247 length to calculate the buffer to read.
248 (fmemopen_write): Set the buffer position based on bytes written.
249 (fmemopen_seek): Return EINVAL for invalid whence modes.
250
251 [BZ #19957]
252 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
253 tst-getpid2.
254 (test): Add tst-clone2.
255 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
256 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
257 pid/tid fields for CLONE_VM.
258 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
259 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
260 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
261 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
262 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
263 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
264 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
265 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
267 Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
269 Likewise.
270 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
272 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
274 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
275 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
277 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
278
279 2016-04-29 Florian Weimer <fweimer@redhat.com>
280
281 [BZ #19642]
282 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
283 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
284 (gni_serv_local, gni_serv): New functions extracted from
285 getnameinfo.
286 (getnameinfo): Call gni_host and gni_serv to perform the
287 processing. Always free scratch buffer.
288
289 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
290
291 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
292 remaining bytes in the dest string, with zeros.
293
294 2016-04-29 Florian Weimer <fweimer@redhat.com>
295
296 [BZ #20010]
297 CVE-2016-3706
298 * sysdeps/posix/getaddrinfo.c
299 (convert_hostent_to_gaih_addrtuple): New function.
300 (gethosts): Call convert_hostent_to_gaih_addrtuple.
301 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
302 AF_INET data.
303
304 2016-04-29 Florian Weimer <fweimer@redhat.com>
305
306 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
307 callback function gl_readdir.
308 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
309 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
310 (glob_in_dir): Remove len. Use strdup instead of malloc and
311 memcpy to copy the name.
312 * manual/pattern.texi (Calling Glob): Document requirements for
313 implementations of the gl_readdir callback function.
314 * manual/examples/mkdirent.c: New example.
315 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
316 per the manual guidance.
317 * posix/tst-gnuglob.c (my_readdir): Likewise.
318
319 2016-04-28 Joseph Myers <joseph@codesourcery.com>
320
321 [BZ #20014]
322 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
323 not [__USE_POSIX].
324 (getchar_unlocked): Likewise.
325 (putc_unlocked): Likewise.
326 (putchar_unlocked): Likewise.
327 (flockfile): Likewise.
328 (ftrylockfile): Likewise.
329 (funlockfile): Likewise.
330 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
331 variable.
332 (test-xfail-XPG4/stdio.h/conform): Likewise.
333
334 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
335 Expect constant.
336 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
337 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
338 variable.
339 (test-xfail-XPG4/langinfo.h/conform): Likewise.
340 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
341
342 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
343 [__USE_LARGEFILE64] (off64_t): Likewise.
344 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
345 variable.
346
347 2016-04-28 Florian Weimer <fweimer@redhat.com>
348
349 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
350
351 2016-04-28 Florian Weimer <fweimer@redhat.com>
352
353 * resolv/inet_addr.c: Reindent preprocessor conditionals.
354 * resolv/res_init.c: Likewise.
355 * resolv/res_mkquery.c: Likewise.
356
357 2016-04-28 Florian Weimer <fweimer@redhat.com>
358
359 * resolv/res_init.c (isascii): Do not define. Use definition in
360 <ctype.h>.
361 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
362 (LOG_AUTH): Remove.
363 (SPRINTF): Remove, adjust caller.
364 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
365
366 2016-04-28 Florian Weimer <fweimer@redhat.com>
367
368 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
369 SUNSECURITY conditional.
370 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
371
372 2016-04-28 Florian Weimer <fweimer@redhat.com>
373
374 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
375 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
376 Remove BSD-related preprocessor conditionals.
377 * conf/portability.h: Remove.
378
379 2016-04-28 Florian Weimer <fweimer@redhat.com>
380
381 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
382 * resolv/res_data.c: Likewise.
383
384 2016-04-28 Florian Weimer <fweimer@redhat.com>
385
386 * resolv/res_comp.c: Remove code conditional on __ultrix__.
387 * resolv/res_data.c: Remove code conditional on ultrix.
388
389 2016-04-28 Florian Weimer <fweimer@redhat.com>
390
391 * resolv/res_init.c (RFC1535): Do not define. Remove
392 RFC1535 preprocessor conditionals.
393 * resolv/README: Update. Do not claim strict RFC 1535 compliance
394 because there configuration options which make the resolver
395 behavior different.
396
397 2016-04-28 Florian Weimer <fweimer@redhat.com>
398
399 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
400 RESOLVSORT preprocessor conditionals.
401 * resolv/nss_dns/dns-host.c: Likewise.
402 * resolv/res_init.c: Likewise.
403
404 2016-04-28 Florian Weimer <fweimer@redhat.com>
405
406 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
407 is never defined.
408
409 2016-04-28 Florian Weimer <fweimer@redhat.com>
410
411 * inet/inet_lnaof.c: Remove SCSS keyword.
412 * inet/inet_mkadr.c: Likewise.
413 * inet/inet_net.c: Likewise.
414 * inet/inet_netof.c: Likewise.
415 * inet/rcmd.c: Likewise.
416 * inet/rexec.c: Likewise.
417 * inet/ruserpass.c: Likewise.
418
419 2016-04-28 Florian Weimer <fweimer@redhat.com>
420
421 * resolv/inet_addr.c: Remove _LIBC conditionals.
422 * resolv/res_data.c: Likewise.
423 * resolv/res_init.c: Likewise.
424 * resolv/res_mkquery.c: Likewise.
425 * resolv/res_libc.c: Update comment.
426 * resolv/README: Update.
427
428 2016-04-28 Florian Weimer <fweimer@redhat.com>
429
430 * resolv/gethnamaddr.c: Remove SCSS keyword.
431 * resolv/herror.c: Likewise.
432 * resolv/inet_addr.c: Likewise.
433 * resolv/inet_net_ntop.c: Likewise.
434 * resolv/inet_net_pton.c: Likewise.
435 * resolv/inet_neta.c: Likewise.
436 * resolv/inet_ntop.c: Likewise.
437 * resolv/inet_pton.c: Likewise.
438 * resolv/ns_date.c: Remove RCS keyword.
439 * resolv/ns_name.c: Likewise.
440 * resolv/ns_netint.c: Likewise.
441 * resolv/ns_parse.c: Likewise.
442 * resolv/ns_print.c: Likewise.
443 * resolv/ns_samedomain.c: Likewise.
444 * resolv/ns_ttl.c: Likewise.
445 * resolv/nsap_addr.c: Likewise.
446 * resolv/res_comp.c: Remove SCSS and RCS keyword.
447 * resolv/res_data.c: Remove RCS keyword.
448 * resolv/res_debug.c: Remove SCSS and RCS keyword.
449 * resolv/res_init.c: Likewise.
450 * resolv/res_mkquery.c: Likewise.
451 * resolv/res_query.c: Likewise.
452 * resolv/res_send.c: Likewise.
453
454 2016-04-27 Joseph Myers <joseph@codesourcery.com>
455
456 * conform/data/stdio.h-data (fdopen): Expect also for
457 [XPG3 || XPG4].
458
459 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
460 (fseeko): Likewise.
461 (ftello): Likewise.
462 (ftrylockfile): Likewise.
463 (funlockfile): Likewise.
464 (getc_unlocked): Likewise.
465 (getchar_unlocked): Likewise.
466 (putc_unlocked): Likewise.
467 (putchar_unlocked): Likewise.
468
469 2016-04-27 Florian Weimer <fweimer@redhat.com>
470
471 [BZ #19868]
472 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
473 DNS packet syntax checks (which were not needed before). Skip
474 over non-PTR records.
475
476 2016-04-27 Florian Weimer <fweimer@redhat.com>
477
478 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
479 definition. Include <stddef.h> instead.
480
481 2016-04-27 Florian Weimer <fweimer@redhat.com>
482
483 [BZ #19831]
484 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
485 function.
486 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
487 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
488
489 2016-04-27 Florian Weimer <fweimer@redhat.com>
490
491 [BZ #19862]
492 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
493 (getanswer_r): Do not call syslog.
494 (gaih_getanswer_slice): Likewise.
495 * resolv/gethnamaddr.c (AskedForGot): Remove.
496 (getanswer): Do not call syslog.
497 (gethostbyaddr): Likewise.
498
499 2016-04-27 Joseph Myers <joseph@codesourcery.com>
500
501 * conform/data/signal.h-data (union sigval): Expect also if
502 [XOPEN2K].
503 (struct sigevent): Likewise.
504 (SIGEV_NONE): Likewise.
505 (SIGEV_SIGNAL): Likewise.
506 (SIGEV_THREAD): Likewise.
507 (SIGRTMIN): Likewise.
508 (SIGRTMAX): Likewise.
509 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
510 variable.
511 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
512
513 2016-04-27 Florian Weimer <fweimer@redhat.com>
514
515 [BZ #19830]
516 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
517 (gaih_getanswer_slice): Likewise.
518 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
519 Also check for availability of RR metadata.
520
521 2016-04-27 Florian Weimer <fweimer@redhat.com>
522
523 [BZ #19825]
524 * resolv/res_send.c (send_vc): Remove early *resplen2
525 initialization. Set *resplen2 on socket error. Call
526 close_and_return_error for other errors.
527
528 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
529
530 * sysdeps/unix/sysv/linux/netiucv/iucv.h
531 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
532 (SCM_IUCV_TRGCLS): New define.
533
534 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
535
536 [BZ #20005]
537 * libio/fmemopen.c (fmemopen_write): Update internal position after
538 write.
539 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
540 * stdio-common/tst-fmemopen4.c: New file..
541
542 2016-04-26 Joseph Myers <joseph@codesourcery.com>
543
544 [BZ #19996]
545 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
546 not [__USE_XOPEN2K].
547 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
548 variable.
549
550 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
551 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
552 variable.
553
554 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
555 [__USE_XOPEN2K8].
556 [__USE_LARGEFILE64] (off64_t): Likewise.
557 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
558 variable.
559
560 2016-04-25 Joseph Myers <joseph@codesourcery.com>
561
562 [BZ #19989]
563 * libio/stdio.h (cuserid): Do not declare if
564 [__USE_XOPEN2K && !__USE_GNU].
565 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
566 variable.
567
568 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
569
570 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
571 (sysdep_routines): Add P8 and PPC64 strcspn targets.
572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
573 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
574 ifunc'ed strcspn.
575 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
576 [EALIGN]: Removed.
577 [END]: Likewise
578 [STRSPN]: Define instead of the above to control symbol name.
579 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
580 New file.
581 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
582 Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
584 Likewise.
585 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
586 Likewise.
587 * sysdeps/powerpc/powerpc64/power8/strspn.S:
588 [INITIAL_MASK]: New macro.
589 [STRCSPN]: Likewise.
590 [UPDATE_MASK]: Likewise.
591 [USE_AS_STRCSPN]: Lisewise.
592
593 2016-04-25 Florian Weimer <fweimer@redhat.com>
594
595 [BZ #19931]
596 * stdio-common/tst-vfprintf-width-prec.c: New file.
597 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
598 (tests-special): Add tst-vfprintf-width-prec-mem.out.
599 (generated): Add mtrace-related files.
600 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
601 (tst-%-mem.out): New pattern rule, replaces
602 tst-printf-bz18872-mem.out.
603 * stdio-common/vfprintf.c (vfprintf): When handling a precision
604 specifier, deallocate any previously allocated work buffer.
605
606 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
607
608 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
609 Add nop before __startcontext, add explaining comments.
610
611 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
612
613 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
614 any more. Notably since IPV6_PKTINFO has been reintroduced with a
615 completely different API.
616
617 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
618 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
619 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
620 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
621 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
622 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
623 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
624 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
625 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
626 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
627
628 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
629
630 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
631
632 2016-04-23 Mike Frysinger <vapier@gentoo.org>
633
634 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
635 when it is the default of 0.
636
637 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
638
639 * sysdeps/powerpc/locale-defines.sym: Add new macros.
640 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
641 (sysdep_routines): Add new strcasestr targets.
642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
643 (__libc_ifunc_impl_list): Likewise.
644 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
645 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
646 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
647 * sysdeps/powerpc/powerpc64/power8/Makefile:
648 New file to add strcasestr-ppc64 to sysdep_routines.
649 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
650 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
651
652 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
653
654 * benchtests/Makefile (wcsmbs-benchset): Include only for
655 native builds and runs.
656 (LOCALES): Likewise.
657 (bench-build): Build timing-type here instead of the bench
658 target. Generate locale only for native builds.
659 * benchtests/README: Add note for cross-building.
660
661 * benchtests/Makefile (bench-clean): Clean up extra-objs.
662
663 * benchtests/README: Update README to include instructions on
664 using bench-build.
665
666 * Makefile.in (bench-build): New target.
667 * Rules (PHONY): Add bench-build target.
668 * benchtests/Makefile (bench): Depend on bench-build.
669 (bench-build): New target.
670
671 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
672
673 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
674 profil_reply_port.
675 (profile_waiter): Do not initialize profil_reply_port.
676 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
677 frequency instead of tick length in us.
678
679 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
680
681 [BZ #18712]
682 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
683 (__old_mempcpy_small): Likewise.
684 (__old_strcpy_small): Likewise.
685 (__old_stpcpy_small): Likewise.
686 (__old_strpbrk_c2): Fix compat symbol name.
687 (__old_strpbrk_c3): Likewise.
688 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
689 (__mempcpy_small): Remove.
690 (__strcpy_small): Remove.
691 (__stpcpy_small): Remove.
692
693 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
694
695 [BZ #19400]
696 * locale/iso-639.def: Add the Talossan/tzl language.
697
698 2016-04-16 Mike Frysinger <vapier@gentoo.org>
699
700 [BZ #16983]
701 * locale/programs/ld-address.c (address_finish): Update postal_fmt
702 comment. Add "ln" to strchr check on postal_fmt.
703
704 2016-04-16 Mike Frysinger <vapier@gentoo.org>
705
706 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
707 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
708 tel_dom_fmt.
709
710 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
711
712 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
713 (sysdep_routines): Added __strlen_power8.
714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
715 __strlen_power8 entry.
716 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
717 Implementation for POWER8.
718 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
719 for __strlen_power8.
720 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
721 Implementation for POWER8.
722
723 2016-04-15 Mike Frysinger <vapier@gentoo.org>
724
725 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
726
727 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
728
729 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
730 Goldmont and Airmont processors.
731
732 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
733
734 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
735 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
736 (__STRING2_SMALL_GET32): Remove.
737 (memset): Remove.
738 (__memset_1): Remove.
739 (__memset_gc): Remove.
740 (__mempcpy): Remove.
741 (mempcpy): Remove.
742 (__mempcpy_args): Remove.
743 (strchr): Remove.
744 (strcpy): Remove.
745 (strcpy_args): Remove.
746 (__stpcpy_args): Remove.
747 (__strcmp_cc): Remove.
748 (__strcmp_gc): Remove.
749 (strstr): Remove.
750
751 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
752
753 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
754 * nis/nis_call.c (nis_server_cache_add): Likewise.
755
756 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
757
758 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
759
760 2016-04-14 Florian Weimer <fweimer@redhat.com>
761
762 * malloc/arena.c (__malloc_fork_lock_parent)
763 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
764 internal_function attribute.
765
766 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
767
768 * stdio-common/printf_fp.c (__printf_fp_l):
769 Rename ___printf_fp_l to __printf_fp_l and
770 remove strong alias. Use libc_hidden_def instead
771 of ldbl_hidden_def macro.
772
773 2016-04-14 Florian Weimer <fweimer@redhat.com>
774
775 Remove malloc hooks from fork handler. They are no longer needed
776 because malloc runs right before fork, and no malloc calls from
777 other fork handlers are not possible anymore.
778 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
779 declarations.
780 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
781 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
782 (atfork_recursive_cntr): Remove.
783 (__malloc_fork_lock_parent): Do not override malloc hooks and
784 thread_arena.
785 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
786 thread_arena.
787 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
788 thread_arena instead of save_arena.
789
790 2016-04-14 Florian Weimer <fweimer@redhat.com>
791
792 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
793 (thread_atfork, thread_atfork_static): Remove.
794 * sysdeps/mach/hurd/malloc-machine.h:
795 (thread_atfork, thread_atfork_static): Remove.
796
797 2016-04-14 Florian Weimer <fweimer@redhat.com>
798
799 [BZ #19431]
800 Run the malloc fork handler as late as possible to avoid deadlocks.
801 * malloc/malloc-internal.h: New file.
802 * malloc/malloc.c: Include it.
803 * malloc/arena.c (ATFORK_MEM): Remove.
804 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
805 Update comment.
806 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
807 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
808 Remove outdated comment.
809 (ptmalloc_init): Do not call thread_atfork. Remove
810 thread_atfork_static.
811 * malloc/tst-malloc-fork-deadlock.c: New file.
812 * Makefile (tests): Add tst-malloc-fork-deadlock.
813 (tst-malloc-fork-deadlock): Link against libpthread.
814 * manual/memory.texi (Aligned Memory Blocks): Update safety
815 annotation comments.
816 * sysdeps/nptl/fork.c (__libc_fork): Call
817 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
818 __malloc_fork_unlock_child.
819 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
820
821 2016-04-14 Florian Weimer <fweimer@redhat.com>
822
823 [BZ #19613]
824 Remove union wait.
825 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
826 (w_stopsig, w_stopval): Remove.
827 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
828 stat_loc argument.
829 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
830 (__WAIT_STATUS_DEFN): Remove.
831 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
832 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
833 (wait, wait3, wait4): Use int * for the stat_loc argument.
834 * posix/wait.c (__wait): Likewise.
835 * posix/wait3.c (__wait3): Likewise.
836 * posix/wait4.c (__wait4): Likewise.
837 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
838 (__WAIT_STATUS_DEFN): Remove.
839 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
840 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
841 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
842 argument.
843 * sysdeps/posix/wait.c (__libc_wait): Likewise.
844 * sysdeps/posix/wait3.c (__wait3): Likewise.
845 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
846 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
847 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
848 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
849 stat_loc argument.
850 * manual/process.texi (BSD Wait Functions): Remove union wait.
851
852 2016-04-13 Andreas Schwab <schwab@suse.de>
853
854 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
855 (test-extras): Add tst-tlsalign-vars.
856 * math/Makefile: Wrap long lines.
857 (libm-vec-test-wrappers): Define.
858 (test-extras): Add $(libm-vec-test-wrappers).
859 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
860 * nss/Makefile (extra-test-objs): Add nss_test1.os.
861 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
862 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
863 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
864 (extra-test-objs): Add corresponding objects.
865
866 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
867
868 [BZ #19928]
869 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
870 New.
871 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
872 times of shared cache size.
873 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
874 (VMOVNT): New.
875 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
876 (VMOVNT): Likewise.
877 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
878 (VMOVNT): Likewise.
879 (VMOVU): Changed to movups for smaller code sizes.
880 (VMOVA): Changed to movaps for smaller code sizes.
881 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
882 comments.
883 (PREFETCH): New.
884 (PREFETCH_SIZE): Likewise.
885 (PREFETCHED_LOAD_SIZE): Likewise.
886 (PREFETCH_ONE_SET): Likewise.
887 Rewrite to use forward and backward loops, which move 4 vector
888 registers at a time, to support overlapping addresses and use
889 non temporal store if size is above the threshold and there is
890 no overlap between destination and source.
891
892 2016-04-12 Alex Smith <alex.smith@imgtec.com>
893
894 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
895 Include dl-vdso.
896 * sysdeps/unix/sysv/linux/mips/Versions: Add
897 __vdso_clock_gettime.
898 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
899 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
900 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
901 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
902 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
903 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
904 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
905 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
906 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
907
908 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
909
910 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
911 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
912 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
914 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
915 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
918 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
920 syscalls generation.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
922 [__NR_pwrite64] (__NR_write): Remove define.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
924 [__NR_pwrite64] (__NR_write): Remove define.
925 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
926 Remove define.
927 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
928 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
929 Remove define.
930 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
931 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
932 Linux implementation as base.
933 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
934
935 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
936 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
937 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
938 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
941 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
943 syscall generation.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
945 [__NR_pread64] (__NR_pread): Remove define.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
947 [__NR_pread64] (__NR_pread): Likewise.
948 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
949 define.
950 (__libc_pread): Use SYSCALL_LL macro on offset argument.
951 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
952 Remove define.
953 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
954 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
955 Linux implementation as base.
956 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
957 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
958 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
959
960 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
961 definition.
962 (__ALIGNMENT_COUNT): Likewise.
963 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
964 (__ALIGNMENT_COUNT): Likewise.
965 (SYSCALL_LL): New define.
966 (SYSCALL_LL64): Likewise.
967 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
968 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
969 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
970 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
971
972 * sysdeps/unix/sysv/linux/arm/kernel-features.h
973 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
974 * sysdeps/unix/sysv/linux/mips/kernel-features.h
975 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
976 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
977 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
978
979 2016-04-11 Florian Weimer <fweimer@redhat.com>
980
981 [BZ #19865]
982 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
983 original buffer before retry.
984
985 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
986
987 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
988 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
989 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
990 GLRO(dl_auxv) list.
991 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
992 including <ldsodefs.h>.
993 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
994
995 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
996
997 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
998 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
999 $(CPPFLAGS).
1000
1001 2016-04-09 Khem Raj <raj.khem@gmail.com>
1002
1003 [BZ #17950]
1004 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1005 Add -mfpmath=387.
1006
1007 2016-04-09 Mike Frysinger <vapier@gentoo.org>
1008
1009 * sysdeps/i386/configure.ac: Change == to = when calling test.
1010 * sysdeps/x86_64/configure.ac: Likewise.
1011 * sysdeps/i386/configure: Regenerated.
1012 * sysdeps/x86_64/configure: Likewise.
1013
1014 2016-04-08 Mike Frysinger <vapier@gentoo.org>
1015
1016 [BZ #16137]
1017 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1018 * benchtests/bench-strcoll.c (input_files): Likewise.
1019 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1020 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1021 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1022
1023 2016-04-08 Joseph Myers <joseph@codesourcery.com>
1024
1025 [BZ #19929]
1026 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1027 [__USE_XOPEN2K8 && !__USE_GNU].
1028 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1029 variable.
1030
1031 [BZ #19925]
1032 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1033 define if [!__USE_MISC && __USE_XOPEN2K].
1034 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1035 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1037 Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1039 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1040 variable.
1041 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1042
1043 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1044
1045 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1046 (sysdep_routines): Add new strspn targets.
1047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1048 (__libc_ifunc_impl_list): Add strspn.
1049 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1050 New file.
1051 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1052 Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1054 Likewise.
1055 * sysdeps/powerpc/powerpc64/power8/strspn.S:
1056 Likewise.
1057
1058 2016-04-07 Florian Weimer <fweimer@redhat.com>
1059
1060 * misc/hsearch_r.c: Include <limits.h>.
1061
1062 2016-04-07 Florian Weimer <fweimer@redhat.com>
1063
1064 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1065
1066 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1069 (MEMCPY_SYMBOL): New.
1070 (MEMPCPY_SYMBOL): Likewise.
1071 (MEMMOVE_CHK_SYMBOL): Likewise.
1072 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1073 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1074 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
1075 Provide alias for memcpy in libc.a and ld.so.
1076
1077 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1080 (MEMSET_CHK_SYMBOL): New. Define if not defined.
1081 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1082 Disabled fro now.
1083 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1084 symbols. Properly check USE_MULTIARCH on __memset symbols.
1085
1086 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * benchtests/Makefile (string-benchset): Add memcpy-large,
1089 memmove-large and memset-large.
1090 * benchtests/bench-memcpy-large.c: New file.
1091 * benchtests/bench-memmove-large.c: Likewise.
1092 * benchtests/bench-memmove-large.c: Likewise.
1093 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1094
1095 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1098 32-bit displacement to avoid long nop between instructions.
1099
1100 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1103 a comment on VMOVU and VMOVA.
1104
1105 2016-04-04 Florian Weimer <fweimer@redhat.com>
1106
1107 [BZ #19633]
1108 Use specified locale for number formatting in strfmon_l.
1109 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1110 (__nl_lookup_word): New inline functions.
1111 * include/printf.h (__print_fp_l): Declare.
1112 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1113 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
1114 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1115 (___printf_fp): New function.
1116 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1117 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1118 * stdlib/tst-strfmon_l.c (do_test): New test.
1119 * stdlib/Makefile (tests): Add kt.
1120 (LOCALES): Build additional locales.
1121 (tst-strfmon_l.out): Require locales.
1122
1123 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1126 if not in libc.
1127 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1128 Likewise.
1129 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1130 Likewise.
1131 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1132 Likewise.
1133
1134 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1137 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1138 with unaligned_erms.
1139 (__memmove_erms): Skip if source == destination.
1140 (__memmove_unaligned_erms): Don't check source == destination
1141 first.
1142
1143 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1146 bit_arch_Fast_Copy_Backward for Intel Core proessors.
1147
1148 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1149
1150 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1151 * string/strspn.c (strspn): Likewise.
1152
1153 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * benchtests/bench-memset.c (do_test): Support 64-byte
1156 alignment.
1157 (test_main): Test 64-byte alignment.
1158
1159 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * benchtests/bench-memmove.c (test_main): Test 64-byte
1162 alignment.
1163
1164 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1167
1168 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1169
1170 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1171 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1172 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1173
1174 * string/strpbrk.c (strpbrk): Rewrite function.
1175 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1176 (__strpbrk_c2): Likewise.
1177 (__strpbrk_c3): Likewise.
1178 * string/string-inlines.c
1179 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1180 Likewise.
1181 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1182 Likewise.
1183
1184 * string/strspn.c (strcspn): Rewrite function.
1185 * string/bits/string2.h (strspn): Use __builtin_strcspn.
1186 (__strspn_c1): Remove inline function.
1187 (__strspn_c2): Likewise.
1188 (__strspn_c3): Likewise.
1189 * string/string-inlines.c
1190 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1191 compatibility symbol.
1192 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1193 Likewise.
1194 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1195 Likewise.
1196 * string/string-inlines.c: Include generic version.
1197
1198 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
1199 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1200
1201 * string/Version (libc): Add GLIBC_2.24.
1202 * string/strcspn.c (strcspn): Rewrite function.
1203 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1204 (__strcspn_c1): Remove inline function.
1205 (__strcspn_c2): Likewise.
1206 (__strcspn_c3): Likewise.
1207 * string/string-inline.c
1208 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1209 compatibility symbol.
1210 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1211 Likewise.
1212 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1213 Likewise.
1214 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1215
1216 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1217
1218 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1219 Use ahi instead of aghi to adjust stack pointer.
1220
1221 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1222
1223 [BZ #19853]
1224 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1225 TEST to take significant digits as second parameter.
1226 [TEST]: Redefine in terms of TEST_N taking 30
1227 significant digits.
1228 (do_test): Add test case to demonstrate precision
1229 failure in the ldbl-128ibm printf.
1230 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1231 (__mpn_extract_long_double): Carry 7 extra intermediate
1232 bits of precision to aide computing difference when
1233 signs differ.
1234
1235 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 [BZ #19881]
1238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1239 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1240 memset-avx512-unaligned-erms.
1241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1242 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1243 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1244 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1245 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1246 __memset_sse2_unaligned_erms, __memset_erms,
1247 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1248 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1249 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1250 file.
1251 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1252 Likewise.
1253 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1254 Likewise.
1255 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1256 Likewise.
1257
1258 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 [BZ #19776]
1261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1262 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1263 memmove-avx512-unaligned-erms.
1264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1265 (__libc_ifunc_impl_list): Test
1266 __memmove_chk_avx512_unaligned_2,
1267 __memmove_chk_avx512_unaligned_erms,
1268 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1269 __memmove_chk_sse2_unaligned_2,
1270 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1271 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1272 __memmove_avx512_unaligned_erms, __memmove_erms,
1273 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1274 __memcpy_chk_avx512_unaligned_2,
1275 __memcpy_chk_avx512_unaligned_erms,
1276 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1277 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1278 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1279 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1280 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1281 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1282 __mempcpy_chk_avx512_unaligned_erms,
1283 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1284 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1285 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1286 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1287 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1288 __mempcpy_erms.
1289 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1290 file.
1291 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1292 Likwise.
1293 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1294 Likwise.
1295 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1296 Likwise.
1297
1298 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1299
1300 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1301 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1302 (La_s390_64_regs): Likewise.
1303 (La_s390_32_retval): Append vector register lrv_v24.
1304 (La_s390_64_retval): Likeweise.
1305 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1306 Handle extended structs La_s390_32_regs and La_s390_32_retval.
1307 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1308 Handle extended structs La_s390_64_regs and La_s390_64_retval.
1309
1310 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1311
1312 [BZ #19916]
1313 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1314 to create a non-vector/vector version for _dl_runtime_resolve and
1315 _dl_runtime_profile. Move implementation to ...
1316 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1317 (_dl_runtime_resolve) Save and restore fpr/vrs.
1318 (_dl_runtime_profile) Save and restore vrs and fix some issues
1319 if _dl_call_pltexit is called.
1320 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1321 Choose the correct resolver function if running on a machine with vx.
1322 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1323 to create a non-vector/vector version for _dl_runtime_resolve and
1324 _dl_runtime_profile. Move implementation to ...
1325 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1326 (_dl_runtime_resolve) Save and restore fpr/vrs.
1327 (_dl_runtime_profile) Save and restore vrs and fix some issues
1328 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1329 Choose the correct resolver function if running on a machine with vx.
1330
1331 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1332
1333 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1334
1335 2016-03-31 Florian Weimer <fweimer@redhat.com>
1336
1337 [BZ #19509]
1338 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1339 skip_map != NULL.
1340 * elf/tst-dlsym-error.c: New file.
1341 * elf/Makefile (tests): Add tst-dlsym-error.
1342 (tst-dlsym-error): Link against libdl.
1343
1344 2016-03-29 Joseph Myers <joseph@codesourcery.com>
1345
1346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1347 (__ASSUME_FUTIMESAT): Remove macro.
1348 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1349
1350 2016-03-29 Florian Weimer <fweimer@redhat.com>
1351
1352 [BZ #19879]
1353 CVE-2016-3075
1354 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1355 copy name.
1356
1357 2016-03-29 Florian Weimer <fweimer@redhat.com>
1358
1359 [BZ #19837]
1360 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1361 error if parse_line fails.
1362
1363 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1366 (index_cpu_ERMS): Likewise.
1367 (reg_ERMS): Likewise.
1368
1369 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
1370
1371 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1372 PER_LINUX_FDPIC): Add.
1373
1374 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
1375
1376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1377 memcpy-avx512-no-vzeroupper.
1378 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1379 to ...
1380 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1381 (MEMCPY): Don't define.
1382 (MEMCPY_CHK): Likewise.
1383 (MEMPCPY): Likewise.
1384 (MEMPCPY_CHK): Likewise.
1385 (MEMPCPY_CHK): Renamed to ...
1386 (__mempcpy_chk_avx512_no_vzeroupper): This.
1387 (MEMPCPY_CHK): Renamed to ...
1388 (__mempcpy_chk_avx512_no_vzeroupper): This.
1389 (MEMCPY_CHK): Renamed to ...
1390 (__memmove_chk_avx512_no_vzeroupper): This.
1391 (MEMCPY): Renamed to ...
1392 (__memmove_avx512_no_vzeroupper): This.
1393 (__memcpy_avx512_no_vzeroupper): New alias.
1394 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1395
1396 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
1397
1398 [BZ #18858]
1399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1400 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1401 and mempcpy-avx512-no-vzeroupper.
1402 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1403 New.
1404 (MEMPCPY): Likewise.
1405 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1406 (MEMPCPY_CHK): New.
1407 (MEMPCPY): Likewise.
1408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1409 (MEMPCPY): Likewise.
1410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1411 (MEMPCPY): Likewise.
1412 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1413 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1414 Likewise.
1415 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1416 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1417
1418 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
1419 Amit Pawar <Amit.Pawar@amd.com>
1420
1421 [BZ #19583]
1422 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1423 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1424 processors. Set Fast_Copy_Backward for AMD Excavator
1425 processors.
1426 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1427 New.
1428 (index_arch_Fast_Unaligned_Copy): Likewise.
1429 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1430 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1431
1432 2016-03-25 Florian Weimer <fweimer@redhat.com>
1433
1434 [BZ #19791]
1435 * resolv/res_send.c (close_and_return_error): New function.
1436 (send_dg): Initialize *resplen2 after reopen failure. Call
1437 close_and_return_error for error returns. On error paths without
1438 __res_iclose, initialze *resplen2 explicitly. Update comment for
1439 successful return.
1440
1441 2016-03-25 Florian Weimer <fweimer@redhat.com>
1442
1443 [BZ# 19860]
1444 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1445 zero if the compiler does not provide the AVX512F bit.
1446
1447 2016-03-24 Joseph Myers <joseph@codesourcery.com>
1448
1449 [BZ #19848]
1450 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1451 from 8 to 4.
1452 (__ieee754_powl): Compare integer exponent against 4 not 8.
1453 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1454 from 8 to 4.
1455 (__ieee754_powl): Compare integer exponent against 4 not 8.
1456 * math/auto-libm-test-in: Add more tests of pow.
1457 * math/auto-libm-test-out: Regenerated.
1458 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460
1461 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
1462
1463 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1464 Make code unconditional.
1465 [!__NR_utimensat]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1467 Make code unconditional.
1468 [!__NR_utimensat]: Remove conditional code.
1469 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1470 Make code unconditional.
1471 [!__NR_utimensat]: Remove conditional code.
1472
1473 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
1474
1475 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1476 Make code unconditional.
1477
1478 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
1479
1480 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1481 call-clobbered %eax on retry path.
1482 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1483
1484 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1487 Don't set %rcx twice before "rep movsb".
1488
1489 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 [BZ #19583]
1492 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1493 inline. Check family before setting family, model and
1494 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
1495 bits here.
1496 (init_cpu_features): Replace HAS_CPU_FEATURE and
1497 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1498 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
1499 for Intel processors with usable AVX2. Call get_common_indeces
1500 for other processors with family == NULL.
1501 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1502 (CPU_FEATURES_ARCH_P): Likewise.
1503 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1504 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1505
1506 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1507
1508 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1509 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1510 $(shared-thread-library) instead of hardcoding the path to libpthread.
1511
1512 2016-03-22 Joseph Myers <joseph@codesourcery.com>
1513
1514 * sysdeps/unix/sysv/linux/kernel-features.h
1515 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1516 * sysdeps/unix/sysv/linux/getdents.c
1517 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1518 [!have_no_getdents64_defined]: Likewise.
1519 (__GETDENTS): Remove __have_no_getdents64 conditional.
1520
1521 2016-03-21 Joseph Myers <joseph@codesourcery.com>
1522
1523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1524 Remove macro.
1525 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1526 <kernel-features.h>.
1527 (signalfd) [__NR_signalfd4]: Make code unconditional.
1528 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1529
1530 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1531
1532 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1533 style.
1534
1535 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1538 (__pthread_enable_asynccancel): Use JUMPTARGET to call
1539 __pthread_unwind.
1540 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1541 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1542 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1543 (__condvar_cleanup1): Likewise.
1544
1545 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
1546
1547 [BZ #19822]
1548 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1549 move it to the final $@ location.
1550
1551 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1552
1553 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1554 access where posix_spawn success and pid argument is null.
1555 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1556 success case.
1557
1558 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
1559
1560 * sysdeps/mach/hurd/i386/c++-types.data: New file.
1561
1562 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1563
1564 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1565 and __fcntl.
1566 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1567 __fcntl only.
1568 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1569 adding attribute_hidden to __open and __fcntl.
1570
1571 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1572 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1573 depend on libc-modules.h,
1574 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1575
1576 2016-03-17 Joseph Myers <joseph@codesourcery.com>
1577
1578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1579 Remove macro.
1580 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1581 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1582 entry.
1583
1584 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1585 Remove macro.
1586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1587 include <kernel-features.h>.
1588 [!__ASSUME_FALLOCATE]: Remove conditional code.
1589 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1590
1591 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1594 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1595 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1596 (_ZGVdN4v_cos_avx2): Likewise.
1597 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1598 (_ZGVdN4v_cos): Likewise.
1599 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1600 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1601 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1602 (_ZGVdN4v_exp_avx2): Likewise.
1603 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1604 (_ZGVdN4v_exp): Likewise.
1605 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1606 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1607 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1608 (_ZGVdN4v_log_avx2): Likewise.
1609 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1610 (_ZGVdN4v_log): Likewise.
1611 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1612 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1613 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1614 (_ZGVdN4vv_pow_avx2): Likewise.
1615 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1616 (_ZGVdN4vv_pow): Likewise.
1617 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1618 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1619 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1620 (_ZGVdN4v_sin_avx2): Likewise.
1621 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1622 (_ZGVdN4v_sin): Likewise.
1623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1624 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1626 (_ZGVdN4vvv_sincos_avx2): Likewise.
1627 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1628 (_ZGVdN4vvv_sincos): Likewise.
1629 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1630 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1631 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1632 (_ZGVbN4v_cosf_sse4): Likewise.
1633 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1634 (_ZGVdN8v_cosf_avx2): Likewise.
1635 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1636 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1637 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1638 (_ZGVbN4v_expf_sse4): Likewise.
1639 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1640 (_ZGVdN8v_expf_avx2): Likewise.
1641 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1642 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1643 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1644 (_ZGVbN4v_logf_sse4): Likewise.
1645 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1646 (_ZGVdN8v_logf_avx2): Likewise.
1647 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1648 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1649 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1650 (_ZGVbN4vv_powf_sse4): Likewise.
1651 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1652 (_ZGVdN8vv_powf_avx2): Likewise.
1653 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1654 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1655 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1656 (_ZGVbN4vvv_sincosf_sse4): Likewise.
1657 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1658 (_ZGVdN8vvv_sincosf_avx2): Likewise.
1659 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1660 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1661 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1662 (_ZGVbN4v_sinf_sse4): Likewise.
1663 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1664 (_ZGVdN8v_sinf_avx2): Likewise.
1665 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1666 Use JUMPTARGET to call callee.
1667 (WRAPPER_IMPL_SSE2_ff): Likewise.
1668 (WRAPPER_IMPL_SSE2_fFF): Likewise.
1669 (WRAPPER_IMPL_AVX): Likewise.
1670 (WRAPPER_IMPL_AVX_ff): Likewise.
1671 (WRAPPER_IMPL_AVX_fFF): Likewise.
1672 (WRAPPER_IMPL_AVX512): Likewise.
1673 (WRAPPER_IMPL_AVX512_ff): Likewise.
1674 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1675 Likewise.
1676 (WRAPPER_IMPL_SSE2_ff): Likewise.
1677 (WRAPPER_IMPL_SSE2_fFF): Likewise.
1678 (WRAPPER_IMPL_AVX): Likewise.
1679 (WRAPPER_IMPL_AVX_ff): Likewise.
1680 (WRAPPER_IMPL_AVX_fFF): Likewise.
1681 (WRAPPER_IMPL_AVX512): Likewise.
1682 (WRAPPER_IMPL_AVX512_ff): Likewise.
1683 (WRAPPER_IMPL_AVX512_fFF): Likewise.
1684
1685 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1686
1687 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1688 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1689 qualifier.
1690 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1691 internal_function qualifiers.
1692
1693 2016-03-15 Carlos O'Donell <carlos@redhat.com>
1694
1695 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1696 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1697 * math/atest-exp.c (exp_mpn): Mark chk unused.
1698 * math/atest-exp2.c (exp_mpn): Likwise.
1699 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1700 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1701
1702 2016-03-15 Joseph Myers <joseph@codesourcery.com>
1703
1704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1705 Remove macro.
1706 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1707 <kernel-features.h>.
1708 [__NR_ppoll]: Make code unconditional.
1709 [!__ASSUME_PPOLL]: Remove conditional code.
1710
1711 * sysdeps/unix/sysv/linux/kernel-features.h
1712 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1713 (__ASSUME_ACCEPT4): Likewise.
1714 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1715 Define.
1716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1717 Likewise.
1718 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1719 Likewise.
1720 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1721 Likewise.
1722 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1723 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1725 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1726 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1727 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1729 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1730 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1731 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1732 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1733 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1734 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1735 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1736 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1737 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1738 Likewise.
1739 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1740 Likewise.
1741 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1742 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1743 0x040300].
1744 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1745 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1746 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1747 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1748 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1749 0x030300].
1750 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1752 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1753 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1754 0x040300].
1755 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1756 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1758 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1759 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1760 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1761 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1762 0x030300].
1763 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1764 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1765 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1766 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1768 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1769 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1770 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1771 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1772 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1773 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1774 0x040300].
1775 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1776 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1777 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1778 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1779 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1780 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1782 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1783 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1784 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1786 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1787 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1788 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1789 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1790 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1792 Likewise.
1793 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1794 Likewise.
1795
1796 2016-03-15 Andreas Schwab <schwab@suse.de>
1797
1798 [BZ #19257]
1799 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1800 statp->_u._ext.nscount as loop count.
1801
1802 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
1803
1804 * math/test-signgam-finite-c99.c: Also #undef
1805 __LIBC_INTERNAL_MATH_INLINES.
1806 * math/test-signgam-main.c: Likewise.
1807
1808 2016-03-14 Joseph Myers <joseph@codesourcery.com>
1809
1810 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1811 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1812 (MADV_FREE): Likewise.
1813 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1814 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1815 EPOLLEXCLUSIVE.
1816
1817 2016-03-14 Carlos O'Donell <carlos@redhat.com>
1818
1819 * timezone/README: Remove mention of checktab.awk. Mention wiki
1820 SharedSourceFiles.
1821
1822 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
1823
1824 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1825 WUNTRACED.
1826
1827 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1828
1829 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1830 order to match the type of p when calling atomic_exchange_acq().
1831
1832 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1833
1834 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1835 cfi_offset calls.
1836 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1837 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1838 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1839 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1840 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1841
1842 2016-03-10 Carlos O'Donell <carlos@redhat.com>
1843
1844 * timezone/checktab.awk: Removed.
1845
1846 2016-03-10 Joseph Myers <joseph@codesourcery.com>
1847
1848 * manual/math.texi (Errors in Math Functions): Document relaxed
1849 accuracy goals for IBM long double.
1850 * math/libm-test.inc (test_exceptions): Always allow spurious
1851 "underflow" and "inexact" exceptions for IBM long double.
1852
1853 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 [BZ #19762]
1856 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1857 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1858 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1859 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1860 (bit_arch_*): This for feature array.
1861 (bit_*): Renamed to ...
1862 (bit_cpu_*): This for cpu array.
1863 (index_*): Renamed to ...
1864 (index_arch_*): This for feature array.
1865 (index_*): Renamed to ...
1866 (index_cpu_*): This for cpu array.
1867 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1868 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1869 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1870 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1871 bit_##name with index_cpu_##name and bit_cpu_##name.
1872 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1873 bit_##name with index_arch_##name and bit_arch_##name.
1874
1875 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
1876
1877 [BZ #19792]
1878 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1879 Terminate FDE before return label.
1880
1881 2016-03-09 Joseph Myers <joseph@codesourcery.com>
1882
1883 [BZ #19790]
1884 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1885 (rintl): Define as macro.
1886 [USE_AS_NEARBYINTL] (__rintl): Likewise.
1887 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1888 of fesetround. Ensure results are evaluated before end of scope.
1889 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1890 USE_AS_NEARBYINTL and include s_rintl.c.
1891 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1892 Disable exception traps in new environment.
1893 (libc_feholdsetround_ppc_ctx): Likewise.
1894
1895 2016-03-08 Roland McGrath <roland@hack.frob.com>
1896
1897 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1898 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1899 (tst_audit10_aux) [__AVX512F__]: ... here.
1900
1901 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
1902
1903 * include/sys/auxv.h: New file.
1904
1905 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 [BZ #19759]
1908 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1909
1910 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1911
1912 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1913 operand modifier.
1914 (feclearexcept): Likewise.
1915
1916 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1917
1918 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1919 to reflect the entire 32-bit HWCAP.
1920 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1921 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
1922
1923 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 [BZ #19783]
1926 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1927 $(test-via-rtld-prefix).
1928 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1929
1930 2016-03-08 Florian Weimer <fweimer@redhat.com>
1931
1932 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1933 union wait. Report any non-zero exit status as error.
1934
1935 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1936
1937 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1938 configured with --enable-hardcoded-path-in-tests.
1939
1940 2016-03-08 Joseph Myers <joseph@codesourcery.com>
1941
1942 [BZ #19677]
1943 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1944 (__ieee754_remainderl): Put zero low parts in canonical form.
1945 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1946 file. Based on
1947 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1948 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1949 with wrapper round test-fmodrem-ldbl-128ibm.c.
1950 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1951 file.
1952 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1953 Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1955 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1956
1957 2016-03-07 Florian Weimer <fweimer@redhat.com>
1958
1959 [BZ #19610]
1960 * elf/ldconfig.c (opt_link): Update comment.
1961 (options): Update help string for option -X.
1962 (search_dir): Unlink stale symbolic link only if updating symbolic
1963 links.
1964 * elf/tst-ldconfig-X.sh: New file.
1965 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1966 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1967
1968 2016-03-07 Andreas Schwab <schwab@suse.de>
1969
1970 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1971 needed arguments.
1972
1973 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
1974
1975 [BZ #15333]
1976 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1977 to lstat64.
1978
1979 2016-03-07 Florian Weimer <fweimer@redhat.com>
1980
1981 * libio/filedoalloc.c (isatty): Remove.
1982 (local_isatty): Add comment. Call __isatty directly.
1983 (_IO_file_doallocate): Update comment. Assume _LIBC.
1984 * libio/wfiledoalloc.c (isatty): Remove.
1985 (_IO_wfile_doallocate): Update comment.
1986
1987 2016-03-07 Florian Weimer <fweimer@redhat.com>
1988
1989 [BZ #19269]
1990 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1991 tst-audit4-aux.o.
1992 (tst-audit10): Depend on tst-audit10-aux.o.
1993 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1994 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1995 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1996 instead of inline AVX code.
1997 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1998 instead of inline AVX512 code.
1999 * sysdeps/x86_64/tst-audit4-aux.c: New file
2000 * sysdeps/x86_64/tst-audit10-aux.c: New file
2001
2002 [BZ #19648]
2003 * test-skeleton.c (main): Do not set RLIMIT_DATA.
2004
2005 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2006
2007 [BZ #14750]
2008 [BZ #10354]
2009 [BZ #18433]
2010 * include/sched.h (__clone): Add hidden prototype.
2011 (__clone2): Likewise.
2012 * include/unistd.h (__dup): Likewise.
2013 * posix/Makefile (tests): Add tst-spawn2.
2014 * posix/tst-spawn2.c: New file.
2015 * sysdeps/posix/dup.c (__dup): Add hidden definition.
2016 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2017 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2018 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2019 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2020 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2021 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2022 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2023 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2024 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2025 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2027 Likewise.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2029 Likewise.
2030 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2031 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2032 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2035 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2036 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2037 * sysdeps/unix/sysv/linux/nptl-signals.h
2038 (____nptl_is_internal_signal): New function.
2039 * sysdeps/unix/sysv/linux/spawni.c: New file.
2040
2041 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2042 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2043 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2044 * posix/tst-execvp2.c (do_test): Likewise.
2045 * posix/tst-execvp3.c (do_test): Likewise.
2046 * posix/tst-execvp4.c (do_test): Likewise.
2047 * posix/tst-execvpe1.c: New file.
2048 * posix/tst-execvpe2.c: Likewise.
2049 * posix/tst-execvpe3.c: Likewise.
2050 * posix/tst-execvpe4.c: Likewise.
2051 * posix/tst-execvpe5.c: Likewise.
2052 * posix/tst-execvpe6.c: Likewise.
2053
2054 [BZ #19534]
2055 * posix/execl.c (execl): Remove dynamic memory allocation.
2056 * posix/execle.c (execle): Likewise.
2057 * posix/execlp.c (execlp): Likewise.
2058
2059 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2062 Replace .text with .text.avx512.
2063 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2064 Likewise.
2065
2066 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
2067
2068 * sysdeps/generic/libnsl.abilist: New file.
2069 * sysdeps/generic/libutil.abilist: New file.
2070
2071 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 [BZ #19762]
2074 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2075 HAS_ARCH_FEATURE with Fast_Rep_String.
2076 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2077 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2078 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2079 Likewise.
2080 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2081 Likewise.
2082 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2084 Likewise.
2085 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2086 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2087 Likewise.
2088
2089 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 [BZ #19745]
2092 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2093 with *%rax in call.
2094
2095 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 [BZ #19745]
2098 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2099 with *__libc_start_main@GOTPCREL(%rip) in call.
2100
2101 2016-03-04 Roland McGrath <roland@hack.frob.com>
2102
2103 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2104 inside conditional for nonempty $(CXX).
2105
2106 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2107 nonempty.
2108
2109 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2110 to test for empty $(CXX) rather than $(CXX) of "no".
2111
2112 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2115
2116 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
2117 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 [BZ #18880]
2120 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2121 instead of Slow_BSF, and also check for Fast_Copy_Backward to
2122 enable __memcpy_ssse3_back.
2123
2124 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
2125
2126 [BZ #19758]
2127 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2128 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2129
2130 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2131
2132 [BZ #19490]
2133 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2134 (__fentry__): Likewise.
2135
2136 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
2137
2138 * gmon/Makefile (noprof): Add $(sysdep_noprof).
2139 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2140
2141 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2144 __mcount_internal directly.
2145 (C_LABEL(__fentry__)): Likewise.
2146 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2147 directly.
2148
2149 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2152 (__start_context): Call __setcontext directly.
2153
2154 2016-02-26 Joseph Myers <joseph@codesourcery.com>
2155
2156 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2157 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2158 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2159 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2160 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2161 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2162 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2163 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2164 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2165 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2166 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2167 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2168 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2169 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2170 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2171 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2172 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2174 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2175 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2176 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2178 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2179 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2180 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2181 Remove conditional code.
2182 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2183 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2184 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2185 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2186 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2187 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2188 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2190 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2191 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2192 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2193 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2194
2195 2016-02-24 Marko Myllynen <myllynen@redhat.com>
2196
2197 * NEWS (2.23): Fix typo in bug 19048 text.
2198
2199 2016-02-24 Carlos O'Donell <carlos@redhat.com>
2200
2201 [BZ #14259]
2202 * Makeconfig: Rename msgcatdir to localedir.
2203 Rename inst_msgcatdir to inst_localedir.
2204 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2205 * config.make.in: Add localedir.
2206 * elf/Makefile ($(objpfx)sotruss): Use localedir.
2207 (ldd-rewrite): Likewise.
2208 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2209 (install-others): Use inst_localedir.
2210 (CPPFLAGS): Use localedir.
2211 * locale/Makefile (locale-CPPFLAGS): Likewise.
2212 * po/Makefile (mo-installed): Use inst_localedir.
2213
2214 [BZ #19575]
2215 * localedata/charmaps/GB18030: Update comments regarding PAU to
2216 non-PUA mappings.
2217
2218 2016-02-24 Joseph Myers <joseph@codesourcery.com>
2219
2220 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2221 test for header.
2222 * sysdeps/unix/sysv/linux/configure: Regenerated.
2223 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2224 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2225 Remove conditional code.
2226 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2227
2228 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2229 Define to 3.2.0.
2230 (arch_minimum_kernel): Likewise.
2231 * sysdeps/unix/sysv/linux/configure: Regenerated.
2232 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2233 Define to 2.6.32.
2234 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2235 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2236 (arch_minimum_kernel): Define to 2.6.32.
2237 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2238 * README: Document Linux 3.2 requirement.
2239 * manual/install.texi (Linux): Document Linux 3.2 headers
2240 requirement.
2241 * INSTALL: Regenerated.
2242
2243 2016-02-24 Andreas Schwab <schwab@suse.de>
2244
2245 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2246 if !NO_LONG_DOUBLE.
2247
2248 2016-02-22 Roland McGrath <roland@hack.frob.com>
2249
2250 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2251 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2252
2253 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
2254
2255 [BZ #19512]
2256 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2257
2258 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
2259
2260 * posix/tst-dir.c: Include libc-internal.h.
2261
2262 2016-02-20 Florian Weimer <fweimer@redhat.com>
2263
2264 [BZ #19056]
2265 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2266 * manual/filesys.texi (Reading/Closing Directory): Mention
2267 deprecaion.
2268 * posix/tst-dir.c (main): Disable deprecation warning in test.
2269
2270 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 [BZ #19679]
2273 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2274 Renamed to ...
2275 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
2276 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2277 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
2278 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2279 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2280 * sysdeps/x86_64/dl-trampoline.h
2281 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2282 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2283
2284 2016-02-19 Mark Wielaard <mjw@redhat.com>
2285
2286 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2287
2288 2016-02-19 Mark Wielaard <mjw@redhat.com>
2289
2290 * elf/elf.h (R_386_GOT32X): New.
2291 (R_386_NUM): Update.
2292 (R_X86_64_GOTPCRELX: New.
2293 (R_X86_64_REX_GOTPCRELX): New.
2294 (R_X86_64_NUM): Update.
2295
2296 2016-02-19 Mike Frysinger <vapier@gentoo.org>
2297
2298 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2299
2300 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
2301
2302 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2303 assign attr->stackaddr to it, and adjust it down when
2304 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
2305 [_STACK_GROWS_UP]: Delete assert.
2306 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2307 Implement stack grows up logic.
2308 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2309 stack grows up logic.
2310
2311 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2312
2313 * NEWS: Update with 2.24 template.
2314
2315 2016-02-19 Joseph Myers <joseph@codesourcery.com>
2316
2317 [BZ #19678]
2318 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2319 Ensure +0.0 is returned when taking the next value below the least
2320 positive value.
2321
2322 2016-02-19 Florian Weimer <fweimer@redhat.com>
2323
2324 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2325 available. Do not define NO_THREADS.
2326 * malloc/malloc.c: Do not check NO_THREADS.
2327 * malloc/arena.c: Likewise.
2328
2329 2016-02-19 Florian Weimer <fweimer@redhat.com>
2330
2331 * malloc/malloc.c (__libc_mallinfo): Update comment.
2332 (struct malloc_par): Remove max_total_mem member, it was always 0.
2333 (int_mallinfo): Store 0 into usmblks (no functional change).
2334 * malloc/hooks.c (struct malloc_state): Document that
2335 max_total_mem is always 0.
2336 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2337 always 0.
2338 * manual/memory.texi (Statistics of Malloc): Likewise.
2339
2340 2016-02-19 Florian Weimer <fweimer@redhat.com>
2341
2342 * malloc/malloc.c (sysmalloc): Do not update arena_max.
2343 * malloc/arena.c (arena_max): Remove.
2344 (heap_trim, _int_new_arena): Do not update arena_max.
2345
2346 2016-02-19 Florian Weimer <fweimer@redhat.com>
2347
2348 * resolv/res_init.c (res_ninit): Update comment.
2349
2350 2016-02-19 Florian Weimer <fweimer@redhat.com>
2351
2352 [BZ #19505]
2353 * posix/spawn_int.h: Add headers and include guard.
2354 (__spawn_valid_fd): New function.
2355 * posix/spawn_faction_addopen.c
2356 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2357 * posix/spawn_faction_addclose.c
2358 (posix_spawn_file_actions_addclose): Likewise.
2359 * posix/spawn_faction_adddup2.c
2360 (posix_spawn_file_actions_adddup2): Likewise. Add check for
2361 second file descriptor.
2362 * posix/spawn_valid_fd.c: New file.
2363 * posix/tst-posix_spawn-fd.c: New file.
2364 * posix/Makefile (routines): Add spawn_valid_fd.
2365 (tests): Add tst-posix_spawn-fd.
2366
2367 2016-02-19 Florian Weimer <fweimer@redhat.com>
2368
2369 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2370 (do_test): Limit the number of arenas, so that we can use fewer
2371 outer threads. Limit timeout to 3 seconds, in preparation for a
2372 larger TIMEOUT value.
2373
2374 2016-02-19 Joseph Myers <joseph@codesourcery.com>
2375
2376 [BZ #19674]
2377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2378 sign in overflowing and underflowing results when overflow or
2379 underflow is detected early. Include sign in result before rather
2380 than after scaling.
2381
2382 [BZ #19603]
2383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2384 (__ieee754_remainderl): Adjust sign of integer version of low part
2385 when taking absolute value of high part.
2386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2387 * math/libm-test.inc (remainder_test_data): Add another test.
2388 (remquo_test_data): Likewise.
2389
2390 2016-02-18 Joseph Myers <joseph@codesourcery.com>
2391
2392 [BZ #19602]
2393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2394 equal high parts and both low parts zero specially.
2395 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2396 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2397 Add test-fmodl-ldbl-128ibm.
2398
2399 [BZ #19595]
2400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2401 common logic for all cases of shifting subnormal results. Do not
2402 insert sign bit in shifted mantissa. Always pass -1023 as biased
2403 exponent to ldbl_insert_mantissa in subnormal case.
2404
2405 [BZ #19594]
2406 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2407 on high and low parts then adjust result and use
2408 ldbl_canonicalize_int if needed.
2409
2410 [BZ #19593]
2411 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2412 on high part and __floor or __ceil on low part then use
2413 ldbl_canonicalize_int if needed.
2414
2415 [BZ #19592]
2416 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2417 high and low parts then use ldbl_canonicalize_int if needed.
2418
2419 [BZ #17899]
2420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2421 New function.
2422 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2423 on high and low parts then use ldbl_canonicalize_int if needed.
2424
2425 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2426
2427 * configure: Regenerated.
2428
2429 * po/libc.pot: Regenerated.
2430
2431 * po/be.po: Updated translation.
2432 * po/bg.po: Likewise.
2433 * po/ca.po: Likewise.
2434 * po/cs.po: Likewise.
2435 * po/da.po: Likewise.
2436 * po/el.po: Likewise.
2437 * po/eo.po: Likewise.
2438 * po/es.po: Likewise.
2439 * po/fi.po: Likewise.
2440 * po/fr.po: Likewise.
2441 * po/gl.po: Likewise.
2442 * po/hr.po: Likewise.
2443 * po/hu.po: Likewise.
2444 * po/ia.po: Likewise.
2445 * po/id.po: Likewise.
2446 * po/it.po: Likewise.
2447 * po/ja.po: Likewise.
2448 * po/lt.po: Likewise.
2449 * po/nb.po: Likewise.
2450 * po/nl.po: Likewise.
2451 * po/pt_BR.po: Likewise.
2452 * po/rw.po: Likewise.
2453 * po/sk.po: Likewise.
2454 * po/sl.po: Likewise.
2455 * po/sv.po: Likewise.
2456 * po/tr.po: Likewise.
2457 * po/zh_CN.po: Likewise.
2458 * po/zh_TW.po: Likewise.
2459
2460 * version.h (RELEAES): Set to "development".
2461 (VERSION): Set to 2.23.90.
2462
2463 * version.h (RELEASE): Set to "stable".
2464 (VERSION): Set to 2.23.
2465 * include/feature.h (__GLIBC_MINOR__): Set to 23.
2466
2467 * NEWS: Updated fixed bugs.
2468
2469 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2470 Wilco Dijkstra <wdijkstr@arm.com>
2471
2472 [BZ #19462]
2473 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2474 (_STRING_INLINE_unaligned): This.
2475 * include/string.h: Include <string_private.h>.
2476 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2477 _STRING_INLINE_unaligned.
2478 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2479 (_STRING_INLINE_unaligned): New.
2480 * sysdeps/aarch64/string_private.h: New file.
2481 * sysdeps/generic/string_private.h: Likewise.
2482 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2483 * sysdeps/s390/string_private.h: Likewise.
2484 * sysdeps/x86/string_private.h: Likewise.
2485 * sysdeps/m68k/m680x0/m68020/bits/string.h
2486 (_STRING_ARCH_unaligned): Renamed to ...
2487 (_STRING_INLINE_unaligned): This.
2488 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2489 to ...
2490 (_STRING_INLINE_unaligned): This.
2491 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2492 to ...
2493 (_STRING_INLINE_unaligned): This.
2494 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2495 to ...
2496 (_STRING_INLINE_unaligned): This.
2497
2498 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
2499 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 [BZ #19590]
2502 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2503 relocation.
2504
2505 2016-02-15 Carlos O'Donell <carlos@redhat.com>
2506
2507 [BZ #18665]
2508 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2509 *herrno_p.
2510 (gaih_getanswer): Document functional behviour. Return tryagain
2511 if any result is tryagain.
2512 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2513 when freed.
2514 * resolv/res_send.c: Add copyright text.
2515 (__libc_res_nsend): Document that MAXPACKET is expected.
2516 (send_vc): Document. Remove buffer reuse.
2517 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2518 size of the buffer. Add Dprint for truncated UDP buffer.
2519
2520 2016-02-14 Carlos O'Donell <carlos@redhat.com>
2521
2522 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2523 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2524 * INSTALL: Regenerate.
2525
2526 2016-02-14 Jakub Jelinek <jakub@redhat.com>
2527 Jonathan Wakely <jwakely@redhat.com>
2528 Carlos O'Donell <carlos@redhat.com>
2529
2530 [BZ 19439]
2531 * math/Makefile (tests): Add test-math-isinff.
2532 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2533 * math/bits/mathcalls.h [__USE_MISC]: Use
2534 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2535 functions not in C++11 and which don't conflict e.g. isinff,
2536 isinfl etc.
2537 * math/test-math-isinff.cc: New file.
2538
2539 2016-02-12 Florian Weimer <fweimer@redhat.com>
2540
2541 * misc/bug18240.c (do_test): Set RLIMIT_AS.
2542
2543 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2544
2545 [BZ #19529]
2546 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2547
2548 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2549
2550 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2551
2552 2016-02-01 Joseph Myers <joseph@codesourcery.com>
2553
2554 [BZ #19550]
2555 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2556 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2557 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2558 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2559 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2560 New syscall entry.
2561 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2562 New syscall entry.
2563 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2564 syscall entry.
2565
2566 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
2567
2568 [BZ #18240]
2569 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2570 unsigned int wraparound.
2571
2572 2016-01-27 Florian Weimer <fweimer@redhat.com>
2573
2574 [BZ #18240]
2575 * misc/bug18240.c: New test.
2576 * misc/Makefile (tests): Add it.
2577
2578 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
2579 Joseph Myers <joseph@codesourcery.com>
2580
2581 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2582 load in branch delay slot when less than a word of input left.
2583
2584 2016-01-27 Andreas Schwab <schwab@suse.de>
2585
2586 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2587 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2588 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2589 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2590
2591 2016-01-26 David S. Miller <davem@davemloft.net>
2592
2593 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2594
2595 2016-01-25 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2598 __sqrtl_finite.
2599 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2600 instead using versioned_symbol.
2601 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2602 of entries.
2603
2604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2605 __sqrtl_finite to GLIBC_2.23
2606
2607 2016-01-25 Ricchard Henderson <rth@redhat.com>
2608
2609 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2610
2611 2016-01-25 Andreas Schwab <schwab@suse.de>
2612
2613 [BZ #17514]
2614 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2615 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2616 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2617 * nptl/tst-mutex-errorcheck.c: New file.
2618
2619 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2620
2621 [BZ #18560]
2622 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2623 (IPCOP_semop): Likewise.
2624 (IPCOP_semget): Likewise.
2625 (IPCOP_semctl): Likewise.
2626 (IPCOP_msgsnd): Likewise.
2627 (IPCOP_msgrcv): Likewise.
2628 (IPCOP_msgget): Likewise.
2629 (IPCOP_msgctl): Likewise.
2630 (IPCOP_shmat): Likewise.
2631 (IPCOP_shmdt): Likewise.
2632 (IPCOP_shmget): Likewise.
2633 (IPCOP_shmctl): Likewise.
2634
2635 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
2636
2637 * string/tst-endian.c: Include <libc-internal.h>.
2638 (do_test): Ignore tautological-compare warnings around
2639 "htobeXX (beXXtoh (i)) != i" and
2640 "htoleXX (leXXtoh (i)) != i" if-statements.
2641
2642 2016-01-24 David S. Miller <davem@davemloft.net>
2643
2644 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2645 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2646 alias.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2648 __sqrtl_finite.
2649
2650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2651
2652 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
2653
2654 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2655 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2656 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2657
2658 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2659
2660 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2661 (thread_func): Use new function to simplify barrier check.
2662 (do_test): Use new function to simplify checking barrier exit
2663 code, and actually join the child thread.
2664
2665 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2666
2667 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2668 semicolon.
2669 (__libc_tend): Likewise.
2670 (__libc_tabort): Likewise.
2671
2672 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
2673
2674 * sysdeps/nios2/libm-test-ulps: Update.
2675 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2676 (__gtsf2): Likewise.
2677 (__unorddf2): Likewise.
2678 (__unordsf2): Likewise.
2679 (__ledf2): Likewise.
2680
2681 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
2682
2683 * nis/nis_table.c (__follow_path): Disable diagnostic for
2684 uninitialized variable that is a false positive for gcc 4.7.
2685 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2686
2687 2016-01-20 Roland McGrath <roland@hack.frob.com>
2688
2689 * sysdeps/nacl/lowlevellock-futex.h
2690 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2691 Always evaluate PRIVATE argument.
2692
2693 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2694
2695 [BZ #19490]
2696 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2697 (pthread_cond_broadcast): Use ENTRY/END
2698 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2699 (pthread_cond_signal): Likewise.
2700 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2701 Likewise.
2702 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2703 Likewise.
2704 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2705 Likewise.
2706
2707 2016-01-20 Joseph Myers <joseph@codesourcery.com>
2708
2709 * sysdeps/ieee754/dbl-64/s_finite.c
2710 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2711 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2712 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2714 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2715
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2717 (__gtsf2): Add as optional for libc.so.
2718 (__unordsf2): Likewise.
2719 (__signbit): Remove for libc.so.
2720 (__signbitl): Likewise.
2721
2722 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2723
2724 * iconvdata/bug-iconv11.c (test_ibm93x):
2725 Use %zu printf format specifier for size_t argument.
2726
2727 2016-01-19 Joseph Myers <joseph@codesourcery.com>
2728
2729 * math/gen-libm-test.pl (parse_ulps): Do not reduce
2730 already-recorded ulps.
2731 * sysdeps/arm/libm-test-ulps: Regenerated.
2732 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2733 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2734 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2735
2736 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
2737 Paul Pluzhnikov <ppluzhnikov@google.com>
2738
2739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2740 assembler not supporting AVX-512.
2741
2742 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
2743
2744 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2745
2746 2016-01-18 Joseph Myers <joseph@codesourcery.com>
2747
2748 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2749 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2750
2751 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2752
2753 * sysdeps/arm/libm-test-ulps: Regenerated.
2754
2755 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2756
2757 [BZ #19451]
2758 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2759
2760 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2761
2762 [BZ #19486]
2763 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2764 * sysdeps/generic/fix-fp-int-convert-overflow.h
2765 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2766 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2767 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2768 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2769 Likewise.
2770 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2771 Avoid conversions to long int where inexact exceptions
2772 could be raised.
2773 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2774 Likewise.
2775 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2776 Avoid conversions to long long int where inexact exceptions
2777 could be raised.
2778 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2779 Likewise.
2780
2781 2016-01-17 Mike Frysinger <vapier@gentoo.org>
2782
2783 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2784 * configure: Regenerated.
2785
2786 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
2787
2788 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2789
2790 2016-01-16 Mike Frysinger <vapier@gentoo.org>
2791
2792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2793 outside of comment.
2794
2795 2016-01-15 Torvald Riegel <triegel@redhat.com>
2796
2797 * nptl/tst-barrier1.c: Add description on first line.
2798 * nptl/tst-barrier2.c: Likewise.
2799 * nptl/tst-barrier3.c: Likewise.
2800 * nptl/tst-barrier4.c: Likewise.
2801 * nptl/tst-barrier5.c: Likewise.
2802
2803 2016-01-15 Torvald Riegel <triegel@redhat.com>
2804
2805 [BZ #18868]
2806 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2807
2808 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
2809
2810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2812 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2813 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2814 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2815 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2816 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2817 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2818 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2819 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2820 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2821
2822 2016-01-15 Torvald Riegel <triegel@redhat.com>
2823
2824 [BZ #13065]
2825 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2826 new implementation.
2827 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2828 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2829 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2830 (BARRIER_IN_THRESHOLD): New macro.
2831 * nptl/pthread_barrierattr_setpshared.c
2832 (pthread_barrierattr_setpshared): Clean up.
2833 * nptl/tst-barrier4.c: Correct comment.
2834 * nptl/tst-barrier5.c: New file.
2835 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2836 (gen-as-const-headers): Remove lowlevelbarrier.sym.
2837 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2838 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2839 * nptl/lowlevelbarrier.sym: Remove.
2840 * nptl/DESIGN-barrier.txt: Remove.
2841 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2842 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2843 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2844 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2845 error.
2846 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2847 implementation.
2848
2849 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2850
2851 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2852 (do_child): Mask SIGRTMIN while thr is running.
2853
2854 2016-01-15 Martin Sebor <msebor@redhat.com>
2855
2856 [BZ #19432]
2857 * iconvdata/Makefile: Add bug-iconv11.
2858 * iconvdata/bug-iconv11.c: New test.
2859 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2860 * iconvdata/ibm933.c: Same.
2861 * iconvdata/ibm935.c: Same.
2862 * iconvdata/ibm937.c: Same.
2863 * iconvdata/ibm939.c: Same.
2864
2865 2016-01-15 Martin Sebor <msebor@redhat.com>
2866
2867 [BZ #19443]
2868 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2869 [DEBUG] (_ufc_set_bits): Declare used.
2870 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2871 [DEBUG] (print_all): Declare used.
2872 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2873 operands of the ternary ?: expression to target type.
2874 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2875 calling the undeclared abort.
2876 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2877
2878 2016-01-15 Martin Sebor <msebor@redhat.com>
2879
2880 [BZ #18755]
2881 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2882 warnings.
2883 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2884 (__gai_create_helper_thread): Same.
2885 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2886 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2887 to suppress -Wmaybe-uninitialized warnings.
2888
2889 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
2890
2891 [BZ #19465]
2892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2893 inside if.
2894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2897
2898 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 [BZ #19466]
2901 * time/tst-mktime2.c (time_t_max): Removed.
2902 (time_t_min): Likewise.
2903 (TYPE_SIGNED): New.
2904 (TYPE_MINIMUM): Likewise.
2905 (TYPE_MAXIMUM): Likewise.
2906 (TIME_T_MIN): Likewise.
2907 (TIME_T_MAX): Likewise.
2908 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2909 and TIME_T_MIN.
2910 (do_test): Likewise.
2911
2912 2016-01-14 Amit Pawar <amit.pawar@amd.com>
2913
2914 [BZ #19467]
2915 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2916 index_Fast_Unaligned_Load flag for Excavator family CPUs.
2917
2918 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
2919
2920 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2921
2922 2016-01-13 Carlos O'Donell <carlos@redhat.com>
2923
2924 * benchtests/Makefile (PYTHON): Define.
2925 (bench-func): Use $(PYTHON) to run python scripts.
2926 ($(objpfx)bench-%.c): Likewise.
2927
2928 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
2929
2930 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2931 leading slash when `file_name' is "/".
2932
2933 2016-01-12 Joseph Myers <joseph@codesourcery.com>
2934
2935 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2936 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2939 Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2943 enum constant and macro.
2944 (PTRACE_SETSIGMASK): Likewise.
2945 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2946 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2947 (PTRACE_GETSIGMASK): Likewise.
2948 (PTRACE_SETSIGMASK): Likewise.
2949 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2951 Likewise.
2952 (PTRACE_SETSIGMASK): Likewise.
2953 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2955 (PTRACE_GETSIGMASK): Likewise.
2956 (PTRACE_SETSIGMASK): Likewise.
2957 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2959 Likewise.
2960 (PTRACE_SETSIGMASK): Likewise.
2961 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2963 Likewise.
2964 (PTRACE_SETSIGMASK): Likewise.
2965 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2966 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2967 Likewise.
2968 (PTRACE_SETSIGMASK): Likewise.
2969 (PTRACE_SECCOMP_GET_FILTER): Likewise.
2970
2971 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
2972 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2973
2974 [BZ #19439]
2975 * math/bits/mathcalls.h
2976 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2977 prototype.
2978 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2979
2980 2016-01-11 Andreas Schwab <schwab@suse.de>
2981
2982 [BZ #19253]
2983 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2984 cache when TZDEFRULES was used.
2985 * time/tst-tzname.c: New file.
2986 * time/Makefile (test): Add tst-tzname.
2987 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2988 * timezone/Makefile (test-zones): Add $(posixrules-file).
2989 ($(testdata)/$(posixrules-file)): New rule.
2990
2991 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2992
2993 Fix doc quoting problems with Texinfo 5
2994 Without this change, in the info file output, Texinfo 5 quotes code
2995 in text with undirected single quotes 'like this' and generates
2996 code examples that with many PDF readers cannot be cut out of PDFs
2997 and pasted into code.
2998 * manual/libc.texinfo: Configure the libc manual like the GNU
2999 Emacs manual, by using @documentencoding and setting
3000 txicodequoteundirected and txicodequotebacktick. This way,
3001 Texinfo 5 quotes code in text with directed single quotes ‘like
3002 this’ and produces examples that can be cut out of PDFs. This
3003 change causes Texinfo 5 to generate info files that contain UTF-8
3004 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3005 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3006
3007 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3008
3009 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3010 __libc_tabort, __libc_tend): New wrappers that enforce compiler
3011 barriers to their respective compiler built-ins.
3012 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3013 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3014 * sysdeps/powerpc/sysdep.h: Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3018
3019 2016-01-08 Marko Myllynen <myllynen@redhat.com>
3020
3021 * scripts/config.guess: Revert previous shebang change.
3022 * scripts/config.sub: Likewise.
3023 * scripts/mkinstalldirs: Likewise.
3024
3025 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3026
3027 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3028 PPC_FEATURE2_HAS_IEEE128.
3029 * sysdeps/powerpc/dl-procinfo.c:
3030 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3031
3032 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
3033
3034 [BZ #19415]
3035 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3036 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
3037 (_dl_lookup_address): Rewrite using function resolver trampoline.
3038 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3039 two bits in address.
3040
3041 2016-01-07 Mike Frysinger <vapier@gentoo.org>
3042
3043 * longlong.h: Change !__SHMEDIA__ to
3044 (!defined (__SHMEDIA__) || !__SHMEDIA__).
3045 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3046
3047 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
3048 Joseph Myers <joseph@codesourcery.com>
3049 Mark Shinwell <shinwell@codesourcery.com>
3050 Andrew Stubbs <ams@codesourcery.com>
3051 Rich Felker <dalias@libc.org>
3052
3053 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3054
3055 2016-01-07 Richard Henderson <rth@redhat.com>
3056
3057 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3058
3059 2016-01-07 Mike Frysinger <vapier@gentoo.org>
3060
3061 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3062 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3064 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3065 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3066
3067 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
3068 Joseph Myers <joseph@codesourcery.com>
3069
3070 * timezone/private.h: Update from tzcode 2015g.
3071 * timezone/tzfile.h: Likewise.
3072 * timezone/tzselect.ksh: Likewise.
3073 * timezone/zdump.c: Likewise.
3074 * timezone/zic.c: Likewise.
3075 * timezone/ialloc.c: Remove file.
3076 * timezone/scheck.c: Likewise.
3077 * timezone/Makefile (extra-objs): Remove variable.
3078 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3079 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3080 -Wno-maybe-uninitialized.
3081 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3082 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3083 (CFLAGS-ialloc.c): Remove variable.
3084 (CFLAGS-scheck.c): Likewise.
3085 * timezone/README: Update list of files from tzcode.
3086
3087 2016-01-07 Khem Raj <raj.khem@gmail.com>
3088
3089 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3090 instead of __fxprintf when _LIBC is undefined.
3091
3092 2016-01-07 Marko Myllynen <myllynen@redhat.com>
3093
3094 * catgets/test-gencat.sh: Remove space after shebang.
3095 * conform/GlibcConform.pm: Likewise.
3096 * conform/check-header-lists.sh: Likewise.
3097 * conform/conformtest.pl: Likewise.
3098 * conform/linknamespace.pl: Likewise.
3099 * conform/list-header-symbols.pl: Likewise.
3100 * debug/catchsegv.sh: Likewise.
3101 * elf/genrtldtbl.awk: Likewise.
3102 * elf/tst-pathopt.sh: Likewise.
3103 * elf/tst-rtld-load-self.sh: Likewise.
3104 * grp/tst_fgetgrent.sh: Likewise.
3105 * iconvdata/gen-8bit-gap-1.sh: Likewise.
3106 * iconvdata/gen-8bit-gap.sh: Likewise.
3107 * iconvdata/gen-8bit.sh: Likewise.
3108 * iconvdata/run-iconv-test.sh: Likewise.
3109 * intl/tst-gettext.sh: Likewise.
3110 * intl/tst-gettext2.sh: Likewise.
3111 * intl/tst-gettext4.sh: Likewise.
3112 * intl/tst-gettext6.sh: Likewise.
3113 * intl/tst-translit.sh: Likewise.
3114 * io/ftwtest-sh: Likewise.
3115 * libio/test-freopen.sh: Likewise.
3116 * locale/gen-translit.pl: Likewise.
3117 * malloc/tst-mtrace.sh: Likewise.
3118 * manual/check-safety.sh: Likewise.
3119 * manual/libc-texinfo.sh: Likewise.
3120 * manual/tsort.awk: Likewise.
3121 * manual/xtract-typefun.awk: Likewise.
3122 * nptl/tst-cancel-wrappers.sh: Likewise.
3123 * nptl/tst-tls6.sh: Likewise.
3124 * posix/globtest.sh: Likewise.
3125 * posix/tst-getconf.sh: Likewise.
3126 * posix/wordexp-tst.sh: Likewise.
3127 * scripts/check-c++-types.sh: Likewise.
3128 * scripts/check-local-headers.sh: Likewise.
3129 * scripts/config.guess: Likewise.
3130 * scripts/config.sub: Likewise.
3131 * scripts/cpp: Likewise.
3132 * scripts/cross-test-ssh.sh: Likewise.
3133 * scripts/documented.sh: Likewise.
3134 * scripts/evaluate-test.sh: Likewise.
3135 * scripts/gen-libc-abis: Likewise.
3136 * scripts/gen-sorted.awk: Likewise.
3137 * scripts/list-fixed-bugs.py: Likewise.
3138 * scripts/merge-test-results.sh: Likewise.
3139 * scripts/mkinstalldirs: Likewise.
3140 * scripts/rellns-sh: Likewise.
3141 * scripts/test-installation.pl: Likewise.
3142 * scripts/update-copyrights: Likewise.
3143 * stdio-common/tst-printf.sh: Likewise.
3144 * stdio-common/tst-unbputc.sh: Likewise.
3145 * stdlib/tst-fmtmsg.sh: Likewise.
3146 * stdlib/tst-setcontext3.sh: Likewise.
3147 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3148 * sysdeps/unix/make-syscalls.sh: Likewise.
3149
3150 2016-01-06 John David Anglin <dave.anglin@bell.net>
3151
3152 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3153 asm stw with atomic_exchange_rel. Add explanatory comment.
3154 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3155 Likewise.
3156
3157 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 [BZ #19122]
3160 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3161 * sysdeps/generic/dl-unistd.h: New file.
3162 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3163
3164 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 [BZ #19122]
3167 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3168 * sysdeps/generic/dl-mman.h: New file.
3169 * sysdeps/mach/hurd/dl-mman.h: Likewise.
3170
3171 2016-01-05 Joseph Myers <joseph@codesourcery.com>
3172
3173 * manual/texinfo.tex: Update to version 2016-01-04.21 with
3174 trailing whitespace removed.
3175 * scripts/config.guess: Update to version 2016-01-01.
3176 * scripts/config.sub: Update to version 2016-01-01.
3177 * scripts/move-if-change: Update from gnulib.
3178
3179 2016-01-04 Anton Blanchard <anton@samba.org>
3180
3181 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3182 for array indices.
3183 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3184
3185 2016-01-04 Joseph Myers <joseph@codesourcery.com>
3186
3187 * NEWS: Update copyright dates.
3188 * catgets/gencat.c (print_version): Likewise.
3189 * csu/version.c (banner): Likewise.
3190 * debug/catchsegv.sh: Likewise.
3191 * debug/pcprofiledump.c (print_version): Likewise.
3192 * debug/xtrace.sh (do_version): Likewise.
3193 * elf/ldconfig.c (print_version): Likewise.
3194 * elf/ldd.bash.in: Likewise.
3195 * elf/pldd.c (print_version): Likewise.
3196 * elf/sotruss.sh: Likewise.
3197 * elf/sprof.c (print_version): Likewise.
3198 * iconv/iconv_prog.c (print_version): Likewise.
3199 * iconv/iconvconfig.c (print_version): Likewise.
3200 * locale/programs/locale.c (print_version): Likewise.
3201 * locale/programs/localedef.c (print_version): Likewise.
3202 * login/programs/pt_chown.c (print_version): Likewise.
3203 * malloc/memusage.sh (do_version): Likewise.
3204 * malloc/memusagestat.c (print_version): Likewise.
3205 * malloc/mtrace.pl: Likewise.
3206 * manual/libc.texinfo: Likewise.
3207 * nptl/version.c (banner): Likewise.
3208 * nscd/nscd.c (print_version): Likewise.
3209 * nss/getent.c (print_version): Likewise.
3210 * nss/makedb.c (print_version): Likewise.
3211 * posix/getconf.c (main): Likewise.
3212 * scripts/test-installation.pl: Likewise.
3213 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3214
3215 * All files with FSF copyright notices: Update copyright dates
3216 using scripts/update-copyrights.
3217 * intl/plural.c: Regenerated.
3218 * locale/programs/charmap-kw.h: Likewise.
3219 * locale/programs/locfile-kw.h: Likewise.
3220
3221 2016-01-02 Helge Deller <deller@gmx.de>
3222
3223 [BZ #19285]
3224 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3225 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3226 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3227 (MADV_xxK_PAGES): Remove.
3228
3229 2016-01-01 Mike Frysinger <vapier@gentoo.org>
3230
3231 [BZ #15421]
3232 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3233 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
3234 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3235 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3236
3237 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
3238
3239 [BZ #19408]
3240 * sysdeps/unix/sysv/linux/personality.c: New file.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3242 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3243 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3244 (sysdep_routines): Add personality.
3245 (tests): Add tst-personality.
3246 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3248 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3249 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3250 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3251 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3252 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3253 Likewise.
3254 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3255 Likewise.
3256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3257 Likewise.
3258 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3260 Likewise.
3261
3262 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
3263
3264 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3265 (PATH_ARM_SYSTYPE): Remove.
3266 (PATH_CPUINFO): Likewise.
3267 (IO_BASE_FOOTBRIDGE): Likewise.
3268 (IO_SHIFT_FOOTBRIDGE): Likewise.
3269 (struct platform): Likewise.
3270 (init_iosys): Remove compatibility code for 2.4 kernels.
3271 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3272
3273 2015-12-29 Florian Weimer <fweimer@redhat.com>
3274
3275 * malloc/tst-malloc-thread-fail.c: New file.
3276 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3277 (tst-malloc-thread-fail): Link against libpthread.
3278
3279 2015-12-29 Mike Frysinger <vapier@gentoo.org>
3280
3281 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
3282 (get_parser): New function.
3283 (main): New function.
3284
3285 2015-12-29 Rob Wu <rob@robwu.nl>
3286
3287 [BZ #19369]
3288 * resolv/res_init.c (__res_vinit): Reset defdname before use.
3289
3290 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
3291
3292 [BZ #19270]
3293 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3294
3295 2015-12-28 Mike Frysinger <vapier@gentoo.org>
3296
3297 [BZ #15421]
3298 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3299
3300 2015-12-23 Torvald Riegel <triegel@redhat.com>
3301
3302 [BZ #13690]
3303 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3304 after releasing it.
3305 (__lll_robust_unlock): Likewise.
3306 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3308 (lll_robust_unlock): Likewise.
3309 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3310 Prevent warnings in callers.
3311
3312 2015-12-23 Florian Weimer <fweimer@redhat.com>
3313
3314 * malloc/arena.c (list_lock): Update comment.
3315
3316 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3317
3318 * sysdeps/powerpc/hwcapinfo.c: Export symbol
3319 __parse_hwcap_and_convert_at_platform to libc.a.
3320
3321 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3322
3323 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3324 platform and feature support for POWER9.
3325 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3326 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3327 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3328 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3329 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3330 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3331 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3332 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3333
3334 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3335
3336 Harmonize generic stdio-lock support with nptl
3337
3338 This fixes build when _IO_funlockfile is a macro, fixes build where
3339 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3340 stack unwind.
3341
3342 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3343 _IO_release_lock ): Use cleanup attribute on new
3344 _IO_acquire_lock_file variable instead of assuming that
3345 _IO_release_lock will be called.
3346 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3347 _IO_acquire_lock_needs_exceptions_enabled.
3348 (_IO_acquire_lock_clear_flags2): New macro.
3349
3350 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3351
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3353
3354 2015-12-21 Florian Weimer <fweimer@redhat.com>
3355
3356 [BZ #19182]
3357 * malloc/arena.c (list_lock): Document lock ordering requirements.
3358 (free_list_lock): New lock.
3359 (ptmalloc_lock_all): Comment on free_list_lock.
3360 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3361 (detach_arena): Update comment. free_list_lock is now needed.
3362 (_int_new_arena): Use free_list_lock around detach_arena call.
3363 Acquire arena lock after list_lock. Add comment, including FIXME
3364 about incorrect synchronization.
3365 (get_free_list): Switch to free_list_lock.
3366 (reused_arena): Acquire free_list_lock around detach_arena call
3367 and attached threads counter update. Add two FIXMEs about
3368 incorrect synchronization.
3369 (arena_thread_freeres): Switch to free_list_lock.
3370 * malloc/malloc.c (struct malloc_state): Update comments to
3371 mention free_list_lock.
3372
3373 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
3374
3375 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3376 Remove functions.
3377 (sloww, sloww1): Accept argument to offset quadrant.
3378 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3379 quadrant.
3380 (__sin, __cos): Consolidate common code into new functions.
3381 (reduce_sincos_1, do_sincos_1): New functions.
3382 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3383
3384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3385 code to new functions.
3386 (reduce_sincos_2, do_sincos_2): New functions.
3387 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3388
3389 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3390 common code for sincos.
3391 (__cos) [!IN_SINCOS]: Likewise.
3392 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3393 New function.
3394 (__sincos): Use it.
3395
3396 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
3397
3398 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3399 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3400 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3401
3402 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
3403
3404 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3407 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3409 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3410 index_Prefer_No_VZEROUPPER): New feature.
3411 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3412 Prefer_No_VZEROUPPER for Knights Landing.
3413
3414 015-12-18 Torvald Riegel <triegel@redhat.com>
3415
3416 * math/atest-exp2.c (mp_exp_m1): Remove.
3417
3418 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3419
3420 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3421 syscalls.
3422 (__SYSCALL0): New macro.
3423 (__SYSCALL1): Likewise.
3424 (__SYSCALL2): Likewise.
3425 (__SYSCALL3): Likewise.
3426 (__SYSCALL4): Likewise.
3427 (__SYSCALL5): Likewise.
3428 (__SYSCALL6): Likewise.
3429 (__SYSCALL_CONCAT_X): Likewise.
3430 (__SYSCALL_CONCAT): Likewise.
3431 (__SYSCALL_DIST): Likewise.
3432 (__SYSCALL_CALL): Likewise.
3433
3434 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
3435
3436 [BZ #19363]
3437 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3438
3439 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3440
3441 [BZ #19375]
3442 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3443 negative subnormals.
3444
3445 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3448 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3449 (INTERNAL_SYSCALL_NCS): Use it.
3450 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3451
3452 2015-12-16 Florian Weimer <fweimer@redhat.com>
3453
3454 [BZ #19243]
3455 * malloc/arena.c (get_free_list): Remove assert and adjust
3456 reference count handling. Add comment about reused_arena
3457 interaction.
3458 (reused_arena): Add comments abount get_free_list interaction.
3459 * malloc/tst-malloc-thread-exit.c: New file.
3460 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3461 (tst-malloc-thread-exit): Link against libpthread.
3462
3463 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 [BZ #19367]
3466 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3467 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3469 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3470 (index_Prefer_MAP_32BIT_EXEC): Likewise.
3471
3472 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
3473
3474 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3475 Silvermont optimizations for Knights Landing.
3476
3477 2015-12-15 Andreas Schwab <schwab@suse.de>
3478
3479 [BZ #17197]
3480 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3481 immediately after emitting SI.
3482 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3483 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3484 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3485 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3486 * iconvdata/bug-iconv10.c: New file.
3487 * iconvdata/Makefile (tests): Add bug-iconv10.
3488 ($(objpfx)bug-iconv10.out): New rule.
3489
3490 2015-12-15 Florian Weimer <fweimer@redhat.com>
3491
3492 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3493 aliasing violation.
3494
3495 2015-12-14 Joseph Myers <joseph@codesourcery.com>
3496
3497 [BZ #18472]
3498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3499 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3500 conditionals for them.
3501 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3502 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3504 sys/kdaemon.h.
3505 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3506 compat-only syscall, obsoleted in glibc 2.23.
3507 (create_module): Likewise.
3508 (get_kernel_syms): Likewise.
3509 (query_module): Likewise.
3510 (uselib): Likewise.
3511 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3512
3513 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
3514
3515 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3516 <linux/version.h>.
3517 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3518 conditional code.
3519 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3520 and ioshift_name initialization.
3521
3522 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
3523
3524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3525 Fix indentation.
3526
3527 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
3528
3529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3530
3531 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
3532
3533 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3534
3535 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
3536 Jakub Wilk <jwilk@debian.org>
3537
3538 [BZ #19347]
3539 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3540 to change the group of the device to the tty group.
3541
3542 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
3543
3544 Split large string section; add truncation advice
3545 * manual/examples/strncat.c: Remove.
3546 This example was misleading, as the code would have undefined
3547 behavior if "hello" was longer than SIZE. Anyway, the manual
3548 shouldn't encourage strncpy+strncat for this sort of thing.
3549 * manual/string.texi (Copying Strings and Arrays): Split into
3550 three sections Copying Strings and Arrays, Concatenating Strings,
3551 and Truncating Strings, as this section was way too long. All
3552 cross-referenced changed. Add advice about string-truncation
3553 functions. Remove misleading strncat example.
3554
3555 2015-12-10 Carlos O'Donell <carlos@redhat.com>
3556
3557 * manual/nss.texi (NSS Modules Interface): Document
3558 NSS_STATUS_NOTFOUND and SUCCESS.
3559
3560 2015-12-09 Mike FABIAN <mfabian@redhat.com>
3561
3562 [BZ 18568]
3563 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3564 201505L, for Unicode 8.
3565
3566 2015-12-09 Carlos O'Donell <carlos@redhat.com>
3567
3568 * locale/C-translit.h: Regenerate.
3569
3570 2015-12-09 Mike FABIAN <mfabian@redhat.com>
3571
3572 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3573 and U+0153.
3574
3575 2015-12-09 Joseph Myers <joseph@codesourcery.com>
3576
3577 [BZ #19351]
3578 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3579 expanding log(1+z), compare z rather than its square with epsilon
3580 to determine when to avoid evaluating the expansion.
3581
3582 [BZ #19350]
3583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3584 Increase overflow threshold.
3585
3586 [BZ #19349]
3587 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3588 when small.
3589
3590 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3591 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3592 New macro.
3593 [__LINUX_KERNEL_VERSION >= 0x040300]
3594 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3595 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3596 Likewise.
3597 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3598 Likewise.
3599 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3600 Likewise.
3601 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3602 Likewise.
3603 [__LINUX_KERNEL_VERSION >= 0x040300]
3604 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3605 [__LINUX_KERNEL_VERSION >= 0x040300]
3606 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3607 [__LINUX_KERNEL_VERSION >= 0x040300]
3608 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3609 [__LINUX_KERNEL_VERSION >= 0x040300]
3610 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3611 [__LINUX_KERNEL_VERSION >= 0x040300]
3612 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3613 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3614 Likewise.
3615 [__LINUX_KERNEL_VERSION >= 0x040300]
3616 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3617 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3618 Likewise.
3619 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3620 Likewise.
3621 [__LINUX_KERNEL_VERSION >= 0x040300]
3622 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3623 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3624 Likewise.
3625 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3626 Likewise.
3627 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3628 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3629 Likewise.
3630 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3631 Likewise.
3632 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3633 Likewise.
3634 [__LINUX_KERNEL_VERSION >= 0x040300]
3635 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3636 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3637 Likewise.
3638 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3639 Likewise.
3640 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3641 Likewise.
3642 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3643 Likewise.
3644 [__LINUX_KERNEL_VERSION >= 0x040300]
3645 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3646 [__LINUX_KERNEL_VERSION >= 0x040300]
3647 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3648 [__LINUX_KERNEL_VERSION >= 0x040300]
3649 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3650 [__LINUX_KERNEL_VERSION >= 0x040300]
3651 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3652 [__LINUX_KERNEL_VERSION >= 0x040300]
3653 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3654 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3655 Likewise.
3656 [__LINUX_KERNEL_VERSION >= 0x040300]
3657 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3658 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3659 Likewise.
3660 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3661 Likewise.
3662 [__LINUX_KERNEL_VERSION >= 0x040300]
3663 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3664 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3665 Likewise.
3666 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3669 (__ASSUME_SOCKET_SYSCALL): Likewise.
3670 (__ASSUME_BIND_SYSCALL): Likewise.
3671 (__ASSUME_CONNECT_SYSCALL): Likewise.
3672 (__ASSUME_LISTEN_SYSCALL): Likewise.
3673 (__ASSUME_ACCEPT_SYSCALL): Likewise.
3674 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3675 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3676 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3677 (__ASSUME_SEND_SYSCALL): Likewise.
3678 (__ASSUME_SENDTO_SYSCALL): Likewise.
3679 (__ASSUME_RECV_SYSCALL): Likewise.
3680 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3681 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3682 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3683 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3684 (__ASSUME_SENDMSG_SYSCALL): Likewise.
3685 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3686 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3687 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3688 Likewise.
3689 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3690 Likewise.
3691 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3692 Likewise.
3693 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3694 Likewise.
3695 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3696 Likewise.
3697 [__LINUX_KERNEL_VERSION >= 0x020625]
3698 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3699 [__LINUX_KERNEL_VERSION >= 0x020625]
3700 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3701 [__LINUX_KERNEL_VERSION >= 0x020625]
3702 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3703 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3704 Likewise.
3705 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3706 Likewise.
3707 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3708 Likewise.
3709 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3710 Likewise.
3711 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3712 Likewise.
3713 [__LINUX_KERNEL_VERSION >= 0x020625]
3714 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3715 [__LINUX_KERNEL_VERSION >= 0x020625]
3716 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3717 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3718 Likewise.
3719 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3720 Likewise.
3721
3722 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
3723
3724 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3725 record the current if the current ABI and CPU support the FP64
3726 extension.
3727 (has-modd-spreg): Define to record the current if the current ABI and
3728 CPU support 32-bit floating point values in odd FPU registers.
3729 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3730 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3731 $(has-modd-spreg) equals yes.
3732 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3733 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3734 $(has-modd-spreg) equal yes.
3735
3736 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
3737
3738 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3739 basename.
3740
3741 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
3742
3743 * benchtests/Makefile (bench-math): Move ffs and ffsll...
3744 (bench-string): ... here.
3745 (bench): Add bench-string.
3746 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3747 to *-benchset to reflect what they are.
3748 (benchset): Adjust.
3749
3750 * benchtests/sincos-inputs: Add inputs from sin-inputs and
3751 cos-inputs.
3752
3753 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
3754
3755 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3756 __attribute__ ((__simd__)) for vector math function declarations.
3757
3758 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
3759
3760 Fix typo in strncat, wcsncat manual entries
3761 * manual/string.texi (Copying and Concatenation): Fix typos in
3762 sample implementations of strncat and wcsncat, by having them use
3763 the old value of the destination length, not the new one.
3764
3765 2015-12-04 Joseph Myers <joseph@codesourcery.com>
3766
3767 [BZ #16961]
3768 [BZ #16962]
3769 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3770 string on the stack for strtod.
3771 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3772 a string on the stack for strtof.
3773 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3774 constructing a string on the stack for strtold.
3775 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3776 __strtold_nan to GLIBC_PRIVATE.
3777 * math/test-nan-overflow.c: New file.
3778 * math/test-nan-payload.c: Likewise.
3779 * math/Makefile (tests): Add test-nan-overflow and
3780 test-nan-payload.
3781
3782 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
3783
3784 Consistency about byte vs character in string.texi
3785 * manual/string.texi (String and Array Utilities):
3786 Distinguish more carefully among bytes, multibyte characters,
3787 and wide characters. Use "byte" when talking about C 'char',
3788 to distinguish it more clearly from multibyte characters.
3789 Say "wide character" or "multibyte character" instead of
3790 "character", when a wide or multibyte character is intended.
3791 Similarly for "multibyte string" versus "string".
3792 Define these terms more carefully.
3793
3794 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
3795
3796 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3797 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3798 Likewise.
3799 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3800 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3801 * sysdeps/sh/math_private.h: New file.
3802 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3804 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3805 long double function name.
3806 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3812 Remove __finitel, __isinfl, and __isnanl.
3813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3817 Remove __finitel.
3818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3819 Likewise.
3820 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3821
3822 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
3823
3824 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3825 installed libmvec_nonshared.a.
3826
3827 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3828
3829 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3830 (sysdep_routines): Likewise.
3831 (sysdep-rtld-routines): Likewise.
3832 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3833 [$(subdir) = nptl](tests-static): test-get_hwcap-static
3834 * sysdeps/powerpc/Versions: Added new
3835 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3836 * sysdeps/powerpc/hwcapinfo.c: New file.
3837 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3838 and parse hwcap, hwcap2 and platform number information.
3839 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
3840 to store HWCAP+HWCAP2 and platform number.
3841 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3842 for HWCAP+HWCAP2 and platform number in the TCB.
3843 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
3844 the HWCAP, HWCAP2 and platform number in the TCB.
3845 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3846 (TLS_INIT_TP): Included calls to add the hwcap and
3847 at_platform values in the TCB in TP initialization.
3848 (TLS_DEFINE_INIT_TP): Likewise.
3849 (THREAD_GET_HWCAP): New macro.
3850 (THREAD_SET_HWCAP): Likewise.
3851 (THREAD_GET_AT_PLATFORM): Likewise.
3852 (THREAD_SET_AT_PLATFORM): Likewise.
3853 * sysdeps/powerpc/powerpc32/dl-machine.h:
3854 (dl_platform_init): New function that calls
3855 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3856 powerpc32.
3857 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3858 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
3859 this functionality, static linking case.
3860 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
3861 linking case.
3862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3863 __parse_hwcap_and_convert_at_platform for the static linking case.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3865 Included the new __parse_hwcap_and_convert_at_platform symbol in the
3866 ABI list for GLIBC 2.23.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3868 Likewise.
3869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3870 Likewise.
3871
3872 2015-12-02 Ludovic Courtès <ludo@gnu.org>
3873
3874 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3875 * configure: Regenerate.
3876 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3877 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
3878
3879 2015-12-02 Carlos O'Donell <carlos@redhat.com>
3880
3881 * iconvdata/ibm930.c: Add comment explaining encoding uses.
3882 * iconvdata/ibm933.c: Likewise.
3883 * iconvdata/ibm935.c: Likewise.
3884 * iconvdata/ibm937.c: Likewise.
3885 * iconvdata/ibm939.c: Likewise.
3886
3887 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3888
3889 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3890 pthread_join.
3891 * nptl/tst-cancel21.c (tf): Likewise.
3892
3893 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 [BZ #19313]
3896 * bits/typesizes.h (__CPU_MASK_TYPE): New.
3897 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3898 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3899 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3902 Likewise.
3903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3904 Likewise.
3905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3906 Likewise.
3907 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3908 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3909 unsigned long int with __CPU_MASK_TYPE.
3910
3911 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3912
3913 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3914
3915 2015-12-01 Joseph Myers <joseph@codesourcery.com>
3916
3917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3918 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3919 t512.x.
3920 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3921
3922 2015-11-30 Amit Pawar <amit.pawar@amd.com>
3923
3924 [BZ #19214]
3925 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3926 argument to return extended model. Update family and model
3927 with extended family and model when family == 0x0f.
3928 (init_cpu_features): Updated.
3929
3930 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3931
3932 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3933 signed off_t, so 32bit bigger than 2GiB values are fine actually.
3934
3935 * sysdeps/mach/hurd/mmap64.c: New file.
3936
3937 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
3938
3939 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3940 rights for its main user thread in NEWTASK.
3941
3942 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
3943
3944 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3945 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3946
3947 2015-11-27 Carlos O'Donell <carlos@redhat.com>
3948
3949 [BZ #14259]
3950 * Makeconfig: Rename localedir to complocaledir.
3951 Rename inst_localedir to inst_complocaledir.
3952 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3953 * config.make.in: Use complocaledir and libc_cv_complocaledir.
3954 * configure.ac: Use libc_cv_complocaledir.
3955 * configure: Regenerate.
3956 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3957 -DCOMPLOCALEDIR.
3958 * locale/findlocale.c: Use COMPLOCALEDIR.
3959 * locale/loadarchive.c: Likewise.
3960 * locale/programs/locale.c: Likewise.
3961 * locale/programs/localedef.c: Likewise.
3962 * locale/programs/locarchive.c: Likewise.
3963 * localedata/Makefile: Use inst_complocaledir.
3964 * sysdeps/gnu/configure: Regenerate.
3965 * sysdeps/hppa/configure: Regenerate.
3966 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3967 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3969 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3970 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3971 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3973
3974 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
3975
3976 [BZ #19058]
3977 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3978 AS_NEEDED.
3979 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3980 workaround.
3981 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3982 libmvec-static-only-routines): Added new file.
3983 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3984
3985 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3986
3987 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3988 of interrupted RPC instead of restoring it.
3989
3990 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3991 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3992 libc_hidden_def.
3993 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3994 into initialized data instead of common. Define rtld_hidden_data_def.
3995 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3996 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3997 libc_hidden_def.
3998 (if_freenameindex): Add libc_hidden_weak.
3999 (if_nameindex): Add libc_hidden_weak.
4000 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4001 __open64.
4002 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4003 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4004 * sysdeps/mach/nanosleep.c: Include <time.h>
4005 (__nanosleep): Rename to __libc_nanosleep.
4006 (__nanosleep): Add weak_alias.
4007 (nanosleep): Update alias.
4008
4009 2015-11-24 Joseph Myers <joseph@codesourcery.com>
4010
4011 * stdlib/strtod_nan.c: New file.
4012 * stdlib/strtod_nan_double.h: Likewise.
4013 * stdlib/strtod_nan_float.h: Likewise.
4014 * stdlib/strtod_nan_main.c: Likewise.
4015 * stdlib/strtod_nan_narrow.h: Likewise.
4016 * stdlib/strtod_nan_wide.h: Likewise.
4017 * stdlib/strtof_nan.c: Likewise.
4018 * stdlib/strtold_nan.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4021 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4022 * wcsmbs/wcstod_nan.c: Likewise.
4023 * wcsmbs/wcstof_nan.c: Likewise.
4024 * wcsmbs/wcstold_nan.c: Likewise.
4025 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4026 strtold_nan.
4027 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4028 wcstof_nan.
4029 * include/stdlib.h (__strtof_nan): Declare and use
4030 libc_hidden_proto.
4031 (__strtod_nan): Likewise.
4032 (__strtold_nan): Likewise.
4033 (__wcstof_nan): Likewise.
4034 (__wcstod_nan): Likewise.
4035 (__wcstold_nan): Likewise.
4036 * include/wchar.h (____wcstoull_l_internal): Declare.
4037 * stdlib/strtod_l.c: Do not include <ieee754.h>.
4038 (____strtoull_l_internal): Remove declaration.
4039 (STRTOF_NAN): Define macro.
4040 (SET_MANTISSA): Remove macro.
4041 (STRTOULL): Likewise.
4042 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4043 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4044 (STRTOF_NAN): Define macro.
4045 (SET_MANTISSA): Remove macro.
4046 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4047 (SET_MANTISSA): Remove macro.
4048 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4049 macro.
4050 (SET_MANTISSA): Remove macro.
4051 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4052 macro.
4053 (SET_MANTISSA): Remove macro.
4054 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4055 (SET_MANTISSA): Remove macro.
4056 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4057 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4058 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4059
4060 [BZ #19266]
4061 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4062 upper case and lower case letters inside NAN(), not using TOLOWER.
4063 * stdlib/tst-strtod-nan-locale-main.c: New file.
4064 * stdlib/tst-strtod-nan-locale.c: Likewise.
4065 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4066 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4067 Depend on $(gen-locales).
4068 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4069 * wcsmbs/tst-wcstod-nan-locale.c: New file.
4070 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4071 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4072 Depend on $(gen-locales).
4073 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4074
4075 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
4076
4077 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4078
4079 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4081 __finitel, __isinfl, and __isnanl.
4082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4086 __finitel.
4087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4088 Likewise.
4089 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4090
4091 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4092
4093 * malloc/memusage.c (me): Remove redundant getenv call.
4094
4095 2015-10-24 Florian Weimer <fweimer@redhat.com>
4096
4097 [BZ #19143]
4098 [BZ #19164]
4099 * nptl/check-cpuset.h: Remove.
4100 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4101 Remove CPU set size check.
4102 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4103 Likewise.
4104 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4105 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4106 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4107 (__pthread_setaffinity_new): Remove CPU set size check.
4108 * sysdeps/unix/sysv/linux/sched_setaffinity.c
4109 (__kernel_cpumask_size): Remove.
4110 (__sched_setaffinity_new): Remove CPU set size check.
4111 * manual/threads.texi (Default Thread Attributes): Remove stale
4112 reference to check_cpuset_attr, determine_cpumask_size in comment.
4113 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4114 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
4115 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4116 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4117 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4118 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4119 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4120 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4121 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4122 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4123 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4124 skeleton test file.
4125 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
4126 tst-affinity-pid.
4127
4128 2015-11-24 Florian Weimer <fweimer@redhat.com>
4129
4130 * scripts/update-abilist.sh: New file.
4131 * Makefile (+subdir_targets): Add subdir_update-all-abi.
4132 * Makerules (update-all-abi-%, update-all-abi)
4133 (subdir_update-all-abi): New targets.
4134 * elf/Makefile (update-all-abi): New target.
4135
4136 2015-11-24 Florian Weimer <fweimer@redhat.com>
4137
4138 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4139 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4140 (__libc_lock_define_initialized): Use it.
4141 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4142 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4143 * malloc/malloc.c (main_arena): Likewise.
4144 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4145 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4146
4147 2015-11-23 Joseph Myers <joseph@codesourcery.com>
4148
4149 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4150 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4151 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4152 (PTRACE_O_MASK): Update value.
4153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4154 New value in enum __ptrace_setoptions.
4155 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4156 (PTRACE_O_MASK): Update value.
4157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4158 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4159 (PTRACE_O_MASK): Update value.
4160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4161 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4162 (PTRACE_O_MASK): Update value.
4163 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4164 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4165 (PTRACE_O_MASK): Update value.
4166 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4167 New value in enum __ptrace_setoptions.
4168 (PTRACE_O_MASK): Update value.
4169 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4170 New value in enum __ptrace_setoptions.
4171 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4172 (PTRACE_O_MASK): Update value.
4173
4174 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4175 New macro.
4176 (PACKET_AUXDATA): Likewise.
4177 (PACKET_ORIGDEV): Likewise.
4178 (PACKET_VERSION): Likewise.
4179 (PACKET_HDRLEN): Likewise.
4180 (PACKET_RESERVE): Likewise.
4181 (PACKET_TX_RING): Likewise.
4182 (PACKET_LOSS): Likewise.
4183 (PACKET_VNET_HDR): Likewise.
4184 (PACKET_TX_TIMESTAMP): Likewise.
4185 (PACKET_TIMESTAMP): Likewise.
4186 (PACKET_FANOUT): Likewise.
4187 (PACKET_TX_HAS_OFF): Likewise.
4188 (PACKET_QDISC_BYPASS): Likewise.
4189 (PACKET_ROLLOVER_STATS): Likewise.
4190 (PACKET_FANOUT_DATA): Likewise.
4191 (PACKET_MR_UNICAST): Likewise.
4192
4193 [BZ #19242]
4194 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4195 (TOUPPER): Likewise.
4196 * stdlib/tst-strtol-locale-main.c: New file.
4197 * stdlib/tst-strtol-locale.c: Likewise.
4198 * stdlib/Makefile (tests): Add tst-strtol-locale.
4199 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4200 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4201 Depend on $(gen-locales).
4202 * wcsmbs/tst-wcstol-locale.c: New file.
4203 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4204 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4205 tr_TR.ISO-8859-9.
4206 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4207 Depend on $(gen-locales).
4208
4209 2015-11-20 Roland McGrath <roland@hack.frob.com>
4210
4211 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4212 __glibc_likely instead of __builtin_expect. After falling back to
4213 dyncode_create in a non-ET_DYN case, use the allocate_code_data
4214 system interface to register the code pages as occupied.
4215
4216 2015-11-20 Joseph Myers <joseph@codesourcery.com>
4217
4218 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4219 [!ARM_MATH_PRIVATE_H].
4220 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4221 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4222 [!HPPA_MATH_PRIVATE_H].
4223 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4224 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4225 to [!I386_MATH_PRIVATE_H].
4226 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4227 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4228 Change guard to [!M68K_MATH_PRIVATE_H].
4229 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4230 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4231 guard to [!MICROBLAZE_MATH_PRIVATE_H].
4232 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4233 macro.
4234 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4235 [!MIPS_MATH_PRIVATE_H].
4236 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4237 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4238 [!NIO2_MATH_PRIVATE_H].
4239 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4240 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4241 [!TILE_MATH_PRIVATE_H].
4242 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4243
4244 [BZ #15421]
4245 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4246 initialize with 0 and define as weak alias of __signgam.
4247 * include/math.h [!_ISOMAC] (__signgam): Declare.
4248 * math/Makefile (libm-calls): Add w_lgamma_compat.
4249 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4250 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4251 test-signgam-ullong-init.
4252 (tests-static): Add test-signgam-uchar-static,
4253 test-signgam-uchar-init-static, test-signgam-uint-static,
4254 test-signgam-uint-init-static, test-signgam-ullong-static and
4255 test-signgam-ullong-init-static.
4256 (CFLAGS-test-signgam-uchar.c): New variable.
4257 (CFLAGS-test-signgam-uchar-init.c): Likewise.
4258 (CFLAGS-test-signgam-uchar-static.c): Likewise.
4259 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4260 (CFLAGS-test-signgam-uint.c): Likewise.
4261 (CFLAGS-test-signgam-uint-init.c): Likewise.
4262 (CFLAGS-test-signgam-uint-static.c): Likewise.
4263 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4264 (CFLAGS-test-signgam-ullong.c): Likewise.
4265 (CFLAGS-test-signgam-ullong-init.c): Likewise.
4266 (CFLAGS-test-signgam-ullong-static.c): Likewise.
4267 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4268 * math/Versions (libm): Add GLIBC_2.23.
4269 * math/lgamma-compat.h: New file.
4270 * math/test-signgam-main.c: Likewise.
4271 * math/test-signgam-uchar-init-static.c: Likewise.
4272 * math/test-signgam-uchar-init.c: Likewise.
4273 * math/test-signgam-uchar-static.c: Likewise.
4274 * math/test-signgam-uchar.c: Likewise.
4275 * math/test-signgam-uint-init-static.c: Likewise.
4276 * math/test-signgam-uint-init.c: Likewise.
4277 * math/test-signgam-uint-static.c: Likewise.
4278 * math/test-signgam-uint.c: Likewise.
4279 * math/test-signgam-ullong-init-static.c: Likewise.
4280 * math/test-signgam-ullong-init.c: Likewise.
4281 * math/test-signgam-ullong-static.c: Likewise.
4282 * math/test-signgam-ullong.c: Likewise.
4283 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4284 wrapper of w_lgamma_main.c.
4285 * math/w_lgamma_compat.c: New file.
4286 * math/w_lgamma_compatf.c: Likewise.
4287 * math/w_lgamma_compatl.c: Likewise.
4288 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
4289 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
4290 defining compatibility symbols.
4291 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
4292 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4293 wrapper of w_lgammaf_main.c.
4294 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
4295 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
4296 defining compatibility symbols.
4297 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
4298 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4299 wrapper of w_lgammal_main.c.
4300 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
4301 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
4302 defining compatibility symbols.
4303 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
4304 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4305 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4306 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
4307 <lgamma-compat.h>.
4308 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
4309 (__ieee754_gamma): Define as alias.
4310 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4311 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
4312 <lgamma-compat.h>.
4313 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
4314 (__ieee754_gammaf): Define as alias.
4315 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4316 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
4317 <lgamma-compat.h>.
4318 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
4319 (__ieee754_gammal): Define as alias.
4320 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4321 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
4322 <math/w_lgamma_compat.c>.
4323 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4324 Define as alias of __lgamma_compat and use in defining lgammal.
4325 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4326 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
4327 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4328 (USE_AS_COMPAT): New macro.
4329 (LGAMMA_OLD_VER): Undefine and redefine.
4330 (lgammal): Do not define here.
4331 (gammal): Only define here if [GAMMA_ALIAS].
4332 * conform/linknamespace.pl (@whitelist): Remove signgam.
4333 * sysdeps/nacl/libm.abilist: Update.
4334 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4335 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4336 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4338 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4347 Likewise.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4349 Likewise.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4351 Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4360 Likewise.
4361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4362 Likewise.
4363 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4366
4367 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4368
4369 [BZ #16364]
4370 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4371 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4372
4373 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4374
4375 * sysdeps/s390/fpu/bits/mathinline.h:
4376 Use __asm__ [__volatile__] instead of asm [volatile].
4377 * sysdeps/s390/abort-instr.h: Likewise.
4378 * sysdeps/s390/atomic-machine.h: Likewise.
4379 * sysdeps/s390/bits/string.h: Likewise.
4380 * sysdeps/s390/dl-tls.h: Likewise.
4381 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4382 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4383 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4384 * sysdeps/s390/fpu/fesetround.c: Likewise.
4385 * sysdeps/s390/fpu/fpu_control.h: Likewise.
4386 * sysdeps/s390/fpu/s_fma.c: Likewise.
4387 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4388 * sysdeps/s390/memusage.h: Likewise.
4389 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4390 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4391 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4392 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4393 * sysdeps/s390/nptl/tls.h: Likewise.
4394 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4395 * sysdeps/s390/s390-32/backtrace.c: Likewise.
4396 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4397 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4398 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4399 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4400 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4401 * sysdeps/s390/s390-64/backtrace.c: Likewise.
4402 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4403 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4404 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4405 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4406 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4407 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4408 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4409 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4410 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4411 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4412 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4413 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4414 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4417
4418 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4419 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4420
4421 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4422 Add lwarx hint, and use macro for acquire instruction.
4423 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4424 Likewise.
4425 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4426 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4427 update to use new atomic macros.
4428
4429 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4430
4431 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4432 (__lll_trylock_elision): Fix setting of adapt_count.
4433 * sysdeps/unix/sysv/linux/powerpc/htm.h
4434 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4435 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4436 (_ABORT_SYSCALL): Renumber, and clarify definition.
4437 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4438
4439 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4440
4441 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4442 after system headers to prevent MIN/MAX redefinition. Define
4443 HAVE_ALLOCA to preserve builtin alloca usage.
4444
4445 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
4446
4447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4448 static and don't set or restore rounding.
4449 (__cos)[IN_SINCOS]: Likewise.
4450 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4451 (__sincos): Set and restore rounding mode. Remove check for infinite
4452 or NaN input.
4453
4454 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4455
4456 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4457 as used.
4458
4459 2015-11-16 Florian Weimer <fweimer@redhat.com>
4460
4461 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4462
4463 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 * config.make.in (have-glob-dat-reloc): New.
4466 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
4467 target supports GLOB_DAT relocaton. AC_SUBST.
4468 * configure: Regenerated.
4469 * elf/Makefile (tests): Add tst-prelink.
4470 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4471 (tst-prelink-ENV): New.
4472 ($(objpfx)tst-prelink-conflict.out): Likewise.
4473 ($(objpfx)tst-prelink-cmp.out): Likewise.
4474 * sysdeps/x86/tst-prelink.c: Moved to ...
4475 * elf/tst-prelink.c: Here.
4476 * sysdeps/x86/tst-prelink.exp: Moved to ...
4477 * elf/tst-prelink.exp: Here.
4478 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4479 (tst-prelink-ENV): Removed.
4480 ($(objpfx)tst-prelink-conflict.out): Likewise.
4481 ($(objpfx)tst-prelink-cmp.out): Likewise.
4482 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4483
4484 2015-11-13 Joseph Myers <joseph@codesourcery.com>
4485
4486 [BZ #14551]
4487 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4488 (__mpn_construct_long_double): If high part overflows to infinity,
4489 set errno and recompute overflowed result of the correct sign.
4490 * sysdeps/ieee754/ldbl-128ibm/Makefile
4491 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4492 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4493 $(libm).
4494 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4495
4496 2015-11-12 Joseph Myers <joseph@codesourcery.com>
4497
4498 [BZ #15479]
4499 [BZ #19238]
4500 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4501 floating-point state after first operation on input. Restore full
4502 state rather than just rounding mode.
4503 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4504 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4505 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4506
4507 [BZ #19235]
4508 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4509 add 0.5 to integer arguments.
4510 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4511 Likewise.
4512 (.LC2): New object.
4513
4514 2015-11-11 Mike Frysinger <vapier@gentoo.org>
4515
4516 * scripts/pylintrc (reports): Set to no.
4517
4518 2015-11-10 Roland McGrath <roland@hack.frob.com>
4519
4520 * elf/dl-load.c (open_verify): Take new argument FD.
4521 Skip __open call if passed FD is not -1.
4522 (_dl_map_object, open_path): Update callers.
4523 * elf/dl-sysdep-open.h: New file.
4524 * elf/dl-load.c: Include it.
4525 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4526 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4527 * sysdeps/nacl/dl-sysdep-open.h: New file.
4528 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4529 from libc to rtld.
4530
4531 2015-11-10 Joseph Myers <joseph@codesourcery.com>
4532
4533 [BZ #19228]
4534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4535 and restore full floating-point state.
4536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4537 Likewise.
4538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4539 Likewise.
4540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4541 Likewise.
4542 * math/test-nearbyint-except-2.c: New file.
4543 * math/Makefile (tests): Add test-nearbyint-except-2.
4544
4545 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 [BZ #19178]
4548 * sysdeps/x86/Makefile (tests): Add tst-prelink.
4549 (tst-prelink-ENV): New.
4550 ($(objpfx)tst-prelink-conflict.out): Likewise.
4551 ($(objpfx)tst-prelink-cmp.out): Likewise.
4552 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4553 * sysdeps/x86/tst-prelink.c: New file.
4554 * sysdeps/x86/tst-prelink.exp: Likewise.
4555
4556 2015-11-10 Joseph Myers <joseph@codesourcery.com>
4557
4558 * math/auto-libm-test-in: Add another test of pow.
4559 * math/auto-libm-test-out: Regenerated.
4560 * math/libm-test.inc (pow_test_data): Add another test.
4561
4562 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4563
4564 [BZ #19219]
4565 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4566 weak_alias to nearbyintl.
4567
4568 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
4569
4570 * sysdeps/aarch64/bits/string.h: New file.
4571 (_STRING_ARCH_unaligned): Define.
4572
4573 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
4574
4575 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4576 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4577 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4578 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4580
4581 2015-11-09 Ulrich Drepper <drepper@gmail.com>
4582
4583 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4584 for original name of the DSO. Add it to the name list of the DSO
4585 if it is actually given.
4586 (_dl_map_object): Keep track of whether an audit module rewrote
4587 the file name. If yes, pass the original name to
4588 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
4589 debugging is enabled, log the change of the file name.
4590 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4591 _dl_map_object_from_fd.
4592 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4593 * elf/tst-audit11.c: New file
4594 * elf/tst-auditmod11.c: New file.
4595 * elf/tst-audit11mod1.c: New file.
4596 * elf/tst-audit11mod2.c: New file.
4597 * elf/tst-audit11mod2.map: New file.
4598 * elf/tst-audit12.c: New file
4599 * elf/tst-auditmod12.c: New file.
4600 * elf/tst-audit12mod1.c: New file.
4601 * elf/tst-audit12mod2.c: New file.
4602 * elf/tst-audit12mod2.map: New file.
4603 * elf/tst-audit12mod3.c: New file.
4604
4605 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4606
4607 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4608 Don't create weak aliases,
4609 because versioned symbols are created later.
4610 * sysdeps/s390/s390-32/setjmp.S
4611 (setjmp, _setjmp): Remove weak and rename to an unique name
4612 in SHARED case due to existing versioned symbols.
4613 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4614 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4615 (getcontext): Create weak alias only in non SHARED case.
4616 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4617
4618 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4619
4620 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4621 (__ASSUME_*_SYSCALL) Define new macros.
4622 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4623 Remove socketcall syscalls.
4624 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4625 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4626 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4627 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4628 * sysdeps/unix/sysv/linux/send.c (__libc_send):
4629 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4630
4631 2015-11-09 Florian Weimer <fweimer@redhat.com>
4632
4633 [BZ #12926]
4634 Terminate process on invalid netlink response.
4635 * sysdeps/unix/sysv/linux/netlinkaccess.h
4636 (__netlink_assert_response): Declare.
4637 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4639 (sysdep_routines): Add netlink_assert_response.
4640 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4641 __netlink_assert_response.
4642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4643 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4644 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4645 __netlink_assert_response.
4646
4647 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 [BZ #19178]
4650 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4651 (RTYPE_CLASS_PLT): Likewise.
4652 (RTYPE_CLASS_COPY): Likewise.
4653 (RTYPE_CLASS_TLS): Likewise.
4654 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4655 to set relocation type class for DL_DEBUG_PRELINK. Keep only
4656 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4657 DL_DEBUG_PRELINK.
4658
4659 2015-11-06 Joseph Myers <joseph@codesourcery.com>
4660
4661 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4662 calls with argument -0.5.
4663 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4664
4665 * configure.ac (libc_cv_z_nodelete): Remove configure test.
4666 (libc_cv_z_nodlopen): Likewise.
4667 (libc_cv_z_initfirst): Likewise.
4668 * configure: Regenerated.
4669
4670 2015-11-06 Florian Weimer <fweimer@redhat.com>
4671
4672 Simplify abilist format to be line-based.
4673 * scripts/abilist.awk: Collect descriptors in the descs variable.
4674 (emit): Write descs variable and sort it
4675 externally, with sort.
4676 * sysdeps/**/*.abilist: Convert to new format.
4677
4678 2015-11-06 Mark Wielaard <mjw@redhat.com>
4679
4680 [BZ #11460]
4681 * io/Makefile (routines): Add fts64.
4682 (tests): Add tst-fts and tst-fts-lfs.
4683 (CFLAGS-fts64.c): New.
4684 * io/Versions (GLIBC_2.23): New.
4685 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4686 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4687 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4688 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4689 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4690 (FTSENT64): Likewise.
4691 (fts64_children): Likewise.
4692 (fts64_close): Likewise.
4693 (fts64_open): Likewise.
4694 (fts64_read): Likewise.
4695 (fts64_set): Likewise.
4696 * io/fts64.c: New file.
4697 * io/tst-fts.c: New test.
4698 * io/tst-fts-lfs.c: Likewise.
4699 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4700 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4701 fts64_set.
4702 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4703 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4704 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4705 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4706 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4707 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4708 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4709 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4711 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4712 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4714 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4716 Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4718 Likewise.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4721 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4723 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4724 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4725 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4728 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4729 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4730 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4731 * sysdeps/wordsize-64/fts.c: New file.
4732 * sysdeps/wordsize-64/fts64.c: Likewise.
4733 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4734 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4737
4738 2015-11-05 Joseph Myers <joseph@codesourcery.com>
4739
4740 * math/libm-test.inc (NON_FINITE): New macro.
4741 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4742 * math/gen-libm-test.pl (show_exceptions): Add argument
4743 $non_finite.
4744 (parse_args): Update call to show_exceptions.
4745 * math/test-math-finite.h: New file.
4746 * math/test-math-no-finite.h: Likewise.
4747 * math/test-double-finite.c: Likewise.
4748 * math/test-float-finite.c: Likewise.
4749 * math/test-ldouble-finite.c: Likewise.
4750 * math/test-double.c: Include "test-math-no-finite.h".
4751 * math/test-float.c: Include "test-math-no-finite.h".
4752 * math/test-ldouble.c: Include "test-math-no-finite.h".
4753 * math/test-math-inline.h (TEST_FINITE): New macro.
4754 * math/test-math-vector.h (TEST_FINITE): Likewise.
4755 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4756 (libm-tests): Add test-float-finite and test-double-finite.
4757 ($(objpfx)test-float-finite.o): New dependency on
4758 $(objpfx)libm-test.stmp.
4759 ($(objpfx)test-double-finite.o): Likewise.
4760 ($(objpfx)test-ldouble-finite.o): Likewise.
4761 (libm-test-no-inline-cflags): New variable.
4762 (libm-test-finite-cflags): Likewise.
4763 (CFLAGS-test-float-finite.c): Likewise.
4764 (CFLAGS-test-double-finite.c): Likewise.
4765 (CFLAGS-test-ldouble-finite.c): Likewise.
4766 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4767 (CFLAGS-test-double.c): Likewise.
4768 (CFLAGS-test-ldouble.c): Likewise.
4769
4770 2015-11-05 Roland McGrath <roland@hack.frob.com>
4771
4772 * io/fcntl.c (__fcntl): Add ... to prototype.
4773 * misc/ioctl.c (__ioctl): Likewise.
4774 * misc/syscall.c (syscall): Likewise.
4775
4776 2015-11-05 Joseph Myers <joseph@codesourcery.com>
4777
4778 * scripts/list-fixed-bugs.py: New file.
4779
4780 [BZ #19213]
4781 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4782 returned for argument 1.
4783 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4784 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4785 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4786 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4787 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4788 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4789
4790 [BZ #19211]
4791 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4792 __USE_XOPEN], not if [!__USE_ISOC99].
4793 (lgammaf): Likewise.
4794 (lgammal): Likewise.
4795 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4796 (gammaf): Likewise.
4797 (gammal): Likewise.
4798 * math/test-signgam-finite-c11.c: New file.
4799 * math/test-signgam-finite-c99.c: Likewise.
4800 * math/test-signgam-finite.c: Likewise.
4801 * math/Makefile (tests): Add test-signgam-finite,
4802 test-signgam-finite-c99 and test-signgam-finite-c11.
4803 (CFLAGS-test-signgam-finite.c): New variable.
4804 (CFLAGS-test-signgam-finite-c99.c): Likewise.
4805 (CFLAGS-test-signgam-finite-c11.c): Likewise.
4806
4807 [BZ #19212]
4808 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4809 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4810 500].
4811 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4812 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4813 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4814 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4815 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4816 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4817 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4818 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4819 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4820 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4821
4822 [BZ #19209]
4823 * math/bits/math-finite.h (ldexp): Remove declaration.
4824 (ldexpf): Likewise.
4825 (ldexpl): Likewise.
4826
4827 [BZ #19205]
4828 * math/bits/math-finite.h (acosf): Condition declaration on
4829 [__USE_ISOC99].
4830 (acosl): Likewise.
4831 (acoshf): Likewise.
4832 (acoshl): Likewise.
4833 (asinf): Likewise.
4834 (asinl): Likewise.
4835 (atan2f): Likewise.
4836 (atan2l): Likewise.
4837 (atanhf): Likewise.
4838 (atanhl): Likewise.
4839 (coshf): Likewise.
4840 (coshl): Likewise.
4841 (expf): Likewise.
4842 (expl): Likewise.
4843 (fmodf): Likewise.
4844 (fmodl): Likewise.
4845 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4846 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4847 (j0l): Likewise.
4848 (y0f): Likewise.
4849 (y0l): Likewise.
4850 (j1f): Likewise.
4851 (j1l): Likewise.
4852 (y1f): Likewise.
4853 (y1l): Likewise.
4854 (jnf): Likewise.
4855 (jnl): Likewise.
4856 (ynf): Likewise.
4857 (ynl): Likewise.
4858 (lgammaf_r): Condition declaration on [__USE_ISOC99].
4859 (lgammal_r): Likewise.
4860 (__lgamma_r_finite): New declaration.
4861 (__lgammaf_r_finite): Likewise.
4862 (__lgammal_r_finite): Likewise.
4863 (lgamma): Use __lgamma_r_finite.
4864 (lgammaf): Condition definition on [__USE_ISOC99]. Use
4865 __lgammaf_r_finite.
4866 (lgammal): Condition definition on [__USE_ISOC99]. Use
4867 __lgammal_r_finite.
4868 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
4869 __lgamma_r_finite.
4870 (gammaf): Condition definition on [__USE_ISOC99]. Use
4871 __lgammaf_r_finite.
4872 (gammal): Condition definition on [__USE_ISOC99]. Use
4873 __lgammal_r_finite.
4874 (logf): Condition declaration on [__USE_ISOC99].
4875 (logl): Likewise.
4876 (log10f): Likewise.
4877 (log10l): Likewise.
4878 (ldexpf): Likewise.
4879 (ldexpl): Likewise.
4880 (powf): Likewise.
4881 (powl): Likewise.
4882 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4883 __USE_ISOC99].
4884 (remainderf): Condition declaration on [__USE_ISOC99].
4885 (remainderl): Likewise.
4886 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4887 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4888 (scalbl): Likewise.
4889 (sinhf): Condition declaration on [__USE_ISOC99].
4890 (sinhl): Likewise.
4891 (sqrtf): Likewise.
4892 (sqrtl): Likewise.
4893
4894 2015-11-04 Joseph Myers <joseph@codesourcery.com>
4895
4896 * sysdeps/arm/atomic-machine.h
4897 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4898 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4899 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4900 Remove conditional code.
4901 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4902 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4903 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4904 Change conditional to [__ASSEMBLER__].
4905 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4906 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4907 [!__ASSEMBLER__].
4908 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4909 code.
4910 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4911 conditional macro definitions.
4912 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4913 (__arch_compare_and_exchange_val_16_acq): Likewise.
4914 (__arch_compare_and_exchange_val_32_acq): Likewise.
4915 (atomic_exchange_and_add): Likewise.
4916 (atomic_add): Likewise.
4917 (atomic_add_negative): Likewise.
4918 (atomic_add_zero): Likewise.
4919 (atomic_bit_set): Likewise.
4920 (atomic_bit_test_set): Likewise.
4921 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4922 code unconditional.
4923 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4924
4925 * math/test-math-errno.h: New file.
4926 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4927 empty.
4928 (TEST_ERRNO): New macro.
4929 (TEST_EXCEPTIONS): Likewise.
4930 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4931 (TEST_EXCEPTIONS): Likewise.
4932 * math/test-math-vector.h (TEST_ERRNO): Likewise.
4933 * math/test-double.c: Include "test-math-errno.h".
4934 * math/test-float.c: Likewise.
4935 * math/test-ldouble.c: Likewise.
4936 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4937 code unconditional.
4938 (test_exceptions): Only run code if TEST_EXCEPTIONS.
4939 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4940 unconditional.
4941 (test_errno): Only run code if TEST_ERRNO.
4942 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4943
4944 2015-11-04 Florian Weimer <fweimer@redhat.com>
4945
4946 * nptl/tst-once5.cc: Remove attribution.
4947
4948 2015-11-04 Joseph Myers <joseph@codesourcery.com>
4949
4950 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4951 sqrt, tan, tanh, y0, y1 and yn.
4952 * math/auto-libm-test-out: Regenerated.
4953 * math/libm-test.inc (scalb_test_data): Add more tests.
4954 (scalbn_test_data): Likewise.
4955 (scalbln_test_data): Likewise.
4956 (signbit_test_data): Likewise.
4957 (sin_test_data): Likewise.
4958 (sincos_test_data): Likewise.
4959 (sinh_test_data): Likewise.
4960 (sqrt_test_data): Likewise.
4961 (tan_test_data): Likewise.
4962 (tanh_test_data): Likewise.
4963 (tgamma_test_data): Likewise.
4964 (y0_test_data): Likewise.
4965 (y1_test_data): Likewise.
4966 (yn_test_data): Likewise.
4967 (significand_test_data): Likewise.
4968 * sysdeps/i386/fpu/libm-test-ulps: Update.
4969
4970 2015-11-03 David Kastrup <dak@gnu.org>
4971
4972 [BZ #18604]
4973 * assert/assert.h (assert): Don't macro-expand failed assertion
4974 expression in error message.
4975 * malloc/malloc.c (assert): Likewise.
4976
4977 2015-11-03 Joseph Myers <joseph@codesourcery.com>
4978
4979 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4980 test.
4981 * configure: Regenerated.
4982
4983 2015-11-02 Joseph Myers <joseph@codesourcery.com>
4984
4985 * math/libm-test.inc (modf_test_data): Add more tests.
4986 (nearbyint_test_data): Likewise.
4987 (nextafter_test_data): Likewise.
4988 (nexttoward_test_data): Likewise.
4989 (pow_test_data): Likewise.
4990 (remainder_test_data): Likewise.
4991 (remquo_test_data): Likewise.
4992 (rint_test_data): Likewise.
4993
4994 [BZ #19201]
4995 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4996 Check for zero remainder in case of large exponents and ensure
4997 correct sign of result in that case.
4998 * math/libm-test.inc (remainder_test_data): Add more tests.
4999
5000 [BZ #6799]
5001 * math/s_nextafter.c: Include <errno.h>.
5002 (__nextafter): Set errno on overflow and underflow.
5003 * math/s_nexttowardf.c: Include <errno.h>.
5004 (__nexttowardf): Set errno on overflow and underflow.
5005 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5006 (__nextafterl): Set errno on overflow and underflow.
5007 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5008 (__nexttoward): Set errno on overflow and underflow.
5009 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5010 (__nexttowardf): Set errno on overflow and underflow.
5011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5012 (__nextafterf): Set errno on overflow and underflow.
5013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5014 (__nextafterl): Set errno on overflow and underflow.
5015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5016 (__nexttoward): Set errno on overflow and underflow.
5017 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5018 (__nexttowardf): Set errno on overflow and underflow.
5019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5020 (__nextafterl): Set errno on overflow and underflow.
5021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5022 (__nexttoward): Set errno on overflow and underflow.
5023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5024 (__nexttowardf): Set errno on overflow and underflow.
5025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5026 (__nexttoward): Set errno on overflow and underflow.
5027 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5028 (__nexttowardf): Set errno on overflow and underflow.
5029 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5030 (__nldbl_nexttowardf): Set errno on overflow and underflow.
5031 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5032 (__nextafterl): Set errno on overflow and underflow.
5033 * math/libm-test.inc (nextafter_test_data): Do not allow errno
5034 setting to be missing on overflow. Add more tests.
5035 (nexttoward_test_data): Likewise.
5036
5037 * configure.ac (libc_cv_initfini_array): Remove configure test.
5038 * configure: Regenerated.
5039
5040 2015-10-29 Joseph Myers <joseph@codesourcery.com>
5041
5042 [BZ #19189]
5043 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5044 non-finite argument handle arguments with negative sign.
5045
5046 * math/libm-test.inc (j0_test_data): Do not test sign of zero
5047 result from infinite argument.
5048 (j1_test_data): Likewise.
5049 (jn_test_data): Likewise.
5050 (y0_test_data): Likewise.
5051 (y1_test_data): Likewise.
5052 (yn_test_data): Likewise.
5053
5054 [BZ #16171]
5055 * math/w_remainder.c (drem): Define as weak alias of __remainder.
5056 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5057 * math/w_remainderf.c (dremf): Define as weak alias of
5058 __remainderf.
5059 * math/w_remainderl.c (dreml): Define as weak alias of
5060 __remainderl.
5061 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5062 __remainder.
5063 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5064 __remainderf.
5065 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5066 __remainderl.
5067 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5068 weak alias of remainderl.
5069 * sysdeps/ieee754/ldbl-opt/w_remainder.c
5070 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5071 alias of __remainder.
5072 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5073 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5074 strong alias of __remainderl.
5075 (dreml): Use long_double_symbol.
5076 * math/Makefile (libm-calls): Remove w_drem.
5077 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5078 (CFLAGS-nldbl-drem.c): Remove variable.
5079 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5080 * math/w_drem.c: Remove file.
5081 * math/w_dremf.c: Likewise.
5082 * math/w_dreml.c: Likewise.
5083 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5084 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5085 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5086
5087 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5088 * sysdeps/i386/configure: Regenerated.
5089 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5090 * sysdeps/x86_64/configure: Regenerated.
5091
5092 * configure.ac (libc_cv_asm_protected_directive): Remove configure
5093 test.
5094 (libc_cv_visibility_attribute): Likewise.
5095 (libc_cv_protected_data): Test unconditionally.
5096 (libc_cv_broken_visibility_attribute): Remove configure test.
5097 (libc_cv_have_sdata_section): Test unconditionally.
5098 * configure: Regenerated.
5099
5100 * include/libc-internal.h (libc_max_align_t): Remove typedef.
5101 * include/scratch_buffer.h: Include <stddef.h> instead of
5102 <libc-internal.h>.
5103 (struct scratch_buffer): Use max_align_t instead of
5104 libc_max_align_t.
5105
5106 2015-10-29 Florian Weimer <fweimer@redhat.com>
5107
5108 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5109 instead of extend_alloca. Change control flow to avoid a goto.
5110 Remove assert which is trivially always true.
5111
5112 2015-10-28 Joseph Myers <joseph@codesourcery.com>
5113
5114 [BZ #16068]
5115 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5116 (FE_ALL_EXCEPT_X86): New macro.
5117 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5118 FE_ALL_EXCEPT. Ensure precision control is included in
5119 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5120 handle "denormal operand exception" and clear FZ and DAZ bits.
5121 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5122 (FE_ALL_EXCEPT_X86): New macro.
5123 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5124 FE_ALL_EXCEPT. Ensure precision control is included in
5125 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5126 handle "denormal operand exception" and clear FZ and DAZ bits.
5127 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5128 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5129 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5130 test-fenv-x87 and test-fenv-sse-2.
5131 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5132
5133 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5134 * math/test-double.h (BUILD_COMPLEX): New macro.
5135 * math/test-float.h (BUILD_COMPLEX): Likewise.
5136 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5137
5138 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5139 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5140 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5142 instead of DBL_DENORM_MIN in comment.
5143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5144 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5145 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5146 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5148 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5149
5150 2015-10-28 Florian Weimer <fweimer@redhat.com>
5151
5152 [BZ# 19048]
5153 * malloc/malloc.c (struct malloc_state): Update comment. Add
5154 attached_threads member.
5155 (main_arena): Initialize attached_threads.
5156 * malloc/arena.c (list_lock): Update comment.
5157 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5158 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5159 (deattach_arena): New function.
5160 (_int_new_arena): Initialize arena reference count and deattach
5161 replaced arena.
5162 (get_free_list, reused_arena): Update reference count and deattach
5163 replaced arena.
5164 (arena_thread_freeres): Update arena reference count and only put
5165 unreferenced arenas on the free list.
5166
5167 2015-10-28 Joseph Myers <joseph@codesourcery.com>
5168
5169 [BZ #19181]
5170 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5171 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5172 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5173 * math/test-fenv-clear-main.c: New file.
5174 * math/test-fenv-clear.c: Likewise.
5175 * math/Makefile (tests): Add test-fenv-clear.
5176 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5177 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5178 test-fenv-clear-sse.
5179 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5180
5181 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5182 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5183 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5184
5185 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5186
5187 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5188 static libc.
5189
5190 2015-10-28 Joseph Myers <joseph@codesourcery.com>
5191
5192 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5193 test.
5194 * sysdeps/i386/configure: Regenerated.
5195 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5196 test.
5197 * sysdeps/x86_64/configure: Regenerated.
5198 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5200 memset-avx2 unconditionally instead of conditionally on
5201 [$(config-cflags-avx2) = yes].
5202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5203 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5204 unconditional.
5205 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5206 * sysdeps/x86_64/multiarch/memset_chk.S
5207 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5208 to [IS_IN (libc) && SHARED].
5209
5210 2015-10-27 Joseph Myers <joseph@codesourcery.com>
5211
5212 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5213 configure test.
5214 * sysdeps/arm/configure: Regenerated.
5215 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5216 Define variable if not already defined.
5217
5218 [BZ #17404]
5219 * sysdeps/mips/atomic-machine.h
5220 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5221 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5222 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5223
5224 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5225 unconditional.
5226 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5227 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5228 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5229 unconditional.
5230 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5231 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5232 unconditional.
5233 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5234 * stdlib/setenv.c
5235 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5236 code unconditional.
5237 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5238 Remove conditional code.
5239 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5240 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5241 unconditional.
5242 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5243 code.
5244 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5245 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5246 unconditional.
5247 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5248 code.
5249 * sysdeps/ieee754/ldbl-128/k_tanl.c
5250 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5251 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5253 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5254 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5256 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5257 unconditional.
5258 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5259 code.
5260 * sysdeps/ieee754/ldbl-96/k_tanl.c
5261 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5262 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5263
5264 * nptl/tst-initializers1-c11.c: New file.
5265 * nptl/tst-initializers1-gnu11.c: Likewise.
5266 * nptl/Makefile (tests): Add these new tests.
5267 (CFLAGS-tst-initializers1-c11.c): New variable.
5268 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5269
5270 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5271 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5272 instead of -std=gnu99.
5273 * configure.ac (systemtap): Test with -std=gnu11 instead of
5274 -std=gnu99.
5275 * configure: Regenerated.
5276 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5277 in compilation command in comment.
5278
5279 * sysdeps/nptl/configure.ac: Remove file.
5280 * sysdeps/nptl/configure: Remove generated file.
5281 * configure.ac (libc_cv_forced_unwind): Do not substitute.
5282 * configure: Regenerated.
5283 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5284 * config.make.in (have-forced-unwind): Remove variable.
5285 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5286 unconditional.
5287 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5288 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5289 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5290 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5291 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5292 unconditional.
5293
5294 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5295
5296 [BZ #19174]
5297 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5298 .skip_lock_out_of_tbegin_retries.
5299 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5300 (__lll_lock_elision): Likewise, and respect a value of
5301 try_tbegin <= 0.
5302
5303 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5304
5305 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5306 statement.
5307
5308 2015-10-27 Joseph Myers <joseph@codesourcery.com>
5309
5310 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5311 variable.
5312 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5313 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5314
5315 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5316 of -std=c1x -D_ISOC11_SOURCE.
5317
5318 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5319 * configure: Regenerated.
5320 * manual/install.texi (Tools for Compilation): Document
5321 requirement for GCC 4.7 or later.
5322 * INSTALL: Regenerated.
5323
5324 2015-10-27 Ludovic Courtès <ludo@gnu.org>
5325
5326 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5327 on CNT to a conditional jump to 'puntdata'.
5328
5329 2015-10-27 Joseph Myers <joseph@codesourcery.com>
5330
5331 * configure.ac (libc_cv_gcc___thread): Remove configure test.
5332 (libc_cv_gcc_tls_model_attr): Likewise.
5333 * configure: Regenerated.
5334
5335 * configure.ac (libc_cv_need_minus_P): Remove configure test.
5336 * configure: Regenerated.
5337 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5338
5339 2015-10-26 Joseph Myers <joseph@codesourcery.com>
5340
5341 * configure.ac (old_glibc_headers): Remove configure test.
5342 * configure: Regenerated.
5343 * config.make.in (old-glibc-headers): Remove variable.
5344 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5345 (install): Remove dependency on remove-old-headers.
5346 (headers2_0): Remove variable.
5347 (remove-old-headers): Remove rule.
5348
5349 * configure.ac (libc_cv_dot_text): Remove configure test.
5350 (libc_cv_asm_set_directive): Use .text instead of
5351 ${libc_cv_dot_text} in configure test.
5352 * configure: Regenerated.
5353
5354 2015-10-26 Florian Weimer <fweimer@redhat.com>
5355
5356 [BZ #19168]
5357 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5358
5359 2015-10-26 Florian Weimer <fweimer@redhat.com>
5360
5361 * configure.ac (CXX): Clear the variable if the C++ toolchain does
5362 not support static linking.
5363 * configure: Regenerate.
5364
5365 2015-10-23 Joseph Myers <joseph@codesourcery.com>
5366
5367 * math/libm-test.inc (check_float_internal): Do not special-case
5368 errors up to 0.5 ulp.
5369
5370 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5371 log2.
5372 * math/auto-libm-test-out: Regenerated.
5373 * math/libm-test.inc (MAX_EXP): New macro.
5374 (ilogb_test_data): Add more tests.
5375 (isfinite_test_data): Likewise.
5376 (isgreater_test_data): Likewise.
5377 (isgreaterequal_test_data): Likewise.
5378 (isinf_test_data): Likewise.
5379 (isless_test_data): Likewise.
5380 (islessequal_test_data): Likewise.
5381 (islessgreater_test_data): Likewise.
5382 (isnan_test_data): Likewise.
5383 (isnormal_test_data): Likewise.
5384 (issignaling_test_data): Likewise.
5385 (isunordered_test_data): Likewise.
5386 (j0_test_data): Likewise.
5387 (j1_test_data): Likewise.
5388 (jn_test_data): Likewise.
5389 (lgamma_test_data): Likewise.
5390 (log_test_data): Likewise.
5391 (log10_test_data): Likewise.
5392 (log1p_test_data): Likewise.
5393 (log2_test_data): Likewise.
5394 (logb_test_data): Likewise.
5395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5396
5397 [BZ #18611]
5398 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5399 avoid excess range and precision on underflow.
5400 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5401 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5402 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5404 underflow.
5405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5407 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5409 * math/auto-libm-test-in: Do not allow missing errno setting for
5410 tests of j1 and jn.
5411 * math/auto-libm-test-out: Regenerated.
5412
5413 2015-10-22 Joseph Myers <joseph@codesourcery.com>
5414
5415 [BZ #15491]
5416 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5417 floating-point environment instead of clearing all exceptions.
5418 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5419 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5420 merging in "invalid" exceptions from frndint.
5421 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5422 * math/test-nearbyint-except.c: New file.
5423 * math/Makefile (tests): Add test-nearbyint-except.
5424
5425 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
5426
5427 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5428
5429 * sysdeps/tile/libm-test-ulps: Regenerated.
5430
5431 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5432
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5434 (__NR_sync_file_range2): Assume it is always defined.
5435 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5436 (__NR_sync_file_range): Assume it is always defined.
5437
5438 2015-10-22 Andreas Schwab <schwab@suse.de>
5439
5440 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5441 INTERNAL_SYSCALL_ERRNO.
5442 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5443 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5444 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5445 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5446 Likewise.
5447 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5448
5449 2015-10-21 Joseph Myers <joseph@codesourcery.com>
5450
5451 * io/tst-fcntl.c (fd): New static variable.
5452 (do_prepare): Open temporary file here....
5453 (do_test): ...not here.
5454
5455 * io/ftwtest-sh: Also trap on exit to remove temporary files.
5456
5457 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5460 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5461 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5462 Moved before "#ifdef __ASSEMBLER__".
5463
5464 2015-10-21 Joseph Myers <joseph@codesourcery.com>
5465
5466 [BZ #19156]
5467 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5468 arguments very close to 0.
5469
5470 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
5471
5472 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5473 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5474
5475 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
5476
5477 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5478 New. Defined for GCC 5 and above when not compiling for
5479 profiling.
5480 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5481
5482 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5483 Renamed to ...
5484 (CFLAGS-epoll_pwait.o): This.
5485 (CFLAGS-mmap.c): Renamed to ...
5486 (CFLAGS-mmap.o): This.
5487 (CFLAGS-mmap64.c): Renamed to ...
5488 (CFLAGS-mmap64.o): This.
5489 (CFLAGS-epoll_pwait.os): New.
5490 (CFLAGS-mmap.os): Likewise.
5491 (CFLAGS-mmap64.os): Likewise.
5492 (CFLAGS-semtimedop.os): Likewise.
5493 (CFLAGS-semtimedop.c): Renamed to ...
5494 (CFLAGS-semtimedop.o): This.
5495
5496 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5497
5498 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5499 warning message.
5500
5501 2015-10-21 Joseph Myers <joseph@codesourcery.com>
5502
5503 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5504 * Makefile ($(objpfx)c++-types-check.out): Filter out
5505 $(+gccwarn-c) instead of -Wstrict-prototypes.
5506
5507 * io/fts.c (fts_open): Convert to prototype-style function
5508 definition.
5509 * malloc/mcheck.c (mcheck): Likewise.
5510 (mcheck_pedantic): Likewise.
5511 * posix/regexec.c (re_search_2_stub): Likewise. Use
5512 internal_function.
5513 (re_search_internal): Likewise.
5514 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5515 prototype-style function definition.
5516 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5517 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5518 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5519 (xdr_utmpptr): Likewise.
5520 (xdr_utmparr): Likewise.
5521 (xdr_utmpidle): Likewise.
5522 (xdr_utmpidleptr): Likewise.
5523 (xdr_utmpidlearr): Likewise.
5524
5525 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5526 log, log10 and log2.
5527 * math/auto-libm-test-out: Regenerated.
5528 * math/libm-test.inc (fmod_test_data): Add more tests.
5529 (fpclassify_test_data): Likewise.
5530 (frexp_test_data): Likewise.
5531 (hypot_test_data): Likewise.
5532 (ilogb_test_data): Likewise.
5533
5534 2015-10-20 Joseph Myers <joseph@codesourcery.com>
5535
5536 * debug/fortify_fail.c (__fortify_fail): Convert to
5537 prototype-style function definition. Use internal_function.
5538 * libio/genops.c (save_for_backup): Convert to prototype-style
5539 function definition.
5540 * libio/wgenops.c (save_for_wbackup): Likewise.
5541 * login/grantpt.c (grantpt): Likewise.
5542 * login/ptsname.c (ptsname): Likewise.
5543 (__ptsname_r): Likewise.
5544 * login/unlockpt.c (unlockpt): Likewise.
5545 * mach/msgserver.c (__mach_msg_server): Likewise.
5546 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5547 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5548 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5549 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5550 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5551 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5552 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5553 Likewise.
5554 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
5555 internal_function.
5556 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5557 prototype-style function definition.
5558 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5559 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5560 (__pthread_create_2_0): Likewise.
5561 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5562 * nptl/register-atfork.c (__register_atfork): Likewise.
5563 * posix/glob.c (glob): Likewise.
5564 * posix/regcomp.c (re_comp): Likewise.
5565 * posix/regexec.c (re_exec): Likewise.
5566 * stdlib/add_n.c [__STDC__]: Make code unconditional.
5567 [!__STDC__]: Remove conditional code.
5568 * stdlib/cmp.c [__STDC__]: Make code unconditional.
5569 [!__STDC__]: Remove conditional code.
5570 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5571 [!__STDC__]: Remove conditional code.
5572 * stdlib/divrem.c [__STDC__]: Make code unconditional.
5573 [!__STDC__]: Remove conditional code.
5574 * stdlib/lshift.c [__STDC__]: Make code unconditional.
5575 [!__STDC__]: Remove conditional code.
5576 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5577 [!__STDC__]: Remove conditional code.
5578 * stdlib/mul.c [__STDC__]: Make code unconditional.
5579 [!__STDC__]: Remove conditional code.
5580 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5581 [!__STDC__]: Remove conditional code.
5582 * stdlib/rshift.c [__STDC__]: Make code unconditional.
5583 [!__STDC__]: Remove conditional code.
5584 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5585 function definition.
5586 (STRTOF): Likewise.
5587 * stdlib/strtod_l.c (__STRTOF): Likewise.
5588 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5589 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5590 (__strtol_l): Likewise.
5591 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5592 [!__STDC__]: Remove conditional code.
5593 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5594 definition.
5595 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5596 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5597 type.
5598 (__strcasecmp): Convert to prototype-style function definition.
5599 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5600 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5601 type.
5602 (__strncasecmp): Convert to prototype-style function definition.
5603 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5604 * sunrpc/xdr.c (xdr_union): Likewise.
5605 * sunrpc/xdr_array.c (xdr_array): Likewise.
5606 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5607 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5608 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5609 Likewise.
5610 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5611 Likewise.
5612 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5613 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5614 Likewise.
5615 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5616 (LOCALE_PARAM_PROTO): Likewise.
5617 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5618 argument type.
5619 (ut_argument_spec): Remove macro.
5620 (ut_argument_spec_iso): Rename to ut_argument_spec.
5621 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
5622 prototype-style function definition.
5623 (memcpy_uppcase): Likewise.
5624 (__strftime_internal): Likewise.
5625 (my_strftime): Likewise.
5626 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5627 (LOCALE_PARAM_DECL): Likewise.
5628 [_LIBC] (LOCALE_PARAM): Include argument type.
5629 (__strptime_internal): Convert to prototype-style function
5630 definition.
5631 (strptime): Likewise.
5632 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5633 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5634 type.
5635 (__wcscasecmp): Convert to prototype-style function definition.
5636 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5637 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5638 type.
5639 (__wcsncasecmp): Convert to prototype-style function definition.
5640
5641 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5642 function definition.
5643 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5644 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5645 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5646 * elf/dl-minimal.c (_itoa): Likewise.
5647 * hurd/hurdmalloc.c (malloc): Likewise.
5648 (free): Likewise.
5649 (realloc): Likewise.
5650 * inet/inet6_option.c (inet6_option_space): Likewise.
5651 (inet6_option_init): Likewise.
5652 (inet6_option_append): Likewise.
5653 (inet6_option_alloc): Likewise.
5654 (inet6_option_next): Likewise.
5655 (inet6_option_find): Likewise.
5656 * io/ftw.c (FTW_NAME): Likewise.
5657 (NFTW_NAME): Likewise.
5658 (NFTW_NEW_NAME): Likewise.
5659 (NFTW_OLD_NAME): Likewise.
5660 * libio/iofwide.c (_IO_fwide): Likewise.
5661 * libio/strops.c (_IO_str_init_static_internal): Likewise.
5662 (_IO_str_init_static): Likewise.
5663 (_IO_str_init_readonly): Likewise.
5664 (_IO_str_overflow): Likewise.
5665 (_IO_str_underflow): Likewise.
5666 (_IO_str_count): Likewise.
5667 (_IO_str_seekoff): Likewise.
5668 (_IO_str_pbackfail): Likewise.
5669 (_IO_str_finish): Likewise.
5670 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5671 (_IO_wstr_overflow): Likewise.
5672 (_IO_wstr_underflow): Likewise.
5673 (_IO_wstr_count): Likewise.
5674 (_IO_wstr_seekoff): Likewise.
5675 (_IO_wstr_pbackfail): Likewise.
5676 (_IO_wstr_finish): Likewise.
5677 * locale/programs/localedef.c (normalize_codeset): Likewise.
5678 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5679 (add_locales_to_archive): Likewise.
5680 (delete_locales_from_archive): Likewise.
5681 * malloc/malloc.c (__libc_mallinfo): Likewise.
5682 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5683 * misc/tsearch.c (__tfind): Likewise.
5684 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5685 * nptl/pthread_attr_getdetachstate.c
5686 (__pthread_attr_getdetachstate): Likewise.
5687 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5688 Likewise.
5689 * nptl/pthread_attr_getinheritsched.c
5690 (__pthread_attr_getinheritsched): Likewise.
5691 * nptl/pthread_attr_getschedparam.c
5692 (__pthread_attr_getschedparam): Likewise.
5693 * nptl/pthread_attr_getschedpolicy.c
5694 (__pthread_attr_getschedpolicy): Likewise.
5695 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5696 Likewise.
5697 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5698 Likewise.
5699 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5700 Likewise.
5701 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5702 Likewise.
5703 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5704 (__pthread_attr_init_2_0): Likewise.
5705 * nptl/pthread_attr_setdetachstate.c
5706 (__pthread_attr_setdetachstate): Likewise.
5707 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5708 Likewise.
5709 * nptl/pthread_attr_setinheritsched.c
5710 (__pthread_attr_setinheritsched): Likewise.
5711 * nptl/pthread_attr_setschedparam.c
5712 (__pthread_attr_setschedparam): Likewise.
5713 * nptl/pthread_attr_setschedpolicy.c
5714 (__pthread_attr_setschedpolicy): Likewise.
5715 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5716 Likewise.
5717 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5718 Likewise.
5719 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5720 Likewise.
5721 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5722 Likewise.
5723 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5724 Likewise.
5725 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5726 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5727 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5728 use internal_function.
5729 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5730 prototype-style function definition.
5731 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5732 (__pthread_mutex_cond_lock_adjust): Likewise. Use
5733 internal_function.
5734 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5735 Convert to prototype-style function definition.
5736 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5737 Likewise.
5738 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5739 Likewise.
5740 (__pthread_mutex_unlock): Likewise.
5741 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5742 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5743 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5744 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5745 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5746 * nss/makedb.c (process_input): Likewise.
5747 * posix/fnmatch.c (__strchrnul): Likewise.
5748 (__wcschrnul): Likewise.
5749 (fnmatch): Likewise.
5750 * posix/fnmatch_loop.c (FCT): Likewise.
5751 * posix/glob.c (globfree): Likewise.
5752 (__glob_pattern_type): Likewise.
5753 (__glob_pattern_p): Likewise.
5754 * posix/regcomp.c (re_compile_pattern): Likewise.
5755 (re_set_syntax): Likewise.
5756 (re_compile_fastmap): Likewise.
5757 (regcomp): Likewise.
5758 (regerror): Likewise.
5759 (regfree): Likewise.
5760 * posix/regexec.c (regexec): Likewise.
5761 (re_match): Likewise.
5762 (re_search): Likewise.
5763 (re_match_2): Likewise.
5764 (re_search_2): Likewise.
5765 (re_search_stub): Likewise. Use internal_function
5766 (re_copy_regs): Likewise.
5767 (re_set_registers): Convert to prototype-style function
5768 definition.
5769 (prune_impossible_nodes): Likewise. Use internal_function.
5770 * resolv/inet_net_pton.c (inet_net_pton): Convert to
5771 prototype-style function definition.
5772 (inet_net_pton_ipv4): Likewise.
5773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5774 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5775 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5776 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5777 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5778 Make variadic.
5779 * time/strptime_l.c (localtime_r): Convert to prototype-style
5780 function definition.
5781 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5782 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5783 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5784 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5785
5786 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5787 definition.
5788 (_ufc_doit_r): Likewise.
5789 * crypt/crypt_util.c (_ufc_copymem): Likewise.
5790 (_ufc_output_conversion_r): Likewise.
5791 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5792 * inet/rcmd.c (rcmd_af): Likewise.
5793 (rcmd): Likewise.
5794 (ruserok_af): Likewise.
5795 (ruserok): Likewise.
5796 (ruserok2_sa): Likewise.
5797 (ruserok_sa): Likewise.
5798 (iruserok_af): Likewise.
5799 (iruserok): Likewise.
5800 (__ivaliduser): Likewise.
5801 (__validuser2_sa): Likewise.
5802 * inet/rexec.c (rexec_af): Likewise.
5803 (rexec): Likewise.
5804 * inet/ruserpass.c (ruserpass): Likewise.
5805 * locale/programs/xmalloc.c (xcalloc): Likewise.
5806 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5807 * math/w_drem.c (__drem): Likewise.
5808 * math/w_dremf.c (__dremf): Likewise.
5809 * math/w_dreml.c (__dreml): Likewise.
5810 * misc/daemon.c (daemon): Likewise.
5811 * resolv/res_debug.c (p_fqnname): Likewise.
5812 * stdlib/div.c (div): Likewise.
5813 * string/memcmp.c (memcmp_bytes): Likewise.
5814 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5815 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5816
5817 * crypt/cert.c (main): Convert to prototype-style function
5818 definition.
5819 * io/pipe.c (__pipe): Likewise.
5820 * io/pipe2.c (__pipe2): Likewise.
5821 * misc/futimesat.c (futimesat): Likewise.
5822 * misc/utimes.c (__utimes): Likewise.
5823 * posix/execve.c (__execve): Likewise.
5824 * posix/execvp.c (execvp): Likewise.
5825 * posix/execvpe.c (__execvpe): Likewise.
5826 * posix/fexecve.c (fexecve): Likewise.
5827 * socket/socketpair.c (socketpair): Likewise.
5828 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5829 * stdlib/erand48.c (erand48): Likewise.
5830 * stdlib/erand48_r.c (__erand48_r): Likewise.
5831 * stdlib/jrand48.c (jrand48): Likewise.
5832 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5833 * stdlib/lcong48.c (lcong48): Likewise.
5834 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5835 * stdlib/nrand48.c (nrand48): Likewise.
5836 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5837 * stdlib/seed48.c (seed48): Likewise.
5838 * stdlib/seed48_r.c (__seed48_r): Likewise.
5839 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5840 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5841 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5842
5843 2015-10-19 Joseph Myers <joseph@codesourcery.com>
5844
5845 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5846 * configure: Regenerated.
5847 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5848 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5849 unconditional.
5850 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5851 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5852 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5853 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5854 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5855 unconditional.
5856 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5857
5858 * posix/Makefile (CFLAGS-regex.c): Remove variable.
5859 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5860
5861 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5862 function definition.
5863 * crypt/crypt_util.c (__encrypt_r): Likewise.
5864 * libio/genops.c (_IO_no_init): Likewise.
5865 * libio/iofopncook.c (_IO_fopencookie): Likewise.
5866 (_IO_old_fopencookie): Likewise.
5867 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5868 * libio/iogetline.c (_IO_getline): Likewise.
5869 (_IO_getline_info): Likewise.
5870 * libio/iogetwline.c (_IO_getwline): Likewise.
5871 (_IO_getwline_info): Likewise.
5872 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5873 * libio/vswprintf.c (_IO_vswprintf): Likewise.
5874 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5875 (find_entry): Likewise.
5876 (iterate_table): Likewise.
5877 (lookup): Likewise.
5878 * login/forkpty.c (forkpty): Likewise.
5879 * misc/hsearch_r.c (__hsearch_r): Likewise.
5880 * misc/select.c (__select): Likewise.
5881 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5882 Likewise.
5883 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5884 Likewise.
5885 * nptl/old_pthread_cond_timedwait.c
5886 (__pthread_cond_timedwait_2_0): Likewise.
5887 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5888 * nptl/pthread_barrierattr_getpshared.c
5889 (pthread_barrierattr_getpshared): Likewise.
5890 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5891 Likewise.
5892 * nptl/pthread_mutex_setprioceiling.c
5893 (pthread_mutex_setprioceiling): Likewise.
5894 * nptl/pthread_mutexattr_getprioceiling.c
5895 (pthread_mutexattr_getprioceiling): Likewise.
5896 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5897 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5898 Likewise.
5899 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5900 Likewise.
5901 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5902 Likewise.
5903 * socket/recvfrom.c (__recvfrom): Likewise.
5904 * socket/sendto.c (__sendto): Likewise.
5905 * socket/setsockopt.c (__setsockopt): Likewise.
5906 * stdio-common/_itoa.c (_itoa): Likewise.
5907 * stdio-common/_itowa.c (_itowa): Likewise.
5908 * stdio-common/reg-printf.c (__register_printf_specifier):
5909 Likewise.
5910 (__register_printf_function): Likewise.
5911 * stdio-common/tempname.c (__path_search): Likewise.
5912 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5913 * stdlib/mul_1.c (mpn_mul_1): Likewise.
5914 * stdlib/random_r.c (__initstate_r): Likewise.
5915 * stdlib/setenv.c (__add_to_environ): Likewise.
5916 * stdlib/submul_1.c (mpn_submul_1): Likewise.
5917 * streams/getpmsg.c (getpmsg): Likewise.
5918 * streams/putmsg.c (putmsg): Likewise.
5919 * streams/putpmsg.c (putpmsg): Likewise.
5920 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5921 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5922 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5923 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5924 * sunrpc/pm_getport.c (pmap_getport): Likewise.
5925 * sunrpc/svc_udp.c (cache_get): Likewise.
5926 * sunrpc/xdr_array.c (xdr_vector): Likewise.
5927 * sysdeps/mach/hurd/getcwd.c
5928 (__canonicalize_directory_name_internal): Likewise.
5929 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5930 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5931 * sysdeps/mach/hurd/select.c (__select): Likewise.
5932 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5933 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5934 * sysdeps/sparc/nptl/pthread_barrier_init.c
5935 (__pthread_barrier_init): Likewise.
5936 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5937 (__pthread_cond_timedwait): Likewise.
5938 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5939 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5940 Likewise.
5941 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5942 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5943 Likewise.
5944 * sysvipc/semtimedop.c (semtimedop): Likewise.
5945 * time/setitimer.c (__setitimer): Likewise.
5946 * time/strftime_l.c (emacs_strftime): Likewise.
5947
5948 2015-10-19 Mike Frysinger <vapier@gentoo.org>
5949
5950 * config.make.in (have-ssp): Delete.
5951 (stack-protector): New variable.
5952 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
5953 cache test for -fstack-protector-strong. Export stack_protector to
5954 the best ssp flag.
5955 * configure: Regenerated.
5956 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5957 * nscd/Makefile (CFLAGS-nscd): Likewise.
5958 * resolv/Makefile (CFLAGS-libresolv): Likewise.
5959
5960 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
5961
5962 [BZ #19122]
5963 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5964 attribute_hidden.
5965
5966 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5967
5968 [BZ #18743]
5969 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5970 code to...
5971 (ELIDE_LOCK): ...here.
5972 (__get_new_count): New function with part of the code from
5973 __elide_lock that updates the value of adapt_count after a
5974 transaction abort.
5975 (__elided_trylock): Moved this code to...
5976 (ELIDE_TRYLOCK): ...here.
5977
5978 2015-10-19 Mike Frysinger <vapier@gentoo.org>
5979
5980 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5981 * configure: Regenerate.
5982 * INSTALL: Regenerate.
5983 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5984 and tweak grammar.
5985
5986 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
5987
5988 * login/programs/pt_chown.c: Include signal.h
5989 (main): Clear any signal mask from the parent process.
5990
5991 2015-10-19 Joseph Myers <joseph@codesourcery.com>
5992
5993 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5994 * configure: Regenerated.
5995 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5996 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5997 $(gnu89-inline-CFLAGS).
5998
5999 * configure.ac (libc_cv_asm_weak_directive): Remove configure
6000 test.
6001 (libc_cv_asm_weakext_directive): Likewise.
6002 * configure: Regenerated.
6003 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6004 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6005 * include/libc-symbols.h
6006 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6007 #error.
6008 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6009 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6010
6011 * sysdeps/arm/backtrace.c (__backtrace): Convert to
6012 prototype-style function definition.
6013 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6014 * sysdeps/i386/ffs.c (__ffs): Likewise.
6015 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6016 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6017 Likewise.
6018 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6019 Likewise.
6020 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6022 Likewise.
6023 * sysdeps/m68k/ffs.c (__ffs): Likewise.
6024 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6025 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6026 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6027 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6028 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6029 * sysdeps/mach/hurd/access.c (__access): Likewise.
6030 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6031 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6032 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6033 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6034 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6035 (cthread_getspecific): Likewise.
6036 (cthread_setspecific): Likewise.
6037 (__libc_getspecific): Likewise.
6038 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6039 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6040 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6041 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6042 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6043 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6044 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6045 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6046 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6047 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6048 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6049 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6050 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6051 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6052 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6053 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6054 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6055 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6056 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6057 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6058 * sysdeps/mach/hurd/link.c (__link): Likewise.
6059 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6060 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6061 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6062 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6063 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6064 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6065 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6066 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6067 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6068 * sysdeps/mach/hurd/rename.c (rename): Likewise.
6069 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6070 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6071 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6072 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6073 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6074 * sysdeps/mach/hurd/send.c (__send): Likewise.
6075 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6076 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6077 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6078 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6079 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6080 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6081 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6082 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6083 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6084 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6085 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6086 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6087 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6088 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6089 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6090 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6091 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6092 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6093 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6094 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6095 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6096 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6097 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6098 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6099 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6100 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6101 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6102 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6103 * sysdeps/posix/alarm.c (alarm): Likewise.
6104 * sysdeps/posix/cuserid.c (cuserid): Likewise.
6105 * sysdeps/posix/dirfd.c (dirfd): Likewise.
6106 * sysdeps/posix/dup.c (__dup): Likewise.
6107 * sysdeps/posix/dup2.c (__dup2): Likewise.
6108 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6109 (main): Likewise.
6110 * sysdeps/posix/flock.c (__flock): Likewise.
6111 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6112 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6113 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6114 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6115 * sysdeps/posix/isatty.c (__isatty): Likewise.
6116 * sysdeps/posix/killpg.c (killpg): Likewise.
6117 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6118 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6119 * sysdeps/posix/raise.c (raise): Likewise.
6120 * sysdeps/posix/remove.c (remove): Likewise.
6121 * sysdeps/posix/rename.c (rename): Likewise.
6122 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6123 * sysdeps/posix/seekdir.c (seekdir): Likewise.
6124 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6125 * sysdeps/posix/sigignore.c (sigignore): Likewise.
6126 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6127 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6128 * sysdeps/posix/sigset.c (sigset): Likewise.
6129 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6130 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6131 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6132 * sysdeps/posix/time.c (time): Likewise.
6133 * sysdeps/posix/ttyname.c (getttyname): Likewise.
6134 (ttyname): Likewise.
6135 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6136 * sysdeps/posix/utime.c (utime): Likewise.
6137 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6138 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6139 Likewise.
6140 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6141 (pthread_spin_trylock): Likewise.
6142 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6143 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6144 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6145 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6146 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6147 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6148 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6149 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6150 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6151 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6152 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6153 * sysdeps/s390/ffs.c (__ffs): Likewise.
6154 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6155 Likewise.
6156 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6157 Likewise.
6158 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6159 Likewise.
6160 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6161 (pthread_barrier_destroy): Likewise.
6162 * sysdeps/sparc/nptl/pthread_barrier_wait.c
6163 (__pthread_barrier_wait): Likewise.
6164 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6165 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6166 (__pthread_barrier_wait): Likewise.
6167 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6168 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6169 (memcmp_not_common_alignment): Likewise.
6170 (MEMCMP): Likewise.
6171 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6172 (_wordcopy_fwd_dest_aligned): Likewise.
6173 (_wordcopy_bwd_aligned): Likewise.
6174 (_wordcopy_bwd_dest_aligned): Likewise.
6175 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6176 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6177 * sysdeps/unix/bsd/stty.c (stty): Likewise.
6178 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6179 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6180 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6181 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6182 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6183 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6184 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6185 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6186 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6187 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6188 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6189 * sysdeps/unix/stime.c (stime): Likewise.
6190 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6191 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6192 Likewise. Use internal_function.
6193 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6194 Convert to prototype-style function definition.
6195 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6196 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6198 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6199 Likewise. Use internal_function.
6200 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6201 prototype-style function definition
6202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6203 Likewise.
6204 (__getlogin_r): Likewise.
6205 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6206 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6207 (__pthread_cond_broadcast): Likewise.
6208 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6209 (__pthread_cond_destroy): Likewise.
6210 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6211 (__pthread_cond_init): Likewise.
6212 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6213 (__pthread_cond_signal): Likewise.
6214 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6215 (__pthread_cond_wait): Likewise.
6216 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6217 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6218 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6219 Likewise.
6220 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6221 Likewise.
6222 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6223 Likewise.
6224 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6225 Likewise.
6226 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6228 (__ftruncate64): Likewise.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6230 (truncate64): Likewise.
6231 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6232 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6233 (pthread_getcpuclockid): Likewise.
6234 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6235 Likewise.
6236 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6237 Likewise.
6238 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6239 Likewise.
6240 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6241 Likewise.
6242 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6243 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6244 (__libc_sigaction): Likewise.
6245 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6246 Likewise.
6247 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6248 (__sigprocmask): Likewise.
6249 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6250 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6251 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6253 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6254 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6255 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6256 Likewise.
6257 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6258 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6259 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6260 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6261 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6262 Likewise.
6263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6264 (__sigprocmask): Likewise.
6265 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6266 (cfgetispeed): Likewise.
6267 (cfsetospeed): Likewise.
6268 (cfsetispeed): Likewise.
6269 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6270 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6271 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6272 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6273 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6274 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6275 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6276 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6277 Likewise.
6278 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6279 Likewise.
6280 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6281 Likewise.
6282 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6283 Likewise.
6284 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6285
6286 2015-10-17 Florian Weimer <fweimer@redhat.com>
6287
6288 sunrpc: Rewrite with explicit TLS access using __thread.
6289 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6290 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6291 directly.
6292 (__rpc_thread_variables): Access thread_rpc_vars directly.
6293 Eliminate redundant assignment of the tvp variable.
6294
6295 2015-10-17 Florian Weimer <fweimer@redhat.com>
6296
6297 malloc: Rewrite with explicit TLS access using __thread.
6298 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6299 (tsd_setspecific, tsd_getspecific): Remove.
6300 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6301 (tsd_setspecific, tsd_getspecific): Likewise.
6302 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6303 (tsd_setspecific, tsd_getspecific): Likewise.
6304 * malloc/arena.c (thread_arena): New TLS variable.
6305 (arena_key): Remove variable.
6306 (arena_get): Use thread_arena.
6307 (arena_lookup): Remove macro.
6308 (malloc_atfork, free_atfork, ptmalloc_lock_all)
6309 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6310 (_int_new_arena, get_free_list, reused_arena)
6311 (arena_thread_freeres): Use thread_arena.
6312 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6313 tsd_getspecific, tsd_setspecific from safety annotations.
6314 (Allocating Cleared Space): Remove arena_lookup from safety
6315 annotations.
6316
6317 2015-10-17 Florian Weimer <fweimer@redhat.com>
6318
6319 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6320 struct scratch_buffer instead of extend_alloca.
6321
6322 2015-10-17 Florian Weimer <fweimer@redhat.com>
6323
6324 * sysdeps/unix/sysv/linux/kernel-features.h
6325 (__ASSUME_SOCK_CLOEXEC): Remove.
6326 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6327 (__have_paccept): Remove unused macro.
6328 * include/unistd.h (__have_sock_cloexec): Remove declaration.
6329 * misc/syslog.c (openlog_internal): Remove fallback code for
6330 !__ASSUME_SOCK_CLOEXEC.
6331 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6332 missing SOCK_CLOEXEC.
6333 * nscd/connections.c (have_sock_cloexec): Remove definition.
6334 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6335 * nscd/nscd_helper.c (open_socket): Remove fallback code for
6336 !__ASSUME_SOCK_CLOEXEC.
6337 * resolv/res_send.c (__have_o_nonblock): Remove definition.
6338 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6339 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6340 definition.
6341 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6342 code for !__ASSUME_SOCK_CLOEXEC.
6343
6344 2015-10-17 Florian Weimer <fweimer@redhat.com>
6345
6346 [BZ #18982]
6347 * manual/stdio.texi (Variable Arguments Output): Add portability
6348 note, explaining that vfprintf clobbers the va_list pointer.
6349
6350 2015-10-16 Joseph Myers <joseph@codesourcery.com>
6351
6352 * math/libm-test.inc (fabs_test_data): Add more tests.
6353 (fdim_test_data): Likewise.
6354 (fma_test_data): Likewise.
6355 (fmax_test_data): Likewise.
6356 (fmin_test_data): Likewise.
6357 (fmod_test_data): Likewise.
6358
6359 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
6360
6361 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
6362 data.
6363
6364 2015-10-16 Joseph Myers <joseph@codesourcery.com>
6365
6366 * math/libm-test.inc (ceil_test_data): Add more tests and more
6367 expectations for "inexact".
6368 (floor_test_data): Add more tests.
6369 (round_test_data): Likewise.
6370 (trunc_test_data): Likewise.
6371
6372 * crypt/cert.c (good_bye): Convert to prototype-style function
6373 definition.
6374 (get8): Likewise.
6375 (put8): Likewise.
6376 * crypt/crypt-entry.c (crypt): Likewise.
6377 (__fcrypt): Likewise.
6378 * crypt/crypt_util.c (_ufc_prbits): Likewise.
6379 (_ufc_set_bits): Likewise.
6380 (_ufc_clearmem): Likewise.
6381 (__init_des_r): Likewise.
6382 (shuffle_sb): Likewise.
6383 (shuffle_sb): Likewise.
6384 (_ufc_setup_salt_r): Likewise.
6385 (_ufc_mk_keytab_r): Likewise.
6386 (_ufc_dofinalperm_r): Likewise.
6387 (encrypt): Likewise.
6388 (__setkey_r): Likewise.
6389 (setkey): Likewise.
6390 * crypt/md5.c (md5_init_ctx): Likewise.
6391 (md5_read_ctx): Likewise.
6392 (md5_finish_ctx): Likewise.
6393 (md5_stream): Likewise.
6394 (md5_buffer): Likewise.
6395 (md5_process_bytes): Likewise.
6396 * crypt/sha256.c (__sha256_init_ctx): Likewise.
6397 (__sha256_finish_ctx): Likewise.
6398 (__sha256_process_bytes): Likewise.
6399 * crypt/sha512.c (__sha512_init_ctx): Likewise.
6400 (__sha512_finish_ctx): Likewise.
6401 (__sha512_process_bytes): Likewise.
6402 * ctype/isctype.c (__isctype): Likewise.
6403 * debug/backtrace.c (__backtrace): Likewise.
6404 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6405 * debug/fgets_chk.c (__fgets_chk): Likewise.
6406 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6407 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6408 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6409 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6410 * debug/memset_chk.c (__memset_chk): Likewise.
6411 * debug/strcat_chk.c (__strcat_chk): Likewise.
6412 * debug/strncat_chk.c (__strncat_chk): Likewise.
6413 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6414 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6415 * dirent/dirfd.c (dirfd): Likewise.
6416 * dirent/getdents.c (__getdirentries): Likewise.
6417 * dirent/getdents64.c (getdirentries64): Likewise.
6418 * dirent/rewinddir.c (__rewinddir): Likewise.
6419 * dirent/seekdir.c (seekdir): Likewise.
6420 * dirent/telldir.c (telldir): Likewise.
6421 * elf/sln.c (makesymlinks): Likewise.
6422 (makesymlink): Likewise.
6423 * gmon/gmon.c (__moncontrol): Likewise.
6424 (__monstartup): Likewise.
6425 (write_hist): Likewise.
6426 (write_call_graph): Likewise.
6427 (write_bb_counts): Likewise.
6428 * grp/setgroups.c (setgroups): Likewise.
6429 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6430 * inet/inet_net.c (inet_network): Likewise.
6431 * inet/inet_netof.c (inet_netof): Likewise.
6432 * inet/rcmd.c (rresvport_af): Likewise.
6433 (rresvport): Likewise.
6434 * io/access.c (__access): Likewise.
6435 * io/chdir.c (__chdir): Likewise.
6436 * io/chmod.c (__chmod): Likewise.
6437 * io/chown.c (__chown): Likewise.
6438 * io/close.c (__close): Likewise.
6439 * io/creat.c (creat): Likewise.
6440 * io/creat64.c (creat64): Likewise.
6441 * io/dup.c (__dup): Likewise.
6442 * io/dup2.c (__dup2): Likewise.
6443 * io/dup3.c (__dup3): Likewise.
6444 * io/euidaccess.c (__euidaccess): Likewise.
6445 * io/faccessat.c (faccessat): Likewise.
6446 * io/fchmod.c (__fchmod): Likewise.
6447 * io/fchmodat.c (fchmodat): Likewise.
6448 * io/fchown.c (__fchown): Likewise.
6449 * io/fchownat.c (fchownat): Likewise.
6450 * io/fcntl.c (__fcntl): Likewise.
6451 * io/flock.c (__flock): Likewise.
6452 * io/fts.c (fts_load): Likewise.
6453 (fts_close): Likewise.
6454 (fts_read): Likewise.
6455 (fts_set): Likewise.
6456 (fts_children): Likewise.
6457 (fts_build): Likewise.
6458 (fts_stat): Likewise.
6459 (fts_sort): Likewise.
6460 (fts_alloc): Likewise.
6461 (fts_lfree): Likewise.
6462 (fts_palloc): Likewise.
6463 (fts_padjust): Likewise.
6464 (fts_maxarglen): Likewise.
6465 (fts_safe_changedir): Likewise.
6466 * io/getwd.c (getwd): Likewise.
6467 * io/isatty.c (__isatty): Likewise.
6468 * io/lchown.c (__lchown): Likewise.
6469 * io/link.c (__link): Likewise.
6470 * io/linkat.c (linkat): Likewise.
6471 * io/lseek.c (__libc_lseek): Likewise.
6472 * io/mkdir.c (__mkdir): Likewise.
6473 * io/mkdirat.c (mkdirat): Likewise.
6474 * io/mkfifo.c (mkfifo): Likewise.
6475 * io/mkfifoat.c (mkfifoat): Likewise.
6476 * io/open.c (__libc_open): Likewise.
6477 * io/open64.c (__libc_open64): Likewise.
6478 * io/readlink.c (__readlink): Likewise.
6479 * io/readlinkat.c (readlinkat): Likewise.
6480 * io/rmdir.c (__rmdir): Likewise.
6481 * io/symlink.c (__symlink): Likewise.
6482 * io/symlinkat.c (symlinkat): Likewise.
6483 * io/ttyname.c (ttyname): Likewise.
6484 * io/ttyname_r.c (__ttyname_r): Likewise.
6485 * io/umask.c (__umask): Likewise.
6486 * io/unlink.c (__unlink): Likewise.
6487 * io/unlinkat.c (unlinkat): Likewise.
6488 * io/utime.c (utime): Likewise.
6489 * libio/clearerr.c (clearerr): Likewise.
6490 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6491 * libio/feof.c (_IO_feof): Likewise.
6492 * libio/feof_u.c (feof_unlocked): Likewise.
6493 * libio/ferror.c (_IO_ferror): Likewise.
6494 * libio/ferror_u.c (ferror_unlocked): Likewise.
6495 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6496 * libio/fileno.c (__fileno): Likewise.
6497 * libio/fputc.c (fputc): Likewise.
6498 * libio/fputc_u.c (fputc_unlocked): Likewise.
6499 * libio/fputwc.c (fputwc): Likewise.
6500 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6501 * libio/freopen.c (freopen): Likewise.
6502 * libio/freopen64.c (freopen64): Likewise.
6503 * libio/fseek.c (fseek): Likewise.
6504 * libio/fseeko.c (fseeko): Likewise.
6505 * libio/fseeko64.c (fseeko64): Likewise.
6506 * libio/ftello.c (__ftello): Likewise.
6507 * libio/ftello64.c (ftello64): Likewise.
6508 * libio/fwide.c (fwide): Likewise.
6509 * libio/genops.c (_IO_un_link): Likewise.
6510 (_IO_link_in): Likewise.
6511 (_IO_least_marker): Likewise.
6512 (_IO_switch_to_main_get_area): Likewise.
6513 (_IO_switch_to_backup_area): Likewise.
6514 (_IO_switch_to_get_mode): Likewise.
6515 (_IO_free_backup_area): Likewise.
6516 (_IO_switch_to_put_mode): Likewise.
6517 (__overflow): Likewise.
6518 (__underflow): Likewise.
6519 (__uflow): Likewise.
6520 (_IO_setb): Likewise.
6521 (_IO_doallocbuf): Likewise.
6522 (_IO_default_underflow): Likewise.
6523 (_IO_default_uflow): Likewise.
6524 (_IO_default_xsputn): Likewise.
6525 (_IO_sgetn): Likewise.
6526 (_IO_default_xsgetn): Likewise.
6527 (_IO_sync): Likewise.
6528 (_IO_default_setbuf): Likewise.
6529 (_IO_default_seekpos): Likewise.
6530 (_IO_default_doallocate): Likewise.
6531 (_IO_init): Likewise.
6532 (_IO_old_init): Likewise.
6533 (_IO_default_sync): Likewise.
6534 (_IO_default_finish): Likewise.
6535 (_IO_default_seekoff): Likewise.
6536 (_IO_sputbackc): Likewise.
6537 (_IO_sungetc): Likewise.
6538 (_IO_set_column): Likewise.
6539 (_IO_set_column): Likewise.
6540 (_IO_adjust_column): Likewise.
6541 (_IO_get_column): Likewise.
6542 (_IO_init_marker): Likewise.
6543 (_IO_remove_marker): Likewise.
6544 (_IO_marker_difference): Likewise.
6545 (_IO_marker_delta): Likewise.
6546 (_IO_seekmark): Likewise.
6547 (_IO_unsave_markers): Likewise.
6548 (_IO_nobackup_pbackfail): Likewise.
6549 (_IO_default_pbackfail): Likewise.
6550 (_IO_default_seek): Likewise.
6551 (_IO_default_stat): Likewise.
6552 (_IO_default_read): Likewise.
6553 (_IO_default_write): Likewise.
6554 (_IO_default_showmanyc): Likewise.
6555 (_IO_default_imbue): Likewise.
6556 (_IO_iter_next): Likewise.
6557 (_IO_iter_file): Likewise.
6558 * libio/getc.c (_IO_getc): Likewise.
6559 * libio/getwc.c (_IO_getwc): Likewise.
6560 * libio/iofclose.c (_IO_new_fclose): Likewise.
6561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6562 * libio/iofflush.c (_IO_fflush): Likewise.
6563 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6564 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6565 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6566 * libio/iofgets.c (_IO_fgets): Likewise.
6567 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6568 * libio/iofgetws.c (fgetws): Likewise.
6569 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6570 * libio/iofopen64.c (_IO_fopen64): Likewise.
6571 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6572 (_IO_cookie_write): Likewise.
6573 (_IO_cookie_seek): Likewise.
6574 (_IO_cookie_close): Likewise.
6575 (_IO_cookie_seekoff): Likewise.
6576 (_IO_old_cookie_seek): Likewise.
6577 * libio/iofputs.c (_IO_fputs): Likewise.
6578 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6579 * libio/iofputws.c (fputws): Likewise.
6580 * libio/iofputws_u.c (fputws_unlocked): Likewise.
6581 * libio/iofread.c (_IO_fread): Likewise.
6582 * libio/iofread_u.c (__fread_unlocked): Likewise.
6583 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6584 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6585 * libio/ioftell.c (_IO_ftell): Likewise.
6586 * libio/iofwrite.c (_IO_fwrite): Likewise.
6587 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6588 * libio/iogets.c (_IO_gets): Likewise.
6589 * libio/iopadn.c (_IO_padn): Likewise.
6590 * libio/iopopen.c (_IO_new_proc_open): Likewise.
6591 (_IO_new_popen): Likewise.
6592 (_IO_new_proc_close): Likewise.
6593 * libio/ioputs.c (_IO_puts): Likewise.
6594 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6595 (_IO_seekoff): Likewise.
6596 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6597 (_IO_seekpos): Likewise.
6598 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6599 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6600 * libio/ioungetc.c (_IO_ungetc): Likewise.
6601 * libio/ioungetwc.c (ungetwc): Likewise.
6602 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6603 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6604 * libio/iowpadn.c (_IO_wpadn): Likewise.
6605 * libio/libc_fatal.c (__libc_fatal): Likewise.
6606 * libio/memstream.c (__open_memstream): Likewise.
6607 (_IO_mem_sync): Likewise.
6608 (_IO_mem_finish): Likewise.
6609 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6610 (_IO_old_file_close_it): Likewise.
6611 (_IO_old_file_finish): Likewise.
6612 (_IO_old_file_fopen): Likewise.
6613 (_IO_old_file_attach): Likewise.
6614 (_IO_old_file_setbuf): Likewise.
6615 (_IO_old_do_write): Likewise.
6616 (old_do_write): Likewise.
6617 (_IO_old_file_underflow): Likewise.
6618 (_IO_old_file_overflow): Likewise.
6619 (_IO_old_file_sync): Likewise.
6620 (_IO_old_file_seekoff): Likewise.
6621 (_IO_old_file_write): Likewise.
6622 (_IO_old_file_xsputn): Likewise.
6623 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6624 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6625 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6626 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6627 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6628 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6629 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6630 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6631 (_IO_old_popen): Likewise.
6632 (_IO_old_proc_close): Likewise.
6633 * libio/oldpclose.c (__old_pclose): Likewise.
6634 * libio/pclose.c (__new_pclose): Likewise.
6635 * libio/peekc.c (_IO_peekc_locked): Likewise.
6636 * libio/putc.c (_IO_putc): Likewise.
6637 * libio/putc_u.c (putc_unlocked): Likewise.
6638 * libio/putchar.c (putchar): Likewise.
6639 * libio/putchar_u.c (putchar_unlocked): Likewise.
6640 * libio/putwc.c (putwc): Likewise.
6641 * libio/putwc_u.c (putwc_unlocked): Likewise.
6642 * libio/putwchar.c (putwchar): Likewise.
6643 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6644 * libio/rewind.c (rewind): Likewise.
6645 * libio/setbuf.c (setbuf): Likewise.
6646 * libio/setlinebuf.c (setlinebuf): Likewise.
6647 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6648 * libio/vscanf.c (_IO_vscanf): Likewise.
6649 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6650 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6651 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6652 * libio/wgenops.c (_IO_least_wmarker): Likewise.
6653 (_IO_switch_to_main_wget_area): Likewise.
6654 (_IO_switch_to_wbackup_area): Likewise.
6655 (_IO_wsetb): Likewise.
6656 (_IO_wdefault_pbackfail): Likewise.
6657 (_IO_wdefault_finish): Likewise.
6658 (_IO_wdefault_uflow): Likewise.
6659 (__woverflow): Likewise.
6660 (__wuflow): Likewise.
6661 (__wunderflow): Likewise.
6662 (_IO_wdefault_xsputn): Likewise.
6663 (_IO_wdefault_xsgetn): Likewise.
6664 (_IO_wdoallocbuf): Likewise.
6665 (_IO_wdefault_doallocate): Likewise.
6666 (_IO_switch_to_wget_mode): Likewise.
6667 (_IO_free_wbackup_area): Likewise.
6668 (_IO_switch_to_wput_mode): Likewise.
6669 (_IO_sputbackwc): Likewise.
6670 (_IO_sungetwc): Likewise.
6671 (_IO_adjust_wcolumn): Likewise.
6672 (_IO_init_wmarker): Likewise.
6673 (_IO_wmarker_delta): Likewise.
6674 (_IO_seekwmark): Likewise.
6675 (_IO_unsave_wmarkers): Likewise.
6676 * libio/wmemstream.c (open_wmemstream): Likewise.
6677 (_IO_wmem_sync): Likewise.
6678 (_IO_wmem_finish): Likewise.
6679 * locale/nl_langinfo.c (nl_langinfo): Likewise.
6680 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6681 * locale/programs/simple-hash.c (init_hash): Likewise.
6682 (delete_hash): Likewise.
6683 (insert_entry): Likewise.
6684 (set_entry): Likewise.
6685 (next_prime): Likewise.
6686 (is_prime): Likewise.
6687 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6688 (xmalloc): Likewise.
6689 (xrealloc): Likewise.
6690 * locale/programs/xstrdup.c (xstrdup): Likewise.
6691 * localedata/collate-test.c (xstrcoll): Likewise.
6692 * localedata/xfrm-test.c (xstrcmp): Likewise.
6693 * login/getlogin_r.c (__getlogin_r): Likewise.
6694 * login/getpt.c (__posix_openpt): Likewise.
6695 * login/login_tty.c (login_tty): Likewise.
6696 * login/setlogin.c (setlogin): Likewise.
6697 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6698 (mach_msg_destroy_port): Likewise.
6699 (mach_msg_destroy_memory): Likewise.
6700 * malloc/mcheck.c (flood): Likewise.
6701 * misc/acct.c (acct): Likewise.
6702 * misc/brk.c (__brk): Likewise.
6703 * misc/chflags.c (chflags): Likewise.
6704 * misc/chroot.c (chroot): Likewise.
6705 * misc/fchflags.c (fchflags): Likewise.
6706 * misc/fstab.c (getfsspec): Likewise.
6707 (getfsfile): Likewise.
6708 * misc/fsync.c (fsync): Likewise.
6709 * misc/ftruncate.c (__ftruncate): Likewise.
6710 * misc/ftruncate64.c (__ftruncate64): Likewise.
6711 * misc/getdomain.c (getdomainname): Likewise.
6712 (getdomainname): Likewise.
6713 * misc/gethostname.c (__gethostname): Likewise.
6714 * misc/getpass.c (getpass): Likewise.
6715 * misc/getttyent.c (skip): Likewise.
6716 (value): Likewise.
6717 * misc/gtty.c (gtty): Likewise.
6718 * misc/hsearch.c (hsearch): Likewise.
6719 (hcreate): Likewise.
6720 * misc/hsearch_r.c (__hcreate_r): Likewise.
6721 (__hdestroy_r): Likewise.
6722 * misc/ioctl.c (__ioctl): Likewise.
6723 * misc/mkdtemp.c (mkdtemp): Likewise.
6724 * misc/mkostemp.c (mkostemp): Likewise.
6725 * misc/mkostemp64.c (mkostemp64): Likewise.
6726 * misc/mkostemps.c (mkostemps): Likewise.
6727 * misc/mkostemps64.c (mkostemps64): Likewise.
6728 * misc/mkstemp.c (mkstemp): Likewise.
6729 * misc/mkstemp64.c (mkstemp64): Likewise.
6730 * misc/mkstemps.c (mkstemps): Likewise.
6731 * misc/mkstemps64.c (mkstemps64): Likewise.
6732 * misc/mktemp.c (__mktemp): Likewise.
6733 * misc/preadv.c (preadv): Likewise.
6734 * misc/preadv64.c (preadv64): Likewise.
6735 * misc/pwritev.c (pwritev): Likewise.
6736 * misc/pwritev64.c (pwritev64): Likewise.
6737 * misc/readv.c (__readv): Likewise.
6738 * misc/revoke.c (revoke): Likewise.
6739 * misc/setdomain.c (setdomainname): Likewise.
6740 * misc/setegid.c (setegid): Likewise.
6741 * misc/seteuid.c (seteuid): Likewise.
6742 * misc/sethostid.c (sethostid): Likewise.
6743 * misc/sethostname.c (sethostname): Likewise.
6744 * misc/setregid.c (__setregid): Likewise.
6745 * misc/setreuid.c (__setreuid): Likewise.
6746 * misc/sstk.c (sstk): Likewise.
6747 * misc/stty.c (stty): Likewise.
6748 * misc/syscall.c (syscall): Likewise.
6749 * misc/syslog.c (setlogmask): Likewise.
6750 * misc/truncate.c (__truncate): Likewise.
6751 * misc/truncate64.c (truncate64): Likewise.
6752 * misc/ualarm.c (ualarm): Likewise.
6753 * misc/usleep.c (usleep): Likewise.
6754 * misc/ustat.c (ustat): Likewise.
6755 * misc/writev.c (__writev): Likewise.
6756 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6757 * nptl/old_pthread_cond_broadcast.c
6758 (__pthread_cond_broadcast_2_0): Likewise.
6759 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6760 Likewise.
6761 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6762 Likewise.
6763 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6764 Likewise.
6765 * nptl/pt-raise.c (raise): Likewise.
6766 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6767 Likewise.
6768 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6769 * nptl/pthread_barrierattr_destroy.c
6770 (pthread_barrierattr_destroy): Likewise.
6771 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6772 Likewise.
6773 * nptl/pthread_barrierattr_setpshared.c
6774 (pthread_barrierattr_setpshared): Likewise.
6775 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6776 Likewise.
6777 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6778 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6779 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6780 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6781 Likewise.
6782 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6783 Likewise.
6784 * nptl/pthread_condattr_getpshared.c
6785 (pthread_condattr_getpshared): Likewise.
6786 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6787 Likewise.
6788 * nptl/pthread_condattr_setpshared.c
6789 (pthread_condattr_setpshared): Likewise.
6790 * nptl/pthread_detach.c (pthread_detach): Likewise.
6791 * nptl/pthread_equal.c (__pthread_equal): Likewise.
6792 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6793 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6794 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6795 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6796 Likewise.
6797 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6798 Likewise.
6799 * nptl/pthread_mutex_getprioceiling.c
6800 (pthread_mutex_getprioceiling): Likewise.
6801 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6802 Likewise.
6803 * nptl/pthread_mutexattr_getprotocol.c
6804 (pthread_mutexattr_getprotocol): Likewise.
6805 * nptl/pthread_mutexattr_getpshared.c
6806 (pthread_mutexattr_getpshared): Likewise.
6807 * nptl/pthread_mutexattr_getrobust.c
6808 (pthread_mutexattr_getrobust): Likewise.
6809 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6810 Likewise.
6811 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6812 Likewise.
6813 * nptl/pthread_mutexattr_setprioceiling.c
6814 (pthread_mutexattr_setprioceiling): Likewise.
6815 * nptl/pthread_mutexattr_setprotocol.c
6816 (pthread_mutexattr_setprotocol): Likewise.
6817 * nptl/pthread_mutexattr_setpshared.c
6818 (pthread_mutexattr_setpshared): Likewise.
6819 * nptl/pthread_mutexattr_setrobust.c
6820 (pthread_mutexattr_setrobust): Likewise.
6821 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6822 Likewise.
6823 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6824 Likewise.
6825 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6826 Likewise.
6827 * nptl/pthread_rwlockattr_getkind_np.c
6828 (pthread_rwlockattr_getkind_np): Likewise.
6829 * nptl/pthread_rwlockattr_getpshared.c
6830 (pthread_rwlockattr_getpshared): Likewise.
6831 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6832 Likewise.
6833 * nptl/pthread_rwlockattr_setkind_np.c
6834 (pthread_rwlockattr_setkind_np): Likewise.
6835 * nptl/pthread_rwlockattr_setpshared.c
6836 (pthread_rwlockattr_setpshared): Likewise.
6837 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6838 Likewise.
6839 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6840 Likewise.
6841 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6842 Likewise.
6843 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6844 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6845 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6846 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6847 * nptl/sem_close.c (sem_close): Likewise.
6848 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6849 * nptl/sem_init.c (__old_sem_init): Likewise.
6850 * nptl/sigaction.c (__sigaction): Likewise.
6851 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6852 * posix/_exit.c (_exit): Likewise.
6853 * posix/alarm.c (alarm): Likewise.
6854 * posix/confstr.c (confstr): Likewise.
6855 * posix/fpathconf.c (__fpathconf): Likewise.
6856 * posix/getgroups.c (__getgroups): Likewise.
6857 * posix/getpgid.c (__getpgid): Likewise.
6858 * posix/group_member.c (__group_member): Likewise.
6859 * posix/pathconf.c (__pathconf): Likewise.
6860 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6861 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6862 * posix/setgid.c (__setgid): Likewise.
6863 * posix/setpgid.c (__setpgid): Likewise.
6864 * posix/setuid.c (__setuid): Likewise.
6865 * posix/sleep.c (__sleep): Likewise.
6866 * posix/sysconf.c (__sysconf): Likewise.
6867 * posix/times.c (__times): Likewise.
6868 * posix/uname.c (__uname): Likewise.
6869 * posix/waitid.c (__waitid): Likewise.
6870 * pwd/getpw.c (__getpw): Likewise.
6871 * resolv/base64.c (b64_pton): Likewise.
6872 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6873 * resolv/gethnamaddr.c (Dprintf): Likewise.
6874 (gethostbyname): Likewise.
6875 (gethostbyname2): Likewise.
6876 (gethostbyaddr): Likewise.
6877 (_sethtent): Likewise.
6878 (_gethtbyname): Likewise.
6879 (_gethtbyname2): Likewise.
6880 (_gethtbyaddr): Likewise.
6881 (map_v4v6_address): Likewise.
6882 (map_v4v6_hostent): Likewise.
6883 (addrsort): Likewise.
6884 (ht_sethostent): Likewise.
6885 (ht_gethostbyname): Likewise.
6886 (ht_gethostbyaddr): Likewise.
6887 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6888 (inet_net_ntop_ipv4): Likewise.
6889 * resolv/inet_neta.c (inet_neta): Likewise.
6890 * resolv/inet_ntop.c (inet_ntop): Likewise.
6891 (inet_ntop4): Likewise.
6892 (inet_ntop6): Likewise.
6893 * resolv/inet_pton.c (__inet_pton): Likewise.
6894 (inet_pton4): Likewise.
6895 (inet_pton6): Likewise.
6896 * resolv/res_debug.c (loc_aton): Likewise.
6897 (loc_ntoa): Likewise.
6898 * resource/getpriority.c (__getpriority): Likewise.
6899 * resource/getrusage.c (__getrusage): Likewise.
6900 * resource/nice.c (nice): Likewise.
6901 * resource/setpriority.c (__setpriority): Likewise.
6902 * resource/setrlimit64.c (setrlimit64): Likewise.
6903 * resource/vlimit.c (vlimit): Likewise.
6904 * resource/vtimes.c (vtimes): Likewise.
6905 * rt/aio_error.c (aio_error): Likewise.
6906 * rt/aio_return.c (aio_return): Likewise.
6907 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6908 * signal/kill.c (__kill): Likewise.
6909 * signal/killpg.c (killpg): Likewise.
6910 * signal/raise.c (raise): Likewise.
6911 * signal/sigaction.c (__sigaction): Likewise.
6912 * signal/sigaddset.c (sigaddset): Likewise.
6913 * signal/sigaltstack.c (sigaltstack): Likewise.
6914 * signal/sigandset.c (sigandset): Likewise.
6915 * signal/sigblock.c (__sigblock): Likewise.
6916 * signal/sigdelset.c (sigdelset): Likewise.
6917 * signal/sigempty.c (sigemptyset): Likewise.
6918 * signal/sigfillset.c (sigfillset): Likewise.
6919 * signal/sighold.c (sighold): Likewise.
6920 * signal/sigignore.c (sigignore): Likewise.
6921 * signal/sigintr.c (siginterrupt): Likewise.
6922 * signal/sigisempty.c (sigisemptyset): Likewise.
6923 * signal/sigismem.c (sigismember): Likewise.
6924 * signal/signal.c (signal): Likewise.
6925 * signal/sigorset.c (sigorset): Likewise.
6926 * signal/sigpause.c (__sigpause): Likewise.
6927 * signal/sigpending.c (sigpending): Likewise.
6928 * signal/sigprocmask.c (__sigprocmask): Likewise.
6929 * signal/sigrelse.c (sigrelse): Likewise.
6930 * signal/sigreturn.c (__sigreturn): Likewise.
6931 * signal/sigset.c (sigset): Likewise.
6932 * signal/sigsetmask.c (__sigsetmask): Likewise.
6933 * signal/sigstack.c (sigstack): Likewise.
6934 * signal/sigsuspend.c (__sigsuspend): Likewise.
6935 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6936 * signal/sysv_signal.c (__sysv_signal): Likewise.
6937 * socket/accept.c (accept): Likewise.
6938 * socket/accept4.c (__libc_accept4): Likewise.
6939 * socket/bind.c (__bind): Likewise.
6940 * socket/connect.c (__connect): Likewise.
6941 * socket/getpeername.c (getpeername): Likewise.
6942 * socket/getsockname.c (__getsockname): Likewise.
6943 * socket/getsockopt.c (getsockopt): Likewise.
6944 * socket/listen.c (__listen): Likewise.
6945 * socket/recv.c (__recv): Likewise.
6946 * socket/recvmsg.c (__recvmsg): Likewise.
6947 * socket/send.c (__send): Likewise.
6948 * socket/sendmsg.c (__sendmsg): Likewise.
6949 * socket/shutdown.c (shutdown): Likewise.
6950 * socket/sockatmark.c (sockatmark): Likewise.
6951 * socket/socket.c (__socket): Likewise.
6952 * stdio-common/ctermid.c (ctermid): Likewise.
6953 * stdio-common/cuserid.c (cuserid): Likewise.
6954 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6955 * stdio-common/remove.c (remove): Likewise.
6956 * stdio-common/rename.c (rename): Likewise.
6957 * stdio-common/renameat.c (renameat): Likewise.
6958 * stdio-common/tempname.c (__gen_tempname): Likewise.
6959 * stdio-common/xbug.c (InitBuffer): Likewise.
6960 (AppendToBuffer): Likewise.
6961 (ReadFile): Likewise.
6962 * stdlib/a64l.c (a64l): Likewise.
6963 * stdlib/drand48_r.c (drand48_r): Likewise.
6964 * stdlib/getcontext.c (getcontext): Likewise.
6965 * stdlib/getenv.c (getenv): Likewise.
6966 * stdlib/l64a.c (l64a): Likewise.
6967 * stdlib/llabs.c (llabs): Likewise.
6968 * stdlib/lldiv.c (lldiv): Likewise.
6969 * stdlib/lrand48_r.c (lrand48_r): Likewise.
6970 * stdlib/mrand48_r.c (mrand48_r): Likewise.
6971 * stdlib/putenv.c (putenv): Likewise.
6972 * stdlib/random.c (__srandom): Likewise.
6973 (__initstate): Likewise.
6974 (__setstate): Likewise.
6975 * stdlib/random_r.c (__srandom_r): Likewise.
6976 (__setstate_r): Likewise.
6977 (__random_r): Likewise.
6978 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6979 * stdlib/setcontext.c (setcontext): Likewise.
6980 * stdlib/setenv.c (setenv): Likewise.
6981 (unsetenv): Likewise.
6982 * stdlib/srand48.c (srand48): Likewise.
6983 * stdlib/srand48_r.c (__srand48_r): Likewise.
6984 * stdlib/swapcontext.c (swapcontext): Likewise.
6985 * stdlib/system.c (__libc_system): Likewise.
6986 * stdlib/tst-strtod.c (expand): Likewise.
6987 * stdlib/tst-strtol.c (expand): Likewise.
6988 * stdlib/tst-strtoll.c (expand): Likewise.
6989 * streams/fattach.c (fattach): Likewise.
6990 * streams/fdetach.c (fdetach): Likewise.
6991 * streams/getmsg.c (getmsg): Likewise.
6992 * streams/isastream.c (isastream): Likewise.
6993 * string/ffs.c (__ffs): Likewise.
6994 * string/ffsll.c (ffsll): Likewise.
6995 * string/memcmp.c (memcmp_common_alignment): Likewise.
6996 (memcmp_not_common_alignment): Likewise.
6997 (MEMCMP): Likewise.
6998 * string/memcpy.c (memcpy): Likewise.
6999 * string/memmove.c (MEMMOVE): Likewise.
7000 * string/memset.c (memset): Likewise.
7001 * string/rawmemchr.c (RAWMEMCHR): Likewise.
7002 * string/strchrnul.c (STRCHRNUL): Likewise.
7003 * string/strerror.c (strerror): Likewise.
7004 * string/strndup.c (__strndup): Likewise.
7005 * string/strverscmp.c (__strverscmp): Likewise.
7006 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7007 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7008 (clnttcp_freeres): Likewise.
7009 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7010 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7011 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7012 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7013 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7014 (xdr_callhdr): Likewise.
7015 * sunrpc/rpcinfo.c (udpping): Likewise.
7016 (tcpping): Likewise.
7017 (pstatus): Likewise.
7018 (pmapdump): Likewise.
7019 (brdcst): Likewise.
7020 (deletereg): Likewise.
7021 (getprognum): Likewise.
7022 (getvers): Likewise.
7023 (get_inet_address): Likewise.
7024 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7025 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7026 (svcudp_stat): Likewise.
7027 (svcudp_recv): Likewise.
7028 (svcudp_reply): Likewise.
7029 (svcudp_getargs): Likewise.
7030 (svcudp_freeargs): Likewise.
7031 (svcudp_destroy): Likewise.
7032 * sunrpc/xdr.c (xdr_bytes): Likewise.
7033 (xdr_netobj): Likewise.
7034 (xdr_string): Likewise.
7035 (xdr_wrapstring): Likewise.
7036 * sunrpc/xdr_float.c (xdr_float): Likewise.
7037 (xdr_double): Likewise.
7038 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7039 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7040 * sysvipc/ftok.c (ftok): Likewise.
7041 * sysvipc/msgctl.c (msgctl): Likewise.
7042 * sysvipc/msgget.c (msgget): Likewise.
7043 * sysvipc/msgrcv.c (msgrcv): Likewise.
7044 * sysvipc/msgsnd.c (msgsnd): Likewise.
7045 * sysvipc/semget.c (semget): Likewise.
7046 * sysvipc/semop.c (semop): Likewise.
7047 * sysvipc/shmat.c (shmat): Likewise.
7048 * sysvipc/shmctl.c (shmctl): Likewise.
7049 * sysvipc/shmdt.c (shmdt): Likewise.
7050 * sysvipc/shmget.c (shmget): Likewise.
7051 * termios/cfmakeraw.c (cfmakeraw): Likewise.
7052 * termios/speed.c (cfgetospeed): Likewise.
7053 (cfgetispeed): Likewise.
7054 (cfsetospeed): Likewise.
7055 (cfsetispeed): Likewise.
7056 * termios/tcflow.c (tcflow): Likewise.
7057 * termios/tcflush.c (tcflush): Likewise.
7058 * termios/tcgetattr.c (__tcgetattr): Likewise.
7059 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7060 * termios/tcgetsid.c (tcgetsid): Likewise.
7061 * termios/tcsendbrk.c (tcsendbreak): Likewise.
7062 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7063 * time/adjtime.c (__adjtime): Likewise.
7064 * time/dysize.c (dysize): Likewise.
7065 * time/ftime.c (ftime): Likewise.
7066 * time/getitimer.c (__getitimer): Likewise.
7067 * time/gettimeofday.c (__gettimeofday): Likewise.
7068 * time/gmtime.c (__gmtime_r): Likewise.
7069 (gmtime): Likewise.
7070 * time/localtime.c (__localtime_r): Likewise.
7071 (localtime): Likewise.
7072 * time/offtime.c (__offtime): Likewise.
7073 * time/settimeofday.c (__settimeofday): Likewise.
7074 * time/stime.c (stime): Likewise.
7075 * time/strftime_l.c (tm_diff): Likewise.
7076 (iso_week_days): Likewise.
7077 * time/strptime.c (strptime): Likewise.
7078 * time/time.c (time): Likewise.
7079 * time/timespec_get.c (timespec_get): Likewise.
7080 * time/tzset.c (tzset_internal): Likewise.
7081 (compute_change): Likewise.
7082 (__tz_compute): Likewise.
7083 * wcsmbs/btowc.c (__btowc): Likewise.
7084 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7085 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7086 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7087 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7088 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7089 * wcsmbs/wcscat.c (__wcscat): Likewise.
7090 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7091 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7092 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7093 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7094 * wcsmbs/wcsdup.c (wcsdup): Likewise.
7095 * wcsmbs/wcslen.c (__wcslen): Likewise.
7096 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7097 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7098 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7099 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7100 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7101 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7102 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7103 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7104 * wcsmbs/wcstok.c (wcstok): Likewise.
7105 * wcsmbs/wctob.c (wctob): Likewise.
7106 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7107 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7108 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7109 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7110 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7111 * wcsmbs/wmemset.c (__wmemset): Likewise.
7112 * wctype/wcfuncs.c (__towlower): Likewise.
7113 (__towupper): Likewise.
7114
7115 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7116 (lll_unlock_elision): Add adapt_count parameter.
7117
7118 2015-10-15 Joseph Myers <joseph@codesourcery.com>
7119
7120 * sysdeps/nptl/configure.ac: Do not give errors based on the
7121 results of top-level configure tests.
7122 * sysdeps/nptl/configure: Regenerated.
7123
7124 * configure.ac (libc_cv_Bgroup): Remove configure test.
7125 * configure: Regenerated.
7126 * config.make.in (have-Bgroup): Remove variable.
7127
7128 * configure.ac (sizeof_long_double): Remove configure test.
7129 * configure: Regenerated.
7130 * config.make.in (sizeof-long-double): Remove variable.
7131
7132 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7133 * configure: Regenerated.
7134 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7135 variable.
7136 (exceptions): Likewise.
7137 * sysdeps/arm/configure: Regenerated.
7138 * config.make.in (exceptions): Remove variable.
7139 * Makeconfig (uses-callbacks): Use -fexceptions instead of
7140 $(exceptions).
7141 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7142 (CFLAGS-vdprintf_chk.c): Likewise.
7143 (CFLAGS-printf_chk.c): Likewise.
7144 (CFLAGS-fprintf_chk.c): Likewise.
7145 (CFLAGS-vprintf_chk.c): Likewise.
7146 (CFLAGS-vfprintf_chk.c): Likewise.
7147 (CFLAGS-gets_chk.c): Likewise.
7148 (CFLAGS-fgets_chk.c): Likewise.
7149 (CFLAGS-fgets_u_chk.c): Likewise.
7150 (CFLAGS-fread_chk.c): Likewise.
7151 (CFLAGS-fread_u_chk.c): Likewise.
7152 (CFLAGS-wprintf_chk.c): Likewise.
7153 (CFLAGS-fwprintf_chk.c): Likewise.
7154 (CFLAGS-vwprintf_chk.c): Likewise.
7155 (CFLAGS-vfwprintf_chk.c): Likewise.
7156 (CFLAGS-fgetws_chk.c): Likewise.
7157 (CFLAGS-fgetws_u_chk.c): Likewise.
7158 * libio/Makefile (CFLAGS-fileops.c): Likewise.
7159 (CFLAGS-fputc.c): Likewise.
7160 (CFLAGS-fputwc.c): Likewise.
7161 (CFLAGS-freopen64.c): Likewise.
7162 (CFLAGS-freopen.c): Likewise.
7163 (CFLAGS-fseek.c): Likewise.
7164 (CFLAGS-fseeko64.c): Likewise.
7165 (CFLAGS-fseeko.c): Likewise.
7166 (CFLAGS-ftello64.c): Likewise.
7167 (CFLAGS-ftello.c): Likewise.
7168 (CFLAGS-fwide.c): Likewise.
7169 (CFLAGS-genops.c): Likewise.
7170 (CFLAGS-getc.c): Likewise.
7171 (CFLAGS-getchar.c): Likewise.
7172 (CFLAGS-getwc.c): Likewise.
7173 (CFLAGS-getwchar.c): Likewise.
7174 (CFLAGS-iofclose.c): Likewise.
7175 (CFLAGS-iofflush.c): Likewise.
7176 (CFLAGS-iofgetpos64.c): Likewise.
7177 (CFLAGS-iofgetpos.c): Likewise.
7178 (CFLAGS-iofgets.c): Likewise.
7179 (CFLAGS-iofgetws.c): Likewise.
7180 (CFLAGS-iofputs.c): Likewise.
7181 (CFLAGS-iofputws.c): Likewise.
7182 (CFLAGS-iofread.c): Likewise.
7183 (CFLAGS-iofsetpos64.c): Likewise.
7184 (CFLAGS-iofsetpos.c): Likewise.
7185 (CFLAGS-ioftell.c): Likewise.
7186 (CFLAGS-iofwrite.c): Likewise.
7187 (CFLAGS-iogetdelim.c): Likewise.
7188 (CFLAGS-iogetline.c): Likewise.
7189 (CFLAGS-iogets.c): Likewise.
7190 (CFLAGS-iogetwline.c): Likewise.
7191 (CFLAGS-ioputs.c): Likewise.
7192 (CFLAGS-ioseekoff.c): Likewise.
7193 (CFLAGS-ioseekpos.c): Likewise.
7194 (CFLAGS-iosetbuffer.c): Likewise.
7195 (CFLAGS-iosetvbuf.c): Likewise.
7196 (CFLAGS-ioungetc.c): Likewise.
7197 (CFLAGS-ioungetwc.c): Likewise.
7198 (CFLAGS-oldfileops.c): Likewise.
7199 (CFLAGS-oldiofclose.c): Likewise.
7200 (CFLAGS-oldiofgetpos64.c): Likewise.
7201 (CFLAGS-oldiofgetpos.c): Likewise.
7202 (CFLAGS-oldiofsetpos64.c): Likewise.
7203 (CFLAGS-oldiofsetpos.c): Likewise.
7204 (CFLAGS-peekc.c): Likewise.
7205 (CFLAGS-putc.c): Likewise.
7206 (CFLAGS-putchar.c): Likewise.
7207 (CFLAGS-putwc.c): Likewise.
7208 (CFLAGS-putwchar.c): Likewise.
7209 (CFLAGS-rewind.c): Likewise.
7210 (CFLAGS-wfileops.c): Likewise.
7211 (CFLAGS-wgenops.c): Likewise.
7212 (CFLAGS-oldiofopen.c): Likewise.
7213 (CFLAGS-iofopen.c): Likewise.
7214 (CFLAGS-iofopen64.c): Likewise.
7215 (CFLAGS-oldtmpfile.c): Likewise.
7216 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7217 (CFLAGS-fprintf.c): Likewise.
7218 (CFLAGS-printf.c): Likewise.
7219 (CFLAGS-vfwprintf.c): Likewise.
7220 (CFLAGS-vfscanf.c): Likewise.
7221 (CFLAGS-vfwscanf.c): Likewise.
7222 (CFLAGS-fscanf.c): Likewise.
7223 (CFLAGS-scanf.c): Likewise.
7224 (CFLAGS-isoc99_vfscanf.c): Likewise.
7225 (CFLAGS-isoc99_vscanf.c): Likewise.
7226 (CFLAGS-isoc99_fscanf.c): Likewise.
7227 (CFLAGS-isoc99_scanf.c): Likewise.
7228 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7229 (CFLAGS-isoc99_fwscanf.c): Likewise.
7230 (CFLAGS-isoc99_vwscanf.c): Likewise.
7231 (CFLAGS-isoc99_vfwscanf.c): Likewise.
7232
7233 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7234 after mkstemp64.
7235 * login/tst-utmp.c (do_prepare): Likewise.
7236 * rt/tst-aio.c (do_prepare): Likewise.
7237 * rt/tst-aio64.c (do_prepare): Likewise.
7238
7239 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7240
7241 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7242 (__lll_lock_elision): Remove adapt_count decrement...
7243 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7244 (__lll_trylock_elision): Likewise.
7245 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7246 (__lll_unlock_elision): ... to here. And utilize
7247 new adapt_count parameter.
7248 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7249 (__lll_unlock_elision): Update to include adapt_count
7250 parameter.
7251 (lll_unlock_elision): Pass pointer to adapt_count
7252 variable.
7253
7254 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7255
7256 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7257 Add elision adapt_count parameter to list of arguments.
7258 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7259 (lll_unlock_elision): Update with new parameter list
7260 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7261 (lll_unlock_elision): Likewise.
7262 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7263 (lll_unlock_elision): Likewise.
7264
7265 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
7266
7267 [BZ #19122]
7268 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7269 attribute_hidden.
7270
7271 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7272 attribute_hidden.
7273 [IS_IN (rtld)] (__strdup): Likewise.
7274 [IS_IN (rtld)] (__strerror_r): Likewise.
7275 [IS_IN (rtld)] (__strsep_g): Likewise.
7276 [IS_IN (rtld)] (memchr): Likewise.
7277 [IS_IN (rtld)] (memcmp): Likewise.
7278 [IS_IN (rtld)] (memcpy): Likewise.
7279 [IS_IN (rtld)] (memmove): Likewise.
7280 [IS_IN (rtld)] (memset): Likewise.
7281 [IS_IN (rtld)] (rawmemchr): Likewise.
7282 [IS_IN (rtld)] (stpcpy): Likewise.
7283 [IS_IN (rtld)] (strchr): Likewise.
7284 [IS_IN (rtld)] (strcmp): Likewise.
7285 [IS_IN (rtld)] (strlen): Likewise.
7286 [IS_IN (rtld)] (strnlen): Likewise.
7287 [IS_IN (rtld)] (strsep): Likewise.
7288
7289 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7290 attribute_hidden.
7291 [IS_IN (rtld)] (__strtoul_internal): Likewise.
7292
7293 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7294 attribute_hidden.
7295 [IS_IN (rtld)] (__libc_sigaction): Likewise.
7296
7297 * include/setjmp.h (__longjmp): Add attribute_hidden.
7298 [IS_IN (rtld)] (__sigsetjmp): Likewise.
7299
7300 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7301 Add attribute_hidden.
7302
7303 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7304 [IS_IN (rtld)] (__open): Likewise.
7305 [IS_IN (rtld)] (__fcntl): Likewise.
7306
7307 * include/dirent.h (__opendirat): Add attribute_hidden.
7308 (__getdents): Likewise.
7309 (__getdents64): Likewise.
7310 (__alloc_dir): Likewise.
7311 [IS_IN (rtld)] (__closedir): Likewise.
7312 [IS_IN (rtld)] (__fdopendir): Likewise.
7313 [IS_IN (rtld)] (__readdir): Likewise.
7314 [IS_IN (rtld)] (__readdir64): Likewise.
7315 [IS_IN (rtld)] (__rewinddir): Likewise.
7316
7317 * include/dlfcn.h (_dl_catch_error): Moved to ...
7318 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7319 attribute_hidden.
7320
7321 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7322 (_itoa_word): Likewise.
7323
7324 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7325 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7326 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7327 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7328 (_dl_higher_prime_number): Likewise.
7329 (_dl_debug_printf_c): Likewise.
7330 (_dl_signal_cerror): Likewise.
7331 (_dl_receive_error): Likewise.
7332 (_dl_reloc_bad_type): Likewise.
7333 (_dl_resolve_conflicts): Likewise.
7334 (_dl_check_all_versions): Likewise.
7335 (_dl_check_map_versions): Likewise.
7336 (_dl_sort_fini): Likewise.
7337 (_dl_debug_initialize): Likewise.
7338 (_dl_init_paths): Likewise.
7339 (_dl_show_auxv): Likewise.
7340 (_dl_next_ld_env_entry): Likewise.
7341 (_dl_important_hwcaps): Likewise.
7342 (_dl_load_cache_lookup): Likewise.
7343 (_dl_update_slotinfo): Likewise.
7344 (_dl_show_scope): Likewise.
7345
7346 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7347 attribute_hidden.
7348 (_wordcopy_fwd_dest_aligned): Likewise.
7349 (_wordcopy_bwd_aligned): Likewise.
7350 (_wordcopy_bwd_dest_aligned): Likewise.
7351
7352 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7353 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7354 Likewise.
7355 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7356 Likewise.
7357 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7358
7359 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
7360
7361 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7362 GCC 5 requirement.
7363
7364 2015-10-15 Joseph Myers <joseph@codesourcery.com>
7365
7366 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7367 test.
7368 * sysdeps/i386/configure: Regenerated.
7369 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7370 code unconditional.
7371
7372 * configure.ac (libc_cv_asm_previous_directive): Remove configure
7373 test.
7374 (libc_cv_asm_popsection_directive): Likewise.
7375 * configure: Regenerated.
7376 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7377 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7378 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7379 (__make_section_unallocated): Make definition unconditional.
7380 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7381 Remove conditional definition.
7382 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7383 (__make_section_unallocated): Likewise.
7384
7385 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7386 * configure: Regenerated.
7387 * config.make.in (static-libgcc): Remove variable.
7388 * Makerules (build-shlib-helper): Use -static-libgcc instead of
7389 $(static-libgcc).
7390 (build-module-helper): Likewise.
7391
7392 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7393 * configure: Regenerated.
7394
7395 2015-10-15 Florian Weimer <fweimer@redhat.com>
7396
7397 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7398 (struct char_buffer): New type.
7399 (char_buffer_start, char_buffer_size, char_buffer_error)
7400 (char_buffer_rewind, char_buffer_add): New functions.
7401 (ADDW): Remove macro, replaced by the char_buffer_add function.
7402 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7403 of extend_alloca. Make control flow more explicit.
7404
7405 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
7406
7407 [BZ #19137]
7408 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7409 Add -fomit-frame-pointer.
7410 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7411
7412 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7415 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7417 only if !__GNUC_PREREQ (5,0).
7418 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7419 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7420 (INTERNAL_SYSCALL_NCS): Likewise.
7421 (LOADREGS_0): New macro for GCC 5.
7422 (ASMARGS_0): Likewise.
7423 (LOADREGS_1): Likewise.
7424 (ASMARGS_1): Likewise.
7425 (LOADREGS_2): Likewise.
7426 (ASMARGS_2): Likewise.
7427 (LOADREGS_3): Likewise.
7428 (ASMARGS_3): Likewise.
7429 (LOADREGS_4): Likewise.
7430 (ASMARGS_4): Likewise.
7431 (LOADREGS_5): Likewise.
7432 (ASMARGS_5): Likewise.
7433 (LOADREGS_6): Likewise.
7434 (ASMARGS_6): Likewise.
7435
7436 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
7437
7438 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7439 -fomit-frame-pointer.
7440 (CFLAGS-mmap64.c): Likewise.
7441 (CFLAGS-semtimedop.c): Likewise.
7442 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7443 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7444 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7445 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7446
7447 2015-10-15 Florian Weimer <fweimer@redhat.com>
7448
7449 [BZ #18928]
7450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7451 _dl_pointer_guard member.
7452 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7453 initializer.
7454 (security_init): Always set up pointer guard.
7455 (process_envvars): Do not process LD_POINTER_GUARD.
7456
7457 2015-10-14 Joseph Myers <joseph@codesourcery.com>
7458
7459 [BZ #19134]
7460 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7461 (.LC2): Likewise.
7462 (.LC3): Likewise.
7463 (__lround): Do not add 0.5 to integer or out-of-range arguments.
7464
7465 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
7466
7467 [BZ #19129]
7468 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7469 r0 and r1.
7470
7471 2015-10-14 Namhyung Kim <namhyung@gmail.com>
7472
7473 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7474
7475 2015-10-14 Carlos O'Donell <carlos@redhat.com>
7476
7477 * include/stap-probe.h: Fix macro definition formatting.
7478
7479 2015-10-14 Florian Weimer <fweimer@redhat.com>
7480
7481 [BZ #19074]
7482 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7483 load and store num_ifs.
7484
7485 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
7486
7487 [BZ #18822]
7488 * sysdeps/unix/sysv/linux/sched_getaffinity.c
7489 (__sched_getaffinity_new): Add libc_hidden_proto and
7490 libc_hidden_def.
7491
7492 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
7493
7494 [BZ #19007]
7495 * scripts/localplt.awk: Also allow GOT references.
7496 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7497 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7498 with "+ REL R_386_GLOB_DAT".
7499 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7500 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7501
7502 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
7503
7504 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7505 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7506 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7507 Likewise.
7508 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7509 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7510 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7511 INTERNAL_SYSCALLINTERNAL_SYSCALL and
7512 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7513 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7514 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7515 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7516 Likewise.
7517 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7518
7519 2015-10-13 Joseph Myers <joseph@codesourcery.com>
7520
7521 [BZ #19125]
7522 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7523 <math_private.h> and <stdint.h>.
7524 (__llround): Avoid conversions to and from long long int, and
7525 subtractions, where those might raise spurious exceptions.
7526 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7527 <math_private.h> and <stdint.h>.
7528 (__llroundf): Avoid conversions to and from long long int, and
7529 subtractions, where those might raise spurious exceptions.
7530
7531 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7534 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7535 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7536 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7537 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7538 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7539 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7540 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7541 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7542 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7543 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7544 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7545 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7546 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7547 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7548 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7549 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7550 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7551 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7552 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7553 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7554 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7555 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7556 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7557 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7558 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7559 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7560 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7561 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7562 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7563 (__xstat64_conv): Likewise.
7564 (__xstat32_conv): Likewise.
7565
7566 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 * sysdeps/unix/sysv/linux/sysdep.h: New file.
7569 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7570 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7571 <sysdeps/unix/sysv/linux/sysdep.h>.
7572 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7573 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7574 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7575 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7576 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7577 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7578 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7579 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7580 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7583 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7588 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7589 (sysdep-dl-routines): Add sysdep.
7590 [$(subdir) == nptl] (libpthread-routines): Likewise.
7591 [$(subdir) == rt] (librt-routines): Likewise.
7592 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7593 PIC when branching to SYSCALL_ERROR_LABEL.
7594 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7596 <sysdeps/unix/sysv/linux/sysdep.h>.
7597 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7598 (SYSCALL_ERROR_ERRNO): Removed.
7599 (SYSCALL_ERROR_HANDLER): Changed to empty.
7600 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7601 (__syscall_error): New prototype.
7602 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7603 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7604
7605 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
7606
7607 [BZ #19124]
7608 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7609 (_dl_runtime_resolve_avx512): Make it a hidden alias of
7610 _dl_runtime_resolve_avx.
7611 (_dl_runtime_profile_avx512): Make it a hidden alias of
7612 _dl_runtime_profile_avx.
7613
7614 2015-10-13 Joseph Myers <joseph@codesourcery.com>
7615
7616 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7617 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7618 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7619 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7620
7621 [BZ #16422]
7622 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7623 New configure test.
7624 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7625 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7626 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7627 <math_private.h> and <stdint.h>.
7628 (__llrint): Avoid conversions to long long int where those might
7629 raise spurious exceptions.
7630 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7631 <math_private.h> and <stdint.h>.
7632 (__llrintf): Avoid conversions to long long int where those might
7633 raise spurious exceptions.
7634
7635 2015-10-12 Andreas Schwab <schwab@suse.de>
7636
7637 [BZ #18969]
7638 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
7639 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7640 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
7641 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7642 $(gen-locales).
7643 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
7644 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7645 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7646 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7647 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7648 $(gen-locales).
7649 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
7650 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7651 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7652 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7653 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7654 ($(objpfx)tst-ftell-active-handler.out)
7655 ($(objpfx)tst-ftell-append.out)
7656 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7657 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7658 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7659 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7660 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
7661 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7662 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7663 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7664 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7665 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7666 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7667 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7668 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7669 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7670 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7671 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7672 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7673 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7674 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
7675 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7676 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7677 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7678 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7679 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
7680 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7681 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7682 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7683 $(gen-locales).
7684 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
7685 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7686 $(gen-locales).
7687 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
7688 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7689 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7690 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7691 $(gen-locales).
7692 * libio/tst_wprintf2.c (main): Use explicit locale.
7693 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7694
7695 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7696
7697 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7698 __msg_sig_post.
7699 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7700
7701 2015-10-09 Joseph Myers <joseph@codesourcery.com>
7702
7703 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7704 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7705
7706 * sysdeps/arm/libm-test-ulps: Regenerated.
7707
7708 [BZ #15470]
7709 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7710
7711 [BZ #16399]
7712 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7713 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7714 and <fix-fp-int-convert-overflow.h>.
7715 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7716 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7717 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7718 and <fix-fp-int-convert-overflow.h>.
7719 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7720 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7721 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7722 <fix-fp-int-convert-overflow.h>.
7723 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7724 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7725 * sysdeps/ieee754/dbl-64/s_lround.c: Include
7726 <fix-fp-int-convert-overflow.h>.
7727 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7728 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7729 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7730 and <fix-fp-int-convert-overflow.h>.
7731 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7732 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7733 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7734 <limits.h> and <fix-fp-int-convert-overflow.h>.
7735 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7736 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7737 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7738 and <fix-fp-int-convert-overflow.h>.
7739 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7740 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7741 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7742 and <fix-fp-int-convert-overflow.h>.
7743 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7744 FIX_DBL_LLONG_CONVERT_OVERFLOW.
7745 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7746
7747 2015-10-09 Carlos O'Donell <carlos@redhat.com>
7748
7749 [BZ #18589]
7750 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7751 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7752 $(gen-locales).
7753
7754 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7755 Phil Blundell <pb@pbcl.net>
7756
7757 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7758 * nptl/tst-cancel26.c: New file.
7759 * nptl/tst-cancel27.c: Likewise.
7760
7761 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
7762
7763 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7764 __ILP32__ isn't defined.
7765 (lrint): Likewise.
7766 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7767 (lrintf): Likewise.
7768 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7769 (lrintl): Likewise.
7770 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7771 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7772 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7773
7774 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7775
7776 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7777 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7778
7779 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7780 file.
7781 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7782 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7783
7784 2015-10-09 Joseph Myers <joseph@codesourcery.com>
7785
7786 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7787 configure test.
7788 * sysdeps/i386/configure: Regenerated.
7789 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7790 configure test.
7791 * sysdeps/x86_64/configure: Regenerated.
7792 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7793 Make code unconditional.
7794
7795 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7796 test.
7797 * sysdeps/i386/configure: Regenerated.
7798 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7799 test.
7800 * sysdeps/x86_64/configure: Regenerated.
7801 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7802 Make code unconditional.
7803 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7804 Likewise.
7805 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7806 Likewise.
7807 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7808 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7809 code unconditional.
7810 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7811 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7812 code unconditional.
7813 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7814 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7815 code unconditional.
7816 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7817 code unconditional.
7818 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7819 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7820 code unconditional.
7821 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7822 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7823 code unconditional.
7824 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7825 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7826 code unconditional.
7827 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7828 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7829 code unconditional.
7830 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7831 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7832
7833 [BZ #19095]
7834 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7835 mantissa to long int before shifting left.
7836
7837 2015-10-08 Joseph Myers <joseph@codesourcery.com>
7838
7839 [BZ #19094]
7840 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7841 <limits.h>.
7842 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7843 when result overflows but exception would not result from cast.
7844 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7845 <limits.h>.
7846 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7847 when result overflows but exception would not result from cast.
7848 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7849 <limits.h>.
7850 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7851 when result overflows but exception would not result from cast.
7852 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7853 <limits.h>.
7854 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7855 when result overflows but exception would not result from cast.
7856 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7857 <limits.h>.
7858 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7859 when result overflows but exception would not result from cast.
7860 * math/libm-test.inc (lrint_test_data): Add more tests.
7861 (llrint_test_data): Likewise.
7862
7863 2015-10-08 Roland McGrath <roland@hack.frob.com>
7864
7865 [BZ #18872]
7866 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7867 Move out from under [$(run-built-tests) = yes] conditional.
7868 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7869 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7870
7871 2015-10-08 Carlos O'Donell <carlos@redhat.com>
7872
7873 [BZ #18589]
7874 * string/Makefile (tests): Add bug-strcoll2.
7875 (LOCALES): Add cs_CZ.UTF-8.
7876 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7877
7878 [BZ #18589]
7879 * string/bug-strcoll2.c: New file.
7880 * locale/categories.def: Revert commit
7881 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7882 * locale/langinfo.h: Likewise.
7883 * locale/localeinfo.h: Likewise.
7884 * locale/C-collate.c: Likewise.
7885 * locale/programs/ld-collate.c (collate_output): Likewise.
7886 * string/strcoll_l.c (STRDIFF): Likewise.
7887 (STRCOLL): Likewise.
7888 * wcsmbs/wcscoll_l.c: Likewise.
7889
7890 2015-10-08 Joseph Myers <joseph@codesourcery.com>
7891
7892 * math/libm-test.inc (lround_test_data): Do not expect the absence
7893 of "inexact" for some tests with non-integer arguments.
7894 (llround_test_data): Likewise.
7895
7896 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7897 test.
7898 (libc_cv_cc_sse2avx): Likewise.
7899 * sysdeps/i386/configure: Regenerated.
7900 * sysdeps/i386/i686/multiarch/Makefile
7901 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7902 [$(subdir) = math].
7903 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7904 code unconditional.
7905 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7906 Likewise.
7907 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7908 Likewise.
7909 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7910 Likewise.
7911 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7912 test.
7913 (libc_cv_cc_sse2avx): Likewise.
7914 * sysdeps/x86_64/configure: Regenerated.
7915 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7916 unconditional.
7917 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7918 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7919 unconditional.
7920 (_dl_runtime_profile)
7921 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7922 conditional code.
7923 * sysdeps/x86_64/fpu/multiarch/Makefile
7924 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7926 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7927 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7928 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7929 * sysdeps/x86_64/fpu/multiarch/e_log.c
7930 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7931 * sysdeps/x86_64/fpu/multiarch/s_atan.c
7932 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7933 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7934 Likewise.
7935 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7936 Likewise.
7937 * sysdeps/x86_64/fpu/multiarch/s_sin.c
7938 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7939 * sysdeps/x86_64/fpu/multiarch/s_tan.c
7940 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7941 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7942 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7943 (HAVE_SSE2AVX_SUPPORT): Likewise.
7944
7945 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
7946
7947 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7948 instead of #pragma optimize.
7949
7950 2015-10-07 Carlos O'Donell <carlos@redhat.com>
7951
7952 [BZ #17195]
7953 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7954 as is similarly done in systrim and _int_free already.
7955
7956 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7957
7958 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7959
7960 2015-10-07 Joseph Myers <joseph@codesourcery.com>
7961
7962 [BZ #19088]
7963 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7964 <limits.h>.
7965 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7966 overflows but exception would not result from cast.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7968 and <limits.h>.
7969 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7970 overflows but exception would not result from cast.
7971 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7972 <limits.h>.
7973 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7974 overflows but exception would not result from cast.
7975 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7976 <limits.h>.
7977 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7978 overflows but exception would not result from cast.
7979 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7980 <limits.h>.
7981 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7982 overflows but exception would not result from cast.
7983 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7984 <limits.h>.
7985 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7986 overflows but exception would not result from cast.
7987 * math/libm-test.inc (lround_test_data): Add more tests.
7988 (llround_test_data): Likewise.
7989
7990 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
7991
7992 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7993 (CFLAGS-ialloc.c): Ditto.
7994 (CFLAGS-scheck.c): Ditto.
7995
7996 2015-10-07 Carlos O'Donell <carlos@redhat.com>
7997
7998 [BZ #19086]
7999 * manual/filesys.texi (Storage Allocation): Fix argument order for
8000 posix_fallocate64.
8001
8002 2015-10-07 Joseph Myers <joseph@codesourcery.com>
8003
8004 [BZ #19085]
8005 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8006 exponent below 48 inside case for non-overflowing exponent.
8007 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8008
8009 2015-10-07 Florian Weimer <fweimer@redhat.com>
8010
8011 * iconvdata/cp737.h (from_idx): Add const.
8012 * iconvdata/cp775.h (from_idx): Likewise.
8013
8014 2015-10-07 Joseph Myers <joseph@codesourcery.com>
8015
8016 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8017 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8018 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8019
8020 [BZ #19079]
8021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8022 file, conditioned on [!_LP64].
8023 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8024 [!_LP64] (__lround): Do not define as function or alias.
8025 [!_LP64] (lround): Likewise.
8026 [!_LP64] (__lroundl): Likewise.
8027 [!_LP64] (lroundl): Likewise.
8028 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8029 macro.
8030 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8031 Likewise.
8032
8033 2015-10-06 Joseph Myers <joseph@codesourcery.com>
8034
8035 * math/libm-test.inc (lrint_test_data): Add more tests.
8036 (llrint_test_data): Likewise.
8037 (lround_test_data): Likewise.
8038 (llround_test_data): Likewise.
8039
8040 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8041 (llrint_test_data): Add tests used for lrint.
8042
8043 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8044 test.
8045 * sysdeps/i386/configure: Regenerated.
8046 * sysdeps/i386/i686/multiarch/Makefile
8047 [$(config-cflags-sse4) = yes]: Make code unconditional.
8048 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8049 Likewise.
8050 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8051 Likewise.
8052 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8053 test.
8054 * sysdeps/x86_64/configure: Regenerated.
8055 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8056 Make code unconditional.
8057 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8058 Likewise.
8059 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8060 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8061
8062 * scripts/rpm2dynsym.sh: Remove file.
8063
8064 2015-10-06 Florian Weimer <fweimer@redhat.com>
8065
8066 * configure.ac (libc_cv_cxx_thread_local): Define.
8067 * configure: Regenerate.
8068 * config.make.in (have-cxx-thread_local): Define.
8069 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8070 (LDLIBS-tst-thread_local1): Define.
8071 (tests): Add tst-thread_local1.
8072 [have-cxx-thread_local != yes] (tests-unsupported): Add
8073 tst-thread_local1.
8074 * nptl/tst-thread_local1.cc: New file.
8075
8076 2015-10-06 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #19078]
8079 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8080 (u_thres): Likewise.
8081 (__expl): Determine whether to call __kernel_standard_l based on
8082 value of result, not argument.
8083
8084 * math/libm-test.inc (scalb_test_data): Add more expectations for
8085 the "inexact" exception.
8086
8087 [BZ #19077]
8088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8089 0.0L for argument 1.0L.
8090
8091 [BZ #19076]
8092 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8093 constant 0.0L when computing infinite result.
8094
8095 2015-10-06 Florian Weimer <fweimer@redhat.com>
8096
8097 [BZ #10432]
8098 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8099 malloc_usable_size.
8100
8101 2015-10-06 Florian Weimer <fweimer@redhat.com>
8102
8103 [BZ #19018]
8104 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8105 Mangle function pointer before storing it.
8106 (__call_tls_dtors): Demangle function pointer before calling it.
8107
8108 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8109
8110 [BZ #19012]
8111 * iconv/gconv_db.c (gen_steps): Check for additional errors.
8112 Clean up on failure.
8113
8114 2015-10-05 Joseph Myers <joseph@codesourcery.com>
8115
8116 [BZ #19071]
8117 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8118 long int variable to store possibly incremented high part of
8119 mantissa.
8120 * math/libm-test.inc (lround_test_data): Add tests used for
8121 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
8122 for tests requiring 64-bit long. Do not condition tests on
8123 [TEST_FLOAT] unnecessarily.
8124 (llround_test_data): Add tests used for lround. Add another
8125 expectation for the "inexact" exception. Do not condition tests
8126 on [TEST_FLOAT] unnecessarily.
8127
8128 [BZ #887]
8129 [BZ #19049]
8130 [BZ #19050]
8131 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8132 * sysdeps/ieee754/dbl-64/e_log10.c: Include
8133 <fix-int-fp-convert-zero.h>.
8134 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8135 * sysdeps/ieee754/dbl-64/e_log2.c: Include
8136 <fix-int-fp-convert-zero.h>.
8137 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8138 * sysdeps/ieee754/dbl-64/s_erf.c: Include
8139 <fix-int-fp-convert-zero.h>.
8140 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8141 * sysdeps/ieee754/dbl-64/s_logb.c: Include
8142 <fix-int-fp-convert-zero.h>.
8143 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8144 * sysdeps/ieee754/flt-32/e_log10f.c: Include
8145 <fix-int-fp-convert-zero.h>.
8146 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8147 * sysdeps/ieee754/flt-32/e_log2f.c: Include
8148 <fix-int-fp-convert-zero.h>.
8149 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8150 * sysdeps/ieee754/flt-32/s_erff.c: Include
8151 <fix-int-fp-convert-zero.h>.
8152 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8153 * sysdeps/ieee754/flt-32/s_logbf.c: Include
8154 <fix-int-fp-convert-zero.h>.
8155 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8157 <fix-int-fp-convert-zero.h>.
8158 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8160 <fix-int-fp-convert-zero.h>.
8161 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8162 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8163 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8164 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8165 file.
8166 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8167
8168 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8169
8170 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8171
8172 2015-10-02 Joseph Myers <joseph@codesourcery.com>
8173
8174 [BZ #19059]
8175 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8176 overflowing computation.
8177 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8178 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8179 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8180 Likewise.
8181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8182 Likewise.
8183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8184 Likewise.
8185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8186 Likewise.
8187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8189 Likewise.
8190 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8191 Likewise.
8192 * math/libm-test.inc (nexttoward_test_data): Add more tests.
8193
8194 * nss/rewrite_field.c (__nss_rewrite_field): Use
8195 internal_function.
8196 * nss/valid_field.c (__nss_valid_field): Likewise.
8197 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8198
8199 2015-10-02 Florian Weimer <fweimer@redhat.com>
8200
8201 [BZ #18724]
8202 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8203 (__nss_invalid_field_characters, __nss_valid_field)
8204 (__nss_valid_list_field, __nss_rewrite_field): Declare.
8205 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8206 tst-field.c: New file.
8207 * nss/Makefile (routines): Add valid_field, rewrite_field.
8208 (tests-static): Define unconditionally.
8209 (tests): Include tests-static.
8210 [build-static-nss] (tests-static): Use append.
8211 [build-static-nss] (tests): Remove modification.
8212 * nss/getent.c (print_group): Call putgrent. Report error.
8213 (print_gshadow): Call putsgent. Report error.
8214 (print_passwd): Call putpwent. Report error.
8215 (print_shadow): Call putspent. Report error.
8216 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8217 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8218 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
8219 name, password, directory, shell fields for valid syntax. Rewrite
8220 GECOS field to match syntax.
8221 * pwd/Makefile (tests): Add tst-putpwent.
8222 * pwd/tst-putpwent.c: New file.
8223 * grp/putgrent.c (putgrent): Convert to ISO function definition.
8224 Check grName, grpasswd, gr_mem fields for valid syntax.
8225 Change loop variable i to size_t.
8226 * grp/Makefile (tests): Add tst-putgrent.
8227 * grp/tst-putgrent.c: New file.
8228 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8229 valid syntax.
8230 * shadow/Makefile (tests): Add tst-putspent.
8231 * shadow/tst-putspent.c: New file.
8232 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8233 sg_mem fields for valid syntax.
8234 * gshadow/Makefile (tests): Add tst-putsgent.
8235 * gshadow/tst-putsgent.c: New file.
8236
8237 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8238
8239 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8240 assembly instructions.
8241
8242 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8243
8244 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8245 prefix from operands.
8246
8247 2015-10-01 Joseph Myers <joseph@codesourcery.com>
8248
8249 [BZ #16347]
8250 [BZ #19046]
8251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8252 <libc-internal.h>.
8253 (MAXLGM): Do not use diagnostic control macros.
8254 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8255 threshold for ldbl-128ibm.
8256 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8257 instead of multiplying by log then subtracting.
8258 * math/auto-libm-test-in: Add more tests of lgamma.
8259 * math/auto-libm-test-out: Regenerated.
8260
8261 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8262 (TYPE_HEX_DIG): Likewise.
8263 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8264 precisions when printing floating-point numbers.
8265 (check_float_internal): Likewise.
8266
8267 2015-09-30 Joseph Myers <joseph@codesourcery.com>
8268
8269 [BZ #16620]
8270 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8271 of log (10) rounded downward to 48 bits.
8272 (log10_low): Use corresponding low part of log (10).
8273
8274 [BZ #19032]
8275 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8276 compute result as (x - x) / (x - x) not as 0 / 0.
8277 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8278 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8279
8280 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8281 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8282 and expm1.
8283 * math/auto-libm-test-out: Regenerated.
8284 * math/libm-test.inc (acos_test_data): Add more tests.
8285 (asin_test_data): Likewise.
8286 (asinh_test_data): Likewise.
8287 (atan_test_data): Likewise.
8288 (atanh_test_data): Likewise.
8289 (atan2_test_data): Likewise.
8290 (cbrt_test_data): Likewise.
8291 (ceil_test_data): Likewise.
8292 (copysign_test_data): Likewise.
8293 (cos_test_data): Likewise.
8294 (cosh_test_data): Likewise.
8295 (erf_test_data): Likewise.
8296 (erfc_test_data): Likewise.
8297 (exp_test_data): Likewise.
8298 (exp10_test_data): Likewise.
8299 (exp2_test_data): Likewise.
8300 (expm1_test_data): Likewise.
8301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8302
8303 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
8304
8305 [BZ #19006]
8306 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8307 to ...
8308 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8309 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8310 to ...
8311 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8312 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8313 to ...
8314 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8315 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8316 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8317 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8318 to ...
8319 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8320 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8321 Moved to ...
8322 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8323 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8324 Moved to ...
8325 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8326 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8327 to ...
8328 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8329 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8330 Moved to ...
8331 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8332 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8333 to ...
8334 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8335 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8336 Removed.
8337 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8338 Likewise.
8339 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8340 Likewise.
8341 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8342 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8343 Likewise.
8344 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8345 Likewise.
8346 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8347 Likewise.
8348 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8349 Likewise.
8350 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8351 Likewise.
8352 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8353 Likewise.
8354 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8355 Likewise.
8356 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8357 Likewise.
8358 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8359 Likewise.
8360 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8361 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8362 Likewise.
8363 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8364 Likewise.
8365 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8366 Likewise.
8367 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8368 Likewise.
8369 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8370 Likewise.
8371 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8372 Replace ../i486/pthread_cond_timedwait.S with
8373 ../pthread_cond_timedwait.S.
8374
8375 2015-09-30 Joseph Myers <joseph@codesourcery.com>
8376
8377 * math/libm-test.inc (acos_test_data): Refine expectations for
8378 errno and "inexact" exceptions.
8379 (acosh_test_data): Likewise.
8380 (asin_test_data): Likewise.
8381 (asinh_test_data): Likewise.
8382 (atan_test_data): Likewise.
8383 (atanh_test_data): Likewise.
8384 (atan2_test_data): Likewise.
8385 (cbrt_test_data): Likewise.
8386 (ceil_test_data): Likewise.
8387 (copysign_test_data): Likewise.
8388 (cosh_test_data): Likewise.
8389 (erf_test_data): Likewise.
8390 (erfc_test_data): Likewise.
8391 (exp_test_data): Likewise.
8392 (exp10_test_data): Likewise.
8393 (exp2_test_data): Likewise.
8394 (expm1_test_data): Likewise.
8395 (fabs_test_data): Likewise.
8396 (floor_test_data): Likewise.
8397 (fma_test_data): Likewise.
8398 (fmax_test_data): Likewise.
8399 (fmin_test_data): Likewise.
8400 (fmod_test_data): Likewise.
8401 (fpclassify_test_data): Likewise.
8402 (frexp_test_data): Likewise.
8403 (hypot_test_data): Likewise.
8404 (ilogb_test_data): Likewise.
8405 (isgreater_test_data): Likewise.
8406 (isgreaterequal_test_data): Likewise.
8407 (isinf_test_data): Likewise.
8408 (isless_test_data): Likewise.
8409 (islessequal_test_data): Likewise.
8410 (islessgreater_test_data): Likewise.
8411 (isnan_test_data): Likewise.
8412 (isnormal_test_data): Likewise.
8413 (issignaling_test_data): Likewise.
8414 (isunordered_test_data): Likewise.
8415 (j0_test_data): Likewise.
8416 (j1_test_data): Likewise.
8417 (jn_test_data): Likewise.
8418 (lgamma_test_data): Likewise.
8419 (lrint_test_data): Likewise.
8420 (llrint_test_data): Likewise.
8421 (log_test_data): Likewise.
8422 (log10_test_data): Likewise.
8423 (log1p_test_data): Likewise.
8424 (log2_test_data): Likewise.
8425 (logb_test_data): Likewise.
8426 (lround_test_data): Likewise.
8427 (llround_test_data): Likewise.
8428 (modf_test_data): Likewise.
8429 (nearbyint_test_data): Likewise.
8430 (nextafter_test_data): Likewise.
8431 (nexttoward_test_data): Likewise.
8432 (pow_test_data): Likewise.
8433 (remainder_test_data): Likewise.
8434 (remquo_test_data): Likewise.
8435 (rint_test_data): Likewise.
8436 (round_test_data): Likewise.
8437 (signbit_test_data): Likewise.
8438 (sinh_test_data): Likewise.
8439 (sqrt_test_data): Likewise.
8440 (tanh_test_data): Likewise.
8441 (tgamma_test_data): Likewise.
8442 (trunc_test_data): Likewise.
8443 (y0_test_data): Likewise.
8444 (y1_test_data): Likewise.
8445 (yn_test_data): Likewise.
8446 (significand_test_data): Likewise.
8447
8448 2015-09-29 Carlos O'Donell <carlos@redhat.com>
8449
8450 * manual/filesys.texi (Storage Allocation): Document that
8451 posix_fallocate emulation fails when fd is open with O_WRONLY.
8452
8453 2015-09-28 Joseph Myers <joseph@codesourcery.com>
8454
8455 [BZ #19016]
8456 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8457 allow more cases with X^2 + Y^2 >= 0.5.
8458 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
8459 normal element in sum instead of special-casing based on values of
8460 arguments.
8461 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8462 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
8463 -1 as normal element in sum instead of special-casing based on
8464 values of arguments.
8465 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8466 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8467 (__x2y2m1): Update comment.
8468 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
8469 as normal element in sum instead of special-casing based on values
8470 of arguments.
8471 * math/s_clog.c (__clog): Handle more cases using log1p without
8472 hypot.
8473 * math/s_clog10.c (__clog10): Likewise.
8474 * math/s_clog10f.c (__clog10f): Likewise.
8475 * math/s_clog10l.c (__clog10l): Likewise.
8476 * math/s_clogf.c (__clogf): Likewise.
8477 * math/s_clogl.c (__clogl): Likewise.
8478 * math/auto-libm-test-in: Add more tests of clog and clog10.
8479 * math/auto-libm-test-out: Regenerated.
8480 * sysdeps/i386/fpu/libm-test-ulps: Update.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8482
8483 2015-09-28 Martin Sebor <msebor@redhat.com>
8484
8485 [BZ #18969]
8486 * string/Makefile (LOCALES): Define.
8487 (gen-locales.mk): Include.
8488 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8489 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8490 * string/tst-strxfrm2.c (do_test): Print the name of the locale
8491 on setlocale failure.
8492
8493 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8494
8495 [BZ #18985]
8496 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8497 (__strftime_internal): Likewise.
8498 * time/tst-strftime.c (do_bz18985): New test.
8499 (do_test): Call it.
8500
8501 2015-09-26 Joseph Myers <joseph@codesourcery.com>
8502
8503 [BZ #18956]
8504 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8505 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
8506 extracting high part.
8507 * math/auto-libm-test-in: Add another test of pow.
8508 * math/auto-libm-test-out: Regenerated.
8509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8510
8511 2015-09-25 Joseph Myers <joseph@codesourcery.com>
8512
8513 [BZ #18825]
8514 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8515 New macro.
8516 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8517 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8518 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8519 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8520 DBL_NARROW_EVAL, reloading the PIC register as needed.
8521 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8522 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8523 FLT_NARROW_EVAL. Use separate return path for case when first
8524 argument is NaN.
8525 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
8526 DEFINE_LDBL_MIN.
8527 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8528 PIC register.
8529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8530 math_check_force_underflow_nonneg.
8531 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8532 underflow for subnormal result.
8533 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8535 math_check_force_underflow_nonneg.
8536 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8537 math_check_force_underflow.
8538 * sysdeps/x86_64/fpu/x86_64-math-asm.h
8539 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8540 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
8541 DEFINE_LDBL_MIN.
8542 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8543 * math/auto-libm-test-in: Add more tests of pow.
8544 * math/auto-libm-test-out: Regenerated.
8545
8546 2015-09-25 Florian Weimer <fweimer@redhat.com>
8547
8548 * nss/bug17079.c (init_test_items): Add diagnostic for
8549 inconsistent entries.
8550 (test_buffer_size): Skip inconsistent entries.
8551
8552 2015-09-25 Joseph Myers <joseph@codesourcery.com>
8553
8554 [BZ #13304]
8555 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8556 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8557 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8558
8559 [BZ #13304]
8560 * sysdeps/microblaze/s_fma.c: New file.
8561 * sysdeps/microblaze/s_fmaf.c: Likewise.
8562 * sysdeps/microblaze/sfp-machine.h: Likewise.
8563
8564 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
8565
8566 [BZ #17250]
8567 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8568 member.
8569
8570 2015-09-24 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #18803]
8573 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8574 (MO): New macro.
8575 (__ieee754_hypot) [PIC]: Load PIC register.
8576 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8577 DBL_NARROW_EVAL.
8578 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8579 math_check_force_underflow_nonneg in case where result might be
8580 tiny.
8581 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8582 Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8584 Likewise.
8585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8586 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8587 * math/auto-libm-test-in: Add more tests of hypot.
8588 * math/auto-libm-test-out: Regenerated.
8589
8590 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
8591
8592 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8593
8594 2015-09-24 Joseph Myers <joseph@codesourcery.com>
8595
8596 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8597 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8598 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8599 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8600 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8601 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8602 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8603
8604 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8605 LOAD_PIC_REG.
8606
8607 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8608 (FLT_CHECK_FORCE_UFLOW): Likewise.
8609 (DBL_CHECK_FORCE_UFLOW): Likewise.
8610 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8611 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8612 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8613 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8614 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8615 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8616 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8617 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8618 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8619 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8620 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8621 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8622 (flt_min): Replace with use of DEFINE_FLT_MIN.
8623 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8624 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8625 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8626 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8627 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8628 (flt_min): Replace with use of DEFINE_FLT_MIN.
8629 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8630 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8631 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8632 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8633 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8634 (flt_min): Replace with use of DEFINE_FLT_MIN.
8635 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8636 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8637 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8638 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8639 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8640 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8641 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8642 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8643 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8644 (__atan): Use DBL_CHECK_FORCE_UFLOW.
8645 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8646 (flt_min): Replace with use of DEFINE_FLT_MIN.
8647 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8648 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8649 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8650 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
8651 main computation.
8652 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8653 (flt_min): Replace with use of DEFINE_FLT_MIN.
8654 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
8655 main computation.
8656 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8657 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8658 (MO): New macro.
8659 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8660 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8661 (flt_min): Replace with use of DEFINE_FLT_MIN.
8662 (MO): New macro.
8663 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8664 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8665 (__log1pl): Use MO.
8666
8667 [BZ #19003]
8668 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8669 $(config-cflags-nofma).
8670
8671 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8672
8673 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8674
8675 2015-09-23 Joseph Myers <joseph@codesourcery.com>
8676
8677 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8678 (TWO127): Likewise.
8679
8680 * sysdeps/generic/math_private.h (fabs_tg): New macro.
8681 (min_of_type): Likewise.
8682 (math_check_force_underflow): Likewise.
8683 (math_check_force_underflow_nonneg): Likewise.
8684 (math_check_force_underflow_complex): Likewise.
8685 * math/e_exp2l.c (__ieee754_exp2l): Use
8686 math_check_force_underflow_nonneg.
8687 * math/k_casinh.c (__kernel_casinh): Likewise.
8688 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8689 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8690 * math/s_catan.c (__catan): Use
8691 math_check_force_underflow_complex.
8692 * math/s_catanf.c (__catanf): Likewise.
8693 * math/s_catanh.c (__catanh): Likewise.
8694 * math/s_catanhf.c (__catanhf): Likewise.
8695 * math/s_catanhl.c (__catanhl): Likewise.
8696 * math/s_catanl.c (__catanl): Likewise.
8697 * math/s_ccosh.c (__ccosh): Likewise.
8698 * math/s_ccoshf.c (__ccoshf): Likewise.
8699 * math/s_ccoshl.c (__ccoshl): Likewise.
8700 * math/s_cexp.c (__cexp): Likewise.
8701 * math/s_cexpf.c (__cexpf): Likewise.
8702 * math/s_cexpl.c (__cexpl): Likewise.
8703 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8704 * math/s_clog10.c (__clog10): Likewise.
8705 * math/s_clog10f.c (__clog10f): Likewise.
8706 * math/s_clog10l.c (__clog10l): Likewise.
8707 * math/s_clogf.c (__clogf): Likewise.
8708 * math/s_clogl.c (__clogl): Likewise.
8709 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8710 * math/s_csinf.c (__csinf): Likewise.
8711 * math/s_csinh.c (__csinh): Likewise.
8712 * math/s_csinhf.c (__csinhf): Likewise.
8713 * math/s_csinhl.c (__csinhl): Likewise.
8714 * math/s_csinl.c (__csinl): Likewise.
8715 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8716 * math/s_csqrtf.c (__csqrtf): Likewise.
8717 * math/s_csqrtl.c (__csqrtl): Likewise.
8718 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8719 * math/s_ctanf.c (__ctanf): Likewise.
8720 * math/s_ctanh.c (__ctanh): Likewise.
8721 * math/s_ctanhf.c (__ctanhf): Likewise.
8722 * math/s_ctanhl.c (__ctanhl): Likewise.
8723 * math/s_ctanl.c (__ctanl): Likewise.
8724 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8725 instead of volatile.
8726 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8727 math_check_force_underflow.
8728 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8729 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8730 volatile when forcing underflow.
8731 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8732 math_check_force_underflow_nonneg.
8733 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8734 Likewise.
8735 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8736 math_check_force_underflow.
8737 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8738 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8739 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8741 math_check_force_underflow_nonneg.
8742 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8743 math_check_force_underflow.
8744 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8746 instead of volatile.
8747 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8748 math_check_force_underflow.
8749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8751 math_check_force_underflow_nonneg.
8752 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8753 math_check_force_underflow.
8754 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8755 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8756 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8757 math_check_force_underflow_nonneg.
8758 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8759 Likewise.
8760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8761 math_check_force_underflow.
8762 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8763 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8764 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8765 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8766 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8767 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8768 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8769 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8770 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8771 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8772 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8773 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8774 Likewise.
8775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8776 math_check_force_underflow_nonneg.
8777 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8778 Likewise.
8779 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8780 math_check_force_underflow.
8781 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8782 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8783 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8784 Likewise.
8785 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8786 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8789 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8792 instead of volatile.
8793 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8794 math_check_force_underflow.
8795 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8797 math_check_force_underflow.
8798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8799 Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8801 Use math_check_force_underflow_nonneg.
8802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8803 math_check_force_underflow.
8804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8805 Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8807 Likewise.
8808 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8814 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8815 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8816 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8817 math_check_force_underflow_nonneg.
8818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8819 math_check_force_underflow.
8820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8821 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8822 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8823 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8824 math_check_force_underflow_nonneg.
8825 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8826 math_check_force_underflow.
8827 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8829 instead of volatile.
8830 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8831 math_check_force_underflow.
8832
8833 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8834 * stdlib/strtod_l.c: Include <math_private.h>.
8835 (overflow_value): Use math_narrow_eval.
8836 (underflow_value): Likewise.
8837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8838 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8839 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8840 (__ieee754_gamma_r): Likewise.
8841 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8842 Likewise.
8843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8844 Likewise.
8845 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8846 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8847 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8848 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8850 (__ieee754_gammaf_r): Likewise.
8851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8852 Likewise.
8853 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8854 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8855 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8856 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8857 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8858 volatile.
8859 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8861 math_narrow_eval.
8862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8863 Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8865 Likewise.
8866 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8867 Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8869 volatile.
8870 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8872 math_narrow_eval.
8873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8874 Likewise.
8875 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8876 Likewise.
8877
8878 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
8879
8880 * nptl/Versions: Remove ignored symbols.
8881
8882 2015-09-22 Florian Weimer <fweimer@redhat.com>
8883
8884 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
8885 * nss/Makefile (tests): Update.
8886
8887 2015-09-22 Florian Weimer <fweimer@redhat.com>
8888
8889 * nss/bug18287.c: New file.
8890 * nss/Makefile (tests): Add bug18287.
8891
8892 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8893
8894 * mach/Versions (__mach_host_self_): Add symbol.
8895
8896 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
8897
8898 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8899 vm_page_size.
8900
8901 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8902
8903 Really fix sysdeps/i386/fpu/s_scalbn.S build
8904
8905 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8906 (libc: GLIBC_2_22): Remove unused version set.
8907
8908 2015-09-18 Mike Frysinger <vapier@gentoo.org>
8909
8910 * config.make.in (enable-timezone-tools): New variable.
8911 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8912 (enable_timezone_tools): Export to generated files.
8913 * configure: Regenerate.
8914 * INSTALL: Regenerate.
8915 * manual/install.texi (--disable-timezone-tools): Document new flag.
8916 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8917 ifeq ($(enable-timezone-tools),yes) check.
8918
8919 2015-09-18 Joseph Myers <joseph@codesourcery.com>
8920
8921 * timezone/Makefile: Revert previous change.
8922
8923 [BZ #18980]
8924 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8925 (DEFINE_DBL_MIN): Likewise.
8926 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8927 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8928 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8929 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8930 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8931 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8932 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8933 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8934 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8935 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8936 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8937 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8938 (flt_min): Replace with use of DEFINE_FLT_MIN.
8939 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8940 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8941 (dbl_min): Replace with use of DEFINE_DBL_MIN.
8942 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8943 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8944 (flt_min): Replace with use of DEFINE_FLT_MIN.
8945 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8946 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8947 (flt_min): Replace with use of DEFINE_FLT_MIN.
8948 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8949 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8950 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8951 (__ieee754_hypot): Use DBL_NARROW_EVAL.
8952 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8953 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8954 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8955 (__ieee754_pow): Use DBL_NARROW_EVAL.
8956 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8957 (__ieee754_powf): Use FLT_NARROW_EVAL.
8958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8959 (__ieee754_expf_sse2): Convert double-precision result to single
8960 precision.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962
8963 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8964
8965 * timezone/Makefile: Ignore unused variable errors due to private.h
8966 (time_t_min) and (time_t_max).
8967 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
8968 Likewise.
8969
8970 2015-09-18 Joseph Myers <joseph@codesourcery.com>
8971
8972 [BZ #18981]
8973 * sysdeps/i386/fpu/i386-math-asm.h: New file.
8974 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8975 (__ieee754_scalb): Use DBL_NARROW_EVAL.
8976 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8977 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8978 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8979 (__scalbn): Use DBL_NARROW_EVAL.
8980 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8981 (__scalbnf): Use FLT_NARROW_EVAL.
8982
8983 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8984
8985 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8986 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8987 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8988 * stdio-common/printf_fp.c (___printf_fp):
8989 Use signbit to get the sign. Use isinf macro to allow inlining.
8990 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8991 * stdio-common/printf_size.c (__printf_size): Likewise.
8992
8993 2015-09-18 Mike Frysinger <vapier@gentoo.org>
8994
8995 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8996
8997 2015-09-18 Joseph Myers <joseph@codesourcery.com>
8998
8999 [BZ #18980]
9000 * sysdeps/generic/math_private.h: Include <float.h>.
9001 (math_narrow_eval): New macro.
9002 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9003 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9004 math_narrow_eval on overflowing return value.
9005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9006 Likewise.
9007 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9008 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9009 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9010 Likewise.
9011 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9012
9013 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
9014
9015 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9016 * math/Makefile: Remove isinf_ns.c.
9017 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9018 * math/multc3.c (__multc3): Likewise.
9019 * math/s_casin.c (__casin): Likewise.
9020 * math/s_casinf.c (__casinf): Likewise.
9021 * math/s_casinl.c (__casinl): Likewise.
9022 * math/s_cproj.c (__cproj): Likewise.
9023 * math/s_cprojf.c (__cprojf): Likewise.
9024 * math/s_cprojl.c (__cprofl): Likewise.
9025 * math/s_ctan.c (__ctan): Likewise.
9026 * math/s_ctanf.c (__ctanf): Likewise.
9027 * math/s_ctanh.c (__ctanh): Likewise.
9028 * math/s_ctanhf.c (__ctanhf): Likewise.
9029 * math/s_ctanhl.c (__ctanhl): Likewise.
9030 * math/s_ctanl.c (__ctanl): Likewise.
9031 * math/w_fmod.c (__fmod): Likewise.
9032 * math/w_fmodf.c (__fmodf): Likewise.
9033 * math/w_fmodl.c (_fmodl): Likewise.
9034 * math/w_remainder.c (__remainder): Likewise.
9035 * math/w_remainderf.c (__remainderf): Likewise.
9036 * math/w_remainderl.c (__remainderl): Likewise.
9037 * math/w_scalb.c (__scalb): Likewise.
9038 * math/w_scalbf.c (__scalbf): Likewise.
9039 * math/w_scalbl.c (__scalbl): Likewise.
9040 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9041 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9042 with isinf.
9043 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9045 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9046 __isinf_nsf with isinf.
9047 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9049 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9050 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9051 with isinf.
9052 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9053 __isinf_nsl with isinf.
9054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9055 with isinf.
9056 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9058 __isinf_nsl with isinf.
9059 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9060 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9061 with isinf.
9062
9063 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
9064
9065 * resolv/base64.c (rcsid): Remove unused static.
9066 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9067 static. (tqpi1): Likewise.
9068 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9069 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9070 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9071 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9075 * timezone/private.h (time_t_min): Likewise. (time_t_max):
9076 Likewise.
9077
9078 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9081 <nptl/pthreadP.h>.
9082 (_longjmp_unwind): Use __libc_ptf_call.
9083 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9084
9085 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
9086
9087 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9088 * sysdeps/arm/__longjmp.S: Likewise.
9089
9090 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
9091
9092 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9093 Use __builtin_signbit.
9094 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9095 Use __builtin_signbitf.
9096 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9097 Use __builtin_signbitl.
9098 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9099 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9100
9101 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
9102
9103 [BZ #15367]
9104 [BZ #17441]
9105
9106 * math/Makefile: Build test-snan.c with -fsignaling-nans.
9107 * math/math.h (fpclassify): Use __builtin_fpclassify when
9108 available. (signbit): Use __builtin_signbit(f/l).
9109 (isfinite): Use__builtin_isfinite. (isnormal): Use
9110 __builtin_isnormal. (isnan): Use __builtin_isnan.
9111 (isinf): Use __builtin_isinf_sign.
9112
9113 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
9114
9115 * benchtests/Makefile: Add bench-math-inlines, link with libm.
9116 * benchtests/bench-math-inlines.c: New benchmark.
9117 * benchtests/bench-util.h: New file.
9118 * benchtests/bench-util.c: New file.
9119 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9120
9121 2015-09-18 Carlos O'Donell <carlos@redhat.com>
9122
9123 * elf/tst-dlmopen1.c: Define TEST_SO.
9124 (do_test): Use TEST_SO.
9125
9126 * elf/dl-load.c: Include libc-internal.h.
9127 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9128
9129 2015-09-18 Vincent Bernat <vincent@bernat.im>
9130
9131 [BZ #17887]
9132 * time/strptime_l.c (__strptime_internal): Make %z accept
9133 [+-]HH:MM time zones.
9134
9135 2015-09-18 Vincent Bernat <vincent@bernat.im>
9136
9137 [BZ #17886]
9138 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9139 valid time zone.
9140
9141 2015-09-17 Mike Frysinger <vapier@gentoo.org>
9142
9143 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9144 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9146 (__ASSUME_FDATASYNC): Delete.
9147
9148 2015-09-17 Joseph Myers <joseph@codesourcery.com>
9149
9150 * conform/linknamespace.pl: Require weak undefined symbols to be
9151 in the standard namespace.
9152 (%strong_syms): Rename to %seen_syms.
9153 (%strong_seen): Rename to %seen_where.
9154
9155 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 [BZ #18970]
9158 * misc/error.c (error): Replace pthread_setcancelstate with
9159 __pthread_setcancelstate.
9160 (error_at_line): Likewise.
9161 * posix/wordexp.c (parse_comm): Likewise.
9162 * stdlib/fmtmsg.c (fmtmsg): Likewise.
9163 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9164 (__pthread_setcancelstate): This.
9165 (pthread_setcancelstate): Add an alias.
9166 * nptl/nptl-init.c (pthread_functions): Replace
9167 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9168 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9169 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9170 hidden_proto.
9171 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9172 it with hidden_def.
9173 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9174 (pthread_setcancelstate): Renamed to ...
9175 (__pthread_setcancelstate): This.
9176 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9177 __libc_ptf_call with __pthread_setcancelstate.
9178
9179 2015-09-17 Joseph Myers <joseph@codesourcery.com>
9180 Andreas Schwab <schwab@suse.de>
9181
9182 [BZ #17118]
9183 * math/s_ctan.c (__ctan): Determine sign of zero real part of
9184 result when imaginary part of argument is infinite using sine and
9185 cosine.
9186 * math/s_ctanf.c (__ctanf): Likewise.
9187 * math/s_ctanl.c (__ctanl): Likewise.
9188 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9189 of result when real part of argument is infinite using sine and
9190 cosine.
9191 * math/s_ctanhf.c (__ctanhf): Likewise.
9192 * math/s_ctanhl.c (__ctanhl): Likewise.
9193 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9194 (ctanh_test_data): Add more tests of ctanh.
9195
9196 2015-09-17 Joseph Myers <joseph@codesourcery.com>
9197
9198 [BZ #15384]
9199 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9200 bit-mask as in subtraction.
9201 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9202 Likewise.
9203 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9206
9207 [BZ #18951]
9208 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9209 underflow exception for small results.
9210 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9211 Likewise.
9212 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9213 Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9215 Likewise.
9216 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9217 Likewise.
9218 * math/auto-libm-test-in: Add more tests of tgamma.
9219 * math/auto-libm-test-out: Regenerated.
9220
9221 2015-09-17 Andreas Schwab <schwab@suse.de>
9222
9223 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9224
9225 2015-09-16 Joseph Myers <joseph@codesourcery.com>
9226
9227 [BZ #18977]
9228 * math/bits/mathcalls.h
9229 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9230 not declare.
9231 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9232 Likewise.
9233 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9234 Likewise.
9235 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9236 Likewise.
9237 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9238 Likewise.
9239 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9240 Likewise.
9241 * conform/data/math.h-data
9242 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9243 function.
9244 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9245 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9246 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9247 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9248 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9249 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9250 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9251 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9252 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9253 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9254 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9255
9256 [BZ #6803]
9257 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9258 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9259 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9260 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9261 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9262 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9263 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9264 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9265 [NO_LONG_DOUBLE] (scalbnl): Likewise.
9266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9267 Likewise.
9268 [NO_LONG_DOUBLE] (scalbnl): Likewise.
9269 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9270 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9272 long_double_symbol calls.
9273 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9274 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9275 strong alias of __ldexpl.
9276 (scalbnl): Define using long_double_symbol.
9277 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9278 Remove alias.
9279 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9280 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9281 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9282 (scalbln_test_data): Add more errno expectations.
9283
9284 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
9285
9286 Cache the host port like we cache the task port. This way we do not
9287 need to call the kernel just to get the port. Furthermore, we no
9288 longer increase the reference count on every invocation of
9289 `mach_host_self'.
9290
9291 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9292 Protect declarations against the macro expansion.
9293 * mach/mach_init.c (__mach_host_self_): New variable.
9294 (mach_init): Initialize `__mach_host_self_'.
9295 * mach/mach_init.h (__mach_host_self_): New declaration.
9296 (__mach_host_self, mach_host_self): New macros.
9297 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9298 Release reference.
9299
9300 2015-09-16 Joseph Myers <joseph@codesourcery.com>
9301
9302 [BZ #4404]
9303 * po/de.po: Update from Translation Project.
9304
9305 [BZ #16415]
9306 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9307 (__expm1l): Remove code to handle positive infinity and overflow.
9308 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9309 variable.
9310 (__expm1l): Remove code to handle positive infinity and overflow.
9311
9312 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
9313 Paul Pluzhnikov <ppluzhnikov@google.com>
9314
9315 [BZ #18872]
9316 * stdio-common/Makefile (tst-printf-bz18872): New test.
9317 (tst-printf-bz18872-mem.out): Likewise.
9318 * stdio-common/tst-printf-bz18872.sh: Generate new test.
9319 * stdio-common/vfprintf.c: Fix memory leaks.
9320
9321 2015-09-16 Andreas Schwab <schwab@suse.de>
9322
9323 [BZ #17244]
9324 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9325 Remove extra va_start/va_end calls.
9326
9327 [BZ #17243]
9328 * posix/execl.c (execl): Add missing va_end.
9329 * posix/execle.c (execle): Likewise.
9330 * posix/execlp.c (execlp): Likewise.
9331
9332 2015-09-15 Roland McGrath <roland@hack.frob.com>
9333
9334 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9335 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9336
9337 2015-09-15 Joseph Myers <joseph@codesourcery.com>
9338
9339 [BZ #18967]
9340 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
9341 undefine around includes of <bits/mathcalls.h>.
9342 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9343 not declare function.
9344 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9345 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9346 (scalb): Likewise.
9347 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9348 not define macro.
9349 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9350 variable.
9351 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9352 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9353 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9354
9355 [BZ #18857]
9356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9357 return non-finite argument without doing ordered comparisons on
9358 it.
9359
9360 [BZ #16296]
9361 * math/fenv.h (fegetround): Use __attribute_pure__.
9362 * include/fenv.h (__fegetround): Likewise.
9363
9364 [BZ #18595]
9365 * math/s_ctan.c (__ctan): Force underflow exception for results
9366 whose real or imaginary part has small absolute value.
9367 * math/s_ctanf.c (__ctanf): Likewise.
9368 * math/s_ctanh.c (__ctanh): Likewise.
9369 * math/s_ctanhf.c (__ctanhf): Likewise.
9370 * math/s_ctanhl.c (__ctanhl): Likewise.
9371 * math/s_ctanl.c (__ctanl): Likewise.
9372 * math/auto-libm-test-in: Do not allow missing underflow for ctan
9373 and ctanh. Add more tests of ctan and ctanh.
9374
9375 [BZ #15918]
9376 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9377 handling of cases where one argument is an infinity.
9378
9379 [BZ #18875]
9380 [BZ #18966]
9381 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9382 (MO): New macro.
9383 (__ieee754_exp10): For small results, force underflow exception
9384 and remove excess range and precision from return value.
9385 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9386 (MO): New macro.
9387 (__ieee754_exp10f): For small results, force underflow exception
9388 and remove excess range and precision from return value.
9389 * math/auto-libm-test-in: Add more tests of exp10.
9390 * math/auto-libm-test-out: Regenerated.
9391
9392 2015-09-14 Joseph Myers <joseph@codesourcery.com>
9393
9394 [BZ #18875]
9395 [BZ #18961]
9396 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9397 (MO): New macro.
9398 (__ieee754_exp): For small results, force underflow exception and
9399 remove excess range and precision from return value.
9400 (__exp_finite): Likewise.
9401 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9402 (MO): New macro.
9403 (__ieee754_expf): For small results, force underflow exception and
9404 remove excess range and precision from return value.
9405 (__expf_finite): Likewise.
9406 * math/auto-libm-test-in: Add more tests of exp.
9407 * math/auto-libm-test-out: Regenerated.
9408
9409 [BZ #16521]
9410 [BZ #18875]
9411 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9412 small results.
9413 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9414 (MO): New macro.
9415 (__ieee754_exp2): For small results, force underflow exception and
9416 remove excess range and precision from return value.
9417 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9418 (MO): New macro.
9419 (__ieee754_exp2f): For small results, force underflow exception
9420 and remove excess range and precision from return value.
9421 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9422 (MO): New macro.
9423 (__ieee754_exp2l): Force underflow exception for small results.
9424 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9425 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9426 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9427 (MO): New macro.
9428 (__ieee754_exp2l): Force underflow exception for small results.
9429 * math/auto-libm-test-in: Add more tests or exp2.
9430 * math/auto-libm-test-out: Regenerated.
9431
9432 2015-09-14 Carlos O'Donell <carlos@redhat.com>
9433
9434 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9435
9436 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9437 /dev/null.
9438
9439 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9440
9441 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9442 io fs process)): Drop spurious backslash.
9443
9444 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9445
9446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9447 Use sysinfo system call instead of parsing /proc/meminfo.
9448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9449 Likewise.
9450
9451 2015-09-11 Mike Frysinger <vapier@gentoo.org>
9452
9453 [BZ #16985]
9454 * programs/localedef.c (main): Display argv[remaining] when
9455 output_path is NULL.
9456
9457 2015-09-11 Joseph Myers <joseph@codesourcery.com>
9458
9459 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9460 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9461 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9462 tanh.
9463 * math/auto-libm-test-out: Regenerated.
9464 * sysdeps/i386/fpu/libm-test-ulps: Update.
9465 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9468
9469 2015-09-11 Roland McGrath <roland@hack.frob.com>
9470
9471 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9472 Use 'override' keyword to freeze the value here, preventing
9473 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9474
9475 2015-09-11 Joseph Myers <joseph@codesourcery.com>
9476
9477 [BZ #14912]
9478 * sysdeps/aarch64/bits/atomic.h: Move to ...
9479 * sysdeps/aarch64/atomic-machine.h: ...here.
9480 (_AARCH64_BITS_ATOMIC_H): Rename macro to
9481 _AARCH64_ATOMIC_MACHINE_H.
9482 * sysdeps/alpha/bits/atomic.h: Move to ...
9483 * sysdeps/alpha/atomic-machine.h: ...here.
9484 * sysdeps/arm/bits/atomic.h: Move to ...
9485 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
9486 * bits/atomic.h: Move to ...
9487 * sysdeps/generic/atomic-machine.h: ...here.
9488 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9489 * sysdeps/i386/bits/atomic.h: Move to ...
9490 * sysdeps/i386/atomic-machine.h: ...here.
9491 * sysdeps/ia64/bits/atomic.h: Move to ...
9492 * sysdeps/ia64/atomic-machine.h: ...here.
9493 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9494 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9495 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9496 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9497 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9498 * sysdeps/microblaze/bits/atomic.h: Move to ...
9499 * sysdeps/microblaze/atomic-machine.h: ...here.
9500 * sysdeps/mips/bits/atomic.h: Move to ...
9501 * sysdeps/mips/atomic-machine.h: ...here.
9502 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9503 * sysdeps/powerpc/bits/atomic.h: Move to ...
9504 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
9505 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9506 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
9507 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
9508 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9509 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
9510 <atomic-machine.h> instead of <bits/atomic.h>.
9511 * sysdeps/s390/bits/atomic.h: Move to ...
9512 * sysdeps/s390/atomic-machine.h: ...here.
9513 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9514 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9515 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9517 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9518 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9519 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9520 * sysdeps/tile/bits/atomic.h: Move to ...
9521 * sysdeps/tile/atomic-machine.h: ...here.
9522 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9523 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
9524 <sysdeps/tile/atomic-machine.h> instead of
9525 <sysdeps/tile/bits/atomic.h>.
9526 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9527 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9528 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
9529 <sysdeps/tile/atomic-machine.h> instead of
9530 <sysdeps/tile/bits/atomic.h>.
9531 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9532 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9533 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
9534 <sysdeps/arm/atomic-machine.h> instead of
9535 <sysdeps/arm/bits/atomic.h>.
9536 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9537 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9538 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9539 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9540 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9541 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9542 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9543 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9544 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9545 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9546 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9547 * sysdeps/x86_64/bits/atomic.h: Move to ...
9548 * sysdeps/x86_64/atomic-machine.h: ...here.
9549 * include/atomic.h: Include <atomic-machine.h> instead of
9550 <bits/atomic.h>.
9551
9552 * sysdeps/mips/mips32/libm-test-ulps: Update.
9553 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9554
9555 [BZ #18952]
9556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9557 not convert non-integer negative arguments to int to determine the
9558 value of signgam.
9559 * math/auto-libm-test-in: Add more tests of lgamma.
9560 * math/auto-libm-test-out: Regenerated.
9561
9562 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9563 cosh, csqrt, erfc, expm1 and lgamma.
9564 * math/auto-libm-test-out: Regenerated.
9565 * sysdeps/i386/fpu/libm-test-ulps: Update.
9566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9567
9568 2015-09-10 Joseph Myers <joseph@codesourcery.com>
9569
9570 [BZ #2542]
9571 [BZ #2543]
9572 [BZ #2558]
9573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9574 __lgamma_neg for arguments from -28.0 to -2.0.
9575 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9576 __lgamma_negf for arguments from -15.0 to -2.0.
9577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9578 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9579 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9580 Call __lgamma_negl for arguments from -33.0 to -2.0.
9581 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9582 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9583 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9592 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9593 (__lgamma_neg): Likewise.
9594 (__lgamma_negl): Likewise.
9595 (__lgamma_product): Likewise.
9596 (__lgamma_productl): Likewise.
9597 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9598 * math/auto-libm-test-in: Add more tests of lgamma.
9599 * math/auto-libm-test-out: Regenerated.
9600 * sysdeps/i386/fpu/libm-test-ulps: Update.
9601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9602
9603 2015-09-09 Justin Maggard <jmaggard@netgear.com>
9604
9605 [BZ #18675]
9606 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9607
9608 2015-09-08 Joseph Myers <joseph@codesourcery.com>
9609
9610 [BZ #14912]
9611 * bits/libc-lock.h: Move to ...
9612 * sysdeps/generic/libc-lock.h: ...here.
9613 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9614 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9615 * sysdeps/mach/hurd/libc-lock.h: ...here.
9616 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9617 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9618 * sysdeps/mach/bits/libc-lock.h: Move to ...
9619 * sysdeps/mach/libc-lock.h: ...here.
9620 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9621 * sysdeps/nptl/bits/libc-lock.h: Move to ...
9622 * sysdeps/nptl/libc-lock.h: ...here.
9623 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9624 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9625 * sysdeps/nptl/libc-lockP.h: ...here.
9626 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9627 * crypt/crypt_util.c: Include <libc-lock.h> instead of
9628 <bits/libc-lock.h>.
9629 * dirent/scandir-tail.c: Likewise.
9630 * dlfcn/dlerror.c: Likewise.
9631 * elf/dl-close.c: Likewise.
9632 * elf/dl-iteratephdr.c: Likewise.
9633 * elf/dl-lookup.c: Likewise.
9634 * elf/dl-open.c: Likewise.
9635 * elf/dl-support.c: Likewise.
9636 * elf/dl-writev.h: Likewise.
9637 * elf/rtld.c: Likewise.
9638 * grp/fgetgrent.c: Likewise.
9639 * gshadow/fgetsgent.c: Likewise.
9640 * gshadow/sgetsgent.c: Likewise.
9641 * iconv/gconv_conf.c: Likewise.
9642 * iconv/gconv_db.c: Likewise.
9643 * iconv/gconv_dl.c: Likewise.
9644 * iconv/gconv_int.h: Likewise.
9645 * iconv/gconv_trans.c: Likewise.
9646 * include/link.h: Likewise.
9647 * inet/getnameinfo.c: Likewise.
9648 * inet/getnetgrent.c: Likewise.
9649 * inet/getnetgrent_r.c: Likewise.
9650 * intl/bindtextdom.c: Likewise.
9651 * intl/dcigettext.c: Likewise.
9652 * intl/finddomain.c: Likewise.
9653 * intl/gettextP.h: Likewise.
9654 * intl/loadmsgcat.c: Likewise.
9655 * intl/localealias.c: Likewise.
9656 * intl/textdomain.c: Likewise.
9657 * libidn/idn-stub.c: Likewise.
9658 * libio/libioP.h: Likewise.
9659 * locale/duplocale.c: Likewise.
9660 * locale/freelocale.c: Likewise.
9661 * locale/newlocale.c: Likewise.
9662 * locale/setlocale.c: Likewise.
9663 * login/getutent_r.c: Likewise.
9664 * login/getutid_r.c: Likewise.
9665 * login/getutline_r.c: Likewise.
9666 * login/utmp-private.h: Likewise.
9667 * login/utmpname.c: Likewise.
9668 * malloc/mtrace.c: Likewise.
9669 * misc/efgcvt.c: Likewise.
9670 * misc/error.c: Likewise.
9671 * misc/fstab.c: Likewise.
9672 * misc/getpass.c: Likewise.
9673 * misc/mntent.c: Likewise.
9674 * misc/syslog.c: Likewise.
9675 * nis/nis_call.c: Likewise.
9676 * nis/nis_callback.c: Likewise.
9677 * nis/nss-default.c: Likewise.
9678 * nis/nss_compat/compat-grp.c: Likewise.
9679 * nis/nss_compat/compat-initgroups.c: Likewise.
9680 * nis/nss_compat/compat-pwd.c: Likewise.
9681 * nis/nss_compat/compat-spwd.c: Likewise.
9682 * nis/nss_nis/nis-alias.c: Likewise.
9683 * nis/nss_nis/nis-ethers.c: Likewise.
9684 * nis/nss_nis/nis-grp.c: Likewise.
9685 * nis/nss_nis/nis-hosts.c: Likewise.
9686 * nis/nss_nis/nis-network.c: Likewise.
9687 * nis/nss_nis/nis-proto.c: Likewise.
9688 * nis/nss_nis/nis-pwd.c: Likewise.
9689 * nis/nss_nis/nis-rpc.c: Likewise.
9690 * nis/nss_nis/nis-service.c: Likewise.
9691 * nis/nss_nis/nis-spwd.c: Likewise.
9692 * nis/nss_nisplus/nisplus-alias.c: Likewise.
9693 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9694 * nis/nss_nisplus/nisplus-grp.c: Likewise.
9695 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9696 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9697 * nis/nss_nisplus/nisplus-network.c: Likewise.
9698 * nis/nss_nisplus/nisplus-proto.c: Likewise.
9699 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9700 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9701 * nis/nss_nisplus/nisplus-service.c: Likewise.
9702 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9703 * nis/ypclnt.c: Likewise.
9704 * nptl/libc_pthread_init.c: Likewise.
9705 * nss/getXXbyYY.c: Likewise.
9706 * nss/getXXent.c: Likewise.
9707 * nss/getXXent_r.c: Likewise.
9708 * nss/nss_db/db-XXX.c: Likewise.
9709 * nss/nss_db/db-netgrp.c: Likewise.
9710 * nss/nss_db/nss_db.h: Likewise.
9711 * nss/nss_files/files-XXX.c: Likewise.
9712 * nss/nss_files/files-alias.c: Likewise.
9713 * nss/nsswitch.c: Likewise.
9714 * posix/regex_internal.h: Likewise.
9715 * posix/wordexp.c: Likewise.
9716 * pwd/fgetpwent.c: Likewise.
9717 * resolv/res_hconf.c: Likewise.
9718 * resolv/res_libc.c: Likewise.
9719 * shadow/fgetspent.c: Likewise.
9720 * shadow/lckpwdf.c: Likewise.
9721 * shadow/sgetspent.c: Likewise.
9722 * socket/opensock.c: Likewise.
9723 * stdio-common/reg-modifier.c: Likewise.
9724 * stdio-common/reg-printf.c: Likewise.
9725 * stdio-common/reg-type.c: Likewise.
9726 * stdio-common/vfprintf.c: Likewise.
9727 * stdio-common/vfscanf.c: Likewise.
9728 * stdlib/abort.c: Likewise.
9729 * stdlib/cxa_atexit.c: Likewise.
9730 * stdlib/fmtmsg.c: Likewise.
9731 * stdlib/random.c: Likewise.
9732 * stdlib/setenv.c: Likewise.
9733 * string/strsignal.c: Likewise.
9734 * sunrpc/auth_none.c: Likewise.
9735 * sunrpc/bindrsvprt.c: Likewise.
9736 * sunrpc/create_xid.c: Likewise.
9737 * sunrpc/key_call.c: Likewise.
9738 * sunrpc/rpc_thread.c: Likewise.
9739 * sysdeps/arm/backtrace.c: Likewise.
9740 * sysdeps/generic/ldsodefs.h: Likewise.
9741 * sysdeps/generic/stdio-lock.h: Likewise.
9742 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9743 * sysdeps/i386/backtrace.c: Likewise.
9744 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9745 * sysdeps/m68k/backtrace.c: Likewise.
9746 * sysdeps/mach/hurd/cthreads.c: Likewise.
9747 * sysdeps/mach/hurd/dirstream.h: Likewise.
9748 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9749 * sysdeps/nptl/malloc-machine.h: Likewise.
9750 * sysdeps/nptl/stdio-lock.h: Likewise.
9751 * sysdeps/posix/dirstream.h: Likewise.
9752 * sysdeps/posix/getaddrinfo.c: Likewise.
9753 * sysdeps/posix/system.c: Likewise.
9754 * sysdeps/pthread/aio_suspend.c: Likewise.
9755 * sysdeps/s390/s390-32/backtrace.c: Likewise.
9756 * sysdeps/s390/s390-64/backtrace.c: Likewise.
9757 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9758 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9759 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9760 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9761 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9762 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9763 * sysdeps/unix/sysv/linux/system.c: Likewise.
9764 * sysdeps/x86_64/backtrace.c: Likewise.
9765 * time/alt_digit.c: Likewise.
9766 * time/era.c: Likewise.
9767 * time/tzset.c: Likewise.
9768 * wcsmbs/wcsmbsload.c: Likewise.
9769 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9770 instead of <bits/libc-lock.h> in comment.
9771
9772 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
9773
9774 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9775 Only use .set mips2 if the current ISA is below mips2.
9776 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9777 Likewise.
9778 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9779 mips32r2 if the current ISA is below mips32r2.
9780 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9781 (TLS_IE): Updated to use the TLD_RDHWR macro.
9782 (TLS_LE): Likewise.
9783 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9784 __ASSEMBLER__ condition.
9785
9786 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9787
9788 Fix parallel build of before-compile targets.
9789
9790 * sysdeps/mach/Makefile ($(patsubst
9791 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9792 mach-before-compile target.
9793 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9794 io fs process)): Move rule to dedicated hurd-before-compile target.
9795
9796 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9797
9798 Fix rules generating headers in hurd/ and mach/ when initial make call
9799 has subdir= explicitly set.
9800
9801 * sysdeps/mach/Makefile ($(patsubst
9802 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9803 calling $(MAKE).
9804 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9805 io fs process)): Force subdir to hurd when calling $(MAKE).
9806 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9807 subdir to mach when calling $(MAKE).
9808
9809 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
9810
9811 Check sysheaders when looking for Mach and Hurd headers
9812
9813 * sysdeps/mach/configure.ac: Add sysheaders check.
9814 * sysdeps/mach/configure: Regenerate.
9815 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9816 * sysdeps/mach/hurd/configure: Regenerate.
9817
9818 2015-09-04 Roland McGrath <roland@hack.frob.com>
9819
9820 [BZ #18921]
9821 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9822 Fix inverted sense of test of 'o_directory_works' value.
9823 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9824 Bernhard Voelker <mail@bernhard-voelker.de>.
9825
9826 2015-09-04 Joseph Myers <joseph@codesourcery.com>
9827
9828 [BZ #14912]
9829 * bits/linkmap.h: Move to ...
9830 * sysdeps/generic/linkmap.h: ...here.
9831 * sysdeps/aarch64/bits/linkmap.h: Move to ...
9832 * sysdeps/aarch64/linkmap.h: ...here.
9833 * sysdeps/arm/bits/linkmap.h: Move to ...
9834 * sysdeps/arm/linkmap.h: ...here.
9835 * sysdeps/hppa/bits/linkmap.h: Move to ...
9836 * sysdeps/hppa/linkmap.h: ...here.
9837 * sysdeps/ia64/bits/linkmap.h: Move to ...
9838 * sysdeps/ia64/linkmap.h: ...here.
9839 * sysdeps/mips/bits/linkmap.h: Move to ...
9840 * sysdeps/mips/linkmap.h: ...here.
9841 * sysdeps/s390/bits/linkmap.h: Move to ...
9842 * sysdeps/s390/linkmap.h: ...here.
9843 * sysdeps/sh/bits/linkmap.h: Move to ...
9844 * sysdeps/sh/linkmap.h: ...here.
9845 * sysdeps/x86/bits/linkmap.h: Move to ...
9846 * sysdeps/x86/linkmap.h: ...here.
9847 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9848
9849 2015-09-04 Andreas Schwab <schwab@suse.de>
9850
9851 [BZ #18635]
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9853 (__makecontext): Terminate FDE before return label.
9854 (__novec_makecontext): Likewise.
9855
9856 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9857
9858 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9859 first member of struct sv in syscall macro.
9860
9861 2015-09-04 Joseph Myers <joseph@codesourcery.com>
9862
9863 [BZ #14912]
9864 * bits/stdio-lock.h: Move to ...
9865 * sysdeps/generic/stdio-lock.h: ...here.
9866 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9867 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9868 * sysdeps/nptl/stdio-lock.h: ...here.
9869 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9870 * include/libio.h: Include <stdio-lock.h> instead of
9871 <bits/stdio-lock.h>.
9872 * sysdeps/nptl/fork.c: Likewise.
9873 * sysdeps/pthread/flockfile.c: Likewise.
9874 * sysdeps/pthread/ftrylockfile.c: Likewise.
9875 * sysdeps/pthread/funlockfile.c: Likewise.
9876
9877 [BZ #14912]
9878 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9879 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9880 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9881 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9882 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9883 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9884 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9885
9886 2015-09-03 Roland McGrath <roland@hack.frob.com>
9887
9888 * elf/Makefile (test-xfail-tst-protected1a): New variable.
9889 (test-xfail-tst-protected1b): New variable.
9890
9891 2015-09-03 Joseph Myers <joseph@codesourcery.com>
9892
9893 [BZ #14912]
9894 * bits/libc-tsd.h: Move to ...
9895 * sysdeps/generic/libc-tsd.h: ...here.
9896 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9897 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9898 * sysdeps/mach/hurd/libc-tsd.h: ...here.
9899 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9900 * include/ctype.h: Include <libc-tsd.h> instead of
9901 <bits/libc-tsd.h>.
9902 * include/rpc/rpc.h: Likewise.
9903 * locale/localeinfo.h: Likewise.
9904 * sunrpc/rpc_thread.c: Likewise.
9905 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9906 * sysdeps/nptl/malloc-machine.h: Likewise.
9907
9908 * Makefile (headers): Remove bits/libc-lock.h.
9909 * libio/Makefile (headers): Remove bits/stdio-lock.h.
9910
9911 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9912 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9913 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9914 <bits/stdio-lock.h>.
9915 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9916 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9917
9918 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9919
9920 [BZ #18757]
9921 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9922 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9923 BZ #18757.
9924
9925 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9926
9927 * malloc/mtrace.pl: Filter out NULL entries.
9928
9929 2015-09-01 Joseph Myers <joseph@codesourcery.com>
9930
9931 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9932 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9933 macro.
9934
9935 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9936 (TCP_CC_INFO): Likewise.
9937 (TCP_SAVE_SYN): Likewise.
9938 (TCP_SAVED_SYN): Likewise.
9939
9940 2015-08-31 Brett Neumeier <brett@neumeier.us>
9941
9942 [BZ #18870]
9943 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9944
9945 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
9946
9947 [BZ #18873]
9948 Fix broken overflow check in posix_fallocate
9949 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9950 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9951 Fix parenthesization typo.
9952
9953 2015-08-28 Mike Frysinger <vapier@gentoo.org>
9954
9955 [BZ #18887]
9956 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9957 tst-mntent-blank-passno.
9958 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9959 * misc/tst-mntent-blank-corrupt.c: New test.
9960 * misc/tst-mntent-blank-passno.c: New test ripped from ...
9961 * misc/tst-mntent.c (do_test): ... here.
9962
9963 2015-08-29 Mike Frysinger <vapier@gentoo.org>
9964
9965 [BZ #4404]
9966 * po/de.po: Fix SIGALRM typo.
9967
9968 2015-08-28 James Perkins <james@loowit.net>
9969
9970 * time/tst-strptime2.c (tests): Replace short list of test
9971 strings for strptime %z specifier with code which exhaustively
9972 tests every combination of sign and 0 to 5 digits. Tests for
9973 rejection of invalid strings.
9974
9975 2015-08-28 James Perkins <james@loowit.net>
9976
9977 [BZ #16141]
9978 * time/strptime_l.c (__strptime_internal): Fix %z minutes
9979 calculation, removing incorrect decimal time rounding, so that
9980 all minute values result in a valid seconds value.
9981 * time/strptime_l.c (__strptime_internal): Extend %z time zone
9982 offset range limits to UTC-99:59 through UTC+99:59 to parse
9983 current and historical use cases.
9984 * time/tst-strptime2.c (tests): Modify and add tests for the
9985 strptime %z input field descriptor, specifically conversion of
9986 minutes to seconds and validating an offset range of -9959 to
9987 +9959.
9988
9989 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9990 Dmitry V. Levin <ldv@altlinux.org>
9991
9992 [BZ #18877]
9993 * posix/Makefile (tests): Add tst-mmap-offset.
9994 * posix/tst-mmap.c: New file.
9995 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9996 offset calculation for negative values.
9997
9998 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9999
10000 * sysdeps/i386/init-arch.h: New file.
10001 * sysdeps/i386/i586/init-arch.h: Likewise.
10002 * sysdeps/i386/i686/init-arch.h: Likewise.
10003 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10004 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
10005 * sysdeps/x86/cpu-features.h (bit_I586): New.
10006 (bit_I686): Likewise.
10007 (bit_CX8): Likewise.
10008 (bit_CMOV): Likewise.
10009 (index_CX8): Likewise.
10010 (index_CMOV): Likewise.
10011 (index_I586): Likewise.
10012 (index_I686): Likewise.
10013 (reg_CX8): Likewise.
10014 (reg_CMOV): Likewise.
10015 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10016 available at compile-time.
10017 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10018 available at compile-time.
10019 * sysdeps/x86/init-arch.h (USE_I586): New macro.
10020 (USE_I686): Likewise.
10021
10022 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/i386/bcopy.S: New file.
10025 * sysdeps/i386/bzero.S: Likewise.
10026 * sysdeps/i386/memcpy.S: Likewise.
10027 * sysdeps/i386/memmove.S: Likewise.
10028 * sysdeps/i386/mempcpy.S: Likewise.
10029 * sysdeps/i386/memset.S: Likewise.
10030 * sysdeps/i386/bzero.c: Removed.
10031 * sysdeps/i386/memset.c: Likewise.
10032 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10033 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10034 * sysdeps/i386/i586/memset_chk.S: Likewise.
10035 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10036 * sysdeps/i386/memcpy_chk.S: Here.
10037 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10038 * sysdeps/i386/memmove_chk.S: Here.
10039 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10040 * sysdeps/i386/mempcpy_chk.S: Likewise.
10041 * sysdeps/i386/i686/memset_chk.S: Moved to ...
10042 * sysdeps/i386/memset_chk.S: Likewise.
10043
10044 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
10045
10046 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10047 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10048 file, move DIAG_POP_NEEDS_COMMENT to end of file.
10049 * soft-fp/fmadf4.c: Ditto.
10050 * soft-fp/fmatf4.c: Ditto.
10051
10052 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * sysdeps/i386/i586/Implies: Removed.
10055 * sysdeps/i386/i686/Implies: Likewise.
10056
10057 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * sysdeps/i386/i486/strlen.S: Moved to ...
10060 * sysdeps/i386/strlen.S: Here.
10061
10062 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10063
10064 * sysdeps/i386/i486/strcat.S: Moved to ...
10065 * sysdeps/i386/strcat.S: Here.
10066
10067 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10068
10069 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10070 * sysdeps/i386/pthread_spin_trylock.S: Here.
10071 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10072 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10073
10074 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/i386/i486/string-inlines.c: Moved to ...
10077 * sysdeps/i386/string-inlines.c: Here.
10078
10079 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/i386/i486/htonl.S: Moved ...
10082 * sysdeps/i386/htonl.S: here.
10083
10084 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10087 * sysdeps/i386/bits/atomic.h: Here.
10088
10089 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 * sysdeps/i386/i486/Versions: Removed.
10092
10093 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
10094
10095 [BZ #2898]
10096 * misc/mktemp.c: Add mkdtemp to the link_warning message.
10097 Based on patch by Aurelien Jarno.
10098
10099 2015-08-26 Stan Shebs <stanshebs@google.com>
10100
10101 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10102 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10103
10104 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10105
10106 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10107 * sysdeps/powerpc/dl-procinfo.c:
10108 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10109 feature so it shows when LD_SHOW_AUXV=1.
10110
10111 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10112
10113 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10114 (__arch_compare_and_exchange_val_32_acq): Remove and use common
10115 definition. ISA 2.07B no longer requires full sync.
10116
10117 2015-08-26 Mike Frysinger <vapier@gentoo.org>
10118
10119 [BZ #18863]
10120 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10121 (si_call_addr): Define.
10122 (si_syscall): Define.
10123 (si_arch): Define.
10124
10125 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10128 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10129 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10130 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10131 (__memset_zero_constant_len_parameter): New.
10132 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10133 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10134 (__memset_zero_constant_len_parameter): Don't define if
10135 __memset_chk or USE_AS_BZERO are defined.
10136
10137 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10138 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10139 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10140
10141 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10142 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10143 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10144 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
10145 comments.
10146 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10147 -mno-mmx for $(all-rtld-routines).
10148 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10149 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
10150 i386.
10151
10152 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10153
10154 * sysdeps/generic/unwind.h
10155 (_Unwind_Word): Use __mode__(__unwind_word__)
10156 instead of __mode__(__word__).
10157 (_Unwind_Sword): Likewise.
10158
10159 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10160 (MAX_NEEDED_INPUT): New define.
10161 (MAX_NEEDED_OUTPUT): New define.
10162
10163 * NEWS: New item for IBM z13 string optimizations.
10164
10165 * sysdeps/s390/multiarch/memrchr-c.c: New File.
10166 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10167 * sysdeps/s390/multiarch/memrchr.c: Likewise.
10168 * sysdeps/s390/multiarch/Makefile
10169 (sysdep_routines): Add memrchr functions.
10170 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10171 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10172
10173 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10174 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10175 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10176 * sysdeps/s390/multiarch/Makefile
10177 (sysdep_routines): Add wmemcmp functions.
10178 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10179 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10180 * benchtests/bench-wmemcmp.c: New File.
10181 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10182
10183 * sysdeps/s390/multiarch/wmemset-c.c: New File.
10184 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10185 * sysdeps/s390/multiarch/wmemset.c: Likewise.
10186 * sysdeps/s390/multiarch/Makefile
10187 (sysdep_routines): Add wmemset functions.
10188 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10189 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10190 * wcsmbs/wmemset.c: Use WMEMSET if defined.
10191 * string/test-memset.c: Add wmemset support.
10192 * wcsmbs/test-wmemset.c: New File.
10193 * wcsmbs/Makefile (strop-tests): Add wmemset.
10194 * benchtests/bench-memset.c: Add wmemset support.
10195 * benchtests/bench-wmemset.c: New File.
10196 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10197
10198 * sysdeps/s390/multiarch/memccpy-c.c: New File.
10199 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10200 * sysdeps/s390/multiarch/memccpy.c: Likewise.
10201 * sysdeps/s390/multiarch/Makefile
10202 (sysdep_routines): Add memccpy functions.
10203 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10204 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10205 * string/memccpy.c: Use MEMCCPY if defined.
10206
10207 * sysdeps/s390/multiarch/memchr-vx.S: New File.
10208 * sysdeps/s390/multiarch/memchr.c: Likewise.
10209 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10210 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10211 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10212 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10213 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10214 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10215 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10216 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10217 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10218 and rawmemchr functions.
10219 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10220 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10221 and wmemchr.
10222 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10223 * string/test-memchr.c: Add wmemchr support.
10224 * wcsmbs/test-wmemchr.c: New File.
10225 * wcsmbs/Makefile (strop-tests): Add wmemchr.
10226 * benchtests/bench-memchr.c: Add wmemchr support.
10227 * benchtests/bench-wmemchr.c: New File.
10228 * benchtests/Makefile (wcsmbs-bench): wmemchr.
10229
10230 * sysdeps/s390/multiarch/strcspn-c.c: New File.
10231 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10232 * sysdeps/s390/multiarch/strcspn.c: Likewise.
10233 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10234 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10235 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10236 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10237 wcscspn functions.
10238 * sysdeps/s390/multiarch/ifunc-impl-list.c
10239 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10240 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10241 * string/test-strcspn.c: Add wcscspn support.
10242 * wcsmbs/test-wcscspn.c: New File.
10243 * wcsmbs/Makefile (strop-tests): Add wcscspn.
10244 * benchtests/bench-strcspn.c: Add wcscspn support.
10245 * benchtests/bench-wcscspn.c: New File.
10246 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10247
10248 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10249 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10250 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10251 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10252 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10253 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10254 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10255 wcspbrk functions.
10256 * sysdeps/s390/multiarch/ifunc-impl-list.c
10257 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10258 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10259 * string/test-strpbrk.c: Add wcspbrk support.
10260 * wcsmbs/test-wcspbrk.c: New File.
10261 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10262 * benchtests/bench-strpbrk.c: Add wcspbrk support.
10263 * benchtests/bench-wcspbrk.c: New File.
10264 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10265
10266 * sysdeps/s390/multiarch/strspn-c.c: New File.
10267 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10268 * sysdeps/s390/multiarch/strspn.c: Likewise.
10269 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10270 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10271 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10272 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10273 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10274 wcsspn functions.
10275 * sysdeps/s390/multiarch/ifunc-impl-list.c
10276 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10277 * string/test-strspn.c: Add wcsspn support.
10278 * wcsmbs/test-wcsspn.c: New File.
10279 * wcsmbs/Makefile (strop-tests): Add wcsspn.
10280 * benchtests/bench-strspn.c: Add wcsspn support.
10281 * benchtests/bench-wcsspn.c: New File.
10282 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10283
10284 * sysdeps/s390/multiarch/strrchr-c.c: New File.
10285 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10286 * sysdeps/s390/multiarch/strrchr.c: Likewise.
10287 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10288 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10289 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10291 wcsrchr functions.
10292 * sysdeps/s390/multiarch/ifunc-impl-list.c
10293 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10294 * benchtests/bench-wcsrchr.c: New File.
10295 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10296
10297 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10298 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10299 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10300 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10301 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10302 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10303 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10304 wcschrnul functions.
10305 * sysdeps/s390/multiarch/ifunc-impl-list.c
10306 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10307 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10308 * string/test-strchr.c: Add wcschrnul support.
10309 * wcsmbs/test-wcschrnul.c: New File.
10310 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10311 * benchtests/bench-strchr.c: Add wcschrnul support.
10312 * benchtests/bench-wcschrnul.c: New File.
10313 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10314
10315 * sysdeps/s390/multiarch/strchr-c.c: New File.
10316 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10317 * sysdeps/s390/multiarch/strchr.c: Likewise.
10318 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10319 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10320 * sysdeps/s390/multiarch/wcschr.c: Likewise.
10321 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10322 wcschr functions.
10323 * sysdeps/s390/multiarch/ifunc-impl-list.c
10324 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10325 * string/strchr.c (STRCHR): Define and use macro.
10326 * benchtests/bench-wcschr.c: New File.
10327 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10328
10329 * sysdeps/s390/multiarch/strncmp-c.c: New File.
10330 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10331 * sysdeps/s390/multiarch/strncmp.c: Likewise.
10332 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10333 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10334 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10335 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10336 wcsncmp functions.
10337 * sysdeps/s390/multiarch/ifunc-impl-list.c
10338 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10339 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10340 * benchtests/bench-strncmp.c: Add wcsncmp support.
10341 * benchtests/bench-wcsncmp.c: New File.
10342 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10343
10344 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10345 * sysdeps/s390/multiarch/strcmp.c: Likewise.
10346 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10347 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10348 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10349 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10350 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10351 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10352 wcscmp functions.
10353 * sysdeps/s390/multiarch/ifunc-impl-list.c
10354 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10355 * string/strcmp.c (STRCMP): Define and use macro.
10356 * benchtests/bench-wcscmp.c: New File.
10357 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10358 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10359 instead of _HAVE_STRING_ARCH_memchr.
10360
10361 * sysdeps/s390/multiarch/strncat-c.c: New File.
10362 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10363 * sysdeps/s390/multiarch/strncat.c: Likewise.
10364 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10365 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10366 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10367 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10368 wcsncat functions.
10369 * sysdeps/s390/multiarch/ifunc-impl-list.c
10370 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10371 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10372 * string/test-strncat.c: Add wcsncat support.
10373 * wcsmbs/test-wcsncat.c: New File.
10374 * wcsmbs/Makefile (strop-tests): Add wcsncat.
10375 * benchtests/bench-strncat.c: Add wcsncat support.
10376 * benchtests/bench-wcsncat.c: New File.
10377 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10378
10379 * sysdeps/s390/multiarch/strcat-c.c: New File.
10380 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10381 * sysdeps/s390/multiarch/strcat.c: Likewise.
10382 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10383 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10384 * sysdeps/s390/multiarch/wcscat.c: Likewise.
10385 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10386 wcscat functions.
10387 * sysdeps/s390/multiarch/ifunc-impl-list.c
10388 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10389 * string/strcat.c (STRCAT): Define and use macro.
10390 * wcsmbs/wcscat.c: Use WCSCAT if defined.
10391 * string/test-strcat.c: Add wcscat support.
10392 * wcsmbs/test-wcscat.c: New File.
10393 * wcsmbs/Makefile (strop-tests): Add wcscat.
10394 * benchtests/bench-strcat.c: Add wcscat support.
10395 * benchtests/bench-wcscat.c: New File.
10396 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10397
10398 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10399 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10400 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10401 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10402 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10403 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10404 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10405 wcpncpy functions.
10406 * sysdeps/s390/multiarch/ifunc-impl-list.c
10407 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10408 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10409 * string/test-stpncpy.c: Add wcpncpy support.
10410 * wcsmbs/test-wcpncpy.c: New File.
10411 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10412 * benchtests/bench-stpncpy.c: Add wcpncpy support.
10413 * benchtests/bench-wcpncpy.c: New File.
10414 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10415
10416 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10417 * sysdeps/s390/multiarch/strncpy.c: Likewise.
10418 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10419 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10420 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10421 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10422 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10423 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10424 wcsncpy functions.
10425 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10426 * sysdeps/s390/multiarch/ifunc-impl-list.c
10427 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10428 * string/test-strncpy.c: Add wcsncpy support.
10429 * wcsmbs/test-wcsncpy.c: New File.
10430 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10431 * benchtests/bench-strncpy.c: Add wcsncpy support.
10432 * benchtests/bench-wcsncpy.c: New File.
10433 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10434
10435 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10436 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10437 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10438 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10439 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10440 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10441 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10442 wcpcpy functions.
10443 * string/stpcpy.c: Use STPCPY if defined.
10444 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10445 * sysdeps/s390/multiarch/ifunc-impl-list.c
10446 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10447 * string/test-stpcpy.c: Add wcpcpy support.
10448 * wcsmbs/test-wcpcpy.c: New File.
10449 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10450 * benchtests/bench-stpcpy.c: Add wcpcpy support.
10451 * benchtests/bench-wcpcpy.c: New File.
10452 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10453
10454 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10455 * sysdeps/s390/multiarch/strcpy.c: Likewise.
10456 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10457 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10458 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10459 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10460 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10461 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10462 wcscpy functions.
10463 * sysdeps/s390/multiarch/ifunc-impl-list.c
10464 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10465 * benchtests/bench-wcscpy.c: New File.
10466 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10467
10468 * sysdeps/s390/multiarch/strnlen-c.c: New File.
10469 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10470 * sysdeps/s390/multiarch/strnlen.c: Likewise.
10471 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10472 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10473 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10474 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10475 wcsnlen functions.
10476 * sysdeps/s390/multiarch/ifunc-impl-list.c
10477 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10478 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10479 * string/test-strnlen.c: Add wcsnlen support.
10480 * wcsmbs/test-wcsnlen.c: New File.
10481 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10482 * benchtests/bench-strnlen.c: Add wcsnlen support.
10483 * benchtests/bench-wcsnlen.c: New File.
10484 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10485
10486 * sysdeps/s390/multiarch/Makefile: New File.
10487 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10488 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10489 * sysdeps/s390/multiarch/strlen.c: Likewise.
10490 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10491 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10492 * sysdeps/s390/multiarch/wcslen.c: Likewise.
10493 * string/strlen.c (STRLEN): Define and use macro.
10494 * sysdeps/s390/multiarch/ifunc-impl-list.c
10495 (IFUNC_VX_IMPL): New macro function.
10496 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10497 * benchtests/Makefile (wcsmbs-bench): New variable.
10498 (string-bench-all): Added wcsmbs-bench.
10499 * benchtests/bench-wcslen.c: New File.
10500
10501 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10502 s390_vx_libc_ifunc2): New macro function.
10503
10504 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10505 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10506 assembler support.
10507 * sysdeps/s390/configure: Regenerated.
10508
10509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10510 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10511
10512 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10513 * sysdeps/s390/dl-procinfo.h: Add vector capability.
10514 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10515
10516 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10517 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10519 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10520 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10521 (memcmp, bcmp): Use __memcmp_default as alias source.
10522 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10523 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10524 Rename to __memcmp_default.
10525 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10526 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10527 (memcpy): Use __memcpy_default as alias source.
10528 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10529 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10530 Rename to __memcpy_default.
10531 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10532 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10533 (memset): Use __memset_default as alias source.
10534 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10535 * sysdeps/s390/s390-32/memset.S (__memset_g5):
10536 Rename to __memset_default.
10537 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10538 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10540 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10541 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10542 (memcmp, bcmp): Use __memcmp_default as alias source.
10543 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10544 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10545 Rename to __memcmp_default.
10546 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10547 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10548 (memcpy): Use __memcpy_default as alias source.
10549 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10550 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10551 Rename to __memcpy_default.
10552 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10553 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10554 (memset): Use __memset_default as alias source.
10555 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10556 * sysdeps/s390/s390-64/memset.S (__memset_z900):
10557 Rename to __memset_default.
10558 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10559 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10560
10561 [BZ #18610]
10562 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10563 __ieee_instruction_pointer to __unused.
10564 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10565 __ieee_instruction_pointer.
10566 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10567 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10568 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10569 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10570 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10571 Mark dxc-field as reserved.
10572
10573 2015-08-25 Roland McGrath <roland@hack.frob.com>
10574
10575 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10576 if the weak reference is not null.
10577
10578 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
10579
10580 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10581
10582 [BZ #11214]
10583 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10584
10585 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10586
10587 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10588 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10589 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10590 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10591 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10592 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10593 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10594 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10595 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10596 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10597 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10598 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10599 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10600 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10601 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10602 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10603 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10604 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10605
10606 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10607
10608 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10609 register other than r0 for tabort, it has special meaning.
10610 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10611 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10612 transaction before starting syscall.
10613
10614 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10615
10616 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10617
10618 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
10619
10620 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10621
10622 * sysdeps/x86_64/rtld-memcmp.c: Removed.
10623 * sysdeps/x86_64/rtld-memset.S: Likewise.
10624 * sysdeps/x86_64/rtld-strchr.S: Likewise.
10625 * sysdeps/x86_64/rtld-strlen.S: Likewise.
10626 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10627 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10628
10629 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10630
10631 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
10632
10633 * debug/strcpy_chk.c: Improve performance.
10634 * debug/stpcpy_chk.c: Likewise.
10635 * sysdeps/x86_64/strcpy_chk.S: Remove.
10636 * sysdeps/x86_64/stpcpy_chk.S: Remove.
10637
10638 [BZ #18240]
10639 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10640
10641 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 [BZ #15128]
10644 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10645 ifuncmain8.
10646 (modules-names): Add ifuncmod8.
10647 ($(objpfx)ifuncmain8): New rule.
10648 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10649 <cpuid.h>.
10650 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10651 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10652 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10653 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10654 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10655 * sysdeps/x86_64/dl-trampoline.h: Likewise.
10656 * sysdeps/x86_64/ifuncmain8.c: New file.
10657 * sysdeps/x86_64/ifuncmod8.c: Likewise.
10658 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10659 Removed.
10660 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10661 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10662 Change rtld_savespace_sse to __glibc_unused2.
10663 (RTLD_CHECK_FOREIGN_CALL): Removed.
10664 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10665 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10666 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10667
10668 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10669
10670 * sysdeps/aarch64/bzero.S (__bzero): Remove.
10671
10672 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10673
10674 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10675 Unconditionally set __fpcr to avoid uninialized warning.
10676 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10677
10678 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10679
10680 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10681 is corrupt.
10682
10683 * malloc/arena.c (arena_get2): Drop unused argument.
10684 (arena_lock): Adjust.
10685 (arena_get_retry): Likewise.
10686
10687 2015-08-24 Andreas Schwab <schwab@suse.de>
10688
10689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10690 Don't define.
10691 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10692 (__ASSUME_IPC64): Don't undef.
10693 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10694 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10695 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10696 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10697 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10698 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10699 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10700 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10701 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10702 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10703 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10704 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10705 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10706 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10707 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10709 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10711 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10712 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10713 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10714
10715 2015-08-21 Mike Frysinger <vapier@gentoo.org>
10716
10717 * manual/Makefile (install): Only build manual when perl is available.
10718
10719 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10720
10721 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10722 '#undef memcpy' by '#undef memchr'.
10723
10724 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10725
10726 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10727 memchr not point to the internal __GI_memchr implementation.
10728
10729 2015-08-20 Joseph Myers <joseph@codesourcery.com>
10730
10731 * timezone/Makefile (CFLAGS-zdump.c): Remove
10732 -Wno-strict-prototypes.
10733 (CFLAGS-zic.c): Likewise.
10734 (CFLAGS-ialloc.c): Likewise.
10735 (CFLAGS-scheck.c): Likewise.
10736
10737 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10738 -Wno-error=undef.
10739
10740 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 * i386/i686/multiarch/strcasestr-c.c: Removed.
10743 * x86_64/multiarch/strcasestr.c: Likewise.
10744 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10745 Remove strcasestr.
10746
10747 2015-08-20 Joseph Myers <joseph@codesourcery.com>
10748
10749 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10750
10751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10752 variables for high and low parts before possibly modifying them.
10753
10754 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10757 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10758 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10759 of "multiarch/init-arch.h".
10760 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10761 * sysdeps/x86/init-arch.h: This.
10762
10763 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
10764
10765 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10766 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10767
10768 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
10769
10770 [BZ #17787]
10771 * manual/macros.texi: Add twoexp macro.
10772 * manual/filesys.texi: Fix exponents.
10773 * manual/llio.texi: Likewise.
10774 * manual/stdio.texi: Likewise.
10775
10776 2015-08-20 Florian Weimer <fweimer@redhat.com>
10777
10778 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10779 incorrect use.
10780
10781 2015-08-19 Joseph Myers <joseph@codesourcery.com>
10782
10783 [BZ #18370]
10784 * math/s_csqrt.c (__csqrt): Force underflow exception for results
10785 whose real or imaginary part has small absolute value.
10786 * math/s_csqrtf.c (__csqrtf): Likewise.
10787 * math/s_csqrtl.c (__csqrtl): Likewise.
10788 * math/auto-libm-test-in: Add more tests of csqrt.
10789 * math/auto-libm-test-out: Regenerated.
10790 * sysdeps/i386/fpu/libm-test-ulps: Update.
10791
10792 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10793
10794 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10795 __ppc_set_ppr_very_low): New functions.
10796 * manual/platform.texi: Add documentation about
10797 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10798
10799 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
10800
10801 * string/stpncpy.c (stpncpy): Improve performance using
10802 __strnlen/memcpy/memset.
10803
10804 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
10805
10806 [BZ #18796]
10807 * scripts/test-installation.pl: Don't add -lmvec to build options if
10808 libmvec wasn't built.
10809
10810 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
10811
10812 [BZ #14341]
10813 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10814 case when there is a gap between DT_REL and DT_JMPREL sections.
10815 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10816 (LDFLAGS-tst-split-dynreloc): New.
10817 (tst-split-dynreloc-ENV): Likewise.
10818 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10819 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10820
10821 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 [BZ #18822]
10824 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10825 attribute_hidden.
10826 (__xstat64_conv): Likewise.
10827 (__xstat32_conv): Likewise.
10828
10829 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 [BZ #18822]
10832 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10833 Don't load %ebx when calling __setcontext. Call __setcontext
10834 with HIDDEN_JUMPTARGET.
10835 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10836 libc_hidden_def.
10837
10838 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/i386/i686/Makefile
10841 [$(subdir) == string] (sysdep_routines): Moved to ...
10842 * sysdeps/i386/Makefile: Here.
10843 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10844 * sysdeps/i386/cacheinfo.c: Here.
10845 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10846 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10847 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10848 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10849
10850 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
10851
10852 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10853 __i586__ is defined.
10854 (HAS_I686): Defined to 1 if __i686__ is defined.
10855
10856 2015-08-19 Joseph Myers <joseph@codesourcery.com>
10857
10858 * elf/Makefile [$(have-z-execstack) = yes]
10859 (CPPFLAGS-tst-execstack.c): New variable.
10860
10861 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10862 conditional to [defined UTMPX || _HAVE_UT_TYPE].
10863 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10864 UTMPX || _HAVE_UT_TV].
10865 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10866 UTMPX || _HAVE_UT_TV - 0].
10867
10868 2015-08-18 Joseph Myers <joseph@codesourcery.com>
10869
10870 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10871 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10872 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10873
10874 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10875
10876 * sysdeps/powerpc/dl-procinfo.c:
10877 (_dl_powerpc_cap_flags): Added missing strings for some
10878 hwcap features.
10879 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10880
10881 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
10882
10883 Port the 0x7efe...feff pattern to GCC 6.
10884 See Steve Ellcey's bug report in:
10885 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10886 * string/memrchr.c (MEMRCHR):
10887 * string/rawmemchr.c (RAWMEMCHR):
10888 * string/strchr.c (strchr):
10889 * string/strchrnul.c (STRCHRNUL):
10890 Rewrite code to avoid issues with signed shift overflow.
10891
10892 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10895 whether cpuid is available only if HAS_CPUID is 0.
10896 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10897 (HAS_I586): Likewise.
10898 (HAS_I686): Likewise.
10899
10900 2015-08-18 Zack Weinberg <zackw@panix.com>
10901
10902 * misc/Versions (libc): Add GLIBC_2.23.
10903
10904 2015-08-18 Alan Modra <amodra@gmail.com>
10905
10906 [BZ #18421]
10907 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10908 .Lp__global.
10909 (_start): Load %dp via .Lp__global.
10910 [!SHARED]: Use .section .rodata.
10911
10912 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10913
10914 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10915 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10916
10917 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10918
10919 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10920 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10921
10922 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10923
10924 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10925 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10926
10927 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10928
10929 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10930 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10931
10932 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10933
10934 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10935 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10936
10937 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10938
10939 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10940 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10941
10942 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10943
10944 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10945
10946 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10947
10948 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10949 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
10950 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10951 (__ASSUME_LWS_CAS): Delete.
10952
10953 2015-08-18 Mike Frysinger <vapier@gentoo.org>
10954
10955 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10956 * sysdeps/hppa/configure: Regenerated.
10957 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10958 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10959 * sysdeps/hppa/nptl/tls.h: Likewise.
10960
10961 2015-08-17 Joseph Myers <joseph@codesourcery.com>
10962
10963 [BZ #18823]
10964 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10965 for scaling up small arguments.
10966 * math/s_csqrtf.c (__csqrtf): Likewise.
10967 * math/s_csqrtl.c (__csqrtl): Likewise.
10968 * math/auto-libm-test-in: Add more tests of csqrt.
10969 * math/auto-libm-test-out: Regenerated.
10970
10971 2015-08-17 Andreas Schwab <schwab@suse.de>
10972
10973 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10974 version set GLIBC_2.19.
10975
10976 2015-08-16 Zack Weinberg <zackw@panix.com>
10977
10978 [BZ #18681]
10979 * misc/regexp.h: This interface is no longer supported.
10980 Remove all contents, leaving only an #error directive.
10981 * misc/regexp.c (loc1, loc2, locs, step, advance):
10982 Demote to compatibility symbols.
10983
10984 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10985
10986 [BZ #18084]
10987 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10988 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10989 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10990 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10991 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10992 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10993 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10994 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10995 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10996
10997 2015-08-15 Zack Weinberg <zackw@panix.com>
10998
10999 [BZ #18795]
11000 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11001 buffer length is known to be too large, not if it's known to be
11002 small enough.
11003 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11004 overflow at runtime, involving a length parameter, twice: once
11005 with a compile-time constant length parameter, once without.
11006
11007 2015-08-14 Joseph Myers <joseph@codesourcery.com>
11008
11009 [BZ #18824]
11010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11011 scaling x * y up instead of down.
11012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11014 * math/auto-libm-test-in: Add more tests of fma.
11015 * math/auto-libm-test-out: Regenerated.
11016
11017 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11018
11019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11020
11021 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11022
11023 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11024 unnecessary movq.
11025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11026 Likewise.
11027
11028 2015-08-13 Joseph Myers <joseph@codesourcery.com>
11029
11030 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11031 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11032 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11033 and tgamma.
11034 * math/auto-libm-test-out: Regenerated.
11035 * sysdeps/i386/fpu/libm-test-ulps: Update.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037
11038 [BZ #16520]
11039 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11040 (__tanh): Force underflow exception for arguments with small
11041 absolute value.
11042 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11043 (__tanhf): Force underflow exception for arguments with small
11044 absolute value.
11045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11046 (__tanhl): Force underflow exception for arguments with small
11047 absolute value.
11048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11049 (__tanhl): Force underflow exception for arguments with small
11050 absolute value.
11051 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11052 (__tanhl): Force underflow exception for arguments with small
11053 absolute value.
11054 * math/auto-libm-test-in: Add more tests of tanh.
11055 * math/auto-libm-test-out: Regenerated.
11056 * sysdeps/i386/fpu/libm-test-ulps: Update.
11057
11058 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11061 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11062
11063 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11064
11065 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11066 <cpuid.h>.
11067
11068 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11069
11070 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11071 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11072
11073 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11076 Remove $(objpfx)init-arch.o.
11077 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11078 init-arch.
11079 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11080 (INIT_ARCH_EXT): Defined as empty.
11081 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11082 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11083 __init_cpu_features call. Replace HAS_XXX with
11084 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11090 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11091 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11092 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11093 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11094 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11096 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11097 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11102 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11103 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11104 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11105 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11106 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11107 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11108 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11109 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11110 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11111 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11112 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11113 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11114 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11115 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11116 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11117 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11118 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11119 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11120
11121 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11122
11123 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11124 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11125 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11126 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11127 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11129 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11130 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11131 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11132 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11133 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11134 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
11135 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11136 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11137 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11146 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11147 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11148 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11149 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11150 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11151 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11153 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11154 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11157 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11158 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11162 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11163 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11164 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11165 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11166
11167 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11170 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11172 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11173 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11175 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11176 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11180 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11181 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11182 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11183 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11185 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11186 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11187 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11190 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11191 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11192 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11193 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11194 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11195 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11196 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
11197 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11198 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11199 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11200 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11201 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11204 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11205 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11206 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11207 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11208 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11209 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11210 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11211 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11212
11213 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
11214
11215 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11216 (dl_platform_init): Call init_cpu_features.
11217 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11218 * sysdeps/i386/i686/cacheinfo.c
11219 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11220 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11221 * sysdeps/i386/i686/multiarch/Versions: Removed.
11222 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11223 Removed.
11224 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11225 * sysdeps/unix/sysv/linux/x86/Makefile
11226 (libpthread-sysdep_routines): Remove init-arch.
11227 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11228 <sysdeps/x86_64/dl-procinfo.c> instead of
11229 sysdeps/generic/dl-procinfo.c>.
11230 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11231 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11232 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11233 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11234 [$(subdir) == elf] (tests-static): Add
11235 tst-get-cpu-features-static.
11236 * sysdeps/x86/Versions: New file.
11237 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11238 * sysdeps/x86/cpu-features.c: Likewise.
11239 * sysdeps/x86/cpu-features.h: Likewise.
11240 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11241 * sysdeps/x86/libc-start.c: Likewise.
11242 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11243 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11244 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11245 * sysdeps/x86_64/dl-procinfo.c: Likewise.
11246 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11247 Assume USE_MULTIARCH is defined and don't check it.
11248 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11249 (is_amd): Likewise.
11250 (max_cpuid): Likewise.
11251 (intel_check_word): Likewise.
11252 (__cache_sysconf): Don't call __init_cpu_features.
11253 (__x86_preferred_memory_instruction): Removed.
11254 (init_cacheinfo): Don't call __init_cpu_features. Replace
11255 __cpu_features with GLRO(dl_x86_cpu_features).
11256 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11257 (dl_platform_init): Call init_cpu_features.
11258 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11259 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11260 * sysdeps/x86_64/multiarch/Versions: Removed.
11261 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11262 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11263 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11264 Removed.
11265 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11266
11267 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11268
11269 [BZ #18820]
11270 * libio/Makefile (test-fmemopen-mem): New test.
11271 * libio/test-fmemopen.c (do_bz18820): New test.
11272 * libio/fmemopen.c (__fmemopen): Fix memory leak.
11273 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11274
11275 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11276
11277 [BZ #16734]
11278 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11279 (FREE_BUF): Delete.
11280 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11281 * libio/genops.c (_IO_setb): Use malloc and free directly.
11282 (_IO_default_doallocate, _IO_default_finish): Likewise.
11283 ( _IO_unbuffer_all): Likewise.
11284 ( libc_freeres_fn): Likewise.
11285 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11286 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11287 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11288 (_IO_wdefault_doallocate): Likewise.
11289
11290 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11291
11292 [BZ #18086]
11293 * sysdeps/posix/nice.c (nice): Restore old errno.
11294 * posix/tst-nice.c (do_test): Add test for BZ #18086.
11295
11296 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
11297
11298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11299
11300 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11301
11302 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11303 __bcopy and add a weak_alias to bcopy.
11304 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11305 for static build.
11306
11307 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11308 cleanup macro usage.
11309 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11314 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11316 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11317 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11318 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11319 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11320 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11321 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11322 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11323 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11324 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11325 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11326 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11327 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11328
11329 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11330 libc_hidden_def.
11331 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11332
11333 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11334 (sysdep_routines): Add strstr-ppc64.
11335 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11336
11337 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
11338
11339 [BZ #18778]
11340 * elf/Makefile (tests): Add Add tst-nodelete2.
11341 (modules-names): Add tst-nodelete2mod.
11342 (tst-nodelete2mod.so-no-z-defs): New.
11343 ($(objpfx)tst-nodelete2): Likewise.
11344 ($(objpfx)tst-nodelete2.out): Likewise.
11345 (LDFLAGS-tst-nodelete2): Likewise.
11346 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11347 out of loop through all loaded libraries.
11348 * elf/tst-nodelete2.c: New file.
11349 * elf/tst-nodelete2mod.c: Likewise.
11350 * elf/tst-znodelete-zlib.cc: Delete.
11351
11352 2015-08-11 Andreas Schwab <schwab@suse.de>
11353
11354 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11356 (__openat64_nocancel): Likewise.
11357
11358 2015-08-11 Joseph Myers <joseph@codesourcery.com>
11359
11360 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11361 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11362 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11363 * math/auto-libm-test-out: Regenerated.
11364 * sysdeps/i386/fpu/libm-test-ulps: Update.
11365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11366
11367 2015-08-10 Joseph Myers <joseph@codesourcery.com>
11368
11369 [BZ #18790]
11370 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11371 threshold for returning +/- 1.
11372 * math/auto-libm-test-in: Add more tests of tanh.
11373 * math/auto-libm-test-out: Regenerated.
11374 * sysdeps/i386/fpu/libm-test-ulps: Update.
11375
11376 2015-08-10 Andreas Schwab <schwab@suse.de>
11377
11378 [BZ #18781]
11379 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11380 MORE_OFLAGS to oflag.
11381 * io/test-lfs.c (do_test): Test openat64.
11382
11383 2015-08-10 Joseph Myers <joseph@codesourcery.com>
11384
11385 [BZ #18789]
11386 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11387 smaller threshold for returning the argument.
11388 * math/auto-libm-test-in: Add more tests of sinh.
11389 * math/auto-libm-test-out: Regenerated.
11390 * sysdeps/i386/fpu/libm-test-ulps: Update.
11391
11392 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
11393
11394 [BZ #18674]
11395 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11396 break.
11397
11398 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
11399
11400 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11401 (generated): Don't add $(addprefix z.,$(tzfiles)).
11402
11403 2015-08-09 Mike Frysinger <vapier@gentoo.org>
11404
11405 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11406 * scripts/sysd-rules.awk: Likewise.
11407
11408 2015-08-09 Mike Frysinger <vapier@gentoo.org>
11409
11410 * iconvdata/tst-tables.sh: Change echo -n to printf.
11411 * nss/db-Makefile: Likewise.
11412 * posix/tst-getconf.sh: Likewise.
11413 * stdio-common/tst-unbputc.sh: Likewise.
11414
11415 2015-08-09 Mike Frysinger <vapier@gentoo.org>
11416
11417 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11418 MADV_*_PAGES defines behind this feature check.
11419
11420 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
11421
11422 [BZ #18480]
11423 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11424 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11425 Define.
11426 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11427 LOAD_REGS_5, LOAD_REGS_6): Update.
11428 (INTERNAL_SYSCALL): Update using new LOAD defines.
11429 (INTERNAL_SYSCALL_NCS): Likewise.
11430 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11431
11432 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11433
11434 [BZ #16734]
11435 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11436
11437 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11438
11439 [BZ #17905]
11440 * catgets/Makefile (tst-catgets-mem): New test.
11441 * catgets/catgets.c (catopen): Don't use unbounded alloca.
11442 * catgets/open_catalog.c (__open_catalog): Likewise.
11443 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11444
11445 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
11446
11447 [BZ #18787]
11448 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11449 clobber registers.
11450 (atomic_compare_and_exchange_val_acq): Use register asms to assign
11451 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
11452 Cast return to __typeof (oldval).
11453
11454 2015-08-08 Mike Frysinger <vapier@gentoo.org>
11455
11456 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11457 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
11458 and delete sys/syscall.h include.
11459
11460 2015-08-07 Joseph Myers <joseph@codesourcery.com>
11461
11462 [BZ #16517]
11463 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11464 (tan): Force underflow exception for arguments with small absolute
11465 value.
11466 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11467 (__kernel_tanf): Force underflow exception for arguments with
11468 small absolute value.
11469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11470 (__kernel_tanl): Force underflow exception for arguments with
11471 small absolute value.
11472 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11473 (__kernel_tanl): Force underflow exception for arguments with
11474 small absolute value.
11475 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11476 (__kernel_tanl): Force underflow exception for arguments with
11477 small absolute value.
11478 * math/auto-libm-test-in: Add more tests of tan.
11479 * math/auto-libm-test-out: Regenerated.
11480
11481 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11482
11483 Fix sysdeps/i386/fpu/s_scalbn.S build
11484
11485 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11486
11487 2015-08-07 Mike Frysinger <vapier@gentoo.org>
11488
11489 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11490
11491 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11492
11493 Fix gcrt0.o compilation
11494
11495 When static-start-installed-name is different from
11496 start-installed-name, we must not use the shared objects.
11497
11498 * csu/Makefile
11499 (extra-objs): Add gmon-start.o when building shared library and
11500 $(static-start-installed-name) is different from
11501 $(start-installed-name).
11502 $(objpfx)g$(static-start-installed-name): When building shared
11503 library and $(static-start-installed-name) is different from
11504 $(static-start-installed-name), revert to non-shared rule,
11505 i.e. using $(objpfx)% and gmon-start.o.
11506
11507 2015-08-06 Joseph Myers <joseph@codesourcery.com>
11508
11509 [BZ #16519]
11510 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11511 (__ieee754_sinh): Force underflow exception for arguments with
11512 small absolute value.
11513 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11514 (__ieee754_sinhf): Force underflow exception for arguments with
11515 small absolute value.
11516 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11517 (__ieee754_sinhl): Force underflow exception for arguments with
11518 small absolute value.
11519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11520 (__ieee754_sinhl): Force underflow exception for arguments with
11521 small absolute value.
11522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11523 (__ieee754_sinhl): Force underflow exception for arguments with
11524 small absolute value.
11525 * math/auto-libm-test-in: Add more tests of sinh.
11526 * math/auto-libm-test-out: Regenerated.
11527 * sysdeps/i386/fpu/libm-test-ulps: Update.
11528
11529 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11530
11531 * libio/oldfileops.c: Include unistd.h.
11532
11533 2015-08-06 Mike Frysinger <vapier@gentoo.org>
11534
11535 * stdlib/isomac.c: Include ctype.h.
11536
11537 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
11538
11539 * dirent/tst-seekdir.c (main): Converted to ...
11540 (do_test): ... this.
11541 (TEST_FUNCTION): New macro.
11542 Include test-skeleton.c.
11543 * elf/tst-dlmodcount.c (main): Converted to ...
11544 (do_test): ... this.
11545 (TEST_FUNCTION): New macro.
11546 Include test-skeleton.c.
11547 * elf/tst-order-main.c (main): Converted to ...
11548 (do_test): ... this.
11549 (TEST_FUNCTION): New macro.
11550 Include test-skeleton.c.
11551 * elf/tst-pie2.c (main): Converted to ...
11552 (do_test): ... this.
11553 (TEST_FUNCTION): New macro.
11554 Include test-skeleton.c.
11555 * inet/tst-ether_aton.c (main): Converted to ...
11556 (do_test): ... this.
11557 (TEST_FUNCTION): New macro.
11558 Include test-skeleton.c.
11559 * misc/tst-mntent.c (main): Converted to ...
11560 (do_test): ... this.
11561 (TEST_FUNCTION): New macro.
11562 Include test-skeleton.c.
11563 * misc/tst-tsearch.c (main): Converted to ...
11564 (do_test): ... this.
11565 (TEST_FUNCTION): New macro.
11566 Include test-skeleton.c.
11567 * posix/tst-regexloc.c (main): Converted to ...
11568 (do_test): ... this.
11569 (TEST_FUNCTION): New macro.
11570 Include test-skeleton.c.
11571 * resolv/tst-aton.c (main): Converted to ...
11572 (do_test): ... this.
11573 (TEST_FUNCTION): New macro.
11574 Include test-skeleton.c.
11575 * stdio-common/test-fwrite.c (main): Converted to ...
11576 (do_test): ... this.
11577 (TEST_FUNCTION): New macro.
11578 Include test-skeleton.c.
11579 * stdio-common/tst-ferror.c (main): Converted to ...
11580 (do_test): ... this.
11581 (TEST_FUNCTION): New macro.
11582 Include test-skeleton.c.
11583 * stdio-common/tst-printf.c (main): Converted to ...
11584 (do_test): ... this.
11585 (TEST_FUNCTION): New macro.
11586 Include test-skeleton.c.
11587 * stdio-common/tst-printfsz.c (main): Converted to ...
11588 (do_test): ... this.
11589 (TEST_FUNCTION): New macro.
11590 Include test-skeleton.c.
11591 * stdlib/tst-strtod.c (main): Converted to ...
11592 (do_test): ... this.
11593 (TEST_FUNCTION): New macro.
11594 Include test-skeleton.c.
11595 * string/tst-strlen.c (main): Converted to ...
11596 (do_test): ... this.
11597 (TEST_FUNCTION): New macro.
11598 Include test-skeleton.c.
11599 * string/tst-svc.c (main): Converted to ...
11600 (do_test): ... this.
11601 (TEST_FUNCTION): New macro.
11602 Include test-skeleton.c.
11603 * time/tst-strptime.c (main): Converted to ...
11604 (do_test): ... this.
11605 (TEST_FUNCTION): New macro.
11606 Include test-skeleton.c.
11607 * timezone/tst-timezone.c (main): Converted to ...
11608 (do_test): ... this.
11609 (TEST_FUNCTION): New macro.
11610 Include test-skeleton.c.
11611
11612 2015-08-05 Zack Weinberg <zackw@panix.com>
11613
11614 * misc/regexp.h: Update comments.
11615
11616 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
11617
11618 [BZ #18635]
11619 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11620 before return label.
11621
11622 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 [BZ #18661]
11625 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11626 when calling __errno_location.
11627 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11628 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11629
11630 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 [BZ #18661]
11633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11634 (__lll_timedwait_tid): Align stack to 16 bytes when calling
11635 __gettimeofday.
11636
11637 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 [BZ #18661]
11640 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11641 (__start_context): Don't use pop to restore %rdi so that stack
11642 is aligned to 16 bytes when calling __setcontext.
11643
11644 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
11645
11646 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11647 only for libc.
11648 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11649
11650 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
11651
11652 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11653 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
11654 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11655
11656 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
11657
11658 * string/memccpy.c (memccpy):
11659 Improve performance by using memchr/memcpy/__mempcpy.
11660
11661 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
11662
11663 * string/strncpy.c (strncpy):
11664 Improve performance by using __strnlen/memcpy.
11665
11666 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
11667
11668 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11669 Optimize to avoid an unnecessary FPCR read.
11670
11671 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
11672
11673 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11674 Optimize to reduce FPCR/FPSR accesses.
11675
11676 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
11677
11678 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11679 dead->data[category] != NULL.
11680
11681 2015-08-05 Joseph Myers <joseph@codesourcery.com>
11682
11683 [BZ #18647]
11684 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11685 and |x| close to 1, use absolute value of x when computing log.
11686 * math/auto-libm-test-in: Add more tests of pow.
11687 * math/auto-libm-test-out: Regenerated.
11688
11689 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11690
11691 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11692 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11693 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11694
11695 2015-08-05 Marko Myllynen <myllynen@redhat.com>
11696
11697 [BZ #18525]
11698 * locales/km_KH: Remove timezone definition.
11699 * locales/lo_LA: Likewise.
11700 * locales/my_MM: Likewise.
11701 * locales/nan_TW@latin: Likewise.
11702 * locales/th_TH: Likewise.
11703 * locales/uk_UA: Likewise.
11704
11705 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
11706
11707 [BZ #18265]
11708 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11709 (wcsncat): Likewise.
11710 (wcscmp): Likewise.
11711 (wcsncmp): Likewise.
11712
11713 2015-08-05 Mike Frysinger <vapier@gentoo.org>
11714
11715 * test-skeleton.c (usage): New function.
11716 (main): Call usage when opt is '?'.
11717
11718 2015-08-05 Mike Frysinger <vapier@gentoo.org>
11719
11720 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11721 before first use.
11722
11723 2015-08-05 Mike Frysinger <vapier@gentoo.org>
11724
11725 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11726 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
11727 in there too.
11728
11729 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
11730
11731 * version.h (RELEASE): Set to "development".
11732 (VERSION): Set to "2.22.90"
11733
11734 * version.h (RELEASE): Set to "stable".
11735 (VERSION): Set to "2.22"
11736 * include/features.h (__GLIBC_MINOR__): Set to 22.
11737
11738 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
11739
11740 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11741 Restructure macro to avoid "value computed is not used" warning.
11742 (atomic_compare_and_exchange_val_acq): Likewise.
11743
11744 2015-08-04 Andreas Schwab <schwab@suse.de>
11745
11746 [BZ #18635]
11747 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11748 ret.
11749 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11750
11751 2015-08-01 Carlos O'Donell <carlos@redhat.com>
11752
11753 * po/pl.po: Updated translation.
11754 * po/uk.po: Likewise.
11755 * po/fi.po: Likewise.
11756 * po/ko.po: Likewise.
11757 * po/ru.po: Likewise.
11758 * po/vi.po: Likewise.
11759
11760 2015-07-31 Zack Weinberg <zackw@panix.com>
11761
11762 [BZ #18681]
11763 * regexp.h: Add unconditional #warning stating that this header
11764 will be removed soon. Revise banner comment to match.
11765 (compile): Consistently use ERROR instead of RETURN to report
11766 errors (partial fix for bz#18681).
11767 * regexp.c: Don't include regexp.h. Remove some unnecessary
11768 declarations.
11769
11770 2015-07-31 Carlos O'Donell <carlos@redhat.com>
11771
11772 * po/libc.pot: Regenerated.
11773
11774 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
11775
11776 [BZ #18740]
11777 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11778 float-vlen4-arch-ext-cflags): Removed.
11779 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11780 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11781
11782 2015-07-30 Mike Frysinger <vapier@gentoo.org>
11783
11784 [BZ #14113]
11785 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11786 aligned to __aligned__.
11787 (pthread_cond_t, pthread_rwlock_t): Likewise.
11788
11789 2015-07-30 Torvald Riegel <triegel@redhat.com>
11790
11791 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11792
11793 2015-07-30 Mike Frysinger <vapier@gentoo.org>
11794
11795 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11796 (struct sigaction): Change sa_flags from a long to an int, and add
11797 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11798
11799 2015-07-30 Mike Frysinger <vapier@gentoo.org>
11800
11801 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11802 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11803 sysdeps/generic/sysdep.h include.
11804 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11805 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
11806 sysdeps/hppa/sysdep.h.
11807 (ENTRY, PSEUDO): Undefine before defining.
11808
11809 2015-07-30 Mike Frysinger <vapier@gentoo.org>
11810
11811 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11812 from scratch to use INTERNAL_SYSCALL.
11813
11814 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 [BZ #18078]
11817 * scripts/check-localplt.awk: Support alternate relocations.
11818 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11819 sections.
11820 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11821 malloc entries with + REL R_386_GLOB_DAT.
11822 * sysdeps/x86_64/localplt.data: New file.
11823
11824 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
11825
11826 [BZ #18731]
11827 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11828 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11829 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11830
11831 2015-07-27 Mike Frysinger <vapier@gentoo.org>
11832
11833 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11834
11835 2015-07-27 Mike Frysinger <vapier@gentoo.org>
11836
11837 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11838 directly in terms of __sync_fetch_and_add and delete (int) cast.
11839
11840 2015-07-27 Mike Frysinger <vapier@gentoo.org>
11841
11842 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11843 the -D_ASM_IA64_CURRENT_H flag.
11844
11845 2015-07-27 Mike Frysinger <vapier@gentoo.org>
11846
11847 [BZ #18641]
11848 * pwd/pwd.h (putpwent): Delete __nonnull markings.
11849
11850 2015-07-27 Andreas Schwab <schwab@suse.de>
11851
11852 * conform/conformtest.pl (checknamespace): Filter out string
11853 literals while tokenizing.
11854
11855 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
11856
11857 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11858 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11859 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11860
11861 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
11862
11863 * nptl/tst-join7mod.c: Add #include <string.h>.
11864
11865 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
11866
11867 * sysdeps/nios2/libm-test-ulps: Update.
11868
11869 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
11870
11871 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11872 Fix order of arguments to the rt_sigprocmask syscall.
11873 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11874 Likewise.
11875
11876 2015-07-24 Roland McGrath <roland@hack.frob.com>
11877
11878 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11879
11880 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11881
11882 [BZ #18457]
11883 * nptl/Makefile (tests): New test case tst-join7.
11884 (modules-names): New test case module tst-join7mod.
11885 * nptl/tst-join7.c: New file.
11886 * nptl/tst-join7mod.c: New file.
11887 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11888 all translation units in libc.so, libpthread.so and rtld.
11889
11890 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11891
11892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11893
11894 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
11895
11896 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11897 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11898 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11899 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11901 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11902 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11903 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11904 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11905 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11906 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11907 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11908 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11909 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11910 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11911 implementation.
11912
11913 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11914
11915 [BZ #17711]
11916 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11917 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11918 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11919 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11920 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11921 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11922
11923 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11924
11925 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11926 instead of just saying load lock in the comments.
11927
11928 2015-07-23 Roland McGrath <roland@hack.frob.com>
11929
11930 * sysdeps/unix/Subdirs: Moved ...
11931 * sysdeps/posix/Subdirs: ... here.
11932 * login/pty.h (struct termios, struct winsize): Add forward decls.
11933 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11934 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11935 * sysdeps/arm/nacl/libc.abilist: Updated.
11936 * sysdeps/nacl/libutil.abilist: New file.
11937
11938 * bits/signum.h: Update comments to mention 1003.1-2013 too.
11939 (SIGWINCH): New macro.
11940
11941 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11942 * sysdeps/arm/nacl/libc.abilist: Add it.
11943
11944 2015-07-23 Mike Frysinger <vapier@gentoo.org>
11945
11946 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11947
11948 2015-07-23 Mike Frysinger <vapier@gentoo.org>
11949
11950 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11951 Swap __glibc_reserved0 and sa_flags order.
11952
11953 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11954
11955 [BZ #18657]
11956 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11957 are pending TLS destructor calls.
11958 * include/link.h (struct link_map): Add concurrency note for
11959 L_TLS_DTOR_COUNT.
11960 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11961 Don't touch the link map flag. Atomically increment
11962 l_tls_dtor_count.
11963 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11964 Avoid taking the load lock and don't touch the link map flag.
11965 * stdlib/tst-tls-atexit-nodelete.c: New test case.
11966 * stdlib/Makefile (tests): Use it.
11967 * stdlib/tst-tls-atexit.c (do_test): dlopen
11968 tst-tls-atexit-lib.so again before dlclose. Add conditionals
11969 to allow tst-tls-atexit-nodelete test case to use it.
11970
11971 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11972
11973 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11974 to bits/types.h.
11975 (msgqnum_t): New typedef.
11976 (msglen_t): Likewise.
11977 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
11978 and msg_qbytes type to msglen_t.
11979
11980 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11981
11982 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11983 pad0 to __glibc_reserved0.
11984 (struct stat64): Likewise.
11985
11986 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11987
11988 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11989 Change sa_flags from a long to an int and add __glibc_reserved0 before
11990 it for padding.
11991
11992 2015-07-22 Mike Frysinger <vapier@gentoo.org>
11993
11994 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11995 anonymous by deleting "siginfo" name.
11996
11997 2015-07-21 Roland McGrath <roland@hack.frob.com>
11998
11999 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12000 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12001 rather than __nacl_irt_filename.
12002 * sysdeps/nacl/xstat.c (__xstat): Likewise.
12003
12004 * NEWS: New item for arm-nacl port.
12005 * sysdeps/arm/nacl/libc.abilist: New file.
12006 * sysdeps/nacl/ld.abilist: New file.
12007 * sysdeps/nacl/libBrokenLocale.abilist: New file.
12008 * sysdeps/nacl/libanl.abilist: New file.
12009 * sysdeps/nacl/libcrypt.abilist: New file.
12010 * sysdeps/nacl/libdl.abilist: New file.
12011 * sysdeps/nacl/libm.abilist: New file.
12012 * sysdeps/nacl/libpthread.abilist: New file.
12013 * sysdeps/nacl/libresolv.abilist: New file.
12014 * sysdeps/nacl/librt.abilist: New file.
12015
12016 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
12017
12018 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12019 __startcontext to initialize the new context.
12020 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12021 up CFI directive to forbid further backtracing.
12022
12023 2015-07-21 Marko Myllynen <myllynen@redhat.com>
12024
12025 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12026 reference.
12027 * charmaps/ANSI_X3.4-1968: Likewise.
12028 * charmaps/BS_4730: Likewise.
12029 * charmaps/BS_VIEWDATA: Likewise.
12030 * charmaps/CP1250: Likewise.
12031 * charmaps/CP1251: Likewise.
12032 * charmaps/CP1252: Likewise.
12033 * charmaps/CP1253: Likewise.
12034 * charmaps/CP1254: Likewise.
12035 * charmaps/CP1255: Likewise.
12036 * charmaps/CP1256: Likewise.
12037 * charmaps/CSN_369103: Likewise.
12038 * charmaps/EBCDIC-DK-NO: Likewise.
12039 * charmaps/GB_1988-80: Likewise.
12040 * charmaps/GREEK-CCITT: Likewise.
12041 * charmaps/GREEK7: Likewise.
12042 * charmaps/INIS-8: Likewise.
12043 * charmaps/ISIRI-3342: Likewise.
12044 * charmaps/ISO_2033-1983: Likewise.
12045 * charmaps/ISO_5427-EXT: Likewise.
12046 * locales/POSIX: Likewise.
12047 * locales/ar_SA: Likewise.
12048 * locales/be_BY: Likewise.
12049 * locales/be_BY@latin: Likewise.
12050 * locales/ca_ES: Likewise.
12051 * locales/cs_CZ: Likewise.
12052 * locales/da_DK: Likewise.
12053 * locales/de_BE: Likewise.
12054 * locales/de_CH: Likewise.
12055 * locales/de_LU: Likewise.
12056 * locales/en_AU: Likewise.
12057 * locales/en_BW: Likewise.
12058 * locales/en_CA: Likewise.
12059 * locales/en_DK: Likewise.
12060 * locales/en_GB: Likewise.
12061 * locales/en_IE: Likewise.
12062 * locales/en_NZ: Likewise.
12063 * locales/en_ZA: Likewise.
12064 * locales/en_ZW: Likewise.
12065 * locales/es_AR: Likewise.
12066 * locales/es_BO: Likewise.
12067 * locales/es_CL: Likewise.
12068 * locales/es_CO: Likewise.
12069 * locales/es_DO: Likewise.
12070 * locales/es_EC: Likewise.
12071 * locales/es_ES: Likewise.
12072 * locales/es_HN: Likewise.
12073 * locales/es_MX: Likewise.
12074 * locales/es_PA: Likewise.
12075 * locales/es_PE: Likewise.
12076 * locales/es_PY: Likewise.
12077 * locales/es_SV: Likewise.
12078 * locales/es_US: Likewise.
12079 * locales/es_UY: Likewise.
12080 * locales/es_VE: Likewise.
12081 * locales/et_EE: Likewise.
12082 * locales/fa_IR: Likewise.
12083 * locales/fo_FO: Likewise.
12084 * locales/fr_CA: Likewise.
12085 * locales/fr_CH: Likewise.
12086 * locales/gv_GB: Likewise.
12087 * locales/he_IL: Likewise.
12088 * locales/hr_HR: Likewise.
12089 * locales/id_ID: Likewise.
12090 * locales/is_IS: Likewise.
12091 * locales/it_CH: Likewise.
12092 * locales/iw_IL: Likewise.
12093 * locales/kl_GL: Likewise.
12094 * locales/ko_KR: Likewise.
12095 * locales/kw_GB: Likewise.
12096 * locales/lg_UG: Likewise.
12097 * locales/lt_LT: Likewise.
12098 * locales/lv_LV: Likewise.
12099 * locales/mi_NZ: Likewise.
12100 * locales/nhn_MX: Likewise.
12101 * locales/nl_BE: Likewise.
12102 * locales/pl_PL: Likewise.
12103 * locales/sk_SK: Likewise.
12104 * locales/sl_SI: Likewise.
12105 * locales/sv_FI: Likewise.
12106 * locales/tl_PH: Likewise.
12107 * locales/tr_TR: Likewise.
12108 * locales/vi_VN: Likewise.
12109
12110 2015-07-21 Khem Raj <raj.khem@gmail.com>
12111
12112 [BZ #17475]
12113 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12114 of tu_IN and bh_IN.
12115
12116 2015-07-21 Mike Frysinger <vapier@gentoo.org>
12117
12118 [BZ #18694]
12119 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12120 bits/wordsize.h.
12121 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12122
12123 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12126 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12127 (spawn_thread): New function.
12128 (load): Rename to reg_dtor_and_close. Move dlopen to...
12129 (do_test): ... here. Use IS_LOADED to test for its
12130 availability.
12131
12132 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
12133
12134 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12135
12136 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
12137
12138 [BZ #18696]
12139 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12140 si_addr_bnd.
12141 (si_lower): New.
12142 (si_upper): Likewise.
12143
12144 2015-07-16 David S. Miller <davem@davemloft.net>
12145
12146 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12147
12148 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12149
12150 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12151 buffer.
12152 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12153 fail output information.
12154
12155 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12156
12157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12158 and strstr-ppc64..
12159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12160 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12161 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12162 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12163 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12164
12165 2015-07-16 Mike Frysinger <vapier@gentoo.org>
12166
12167 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12168 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12169 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12170 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12171
12172 2015-07-16 Mike Frysinger <vapier@gentoo.org>
12173
12174 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12175 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12176 rtld_hidden_proto.
12177 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12178
12179 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12180
12181 * tst-nodelete-opened.c (do_test): Add comment to clarify how
12182 the test can fail.
12183
12184 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12185
12186 [BZ #18676]
12187 * elf/tst-nodelete-opened.c: New test case.
12188 * elf/tst-nodelete-opened-lib.c: New test case module.
12189 * elf/Makefile (tests, modules-names): Use them.
12190 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12191 early.
12192
12193 2015-07-15 David S. Miller <davem@davemloft.net>
12194
12195 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12196 futex-intenal.h
12197 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12198 * sysdeps/sparc/sparc64/Makefile: Likewise.
12199 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12200 Remove space from macro define.
12201 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12202
12203 2015-07-15 Pravin Satpute <psatpute@redhat.com>
12204
12205 [BZ #17475]
12206 * locale/iso-639.def: Update Bhili and Tulu language codes as
12207 per iso639-3.
12208
12209 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
12210
12211 * elf/tst-leaks1.c (main): Converted to ...
12212 (do_test): ... this.
12213 (TEST_FUNCTION): New macro.
12214 Include test-skeleton.c.
12215 * localedata/tst-langinfo.c (main): Converted to ...
12216 (do_test): ... this.
12217 (TEST_FUNCTION): New macro.
12218 Include test-skeleton.c.
12219 * math/test-fpucw.c (main): Converted to ...
12220 (do_test): ... this.
12221 (TEST_FUNCTION): New macro.
12222 Include test-skeleton.c.
12223 * math/test-tgmath.c (main): Converted to ...
12224 (do_test): ... this.
12225 (TEST_FUNCTION): New macro.
12226 Include test-skeleton.c.
12227 * math/test-tgmath2.c (main): Converted to ...
12228 (do_test): ... this.
12229 (TEST_FUNCTION): New macro.
12230 Include test-skeleton.c.
12231 * setjmp/tst-setjmp.c (main): Converted to ...
12232 (do_test): ... this.
12233 (TEST_FUNCTION): New macro.
12234 Include test-skeleton.c.
12235 * stdio-common/tst-sscanf.c (main): Converted to ...
12236 (do_test): ... this.
12237 (TEST_FUNCTION): New macro.
12238 Include test-skeleton.c.
12239 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12240 (do_test): ... this.
12241 (TEST_FUNCTION): New macro.
12242 Include test-skeleton.c.
12243
12244 * elf/tst-audit9.c (main): Converted to ...
12245 (do_test): ... this.
12246 (TEST_FUNCTION): New macro.
12247 Include test-skeleton.c.
12248
12249 2015-07-15 Mike Frysinger <vapier@gentoo.org>
12250
12251 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12252
12253 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12254
12255 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12256 New variable.
12257
12258 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12259
12260 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12261
12262 2015-07-14 Roland McGrath <roland@hack.frob.com>
12263
12264 * sysdeps/generic/dl-fileid.h: New file.
12265 * sysdeps/posix/dl-fileid.h: New file.
12266 * sysdeps/nacl/dl-fileid.h: New file.
12267 * include/link.h: Include <dl-fileid.h>.
12268 (struct link_map): Replace l_dev and l_ino with l_file_id.
12269 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12270 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
12271 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
12272
12273 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12274
12275 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12276
12277 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12278
12279 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12280 Add iff $CXX is set.
12281 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12282 Likewise.
12283 (tst-nodelete-zmodiff): Likewise.
12284 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12285
12286 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12287
12288 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12289
12290 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
12291
12292 * sysdeps/aarch64/fpu/math_private.h
12293 (define math_opt_barrier): Add AArch64 version.
12294 (math_force_eval): Likewise.
12295
12296 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
12297
12298 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12299
12300 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
12301
12302 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12303 %ld with %jd and cast to intmax_t.
12304 (do_test_length_zero): Likewise.
12305
12306 2015-07-10 Roland McGrath <roland@hack.frob.com>
12307
12308 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12309
12310 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
12311
12312 * sysdeps/tile/libm-test-ulps: Regenerated.
12313
12314 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12315 Comment out the whole function, not just its body.
12316
12317 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12318
12319 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12320 locks.
12321
12322 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12323
12324 2015-07-10 Torvald Riegel <triegel@redhat.com>
12325
12326 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12327 (sem_assume_only_signals_cause_futex_EINTR): Remove.
12328
12329 2015-07-10 Torvald Riegel <triegel@redhat.com>
12330
12331 * sysdeps/nptl/futex-internal.h: New file.
12332 * sysdeps/nacl/futex-internal.h: New file.
12333 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12334 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12335 error checking.
12336 (setxid_unmark_thread): Likewise.
12337 (__nptl_setxid): Likewise.
12338 (__wait_lookup_done): Likewise.
12339 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12340 * nptl/nptl-init.c (sighandler_setxid): Likewise.
12341 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12342 * nptl/pthread_once.c (clear_once_control): Likewise.
12343 (__pthread_once_slow): Likewise.
12344 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12345 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12346 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12347 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12348 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12349 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12350 Likewise.
12351 (__pthread_rwlock_rdlock): Likewise.
12352 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12353 Likewise.
12354 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12355 Likewise.
12356 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12357 Likewise.
12358 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12359 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12360 Likewise.
12361 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12362 __ASSUME_PRIVATE_FUTEX check.
12363 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12364 Check that shared futexes are supported.
12365 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12366 wrappers with error checking.
12367 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12368 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12369 * nptl/pthread_barrierattr_setpshared.c
12370 (pthread_barrierattr_setpshared): Check that shared futexes are
12371 supported.
12372 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12373 Likewise.
12374 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12375 Likewise.
12376 * nptl/sem_init.c (futex_private_if_supported): Remove.
12377 (__new_sem_init): Adapt and check that shared futexes are supported.
12378 * nptl/sem_open.c (sem_open): Likewise.
12379 * nptl/sem_post.c (futex_wake): Remove.
12380 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12381 (do_futex_wait): Use futex wrappers with error checking.
12382 * nptl/sem_wait.c: Include lowlevellock.h.
12383 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12384 Use futex_supports_pshared.
12385 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12386 Use futex wrappers with error checking.
12387 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12388 Likewise.
12389 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12390 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12391 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12392 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12393 (futex_wake): Likewise.
12394 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12395 (do_futex_wait): Use futex wrappers with error checking.
12396 (__new_sem_wait_slow): Update EINTR handling.
12397 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12398
12399 2015-07-09 Martin Sebor <msebor@redhat.com>
12400
12401 [BZ #18435]
12402 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12403 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12404 * nptl/Makefile (test-xfail-tst-once5): Define.
12405
12406 2015-07-09 Roland McGrath <roland@hack.frob.com>
12407
12408 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12409 * elf/dl-minimal.c: For readability, reorder some definitions and
12410 introduce more page breaks. Include <stdio.h>.
12411 (__libc_fatal): New function.
12412
12413 * include/unistd.h: Add rtld_hidden_proto for _exit.
12414 * posix/_exit.c: Add rtld_hidden_def.
12415 * sysdeps/mach/hurd/_exit.c: Likewise.
12416 * sysdeps/nacl/_exit.c: Likewise.
12417 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12418 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12419
12420 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
12421
12422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12423 bndmov encoding with zero displacement.
12424
12425 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
12426 H.J. Lu <hongjiu.lu@intel.com>
12427
12428 [BZ #18134]
12429 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12430 * sysdeps/i386/configure: Regenerated.
12431 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12432 (_dl_runtime_profile): Save and restore Intel MPX return bound
12433 registers when calling _dl_call_pltexit. Add
12434 PRESERVE_BND_REGS_PREFIX before return.
12435 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12436 (LRV_BND1_OFFSET): Likewise.
12437 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12438 lrv_bnd1.
12439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12440 typo in bndmov encoding.
12441 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12442 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
12443 branch instructions to preserve bounds.
12444
12445 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12446
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12448 [GLIBC_2.22]: Add fmemopen.
12449
12450 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
12451
12452 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12453 returns an error, also try to use host port from __mach_host_self for
12454 the __vm_wire call.
12455 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12456
12457 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12458
12459 [BZ #18400]
12460 [BZ #18648]
12461 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12462 Fix pr_uid and pr_gid members.
12463 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12464 definition to elf_greg_t.
12465
12466 2015-07-08 Roland McGrath <roland@hack.frob.com>
12467
12468 [BZ #18383]
12469 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12470 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12471 * sysdeps/arm/configure: Regenerated.
12472 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12473 (test-xfail-tst-tlsalign-static): Variable removed.
12474
12475 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12476 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12477 rather than explicit 'ln -s'.
12478
12479 * resolv/rpc/netdb.h: New file.
12480 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12481
12482 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12483
12484 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12485 length buffers.
12486 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12487 test-skeleton.c.
12488
12489 [BZ #6544]
12490 [BZ #11216]
12491 [BZ #12836]
12492 [BZ #13151]
12493 [BZ #13152]
12494 [BZ #14292]
12495 * include/stdio.h (fmemopen): Remove hidden prototype.
12496 (__fmemopen): Add new hidden prototype.
12497 * libio/Makefile: Add oldfmemopen object.
12498 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12499 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12500 compliance.
12501 * libio/oldfmemopen.c: New file: old fmemopen implementation for
12502 symbol compatibility.
12503 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12504 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12505 fmemopen.
12506 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12507 on append and read mode.
12508 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12509 fmemopen.
12510 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12511 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12512 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12513 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12514 Likewise.
12515 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12516 [GLIBC_2.22]: Likewise.
12517 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12518 Likewise.
12519 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12520 Likewise.
12521 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12522 [GLIBC_2.22]: Likewise.
12523 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12524 [GLIBC_2.22]: Likewise.
12525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12526 [GLIBC_2.22]: Likewise.
12527 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12528 [GLIBC_2.22]: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12530 [GLIBC_2.22]: Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12532 [GLIBC_2.22]: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12534 [GLIBC_2.22]: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12536 Likewise.
12537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12538 Likewise.
12539 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12541 [GLIBC_2.22]: Likewise.
12542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12543 [GLIBC_2.22]: Likewise.
12544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12545 [GLIBC_2.22]: Likewise.
12546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12547 [GLIBC_2.22]: Likewise.
12548 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12549 Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12553 Likewise.
12554 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12555 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12556
12557 2015-07-08 Carlos O'Donell <carlos@redhat.com>
12558
12559 [BZ #18643]
12560 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12561 IPV6_PATHMTU, and IPV6_DONTFRAG.
12562
12563 2015-07-08 Feng Gao <gfree.wind@gmail.com>
12564
12565 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12566 and _IO_UNBUFFERED.
12567 * libio/oldfileops.c: Likewise.
12568 * libio/wfileops.c: Likewise.
12569
12570 2015-07-08 Mike Frysinger <vapier@gentoo.org>
12571
12572 * nscd/selinux.c: Delete selinux/flask.h include.
12573
12574 2015-07-08 Mike Frysinger <vapier@gentoo.org>
12575
12576 [BZ #18641]
12577 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12578 (putpwent): Likewise.
12579 (getpwnam): Likewise.
12580 (getpwent_r): Likewise.
12581 (getpwuid_r): Likewise.
12582 (getpwnam_r): Likewise.
12583 (fgetpwent_r): Likewise.
12584
12585 2015-07-08 Carlos O'Donell <carlos@redhat.com>
12586
12587 [BZ #18557]
12588 * inet/rcmd.c (__validuser2_sa): Check user first to
12589 short-circuit host check.
12590
12591 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
12592 Mikhail Ilin <m.ilin@samsung.com>
12593
12594 [BZ #17833]
12595 * elf/Makefile (tests): Add tst-nodelete.
12596 (modules-names): Add tst-nodelete-uniquemod.
12597 (tst-nodelete-uniquemod.so-no-z-defs): New.
12598 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12599 (tst-nodelete-zmod.so-no-z-defs): Likewise.
12600 ($(objpfx)tst-nodelete): Likewise.
12601 ($(objpfx)tst-nodelete.out): Likewise.
12602 (LDFLAGS-tst-nodelete): Likewise.
12603 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12604 * elf/dl-close.c (_dl_close_worker): Add a parameter to
12605 implement forced object deletion.
12606 (_dl_close): Pass false to _dl_close_worker.
12607 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12608 * elf/tst-nodelete.cc: New file.
12609 * elf/tst-nodeletelib.cc: Likewise.
12610 * elf/tst-znodeletelib.cc: Likewise.
12611 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12612
12613 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12614
12615 [BZ #18508]
12616 * stdlib/Makefile ($(objpfx)tst-makecontext3):
12617 Depend on $(libdl).
12618 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12619 is not called infinitely times.
12620 (backtrace_helper): New function.
12621 (trace_arg): New struct.
12622 (st1): Enlarge stack size.
12623 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12624 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12625 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12626 Likewise.
12627
12628 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12629
12630 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12631
12632 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12633
12634 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12635 Include sys/types.h instead of bits/types.h.
12636 Remove inclusion of bits/wordsize.h.
12637
12638 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12641 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12642 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12643 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12644 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12645 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12646
12647 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
12648
12649 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12650 link-defines.sym.
12651 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12652 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12653 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12654 and LR_SIZE.
12655 * sysdeps/i386/link-defines.sym: New file.
12656
12657 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12660 (modules-names): Add tst-auditmod3a tst-auditmod3b.
12661 ($(objpfx)tst-audit3): New rule.
12662 ($(objpfx)tst-audit3.out): Likewise.
12663 * sysdeps/i386/tst-audit3.c: New file.
12664 * sysdeps/i386/tst-audit3.h: Likewise.
12665 * sysdeps/i386/tst-auditmod3a.c: Likewise.
12666 * sysdeps/i386/tst-auditmod3b.c: Likewise.
12667
12668 2015-07-07 Torvald Riegel <triegel@redhat.com>
12669
12670 [BZ #18633]
12671 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12672 pointer in C code.
12673 (__strcat_c): Likewise.
12674 (__strcat_g): Likewise.
12675
12676 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
12677
12678 [BZ #18592]
12679 * misc/sbrk.c: Set errno to ENOMEM on overflow.
12680
12681 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
12682
12683 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12684 New function. (__ieee754_sqrtf): New function.
12685 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12686 New function.
12687 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12688 New function.
12689
12690 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
12691
12692 * sysdeps/ieee754/support.c: Remove unused file.
12693
12694 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12695
12696 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12697 registers instead of d ones so the layout is kernel abi compatible.
12698 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12699 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12700 Likewise.
12701
12702 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12703
12704 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12705
12706 2015-07-01 Joseph Myers <joseph@codesourcery.com>
12707
12708 [BZ #18619]
12709 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12710 and return argument in case of subnormal argument.
12711
12712 2015-07-01 Martin Sebor <msebor@redhat.com>
12713
12714 [BZ #18435]
12715 * nptl/Makefile: Add tst-once5.cc.
12716 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12717 Remove macro redefinitions.
12718 * nptl/tst-once5.cc: New test.
12719
12720 2015-07-01 Joseph Myers <joseph@codesourcery.com>
12721
12722 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12723
12724 * sysdeps/arm/libm-test-ulps: Regenerated.
12725
12726 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12727 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12728
12729 2015-06-30 Torvald Riegel <triegel@redhat.com>
12730
12731 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12732 lll_lock_wait_private and lll_futex_wake probes.
12733
12734 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12735 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12736 Likewise.
12737 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12738 atomic_spin_nop.
12739 * sysdeps/x86_64/bits/atomic.h: Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12741 to atomic_spin_nop and move ...
12742 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12743 ... here and ...
12744 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12745 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12746 atomic_spin_nop instead of BUSY_WAIT_NOP.
12747 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12748 Likewise.
12749 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12750 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12751 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12752 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12753 instead of atomic_delay.
12754
12755 2015-06-29 Joseph Myers <joseph@codesourcery.com>
12756
12757 [BZ #18613]
12758 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12759 X_ADJ not X when adjusting exponent.
12760 (__ieee754_gamma_r): Do intermediate computations in
12761 round-to-nearest then adjust overflowing and underflowing results
12762 as needed.
12763 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12764 of X_ADJ not X when adjusting exponent.
12765 (__ieee754_gammaf_r): Do intermediate computations in
12766 round-to-nearest then adjust overflowing and underflowing results
12767 as needed.
12768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12769 log of X_ADJ not X when adjusting exponent.
12770 (__ieee754_gammal_r): Do intermediate computations in
12771 round-to-nearest then adjust overflowing and underflowing results
12772 as needed. Use 1.0L not 1.0f as numerator of division.
12773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12774 log of X_ADJ not X when adjusting exponent.
12775 (__ieee754_gammal_r): Do intermediate computations in
12776 round-to-nearest then adjust overflowing and underflowing results
12777 as needed. Use 1.0L not 1.0f as numerator of division.
12778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12779 of X_ADJ not X when adjusting exponent.
12780 (__ieee754_gammal_r): Do intermediate computations in
12781 round-to-nearest then adjust overflowing and underflowing results
12782 as needed. Use 1.0L not 1.0f as numerator of division.
12783 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
12784 to auto-libm-test-in.
12785 (tgamma_test): Use ALL_RM_TEST.
12786 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
12787 tests of tgamma with spurious-overflow.
12788 * math/auto-libm-test-out: Regenerated.
12789 * math/gen-libm-have-vector-test.sh: Do not check for START.
12790 * sysdeps/i386/fpu/libm-test-ulps: Update.
12791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12792
12793 [BZ #18612]
12794 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12795 arguments, just return 0.5 times the argument, with underflow
12796 forced as needed.
12797 * math/auto-libm-test-in: Add more tests of j1.
12798 * math/auto-libm-test-out: Regenerated.
12799
12800 [BZ #16559]
12801 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12802 (__ieee754_j1): Force underflow exception for small results.
12803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12804 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12805 (__ieee754_j1f): Force underflow exception for small results.
12806 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12807 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12809 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12810 (__ieee754_j1l): Force underflow exception for small results.
12811 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12812 * math/auto-libm-test-in: Add more tests of j1 and jn.
12813 * math/auto-libm-test-out: Regenerated.
12814
12815 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12817 (PF_MPLS): Likewise.
12818 (AF_IB): Likewise.
12819 (AF_MPLS): Likewise.
12820 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12821 value and macro.
12822 (MS_RMT_MASK): Include MS_LAZYTIME.
12823
12824 2015-06-26 Mel Gorman <mgorman@suse.de>
12825
12826 [BZ #18502]
12827 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12828 already minimal.
12829
12830 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
12831
12832 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12833 (DT_MIPS_NUM): Update.
12834 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12835 DT_MIPS_RLD_MAP_REL.
12836
12837 2015-06-25 Joseph Myers <joseph@codesourcery.com>
12838
12839 [BZ #16559]
12840 [BZ #18602]
12841 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12842 round-to-nearest internally then recompute results that
12843 underflowed to zero in the original rounding mode.
12844 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12845 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12848 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12849 * sysdeps/i386/fpu/libm-test-ulps: Update.
12850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12851
12852 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
12853
12854 * NEWS: Fixed description of link with vector math library.
12855
12856 2015-06-25 Andreas Schwab <schwab@suse.de>
12857
12858 [BZ #18549]
12859 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12860 * libio/test-fmemopen.c (do_test): Add test for it.
12861
12862 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 [BZ #17841]
12865 * Makeconfig (no-pie-ldflag): New.
12866 (+link): Set to $(+link-pie) if default to PIE.
12867 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12868 * config.make.in (build-pie-default): New.
12869 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
12870 is default. AC_SUBST.
12871 * configure: Regenerated.
12872 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12873
12874 2015-06-24 Roland McGrath <roland@hack.frob.com>
12875
12876 * nptl/descr.h (struct pthread): Change type of field setxid_futex
12877 to 'unsigned int'.
12878
12879 * resolv/gai_misc.h (struct waitlist): Change type of field
12880 counterp to 'volatile unsigned int *'.
12881 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12882 FUTEXADDR and OLDVAL.
12883 * resolv/getaddrinfo_a.c (getaddrinfo_a):
12884 Give local variable TOTAL type 'volatile unsigned int'.
12885 (struct async_waitlist): Change type of field counter to 'unsigned int'.
12886 * resolv/gai_suspend.c (gai_suspend):
12887 Give local variable CNTR type 'unsigned int'.
12888
12889 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12890 counterp to 'volatile unsigned int *'.
12891 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12892 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12893 (aio_suspend): Give local variable CNTR type 'unsigned int'.
12894 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12895 Give local variable TOTAL type 'volatile unsigned int'.
12896 (struct async_waitlist): Change type of field counter to 'unsigned int'.
12897
12898 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 [BZ #18383]
12901 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12902 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
12903 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12904 comment for i386/x86-64.
12905 (test-xfail-tst-tlsalign-extern-static): Removed.
12906
12907 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12908
12909 * math/test-double.h: New file.
12910 * math/test-float.h: Likewise.
12911 * math/test-ldouble.h: Likewise.
12912 * math/test-math-inline.h: Likewise.
12913 * math/test-math-no-inline.h: Likewise.
12914 * math/test-math-scalar.h: Likewise.
12915 * math/test-math-vector.h: Likewise.
12916 * math/test-vec-loop.h: Remove file. Contents moved into
12917 test-math-vector.h.
12918 * math/libm-test.inc (MATHCONST): Do not document macro.
12919 * math/test-double.c: Include test-double.h, test-math-no-inline.h
12920 and test-math-scalar.h.
12921 (FUNC): Remove macro.
12922 (FUNC_TEST): Likewise.
12923 (FLOAT): Likewise.
12924 (MATHCONST): Likewise.
12925 (PRINTF_EXPR): Likewise.
12926 (PRINTF_XEXPR): Likewise.
12927 (PRINTF_NEXPR): Likewise.
12928 (TEST_DOUBLE): Likewise.
12929 (TEST_MATHVEC): Likewise.
12930 (__NO_MATH_INLINES): Likewise.
12931 * math/test-float.c: Include test-float.h, test-math-no-inline.h
12932 and test-math-scalar.h.
12933 (FUNC): Remove macro.
12934 (FUNC_TEST): Likewise.
12935 (FLOAT): Likewise.
12936 (MATHCONST): Likewise.
12937 (PRINTF_EXPR): Likewise.
12938 (PRINTF_XEXPR): Likewise.
12939 (PRINTF_NEXPR): Likewise.
12940 (TEST_FLOAT): Likewise.
12941 (TEST_MATHVEC): Likewise.
12942 (__NO_MATH_INLINES): Likewise.
12943 * math/test-idouble.c: Include test-double.h, test-math-inline.h
12944 and test-math-scalar.h.
12945 (FUNC): Remove macro.
12946 (FUNC_TEST): Likewise.
12947 (FLOAT): Likewise.
12948 (MATHCONST): Likewise.
12949 (PRINTF_EXPR): Likewise.
12950 (PRINTF_XEXPR): Likewise.
12951 (PRINTF_NEXPR): Likewise.
12952 (TEST_DOUBLE): Likewise.
12953 (TEST_MATHVEC): Likewise.
12954 (TEST_INLINE): Likewise.
12955 (__NO_MATH_INLINES): Likewise.
12956 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12957 test-math-scalar.h.
12958 (FUNC): Remove macro.
12959 (FUNC_TEST): Likewise.
12960 (FLOAT): Likewise.
12961 (MATHCONST): Likewise.
12962 (PRINTF_EXPR): Likewise.
12963 (PRINTF_XEXPR): Likewise.
12964 (PRINTF_NEXPR): Likewise.
12965 (TEST_FLOAT): Likewise.
12966 (TEST_MATHVEC): Likewise.
12967 (TEST_INLINE): Likewise.
12968 (__NO_MATH_INLINES): Likewise.
12969 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12970 and test-math-scalar.h.
12971 (FUNC): Remove macro.
12972 (FUNC_TEST): Likewise.
12973 (FLOAT): Likewise.
12974 (MATHCONST): Likewise.
12975 (PRINTF_EXPR): Likewise.
12976 (PRINTF_XEXPR): Likewise.
12977 (PRINTF_NEXPR): Likewise.
12978 (TEST_LDOUBLE): Likewise.
12979 (TEST_MATHVEC): Likewise.
12980 (TEST_INLINE): Likewise.
12981 (__NO_MATH_INLINES): Likewise.
12982 * math/test-ldouble.c: Include test-ldouble.h,
12983 test-math-no-inline.h and test-math-scalar.h.
12984 (FUNC): Remove macro.
12985 (FUNC_TEST): Likewise.
12986 (FLOAT): Likewise.
12987 (MATHCONST): Likewise.
12988 (PRINTF_EXPR): Likewise.
12989 (PRINTF_XEXPR): Likewise.
12990 (PRINTF_NEXPR): Likewise.
12991 (TEST_LDOUBLE): Likewise.
12992 (TEST_MATHVEC): Likewise.
12993 (__NO_MATH_INLINES): Likewise.
12994 * math/test-double-vlen2.h: Include test-double.h,
12995 test-math-no-inline.h and test-math-vector.h.
12996 (FLOAT): Remove macro.
12997 (FUNC): Likewise.
12998 (MATHCONST): Likewise.
12999 (PRINTF_EXPR): Likewise.
13000 (PRINTF_XEXPR): Likewise.
13001 (PRINTF_NEXPR): Likewise.
13002 (TEST_DOUBLE): Likewise.
13003 (TEST_MATHVEC): Likewise.
13004 (__NO_MATH_INLINES): Likewise.
13005 (CNCT): Likewise.
13006 (CONCAT): Likewise.
13007 (WRAPPER_NAME): Likewise.
13008 (WRAPPER_DECL): Likewise.
13009 (WRAPPER_DECL_ff): Likewise.
13010 (WRAPPER_DECL_fFF): Likewise.
13011 (VECTOR_WRAPPER): Likewise.
13012 (VECTOR_WRAPPER_ff): Likewise.
13013 (VECTOR_WRAPPER_fFF): Likewise.
13014 (VEC_LEN): New macro.
13015 * math/test-double-vlen4.h: Include test-double.h,
13016 test-math-no-inline.h and test-math-vector.h.
13017 (FLOAT): Remove macro.
13018 (FUNC): Likewise.
13019 (MATHCONST): Likewise.
13020 (PRINTF_EXPR): Likewise.
13021 (PRINTF_XEXPR): Likewise.
13022 (PRINTF_NEXPR): Likewise.
13023 (TEST_DOUBLE): Likewise.
13024 (TEST_MATHVEC): Likewise.
13025 (__NO_MATH_INLINES): Likewise.
13026 (CNCT): Likewise.
13027 (CONCAT): Likewise.
13028 (WRAPPER_NAME): Likewise.
13029 (WRAPPER_DECL): Likewise.
13030 (WRAPPER_DECL_ff): Likewise.
13031 (WRAPPER_DECL_fFF): Likewise.
13032 (VECTOR_WRAPPER): Likewise.
13033 (VECTOR_WRAPPER_ff): Likewise.
13034 (VECTOR_WRAPPER_fFF): Likewise.
13035 (VEC_LEN): New macro.
13036 * math/test-double-vlen8.h: Include test-double.h,
13037 test-math-no-inline.h and test-math-vector.h.
13038 (FLOAT): Remove macro.
13039 (FUNC): Likewise.
13040 (MATHCONST): Likewise.
13041 (PRINTF_EXPR): Likewise.
13042 (PRINTF_XEXPR): Likewise.
13043 (PRINTF_NEXPR): Likewise.
13044 (TEST_DOUBLE): Likewise.
13045 (TEST_MATHVEC): Likewise.
13046 (__NO_MATH_INLINES): Likewise.
13047 (CNCT): Likewise.
13048 (CONCAT): Likewise.
13049 (WRAPPER_NAME): Likewise.
13050 (WRAPPER_DECL): Likewise.
13051 (WRAPPER_DECL_ff): Likewise.
13052 (WRAPPER_DECL_fFF): Likewise.
13053 (VECTOR_WRAPPER): Likewise.
13054 (VECTOR_WRAPPER_ff): Likewise.
13055 (VECTOR_WRAPPER_fFF): Likewise.
13056 (VEC_LEN): New macro.
13057 * math/test-float-vlen4.h: Include test-float.h,
13058 test-math-no-inline.h and test-math-vector.h.
13059 (FLOAT): Remove macro.
13060 (FUNC): Likewise.
13061 (MATHCONST): Likewise.
13062 (PRINTF_EXPR): Likewise.
13063 (PRINTF_XEXPR): Likewise.
13064 (PRINTF_NEXPR): Likewise.
13065 (TEST_FLOAT): Likewise.
13066 (TEST_MATHVEC): Likewise.
13067 (__NO_MATH_INLINES): Likewise.
13068 (CNCT): Likewise.
13069 (CONCAT): Likewise.
13070 (WRAPPER_NAME): Likewise.
13071 (WRAPPER_DECL): Likewise.
13072 (WRAPPER_DECL_ff): Likewise.
13073 (WRAPPER_DECL_fFF): Likewise.
13074 (VECTOR_WRAPPER): Likewise.
13075 (VECTOR_WRAPPER_ff): Likewise.
13076 (VECTOR_WRAPPER_fFF): Likewise.
13077 (VEC_LEN): New macro.
13078 * math/test-float-vlen8.h: Include test-float.h,
13079 test-math-no-inline.h and test-math-vector.h.
13080 (FLOAT): Remove macro.
13081 (FUNC): Likewise.
13082 (MATHCONST): Likewise.
13083 (PRINTF_EXPR): Likewise.
13084 (PRINTF_XEXPR): Likewise.
13085 (PRINTF_NEXPR): Likewise.
13086 (TEST_FLOAT): Likewise.
13087 (TEST_MATHVEC): Likewise.
13088 (__NO_MATH_INLINES): Likewise.
13089 (CNCT): Likewise.
13090 (CONCAT): Likewise.
13091 (WRAPPER_NAME): Likewise.
13092 (WRAPPER_DECL): Likewise.
13093 (WRAPPER_DECL_ff): Likewise.
13094 (WRAPPER_DECL_fFF): Likewise.
13095 (VECTOR_WRAPPER): Likewise.
13096 (VECTOR_WRAPPER_ff): Likewise.
13097 (VECTOR_WRAPPER_fFF): Likewise.
13098 (VEC_LEN): New macro.
13099 * math/test-float-vlen16.h: Include test-float.h,
13100 test-math-no-inline.h and test-math-vector.h.
13101 (FLOAT): Remove macro.
13102 (FUNC): Likewise.
13103 (MATHCONST): Likewise.
13104 (PRINTF_EXPR): Likewise.
13105 (PRINTF_XEXPR): Likewise.
13106 (PRINTF_NEXPR): Likewise.
13107 (TEST_FLOAT): Likewise.
13108 (TEST_MATHVEC): Likewise.
13109 (__NO_MATH_INLINES): Likewise.
13110 (CNCT): Likewise.
13111 (CONCAT): Likewise.
13112 (WRAPPER_NAME): Likewise.
13113 (WRAPPER_DECL): Likewise.
13114 (WRAPPER_DECL_ff): Likewise.
13115 (WRAPPER_DECL_fFF): Likewise.
13116 (VECTOR_WRAPPER): Likewise.
13117 (VECTOR_WRAPPER_ff): Likewise.
13118 (VECTOR_WRAPPER_fFF): Likewise.
13119 (VEC_LEN): New macro.
13120 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13121 test-vec-loop.h.
13122 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13123 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13124 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13125 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13126 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13127 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13128 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13129
13130 2015-06-24 Roland McGrath <roland@hack.frob.com>
13131
13132 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13133 (__getlogin_r): ... this.
13134
13135 2015-06-24 Joseph Myers <joseph@codesourcery.com>
13136
13137 [BZ #18594]
13138 * math/s_ccosh.c (__ccosh): Compare with least normal value
13139 instead of comparing class with FP_SUBNORMAL.
13140 * math/s_ccoshf.c (__ccoshf): Likewise.
13141 * math/s_ccoshl.c (__ccoshl): Likewise.
13142 * math/s_cexp.c (__cexp): Likewise.
13143 * math/s_cexpf.c (__cexpf): Likewise.
13144 * math/s_cexpl.c (__cexpl): Likewise.
13145 * math/s_csin.c (__csin): Likewise.
13146 * math/s_csinf.c (__csinf): Likewise.
13147 * math/s_csinh.c (__csinh): Likewise.
13148 * math/s_csinhf.c (__csinhf): Likewise.
13149 * math/s_csinhl.c (__csinhl): Likewise.
13150 * math/s_csinl.c (__csinl): Likewise.
13151 * math/s_ctan.c (__ctan): Likewise.
13152 * math/s_ctanf.c (__ctanf): Likewise.
13153 * math/s_ctanh.c (__ctanh): Likewise.
13154 * math/s_ctanhf.c (__ctanhf): Likewise.
13155 * math/s_ctanhl.c (__ctanhl): Likewise.
13156 * math/s_ctanl.c (__ctanl): Likewise.
13157 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13158 csin, csinh, ctan and ctanh.
13159 * math/auto-libm-test-out: Regenerated.
13160 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13161 * sysdeps/i386/fpu/libm-test-ulps: Update.
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13163
13164 2015-06-24 Roland McGrath <roland@hack.frob.com>
13165
13166 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13167 return value is wrong, print the expected value too.
13168
13169 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 [BZ #18585]
13172 * elf/readlib.c (is_gdb_python_file): New.
13173 (process_file): Don't issue errors on filenames with -gdb.py
13174 suffix.
13175
13176 2015-06-24 Joseph Myers <joseph@codesourcery.com>
13177
13178 * math/auto-libm-test-in: Add more tests of csin and csinh.
13179 * math/auto-libm-test-out: Regenerated.
13180 * math/libm-test.inc (csin_test_data): Remove tests moved to
13181 auto-libm-test-in.
13182 (csinh_test_data): Likewise.
13183
13184 [BZ #18593]
13185 * math/s_csin.c (__csin): Negate before rather than after possibly
13186 overflowing multiplication.
13187 * math/s_csinf.c (__csinf): Likewise.
13188 * math/s_csinh.c (__csinh): Likewise.
13189 * math/s_csinhf.c (__csinhf): Likewise.
13190 * math/s_csinhl.c (__csinhl): Likewise.
13191 * math/s_csinl.c (__csinl): Likewise.
13192 * math/auto-libm-test-in: Add some tests of csin and csinh.
13193 * math/auto-libm-test-out: Regenerated.
13194 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13195 (csinh_test_data): Likewise.
13196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13197
13198 [BZ #18586]
13199 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13200 underflow exception for small results.
13201
13202 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
13203
13204 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13205 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13206 variable and included header.
13207 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13208 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13209 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13210 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13212 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13213 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13214 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13215 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13216 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13217 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13218 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13219 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13220 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13221 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13222 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13223
13224 2015-06-23 Joseph Myers <joseph@codesourcery.com>
13225
13226 [BZ #16526]
13227 [BZ #16538]
13228 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13229 (__sin): Force underflow exception for arguments with small
13230 absolute value.
13231 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13232 (__kernel_sinf): Force underflow exception for arguments with
13233 small absolute value.
13234 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13235 (__kernel_sincosl): Force underflow exception for arguments with
13236 small absolute value.
13237 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13238 (__kernel_sinl): Force underflow exception for arguments with
13239 small absolute value.
13240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13241 (__kernel_sincosl): Force underflow exception for arguments with
13242 small absolute value.
13243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13244 (__kernel_sinl): Force underflow exception for arguments with
13245 small absolute value.
13246 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13247 (__kernel_sinl): Force underflow exception for arguments with
13248 small absolute value.
13249 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13250 (__kernel_sinf): Force underflow exception for arguments with
13251 small absolute value.
13252 * math/auto-libm-test-in: Add more tests of sin and sincos.
13253 * math/auto-libm-test-out: Regenerated.
13254
13255 [BZ #18245]
13256 [BZ #18583]
13257 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13258 (__kernel_standard_l): Use feholdexcept and fesetenv around
13259 conversion to double instead of special-casing overflow and
13260 underflow.
13261 * math/libm-test.inc (fmod_test_data): Add more tests.
13262 (remainder_test_data): Likewise.
13263 (sqrt_test_data): Likewise.
13264
13265 2015-06-23 Torvald Riegel <triegel@redhat.com>
13266
13267 [BZ #17403]
13268 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13269 atomic_read_barrier, atomic_write_barrier): Define.
13270 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13271 atomic_read_barrier, atomic_write_barrier): Define.
13272
13273 2015-06-23 Joseph Myers <joseph@codesourcery.com>
13274
13275 * math/Makefile [$(PERL) != no]
13276 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13277 dependency on libm-test.stmp below the inclusion of Rules.
13278
13279 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
13280
13281 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13282 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13283 and included header.
13284 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13285 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13286 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13287 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13288 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13289 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13290 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13291 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13292 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13293 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13294 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13295 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13296 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13297 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13298 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13299 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13300 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13301 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13302 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13303
13304 2015-06-23 Joseph Myers <joseph@codesourcery.com>
13305
13306 [BZ #18371]
13307 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13308 intermediate but not final result might underflow.
13309 * math/s_csqrtf.c (__csqrtf): Likewise.
13310 * math/s_csqrtl.c (__csqrtl): Likewise.
13311 * math/auto-libm-test-in: Add more tests of csqrt.
13312 * math/auto-libm-test-out: Regenerated.
13313 * sysdeps/i386/fpu/libm-test-ulps: Update.
13314
13315 [BZ #18219]
13316 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13317 threshold on absolute value of exponent for which scaling is used.
13318 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13319 * math/auto-libm-test-in: Add more tests of exp2.
13320 * math/auto-libm-test-out: Regenerated.
13321
13322 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
13323
13324 [BZ #17977]
13325 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13326 when initializing interface list, based on the bug analysis
13327 and the patch proposed by Eric Newton.
13328 * resolv/tst-res_hconf_reorder.c: New test.
13329 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13330 tst-res_hconf_reorder.
13331 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13332 and $(shared-thread-library).
13333 (tst-res_hconf_reorder-ENV): New variable.
13334
13335 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13336 in comment.
13337
13338 2015-06-22 Joseph Myers <joseph@codesourcery.com>
13339
13340 [BZ #16353]
13341 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13342 (__expm1): Force underflow exception for arguments with small
13343 absolute value.
13344 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13345 (__expm1f): Force underflow exception for arguments with small
13346 absolute value.
13347 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13348 (__expm1): Force underflow exception for arguments with small
13349 absolute value.
13350 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13351 (__expm1f): Force underflow exception for arguments with small
13352 absolute value.
13353 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13354 Check for small arguments before calling __expm1.
13355 * math/auto-libm-test-in: Do not mark underflow exceptions as
13356 possibly missing for bug 16353.
13357 * math/auto-libm-test-out: Regenerated.
13358
13359 2015-06-22 Andreas Schwab <schwab@suse.de>
13360
13361 [BZ #18513]
13362 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13363 PTR queries.
13364
13365 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
13366
13367 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13368
13369 * string/strcoll_l.c: Remove unused struct element idxnow.
13370
13371 2015-06-21 Joseph Myers <joseph@codesourcery.com>
13372
13373 [BZ #18569]
13374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13375 underflow and return argument in case of subnormal argument.
13376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13377 Likewise.
13378 * math/auto-libm-test-in: Add more tests of expm1.
13379 * math/auto-libm-test-out: Regenerated.
13380
13381 [BZ #16361]
13382 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13383 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13384 tiny results.
13385 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13386 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13387 tiny results.
13388 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
13389 mark underflow exceptions as possibly missing for bug 16361.
13390 * math/auto-libm-test-out: Regenerated.
13391
13392 2015-06-19 Joseph Myers <joseph@codesourcery.com>
13393
13394 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13395 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13396 Remove variable.
13397 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13398 (test-xfail-XOPEN2K8/utmpx.h/conform).
13399
13400 * conform/conformtest.pl ($xerrors): New variable.
13401 (note_error): New function.
13402 (compiletest): New argument $xfail. Use not_error.
13403 (runtest): Likewise.
13404 (top level): Handle xfail- lines. Update calls to compiletest and
13405 runtest. Handle xfail- and optional- in headers listed with
13406 allow-header.
13407 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13408 (O_EXEC): Likewise.
13409 (O_SEARCH): Likewise.
13410 * conform/data/stropts.h-data (ioctl): Likewise.
13411 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13412 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13413 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13414 (msghdr.msg_controllen): Likewise.
13415 (cmsghdr.cmsg_len): Likewise.
13416 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13417 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13418 variable.
13419 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13420 (test-xfail-XPG4/stropts.h/conform): Likewise.
13421 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13422 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13423 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13424 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13425 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13426 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13427 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13428 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13429 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13430 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13431 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13432 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13433 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13434 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13435 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13436 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13437 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13438 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13439 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13440
13441 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
13442
13443 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13444 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13445 definitions for proper unfolding of __MATHDECL_VEC.
13446
13447 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13448
13449 * benchtests/bench-strcoll.c:
13450 Include string.h.
13451 (main): Remove unused variable res.
13452
13453 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13454
13455 * timezone/Makefile (%/UTC %/Universal):
13456 Generate test-result files for UTC and Universal.
13457
13458 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13459
13460 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13461
13462 2015-06-18 Joseph Myers <joseph@codesourcery.com>
13463
13464 [BZ #16350]
13465 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13466 for arguments with small absolute value.
13467 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13468 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13469 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13470 (__asinh): Force underflow exception for arguments with small
13471 absolute value.
13472 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13473 (__asinhf): Force underflow exception for arguments with small
13474 absolute value.
13475 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13476 (__asinhl): Force underflow exception for arguments with small
13477 absolute value.
13478 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13479 (__asinhl): Force underflow exception for arguments with small
13480 absolute value.
13481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13482 (__asinhl): Force underflow exception for arguments with small
13483 absolute value.
13484 * math/auto-libm-test-in: Do not mark underflow exceptions as
13485 possibly missing for bug 16350.
13486 * math/auto-libm-test-out: Regenerated.
13487
13488 * include/bits/ipc.h: Remove file.
13489 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13490 variable.
13491 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13492 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13493 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13494 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13495 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13496 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13497 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13498 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13499 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13500
13501 * math/auto-libm-test-in: Remove spurious underflow allowance for
13502 tests of cexp.
13503 * math/auto-libm-test-out: Regenerated.
13504
13505 [BZ #18558]
13506 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13507 unconditional definition.
13508 (MCAST_BLOCK_SOURCE): Likewise.
13509 (MCAST_UNBLOCK_SOURCE): Likewise.
13510 (MCAST_LEAVE_GROUP): Likewise.
13511 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13512 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13513 (MCAST_MSFILTER): Likewise.
13514 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13515 Remove variable.
13516 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13517 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13518 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13519 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13520 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13521
13522 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
13523
13524 * NEWS: Mention addition of x86_64 vector sincosf.
13525 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13526 * math/test-float-vlen4.h: Likewise.
13527 * math/test-float-vlen8.h: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13529 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13530 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13531 * sysdeps/x86_64/fpu/Versions: New versions added.
13532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13533 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13534 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13535 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13536 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13537 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13538 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13539 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13540 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13541 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13542 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13543 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13544 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13545 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13546 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13547 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13548 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13549 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13550 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13551 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13552 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13553 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13554 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13555 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13556
13557 * NEWS: Mention addition of x86_64 vector sincos.
13558 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13559 * math/math.h (__MATHDECL_VEC): New macro.
13560 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13561 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13562 declaration under condition.
13563 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13564 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13565 TEST_VEC_LOOP change.
13566 * math/test-double-vlen4.h: Likewise.
13567 * math/test-double-vlen8.h: Likewise.
13568 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13569 * math/test-float-vlen4.h: Likewise.
13570 * math/test-float-vlen8.h: Likewise.
13571 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13572 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13573 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13574 * sysdeps/x86_64/fpu/Versions: New versions added.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13576 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13577 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13579 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13580 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13582 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13584 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13585 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13586 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13587 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13588 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13589 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13590 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13591 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13592 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13593 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13594 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13595 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13596 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13597 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13598 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13599
13600 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13601 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13602 redirections for powf.
13603 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13604 * sysdeps/x86_64/fpu/Versions: New versions added.
13605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13606 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13607 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13608 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13609 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13610 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13611 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13612 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13613 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13614 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13615 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13616 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13617 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13618 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13619 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13620 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13621 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13622 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13623 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13624 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13625 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13627 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13628 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13629 * math/test-float-vlen16.h: Fixed 2 argument macro.
13630 * math/test-float-vlen4.h: Likewise.
13631 * math/test-float-vlen8.h: Likewise.
13632 * NEWS: Mention addition of x86_64 vector powf.
13633
13634 2015-06-17 Joseph Myers <joseph@codesourcery.com>
13635
13636 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13637 and redefine.
13638 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13639 and redefine.
13640 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13641 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13643
13644 [BZ #18553]
13645 * resource/getpriority.c (getpriority): Rename to __getpriority
13646 and define as weak alias of __getpriority.
13647 * resource/setpriority.c (setpriority): Rename to __setpriority
13648 and define as weak alias of __setpriority.
13649 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13650 __getpriority and define as weak alias of __getpriority.
13651 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13652 __setpriority and define as weak alias of __setpriority.
13653 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13654 strong name.
13655 (setpriority): Use __setpriority as strong name.
13656 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13657 __getpriority and define as weak alias of __getpriority.
13658 * include/sys/resource.h (__getpriority): Declare. Use
13659 libc_hidden_proto.
13660 (__setpriority): Likewise.
13661 (getpriority): Don't use libc_hidden_proto.
13662 (setpriority): Likewise.
13663 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13664 getpriority. Call __setpriority instead of setpriority.
13665 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13666 Remove variable.
13667
13668 [BZ #18547]
13669 * misc/getttyent.c (getttynam): Rename to __getttynam and define
13670 as weak alias of __getttynam. Use prototype function definition.
13671 Call __setttyent, __getttyent and __endttyent instead of
13672 setttyent, getttyent and endttyent.
13673 (getttyent): Rename to __getttyent and define as weak alias of
13674 __getttyent. Call __setttyent instead of setttyent. Call
13675 __fgets_unlocked instead of fgets_unlocked.
13676 (setttyent): Rename to __setttyent and define as weak alias of
13677 __setttyent.
13678 (endttyent): Rename to __endttyent and define as weak alias of
13679 __endttyent.
13680 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
13681 (__setttyent): Likewise.
13682 (__endttyent): Likewise.
13683 (getttyent): Don't use libc_hidden_proto.
13684 (setttyent): Likewise.
13685 (endttyent): Likewise.
13686 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13687 __endttyent instead of setttyent, getttyent and endttyent.
13688 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13689 Remove variable.
13690
13691 [BZ #18546]
13692 * socket/recv.c (__recv): Use libc_hidden_def.
13693 * socket/socket.c (__socket): Likewise.
13694 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13695 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13696 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13697 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13698 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13699 libc_hidden_def.
13700 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13701 libc_hidden_weak.
13702 * include/sys/socket.h (__socket): Do not use attribute_hidden.
13703 Use libc_hidden_proto.
13704 (__recv): Likewise.
13705 * socket/Versions (libc): Export __recv and __socket at version
13706 GLIBC_PRIVATE.
13707 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13708 instead of recv.
13709 (init_mq_netlink): Call __socket instead of socket.
13710 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13711 Remove variable.
13712
13713 [BZ #18545]
13714 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13715 __mq_timedreceive and define as alias of __mq_timedreceive. Use
13716 hidden_weak.
13717 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13718 define as alias of __mq_timedsend. Use hidden_weak.
13719 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13720 __mq_timedsend as strong name.
13721 (mq_timedreceive): Use __mq_timedreceive as strong name.
13722 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
13723 (__mq_timedreceive): Likewise.
13724 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13725 __mq_timedreceive instead of mq_timedreceive.
13726 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13727 instead of mq_timedsend.
13728 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13729 Remove variable.
13730
13731 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13732 hidden_def and hidden_weak instead of libc_hidden_def and
13733 libc_hidden_weak.
13734 (top level): Refer to hidden_def in comment.
13735 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13736 macro. Use it instead of libc_hidden_def.
13737 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13738 specify __GI_* name explicitly.
13739 (mq_timedreceive): Likewise.
13740 (mq_setattr): Likewise.
13741
13742 [BZ #18544]
13743 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13744 __pthread_barrier_init and define as weak alias of
13745 __pthread_barrier_init.
13746 * sysdeps/sparc/nptl/pthread_barrier_init.c
13747 (pthread_barrier_init): Likewise.
13748 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13749 __pthread_barrier_wait and define as weak alias of
13750 __pthread_barrier_wait.
13751 * sysdeps/sparc/nptl/pthread_barrier_wait.c
13752 (pthread_barrier_wait): Likewise.
13753 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13754 (pthread_barrier_wait): Likewise.
13755 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13756 (pthread_barrier_wait): Likewise.
13757 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13758 (pthread_barrier_wait): Likewise.
13759 * nptl/Versions (libpthread): Export __pthread_barrier_init and
13760 __pthread_barrier_wait at version GLIBC_PRIVATE.
13761 * include/pthread.h (__pthread_barrier_init): Declare.
13762 (__pthread_barrier_wait): Likewise.
13763 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13764 Call __pthread_barrier_wait instead of pthread_barrier_wait.
13765 (helper_thread): Likewise.
13766 (init_mq_netlink): Call __pthread_barrier_init instead of
13767 pthread_barrier_init.
13768
13769 [BZ #18542]
13770 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13771 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13772 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
13773 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13774 vswscanf.
13775 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13776 Remove variable.
13777
13778 [BZ #18540]
13779 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13780 strong alias of _IO_fflush. Use libc_hidden_def.
13781 * libio/iofflush_u.c (fflush_unlocked): Rename to
13782 __fflush_unlocked and define as weak alias of __fflush_unlocked.
13783 Use libc_hidden_weak.
13784 * include/stdio.h (__fflush_unlocked): Declare. Use
13785 libc_hidden_proto.
13786 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13787 fflush_unlocked.
13788 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13789 Remove variable.
13790
13791 [BZ #18539]
13792 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13793 define as weak alias of __addseverity.
13794 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13795 Remove variable.
13796 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13797 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13798 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13799
13800 [BZ #18536]
13801 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13802 (__tfind): Likewise.
13803 (__tdelete): Likewise.
13804 (__twalk): Likewise.
13805 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13806 __twalk to GLIBC_PRIVATE.
13807 * include/search.h (__tsearch): Use libc_hidden_proto.
13808 (__tfind): Likewise.
13809 (__tdelete): Likewise.
13810 (__twalk): Likewise.
13811 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13812 Call __tdelete instead of tdelete.
13813 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13814 tfind. Call __tsearch instead of tsearch.
13815 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13816 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13817 Remove variable.
13818 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13819
13820 [BZ #18534]
13821 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13822 (dprintf): Define as a weak alias of __dprintf, not a strong
13823 alias.
13824 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
13825 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13826 dprintf.
13827 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13828 Remove variable.
13829 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13830 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13831
13832 [BZ #18533]
13833 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13834 not a strong alias.
13835 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13836 Remove variable.
13837
13838 [BZ #18532]
13839 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13840 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
13841 (in6addr_loopback): Rename to __in6addr_loopback and define as
13842 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
13843 * include/netinet/in.h (__in6addr_loopback): Declare. Use
13844 libc_hidden_proto.
13845 (__in6addr_any): Likewise.
13846 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13847 in6addr_any.
13848 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13849 variable.
13850 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13851
13852 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
13853
13854 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13855 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13856 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13857 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13858 redirections for pow.
13859 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13860 * sysdeps/x86_64/fpu/Versions: New versions added.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13862 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13863 build of SSE, AVX2 and AVX512 IFUNC versions.
13864 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13865 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13866 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13867 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13868 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13869 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13870 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13871 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13872 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13873 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13874 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13875 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13876 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13877 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13878 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13879 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13880 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13881 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13882 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13883 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13884 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13885 * NEWS: Mention addition of x86_64 vector pow.
13886
13887 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13888 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13889 redirections for expf.
13890 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13891 * sysdeps/x86_64/fpu/Versions: New versions added.
13892 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13893 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13894 build of SSE, AVX2 and AVX512 IFUNC versions.
13895 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13896 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13897 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13898 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13899 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13900 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13901 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13902 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13903 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13904 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13905 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13906 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13907 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13908 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13909 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13910 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13911 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13912 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13913 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13914 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13915 * NEWS: Mention addition of x86_64 vector expf.
13916
13917 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13918 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13919 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13920 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13921 redirections for exp.
13922 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13923 * sysdeps/x86_64/fpu/Versions: New versions added.
13924 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13925 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13926 build of SSE, AVX2 and AVX512 IFUNC versions.
13927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13928 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13929 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13931 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13933 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13934 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13935 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13936 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13937 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13938 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13939 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13940 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13941 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13942 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13943 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13944 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13945 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13946 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13947 * NEWS: Mention addition of x86_64 vector exp.
13948
13949 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13950 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13951 redirections for logf.
13952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13953 * sysdeps/x86_64/fpu/Versions: New versions added.
13954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13956 build of SSE, AVX2 and AVX512 IFUNC versions.
13957 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13958 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13959 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13960 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13961 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13962 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13963 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13964 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13965 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13966 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13967 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13968 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13969 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13970 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13971 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13972 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13973 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13974 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13975 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13976 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13977 * NEWS: Mention addition of x86_64 vector logf.
13978
13979 * bits/libm-simd-decl-stubs.h: Added stubs for log.
13980 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13981 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13982 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13983 redirections for log.
13984 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13985 * sysdeps/x86_64/fpu/Versions: New versions added.
13986 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13988 build of SSE, AVX2 and AVX512 IFUNC versions.
13989 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13990 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13991 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13992 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13993 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13994 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13995 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13996 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13997 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13998 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13999 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14000 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14001 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14002 test.
14003 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14004 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14005 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14006 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14007 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14008 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14009 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14010 * NEWS: Mention addition of x86_64 vector log.
14011
14012 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
14013
14014 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14015 cfi_adjust_cfa_offset argument.
14016 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14017 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14018
14019 [BZ #18034]
14020 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14021 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14022 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14023 ordering using ldar.
14024 (_dl_tlsdesc_dynamic): Likewise.
14025 (_dl_tlsdesc_return_lazy): Likewise.
14026 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14027 relaxed atomics instead of volatile and synchronize with release store.
14028 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14029 volatile.
14030 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14031
14032 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
14033
14034 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14035 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14036 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14037 * sysdeps/x86_64/fpu/Versions: New versions added.
14038 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14039 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14040 build of SSE, AVX2 and AVX512 IFUNC versions.
14041 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14042 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14043 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14044 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14045 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14046 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14047 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14048 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14049 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14050 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14051 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14052 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14053 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14054 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14055 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14056 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14057 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14058 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14059 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14060 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14061 * NEWS: Mention addition of x86_64 vector sinf.
14062
14063 2015-06-14 Joseph Myers <joseph@codesourcery.com>
14064
14065 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14066 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14067 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14068 Remove variable.
14069 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14070 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14071
14072 2015-06-12 Joseph Myers <joseph@codesourcery.com>
14073
14074 [BZ #18530]
14075 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14076 strong alias of _IO_fputs. Use libc_hidden_def.
14077 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14078 and define as weak alias of __fputs_unlocked. Use
14079 libc_hidden_weak.
14080 * include/stdio.h (__fputs_unlocked): Declare. Use
14081 libc_hidden_proto.
14082 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14083 fputs_unlocked.
14084
14085 [BZ #18529]
14086 * resolv/netdb.h [__USE_POSIX]: Change condition to
14087 [__USE_XOPEN2K].
14088 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14089 not expect.
14090 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14091 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14092 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14093 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14094 [XPG4 || UNIX98] (AI_ALL): Likewise.
14095 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14096 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14097 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14098 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14099 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14100 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14101 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14102 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14103 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14104 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14105 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14106 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14107 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14108 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14109 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14110 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14111 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14112 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14113 [XPG4 || UNIX98] (gai_strerror): Likewise.
14114 [XPG4 || UNIX98] (getaddrinfo): Likewise.
14115 [XPG4 || UNIX98] (getnameinfo): Likewise.
14116
14117 [BZ #18528]
14118 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14119 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14120 __USE_XOPEN2K8].
14121 (getgrent): Likewise.
14122 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14123 expect.
14124 [XPG3 || POSIX2008] (endgrent): Likewise.
14125 [XPG3] (setgrent): Likewise.
14126 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14127 variable.
14128 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14129
14130 [BZ #18527]
14131 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14132 define as weak alias of __getlogin_r. Use libc_hidden_weak.
14133 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14134 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14135 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14136 * include/unistd.h (__getlogin_r): Declare. Use
14137 libc_hidden_proto.
14138 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14139 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14140 variable.
14141 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14142 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14143 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14144
14145 2015-06-12 Martin Sebor <msebor@redhat.com>
14146
14147 [BZ #18512]
14148 * Makerules (check-install-supported): New target.
14149 (install): Add check-install-supported as a dependency.
14150 * manual/install.texi (Installing the C Library): Document
14151 that overriding prefix and exec_prefix is not supported.
14152 Mention DESTDIR.
14153 * INSTALL: Regenerate from the above.
14154
14155 2015-06-12 Joseph Myers <joseph@codesourcery.com>
14156
14157 [BZ #18519]
14158 * posix/Versions (libc): Export __libc_pread at version
14159 GLIBC_PRIVATE.
14160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14161 instead of pread.
14162 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14163 variable.
14164
14165 [BZ #18522]
14166 * misc/efgcvt_r.c
14167 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14168 (cvt_symbol): Use weak_alias instead of strong_alias.
14169 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14170 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14171 Remove variable.
14172 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14173 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14174
14175 [BZ #18520]
14176 * inet/herrno.c (h_errno): Rename to __h_errno.
14177 (__libc_h_errno): Define as alias of __h_errno not h_errno.
14178 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14179 to __h_errno instead of h_errno.
14180 * nptl/herrno.c (h_errno): Rename to __h_errno.
14181 (__h_errno_location): Refer to __h_errno not h_errno.
14182 * resolv/Versions (h_errno): Rename to __h_errno.
14183 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14184 Remove variable.
14185 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14186
14187 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
14188
14189 * configure.ac: More strict check for AVX512 assembler support.
14190 * configure: Regenerated.
14191
14192 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14193 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14194 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14195 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14196 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14197 * sysdeps/x86_64/fpu/Versions: New versions added.
14198 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14199 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14200 Added build of SSE, AVX2 and AVX512 IFUNC versions.
14201 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14202 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14204 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14205 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14206 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14207 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14208 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14209 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14210 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14211 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14212 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14213 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14214 test.
14215 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14216 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14217 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14218 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14219 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14220 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14221 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14222 * NEWS: Mention addition of x86_64 vector sin.
14223
14224 2015-06-11 Florian Weimer <fweimer@redhat.com>
14225
14226 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14227 comment.
14228
14229 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14230
14231 [BZ #18479]
14232 * nptl/pt-interp.c: New file.
14233 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14234 Add pt-interp.
14235 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14236 $(common-objpfx)runtime-linker.h.
14237
14238 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
14239
14240 * Makeconfig (+interp): Remove unused variable.
14241 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14242 only. Depend on $(common-objpfx)runtime-linker.h instead of
14243 $(elf-objpfx)runtime-linker.h.
14244 ($(elf-objpfx)runtime-linker.h): Rename to
14245 $(common-objpfx)runtime-linker.h and move ...
14246 * Makerules [$(build-shared) = yes]: ... here.
14247 * elf/interp.c: Include <runtime-linker.h> instead of
14248 <elf/runtime-linker.h>.
14249
14250 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14251
14252 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14253 (__gettimeofday_syscall): Remove vsyscall fallback.
14254 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14255 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14256 Add syscall fallback function.
14257 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14258 if vDSO is not present.
14259 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14260 fallback function.
14261 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14262 present.
14263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14264 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14265
14266 2015-06-09 Joseph Myers <joseph@codesourcery.com>
14267
14268 [BZ #18497]
14269 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14270 of wcscmp.
14271 (wcscmp): Define as weak alias of WCSCMP.
14272 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14273 wcscoll.
14274 (USE_HIDDEN_DEF): Define.
14275 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14276 __wcscoll. Don't use libc_hidden_weak.
14277 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14278 wcscmp.
14279 * sysdeps/i386/i686/multiarch/wcscmp-c.c
14280 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14281 __GI_wcscmp.
14282 (weak_alias): Undefine and redefine.
14283 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14284 __wcscmp and define as weak alias of __wcscmp.
14285 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14286 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
14287 (__wcscoll): Likewise.
14288 (wcscmp): Don't use libc_hidden_proto.
14289 (wcscoll): Likewise.
14290 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14291 wcscoll.
14292 * posix/regexec.c (check_node_accept_bytes): Likewise.
14293 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14294 variable.
14295 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14296 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14297
14298 [BZ #18507]
14299 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14300 __fstatvfs and define as weak alias of __fstatvfs. Use
14301 libc_hidden_weak.
14302 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14303 and define as weak alias of __statvfs. Use libc_hidden_weak.
14304 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14305 Define as alias of __fstatvfs, not fstatvfs.
14306 (fstatvfs64): Likewise.
14307 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14308 Define as alias of __statvfs, not statvfs.
14309 (statvfs64): Likewise.
14310 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14311 Remove variable.
14312
14313 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14314
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14316 (HAVE_GETCPU_VSYSCALL): Define.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14318 (HAVE_GETCPU_VSYSCALL): Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14320 * sysdeps/unix/sysv/linux/sched_getcpu.c
14321 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14322 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14323 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14324 prototype.
14325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14326 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14329 Define.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14332 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14334
14335 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
14336
14337 * sysdeps/x86_64/fpu/Makefile: New file.
14338 * sysdeps/x86_64/fpu/Versions: New file.
14339 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14340 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14341 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14342 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14343 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14344 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14345 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14346 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14347 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14348 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14350 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14351 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14352 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14353 Added build of SSE, AVX2 and AVX512 IFUNC versions.
14354 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14355 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14356 * sysdeps/x86_64/configure.ac: Options for libmvec build.
14357 * sysdeps/x86_64/configure: Regenerated.
14358 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14359 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14360 * manual/install.texi (Configuring and compiling): Document
14361 --disable-mathvec.
14362 * INSTALL: Regenerated.
14363 * NEWS: Mention addition of libmvec and x86_64 vector cos.
14364
14365 * math/Makefile: Added rules for vector tests.
14366 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14367 declaration under condition.
14368 * math/test-double-vlen2.h: New file.
14369 * math/test-double-vlen4.h: New file.
14370 * math/test-double-vlen8.h: New file.
14371 * math/test-vec-loop.h: Added initialization macro.
14372 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14374 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14375 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14376 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14377 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14378 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14379 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14380 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14381 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14382 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14383
14384 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14385 * sysdeps/x86_64/fpu/Versions: New versions added.
14386 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14387 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14388 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14389 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14390 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14391 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14392 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14393 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14394 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14395 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14396 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14397 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14398 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14399 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14400 Added build of SSE, AVX2 and AVX512 IFUNC versions.
14401 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14402 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14403 * NEWS: Mention addition of x86_64 vector cosf.
14404
14405 * math/Makefile: Added CFLAGS for new tests.
14406 * math/test-float-vlen16.h: New file.
14407 * math/test-float-vlen4.h: New file.
14408 * math/test-float-vlen8.h: New file.
14409 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14410 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14411 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14412 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14413 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14414 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14415 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14416 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14417 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14418 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14419 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14420
14421 2015-06-09 Marko Myllynen <myllynen@redhat.com>
14422
14423 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14424 * locale/programs/ld-ctype.c: Likewise.
14425
14426 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
14427
14428 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14429 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14430 bit_ZMM16_31_state): New macro.
14431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14432 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14433
14434 2015-06-08 Joseph Myers <joseph@codesourcery.com>
14435
14436 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14437
14438 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
14439
14440 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14441
14442 2015-06-05 Joseph Myers <joseph@codesourcery.com>
14443
14444 [BZ #18498]
14445 * libio/memstream.c (open_memstream): Rename to __open_memstream
14446 and define as weak alias of __open_memstream.
14447 * include/stdio.h (__open_memstream): Declare. Use
14448 libc_hidden_proto.
14449 (open_memstream): Don't use libc_hidden_proto.
14450 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14451 open_memstream.
14452 * posix/getopt.c (_getopt_internal_r): Likewise.
14453 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14454 variable.
14455 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14456 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14457 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14458
14459 [BZ #18496]
14460 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14461 instead of wcrtomb.
14462
14463 [BZ #18483]
14464 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14465 [__USE_XOPEN2K8]. Remove redundant #endif.
14466 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14467 Remove redundant #if.
14468 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14469 Remove variable.
14470 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14471 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14472
14473 [BZ #18495]
14474 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14475 (__iswlower): Likewise.
14476 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
14477 (__iswlower): Likewise.
14478 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14479 instead of towlower.
14480 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14481 instead of iswlower. Call __towupper instead of towupper.
14482 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14483 instead of iswalnum.
14484
14485 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14486
14487 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14488 errors to stderr.
14489
14490 2015-06-05 Florian Weimer <fweimer@redhat.com>
14491
14492 [BZ #15661]
14493 [BZ #17322]
14494 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14495 Check for overflow properly. Check for O_APPEND. Ignore large
14496 file system block sizes. Add comments about problems.
14497 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14498 * manual/filesys.texi (Storage Allocation): New node.
14499
14500 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14501
14502 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14503 cancellable syscalls.
14504 (SYS_ify): Add guard to no redefine it.
14505 (INLINE_SYSCALL): Likewise.
14506 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14507 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14508 SYSCALL_CANCEL instead.
14509 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14510 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14511 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14512 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14513 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14514 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14515 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14516 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14517 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14518 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14519 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14520 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14521 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14522 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14523 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14524 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14525 Likewise.
14526 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14527 (__libc_pread64): Likewise.
14528 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14529 (__libc_preadv): Likewise.
14530 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14531 (__libc_readv64): Likewise.
14532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14533 (__libc_pwrite): Likewise.
14534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14535 (__libc_pwrite64): Likewise.
14536 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14537 (__libc_pwritev): Likewise.
14538 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14539 (__libc_pwritev64): Likewise.
14540 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14541 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14542 (sync_file_range): Likewise.
14543 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14544 Likewise.
14545 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14546 Likewise.
14547 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14548 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14549 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14550 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14551 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14552 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14553 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14554 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14556 Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14558 (__libc_read64): Likewise.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14560 Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14562 Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14564 Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14566 Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14568 (__libc_pread64): Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14570 Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14572 (__libc_pwrite64): Likewise.
14573 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14574 (sync_file_range): Likewise.
14575 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14576 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14577 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14578 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14579 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14580 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14581 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14582 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14583 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14584 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14585 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14586 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14587 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14588 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14589 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14590 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14591 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14592 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14594 Likewise.
14595 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14596 Likewise.
14597 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14598 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14599 Likewise.
14600 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14601 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14602 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14603 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14604 Likewise.
14605 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14606 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14607 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14609 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14610
14611 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
14612
14613 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14614 Include dl-vdso.
14615 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14616 Use VDSO routines for gettimeofday, clock_gettime if
14617 available.
14618 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14619 Declare VDSO symbols.
14620 * sysdeps/unix/sysv/linux/arm/sysdep.h:
14621 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14622 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14623 * sysdeps/unix/sysv/linux/arm/Versions: Add
14624 __vdso_clock_gettime.
14625
14626 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14627
14628 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14629 be an inline implementation regardless of library is built within.
14630 (open_not_cancel_2): Likewise.
14631 (__read_nocancel): Likewise.
14632 (__write_nocancel): Likewise.
14633 (openat_not_cancel): Likewise.
14634 (openat_not_cancel_3): Likewise.
14635 (openat64_not_cancel): Likewise.
14636 (openat64_not_cancel_3): Likewise.
14637 (__close_nocancel): Likewise.
14638 (pause_not_cancel): Likewise.
14639 (nanosleep_not_cancel): Likewise.
14640 (sigsuspend_not_cancel): Likewise.
14641
14642 2015-06-04 Torvald Riegel <triegel@redhat.com>
14643
14644 [BZ #14958]
14645 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14646 wake-up.
14647 (__pthread_rwlock_rdlock_slow): Likewise.
14648 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14649 Likewise.
14650 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14651 Likewise.
14652 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14653 * nptl/tst-rwlock16.c: New file.
14654 * nptl/Makefile (tests): Add new test.
14655
14656 2015-06-04 Torvald Riegel <triegel@redhat.com>
14657
14658 [BZ #18324]
14659 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14660 missing wake-up of readers.
14661 * nptl/tst-rwlock15.c: New file.
14662 * nptl/Makefile (tests): Add new test.
14663
14664 2015-06-03 Roland McGrath <roland@hack.frob.com>
14665
14666 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14667 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14668 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14669 and __nacl_supply_interface_rtld.
14670 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14671 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14672 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14673 Add __nacl_supply_interface_rtld.
14674 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14675
14676 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
14677
14678 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14679 isfinite.
14680 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14681 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14682
14683 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
14684
14685 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14686 __signbit* with standard C99 macros.
14687 * math/e_exp10l.c: Likewise.
14688 * math/e_exp2l.c: Likewise.
14689 * math/e_scalb.c: Likewise.
14690 * math/e_scalbf.c: Likewise.
14691 * math/e_scalbl.c: Likewise.
14692 * math/s_ldexp.c: Likewise.
14693 * math/s_ldexpf.c: Likewise.
14694 * math/s_ldexpl.c: Likewise.
14695 * math/w_atan2.c: Likewise.
14696 * math/w_atan2f.c: Likewise.
14697 * math/w_atan2l.c: Likewise.
14698 * math/w_cosh.c: Likewise.
14699 * math/w_coshf.c: Likewise.
14700 * math/w_coshl.c: Likewise.
14701 * math/w_exp10.c: Likewise.
14702 * math/w_exp10f.c: Likewise.
14703 * math/w_exp10l.c: Likewise.
14704 * math/w_exp2.c: Likewise.
14705 * math/w_exp2f.c: Likewise.
14706 * math/w_exp2l.c: Likewise.
14707 * math/w_fmod.c: Likewise.
14708 * math/w_fmodf.c: Likewise.
14709 * math/w_fmodl.c: Likewise.
14710 * math/w_hypot.c: Likewise.
14711 * math/w_hypotf.c: Likewise.
14712 * math/w_hypotl.c: Likewise.
14713 * math/w_jnl.c: Likewise.
14714 * math/w_lgamma.c: Likewise.
14715 * math/w_lgamma_r.c: Likewise.
14716 * math/w_lgammaf.c: Likewise.
14717 * math/w_lgammaf_r.c: Likewise.
14718 * math/w_lgammal.c: Likewise.
14719 * math/w_lgammal_r.c: Likewise.
14720 * math/w_pow.c: Likewise.
14721 * math/w_powf.c: Likewise.
14722 * math/w_powl.c: Likewise.
14723 * math/w_remainder.c: Likewise.
14724 * math/w_remainderf.c: Likewise.
14725 * math/w_remainderl.c: Likewise.
14726 * math/w_scalb.c: Likewise.
14727 * math/w_scalbf.c: Likewise.
14728 * math/w_scalbl.c: Likewise.
14729 * math/w_scalbln.c: Likewise.
14730 * math/w_scalblnf.c: Likewise.
14731 * math/w_scalblnl.c: Likewise.
14732 * math/w_sinh.c: Likewise.
14733 * math/w_sinhf.c: Likewise.
14734 * math/w_sinhl.c: Likewise.
14735 * math/w_tgamma.c: Likewise.
14736 * math/w_tgammaf.c: Likewise.
14737 * math/w_tgammal.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14745 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14746 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14747 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14769 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14770 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14771 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14772 * stdio-common/printf_fp.c: Likewise.
14773 * stdio-common/printf_fphex.c: Likewise.
14774 * stdio-common/printf_size.c: Likewise.
14775
14776 2015-06-03 Joseph Myers <joseph@codesourcery.com>
14777
14778 [BZ #18470]
14779 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14780 strnlen.
14781 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14782 Remove variable.
14783 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14784 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14785 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14786 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14787 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14788 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14789 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14790 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14791 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14792 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14793
14794 [BZ #18468]
14795 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14796 weak alias of __wmemchr. Use libc_hidden_weak.
14797 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
14798 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14799 instead of wmemchr.
14800
14801 2015-06-02 Roland McGrath <roland@hack.frob.com>
14802
14803 [BZ #18383]
14804 * elf/tst-tlsalign-extern.c: New file.
14805 * elf/tst-tlsalign-extern-static.c: New file.
14806 * elf/tst-tlsalign-vars.c: New file.
14807 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14808 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14809 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14810 ($(objpfx)tst-tlsalign-extern-static): Likewise.
14811 (test-xfail-tst-tlsalign-extern-static): New variable.
14812
14813 2015-06-02 Joseph Myers <joseph@codesourcery.com>
14814
14815 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14816 Use variable name _sc_err instead of err.
14817 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14818 instead of ret.
14819 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14820 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14821 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14822 (INLINE_SYSCALL): Likewise.
14823
14824 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14825 * include/string.h (__strnlen): Use libc_hidden_proto.
14826 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14827 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14828 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14830 (libc_hidden_def): Undefine and redefine.
14831 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14832 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14833 __GI_strnlen.
14834 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14835 libc_hidden_def.
14836 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14837
14838 [BZ #18469]
14839 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14840 weak alias of __towlower. Use libc_hidden_weak.
14841 (towupper): Rename to __towupper and define as weak alias of
14842 __towupper. Use libc_hidden_weak.
14843 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
14844 (__towupper): Likewise.
14845 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14846 __towlower instead of towlower.
14847
14848 2015-06-02 Roland McGrath <roland@hack.frob.com>
14849
14850 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14851 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14852
14853 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14854
14855 * sysdeps/aarch64/libm-test-ulps: Update.
14856
14857 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14858
14859 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14860 Define.
14861 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14863 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14864 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14865 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14866 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14867 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14868
14869 2015-06-01 Martin Sebor <msebor@redhat.com>
14870
14871 [BZ #18116]
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14873 (__setcontext): Use extended four-operand version of mtsf whenever
14874 possible.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14876 (__novec_swapcontext): Likewise.
14877
14878 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14879
14880 * benchtests/scripts/compare_bench.py: New file.
14881 * benchtests/scripts/import_bench.py (mean): New function.
14882 (split_list): Likewise.
14883 (do_for_all_timings): Likewise.
14884 (compress_timings): Likewise.
14885
14886 * benchtests/scripts/import_bench.py: New file.
14887 * benchtests/scripts/validate_benchout.py: Import import_bench
14888 instead of jsonschema.
14889 (validate_bench): Remove function.
14890 (main): Use import_bench.
14891
14892 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
14893
14894 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14895 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14896
14897 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14898
14899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14900
14901 2015-05-28 Roland McGrath <roland@hack.frob.com>
14902
14903 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14904 set THREAD_SELF->tid to a magic value and futex-wake it.
14905 Pass its address to the thread_exit system call.
14906 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14907 bit is clear.
14908 * sysdeps/nacl/lowlevellock.h: New file.
14909 * sysdeps/nacl/lll_timedwait_tid.c: New file.
14910
14911 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14912 Add TIMEOUT to current time, don't subtract it.
14913
14914 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
14915
14916 [BZ #2981]
14917 [BZ #18422]
14918 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14919 ($(objpfx)tst-audit2.out): Also depend on
14920 $(objpfx)tst-auditmod9b.so.
14921 * elf/tst-audit2.c: Include <dlfcn.h>.
14922 (calloc_called): New.
14923 (calloc): Allow to be called more than once.
14924 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14925
14926 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
14927
14928 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14929 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14930
14931 2015-05-27 Marko Myllynen <myllynen@redhat.com>
14932
14933 * stdlib/monetary.h: Fix comment.
14934
14935 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
14936
14937 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14938 Avoid using variables in #defines that might cause shadowing.
14939 (INTERNAL_VSYSCALL_CALL): Likewise.
14940
14941 2015-05-26 Roland McGrath <roland@hack.frob.com>
14942
14943 * sysdeps/nacl/lll_timedlock_wait.c: New file.
14944
14945 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14946 * nptl/lll_timedlock_wait.c: ... to this new file.
14947 * nptl/Makefile (libpthread-routines): Add it.
14948 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14949 * nptl/lll_timedwait_tid.c: ... to this new file.
14950 * nptl/Makefile (libpthread-routines): Add it.
14951 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14952 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14953 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14954 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14955 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14956 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14957 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14958 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14959 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14960 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14961
14962 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14963
14964 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14965 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14966 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14967 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14968 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14970 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14972 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14973 * sysdeps/unix/sysv/linux/tile/sysdep.h
14974 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14975 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14976 using vDSO syscall macro.
14977
14978 2015-05-26 Andriy Rysin <arysin@gmail.com>
14979
14980 [BZ #17293]
14981 * uk_UA: Fix sorting order for Ukrainian locale
14982
14983 2015-05-26 Marko Myllynen <myllynen@redhat.com>
14984
14985 * stdlib/monetary.h: Fix comment.
14986
14987 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
14988
14989 [BZ #18234]
14990 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14991 st_mtim and st_ctim members.
14992 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14993 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14994 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14995 (struct stat64): Likewise.
14996 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14997 (struct stat64): Likewise.
14998 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14999 (struct stat64): Likewise.
15000
15001 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15002
15003 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15004 Define and include sysdep-vdso.h.
15005 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15006 Likewise.
15007 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15008 Likewise.
15009 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15010 Define with VDSO_SYMBOL and use PTR_MANGLE.
15011 (__vdso_clock_gettime): Likewise.
15012 (__vdso_clock_getres): Likewise.
15013 (_libc_vdso_platform_setup): Likewise.
15014 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15015 Likewise.
15016 (_libc_vdso_platform_setup): Likewise.
15017 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15018 Likewise.
15019 (__vdso_clock_gettime): Likewise.
15020 (__vdso_clock_getres): Likewise.
15021 (__vdso_get_tbfreq): Likewise.
15022 (__vdso_getcpu): Likewise.
15023 (__vdso_time): Likewise.
15024 (__vdso_sigtramp_rt64): Likewise.
15025 (__vdso_signtramp32): Likewise.
15026 (__vdso_sigtramp_rt32): Likewise.
15027 (_libc_vdso_platform_setup): Likewise.
15028 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15029 Likewise.
15030 (__vdso_clock_gettime): Likewise.
15031 (__vdso_clock_getres): Likewise.
15032 (_libc_vdso_platform_setup): Likewise.
15033 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15034 Likewise.
15035 (__vdso_clock_gettime): Likewise.
15036 (_libc_vdso_platform_setup): Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15038 Likewise.
15039 (__vdso_getcpu): Likewise.
15040 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15041 Use VDSO_SYMBOL macro to define.
15042 (__vdso_clock_gettime): Likewise.
15043 (__vdso_clock_getres): Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15045 Likewise.
15046 (__vdso_clock_gettime): Likewise.
15047 (__vdso_clock_getres): Likewise.
15048 (__vdso_get_tbfreq): Likewise.
15049 (__vdso_getcpu): Likewise.
15050 (__vdso_time): Likewise.
15051 (__vdso_sigtramp_rt64): Likewise.
15052 (__vdso_signtramp32): Likewise.
15053 (__vdso_sigtramp_rt32): Likewise.
15054 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15055 Likewise.
15056 (__vdso_clock_gettime): Likewise.
15057 (__vdso_clock_getres): Likewise.
15058 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15059 Likewise.
15060 (__vdso_clock_gettime): Likewise.
15061 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15062 Likewise.
15063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
15064 macro.
15065 (INTERNAL_VSYSCALL): Likewise.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15067 Remove macro.
15068 (INTERNAL_VSYSCALL): Likewise.
15069 (INTERNAL_VSYSCALL_NCS): Likewise.
15070 (INTERNAL_VSYSCALL_CALL): New macro.
15071 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15073 Likewise.
15074 (INTERNAL_VSYSCALL): Likewise.
15075 (INTERNAL_VSYSCALL_NCS): Likewise.
15076 (INTERNAL_VSYSCALL_CALL): New macro.
15077 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15079 (INLINE_VSYSCALL): Remove macro.
15080 (INTERNAL_VSYSCALL): Remove macro.
15081 (INTERNAL_VSYSCALL_NCS): Remove macro.
15082 (INTERNAL_VSYSCALL_CALL): New macro.
15083 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15084 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15085 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15086 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15087 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15089 (INLINE_VSYSCALL): Remove macro.
15090 (INTERNAL_VSYSCALL): Likewise.
15091 (INTERNAL_VSYSCALL_NCS): Likewise.
15092 (INTERNAL_VSYSCALL_CALL): New macro.
15093 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15094 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15095 PTR_DEMANGLE on vDSO pointer.
15096 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15097 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15098 macro.
15099 (INTERNAL_SYSCALL): Likewise.
15100 (INTERNAL_VSYSCALL_NCS): Remove macro.
15101 (INTERNAL_VSYSCALL_CALL): New macro.
15102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15103 Remove macro.
15104 (INTERNAL_VSYSCALL): Likewise.
15105 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15106 sysdep-vdso.h instead of libc-vdso.h.
15107 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15108 definition.
15109 (INLINE_VSYSCALL): Likewise.
15110 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15111 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15112 definition.
15113 (INLINE_VSYSCALL): Likewise.
15114 (INTERNAL_VSYSCALL): Likewise.
15115 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15116 * sysdeps/unix/sysv/linux/timespec_get.c
15117 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15118 (timespec_get): Use ANSI prototype.
15119 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15120 and definition for Linux.
15121
15122 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
15123
15124 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15125 * include/libc-symbols.h: libmvec_hidden_* macro series added.
15126
15127 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 [BZ #2981]
15130 [BZ #18410]
15131 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15132 for missing DT_PLTRELSZ.
15133
15134 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
15135
15136 Remove obsolete aliases that broke 'locale -a'
15137 [BZ #18412]
15138 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15139 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15140 breaking some applications that use 'locale -a' output.
15141 Change the encoding of this file from Latin-1 to ASCII to avoid
15142 other potential problems with people grepping this file.
15143
15144 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15145
15146 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15147 -fasynchronous-unwind-tables.
15148 (CFLAGS-sendto.c): Likewise.
15149 (CFLAGS-sendmsg.c): Likewise.
15150 (CFLAGS-connect.c): Likewise.
15151 (CFLAGS-recvmsg.c): Likewise.
15152 (CFLAGS-recvfrom.c): Likewise.
15153 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15154 (SOCKETCALL): New macro: non-cancellable socketcall.
15155 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15156 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15157 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15158 * sysdeps/unix/sysv/linux/accept.c: New file.
15159 * sysdeps/unix/sysv/linux/bind.c: Likewise.
15160 * sysdeps/unix/sysv/linux/connect.c: Likewise.
15161 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15162 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15163 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15164 * sysdeps/unix/sysv/linux/listen.c: Likewise.
15165 * sysdeps/unix/sysv/linux/recv.c: Likewise.
15166 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15167 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15168 * sysdeps/unix/sysv/linux/send.c: Likewise.
15169 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15170 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15171 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15172 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15173 * sysdeps/unix/sysv/linux/socket.c: Likewise.
15174 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15175 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15176 prototype.
15177 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15178 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15179 instead of __internal_xxx function.
15180 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15181 prototype.
15182 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15183 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15184 instead of __internal_xxx function.
15185 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15186 prototype.
15187 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15188 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15189 instead of __internal_xxx function.
15190 * sysdeps/unix/sysv/linux/accept.S: Remove file.
15191 * sysdeps/unix/sysv/linux/bind.S: Likewise.
15192 * sysdeps/unix/sysv/linux/connect.S: Likewise.
15193 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15194 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15195 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15196 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15197 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15198 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15199 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15200 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15201 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15202 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15204 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15205 * sysdeps/unix/sysv/linux/listen.S: Likewise.
15206 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15207 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15208 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15209 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15212 * sysdeps/unix/sysv/linux/recv.S: Likewise.
15213 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15214 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15215 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15216 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15217 * sysdeps/unix/sysv/linux/send.S: Likewise.
15218 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15219 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15220 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15221 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15222 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15223 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15226 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15227 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15228 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15229 socketcall is implemented in GLIBC.
15230
15231 2015-05-22 Joseph Myers <joseph@codesourcery.com>
15232
15233 * soft-fp/fmadf4.c: Include <libc-internal.h>.
15234 (__fma): Ignore uninitialized warnings around packing.
15235 * soft-fp/fmasf4.c: Include <libc-internal.h>.
15236 (__fmaf): Ignore uninitialized warnings around packing.
15237 * soft-fp/fmatf4.c: Include <libc-internal.h>.
15238 (__fmal): Ignore uninitialized warnings around packing.
15239
15240 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15241 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15242 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15243 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15244
15245 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15246 switch statement into default case.
15247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15248
15249 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15250 a conditional in forcing "inexact".
15251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15252 Likewise.
15253
15254 2015-05-22 Roland McGrath <roland@hack.frob.com>
15255
15256 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15257 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15258 for each INTERNAL_SYSCALL use.
15259
15260 2015-05-22 Joseph Myers <joseph@codesourcery.com>
15261
15262 [BZ #438]
15263 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15264 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15265 variable.
15266
15267 [BZ #18444]
15268 * string/basename.c (basename): Rename to __basename and define as
15269 weak alias of __basename. Use libc_hidden_weak.
15270 * include/string.h (__basename): Declare. Use libc_hidden_proto.
15271 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15272 __basename instead of basename.
15273 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15274 Remove variable.
15275 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15276
15277 2015-05-18 Florian Weimer <fweimer@redhat.com>
15278
15279 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15280 (_IO_JUMPS_FILE_plus): New.
15281 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15282 _IO_CAST_FIELD_ACCESS.
15283 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15284 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15285 * libio/freopen.c (freopen): Likewise.
15286 * libio/freopen64.c (freopen64): Likewise.
15287 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15288 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15289 * libio/iofwide.c (_IO_fwide): Likewise.
15290 * libio/memstream.c (open_memstream): Likewise.
15291 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15292 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15293 * libio/oldiopopen.c (_IO_old_popen): Likewise.
15294
15295 2015-05-21 Joseph Myers <joseph@codesourcery.com>
15296
15297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15298 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15299 NADJ.
15300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15301 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15302 NADJ.
15303 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15304 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15305 NADJ.
15306
15307 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15308 (p == 4) case.
15309
15310 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15311 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15312 Remove variable.
15313 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15314 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15315 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15316
15317 2015-05-21 Florian Weimer <fweimer@redhat.com>
15318
15319 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15320 Adjust jump table label generation macros.
15321
15322 2015-05-21 Florian Weimer <fweimer@redhat.com>
15323
15324 * stdio-common/vfprintf.c (vfprintf): Move local variables
15325 args_malloced, specs, specs_malloced, and the code after
15326 do_positional to the printf_positional function.
15327 (printf_positional): New function.
15328
15329 2015-05-21 Florian Weimer <fweimer@redhat.com>
15330
15331 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15332 function.
15333 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15334 STEP4_TABLE, process_arg): Move macro definitions
15335 out of the vfprintf function. (Cosmetic change only.)
15336
15337 2015-05-21 Carlos O'Donell <carlos@redhat.com>
15338
15339 * benchtests/Makefile (stdio-common-bench): Define.
15340 (benchset): Add stdio-common-bench.
15341 * sprintf-inputs: New file.
15342 * sprintf-source.c: New file.
15343
15344 2015-05-21 Andreas Schwab <schwab@suse.de>
15345
15346 [BZ #13028]
15347 [BZ #17053]
15348 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15349 of struct __res_state.
15350 * resolv/res_send.c (__libc_res_nsend): Likewise.
15351 (get_nsaddr): New function.
15352 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15353 statp directly.
15354
15355 2015-05-20 Joseph Myers <joseph@codesourcery.com>
15356
15357 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15358 -D_POSIX_C_SOURCE=199506L.
15359
15360 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15361
15362 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15363 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15364 Do not mention otherwise.
15365 [POSIX] (_XOPEN_VERSION): Do not expect.
15366 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15367 [POSIX] (_POSIX2_C_BIND): Likewise.
15368 [POSIX] (_POSIX2_VERSION): Likewise.
15369 [POSIX] (_XOPEN_XPG2): Likewise.
15370 [POSIX] (_XOPEN_XPG3): Likewise.
15371 [POSIX] (_XOPEN_XPG4): Likewise.
15372 [POSIX] (_XOPEN_UNIX): Likewise.
15373 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15374 [POSIX] (_POSIX_BARRIERS): Likewise.
15375 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15376 [POSIX] (_POSIX_CPUTIME): Likewise.
15377 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15378 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15379 [POSIX] (_POSIX_SHELL): Likewise.
15380 [POSIX] (_POSIX_SPAWN): Likewise.
15381 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15382 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15383 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15384 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15385 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15386 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15387 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15388 [POSIX] (_XBS5_LP64_OFF64): Likewise.
15389 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15390 [POSIX] (_POSIX_TIMEOUTS): Likewise.
15391 [POSIX] (_POSIX2_PBS): Likewise.
15392 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15393 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15394 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15395 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15396 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15397 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15398 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15399 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15400 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15401 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15402 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15403 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15404 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15405 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15406 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15407 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15408 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15409 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15410 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15411 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15412 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15413 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15414 [POSIX] (_SC_2_C_BIND): Likewise.
15415 [POSIX] (_SC_2_C_VERSION): Likewise.
15416 [POSIX] (_SC_2_PBS): Likewise.
15417 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15418 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15419 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15420 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15421 [POSIX] (_SC_2_PBS_TRACK): Likewise.
15422 [POSIX] (_SC_ATEXIT_MAX): Likewise.
15423 [POSIX] (_SC_BARRIERS): Likewise.
15424 [POSIX] (_SC_BASE): Likewise.
15425 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15426 [POSIX] (_SC_DEVICE_IO): Likewise.
15427 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15428 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15429 [POSIX] (_SC_FD_MGMT): Likewise.
15430 [POSIX] (_SC_FIFO): Likewise.
15431 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15432 [POSIX] (_SC_FILE_LOCKING): Likewise.
15433 [POSIX] (_SC_FILE_SYSTEM): Likewise.
15434 [POSIX] (_SC_IOV_MAX): Likewise.
15435 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15436 [POSIX] (_SC_NETWORKING): Likewise.
15437 [POSIX] (_SC_PAGE_SIZE): Likewise.
15438 [POSIX] (_SC_PASS_MAX): Likewise.
15439 [POSIX] (_SC_PIPE): Likewise.
15440 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15441 [POSIX] (_SC_REGEXP): Likewise.
15442 [POSIX] (_SC_SHELL): Likewise.
15443 [POSIX] (_SC_SIGNALS): Likewise.
15444 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15445 [POSIX] (_SC_SPIN_LOCKS): Likewise.
15446 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15447 [POSIX] (_SC_USER_GROUPS): Likewise.
15448 [POSIX] (_SC_USER_GROUPS_R): Likewise.
15449 [POSIX] (_SC_STREAMS): Likewise.
15450 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15451 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15452 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15453 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15454 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15455 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15456 [POSIX] (_PC_FILESIZEBITS): Likewise.
15457 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15458 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15459 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15460 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15461 [POSIX] (uid_t): Likewise.
15462 [POSIX] (gid_t): Likewise.
15463 [POSIX] (off_t): Likewise.
15464 [POSIX] (pid_t): Likewise.
15465 [POSIX] (cuserid): Allow.
15466 (_SC_2_CHAR_TERM): Require constant.
15467 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15468 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15469 variable.
15470
15471 2015-05-20 Roland McGrath <roland@hack.frob.com>
15472
15473 * sysdeps/nacl/pthread-pids.h: New file.
15474 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15475 (create_thread): Use __nacl_get_tid to initialize PD->tid.
15476
15477 * nptl/pthread-pids.h: New file.
15478 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15479 * nptl/nptl-init.c: Include <pthread-pids.h>.
15480 (__pthread_initialize_minimal_internal):
15481 Call __pthread_initialize_pids instead of set_tid_address syscall.
15482
15483 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15484 * sysdeps/posix/usleep.c: ... here.
15485
15486 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15487
15488 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15489 call_pselect6 object.
15490 [$(subdir) = io]: Remove call_sync_file_range object.
15491 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15493 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15494 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15495
15496 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
15497
15498 * math/s_cproj.c: Add include "math_private.h".
15499 * math/s_cprojf.c: Likewise.
15500 * math/s_cprojl.c: Likewise.
15501
15502 2015-05-19 Joseph Myers <joseph@codesourcery.com>
15503
15504 [BZ #18244]
15505 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15506 high mantissa bit when testing whether P is a NaN.
15507 * math/libm-test.inc (remainder_test_data): Add more tests.
15508 (remquo_test_data): Likewise.
15509
15510 [BZ #18049]
15511 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15512 below -32, return the argument, with underflow if subnormal.
15513 * math/auto-libm-test-in: Add more tests of atanh.
15514 * math/auto-libm-test-out: Regenerated.
15515
15516 2015-05-19 Roland McGrath <roland@hack.frob.com>
15517
15518 [BZ #18434]
15519 * nptl/tst-sem15.c: New file.
15520 * nptl/Makefile (tests): Add it.
15521 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15522 s/<</>>/ to fix typo in EOVERFLOW check.
15523 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15524
15525 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15526
15527 * manual/strings.texi (envz_remove): Fix typo in safety
15528 annotations.
15529
15530 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
15531 Steve Ellcey <sellcey@imgtec.com>
15532
15533 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15534 in order to avoid strict alias warnings.
15535 (iruserok_af): Ditto for ra.
15536
15537 2015-05-19 James Lemke <jwlemke@codesourcery.com>
15538
15539 [BZ #17581]
15540 * malloc/hooks.c
15541 (magicbyte): Convert to a function and avoid returning 0x01.
15542 (mem2mem_check): Avoid using a length byte equal to the magic byte.
15543 (mem2chunk_check): Fix unsigned comparisons to zero.
15544 Hoist defs of sz and magic.
15545
15546 2015-05-19 Richard Henderson <rth@redhat.com>
15547
15548 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15549
15550 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15551
15552 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
15554 [BZ #16159]
15555 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15556 * malloc/arena.c (arena_lock): Check if arena is corrupt.
15557 (reused_arena): Find a non-corrupt arena.
15558 (heap_trim): Pass arena to unlink.
15559 * malloc/hooks.c (malloc_check_get_size): Pass arena to
15560 malloc_printerr.
15561 (top_check): Likewise.
15562 (free_check): Likewise.
15563 (realloc_check): Likewise.
15564 * malloc/malloc.c (malloc_printerr): Add arena argument.
15565 (unlink): Likewise.
15566 (munmap_chunk): Adjust.
15567 (ARENA_CORRUPTION_BIT): New macro.
15568 (arena_is_corrupt): Likewise.
15569 (set_arena_corrupt): Likewise.
15570 (sysmalloc): Use mmap if there are no usable arenas.
15571 (_int_malloc): Likewise.
15572 (__libc_malloc): Don't fail if arena_get returns NULL.
15573 (_mid_memalign): Likewise.
15574 (__libc_calloc): Likewise.
15575 (__libc_realloc): Adjust for additional argument to
15576 malloc_printerr.
15577 (_int_free): Likewise.
15578 (malloc_consolidate): Likewise.
15579 (_int_realloc): Likewise.
15580 (_int_memalign): Don't touch corrupt arenas.
15581 * malloc/tst-malloc-backtrace.c: New test case.
15582
15583 * Makefile (summarize-tests): Fix return value on success.
15584
15585 * manual/string.texi (Envz Functions): Add envz_remove.
15586
15587 2015-05-18 Roland McGrath <roland@hack.frob.com>
15588
15589 * sysdeps/posix/opendir.c: Include <stdbool.h>.
15590 (invalid_name): New function, broken out of ...
15591 (__opendirat): ... here. Call it.
15592 (need_isdir_precheck): New function, broken out of ...
15593 (__opendirat): ... here. Call it.
15594 Use __fxstatat64, not __xstatat64.
15595 (opendir_oflags): New function, broken out of ...
15596 (__opendirat): ... here. Call it.
15597 (opendir_tail): New function, broken out of ...
15598 (__opendirat): ... here. Call it.
15599 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15600 opendir_tail, rather than punting to __opendirat.
15601 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15602
15603 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 * .gitignore: Ignore generated *.pyc.
15606
15607 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
15608
15609 * include/stdio.h: Define __need_wint_t.
15610 * test-skeleton.c: Avoid `for' loop initial declaration.
15611 * nptl/tst-initializers1.c: Use test-skeleton.c.
15612
15613 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15614
15615 [BZ #18418]
15616 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15617
15618 2015-05-15 Joseph Myers <joseph@codesourcery.com>
15619
15620 [BZ #16352]
15621 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15622 (__ieee754_atanh): Force underflow exception for results with
15623 small absolute value.
15624 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15625 (__ieee754_atanhf): Force underflow exception for results with
15626 small absolute value.
15627 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15628 (__ieee754_atanh): Force underflow exception for results with
15629 small absolute value.
15630 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15631 (__ieee754_atanhf): Force underflow exception for results with
15632 small absolute value.
15633 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15634 (__ieee754_atanhl): Force underflow exception for results with
15635 small absolute value.
15636 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15637 (__ieee754_atanhl): Force underflow exception for results with
15638 small absolute value.
15639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15640 (__ieee754_atanhl): Force underflow exception for results with
15641 small absolute value.
15642 * math/auto-libm-test-in: Do not allow missing underflow
15643 exceptions from atanh.
15644 * math/auto-libm-test-out: Regenerated.
15645
15646 [BZ #18221]
15647 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15648 2**-28 as threshold for returning x or +/- 1/x.
15649 * math/auto-libm-test-in: Add more tests of tan.
15650 * math/auto-libm-test-out: Regenerated.
15651
15652 [BZ #18220]
15653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15654 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15655 * math/auto-libm-test-in: Add another test of lgamma.
15656 * math/auto-libm-test-out: Regenerated.
15657
15658 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
15659
15660 * stdio-common/printf_fp.c (___printf_fp): Use abs.
15661 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
15662 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15663 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15664 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
15665 (ADD2A): Use fabs. (SUB2A): Use fabs.
15666 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15669 (log1): Use fabs. (my_log2): Use fabs.
15670 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15671 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15672 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15673 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15675 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
15676 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
15677 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
15678 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
15679 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15680 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15681
15682 2015-05-15 Joseph Myers <joseph@codesourcery.com>
15683
15684 [BZ #18217]
15685 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15686 as threshold for returning 1 - x.
15687 * math/auto-libm-test-in: Add more tests of erfc.
15688 * math/auto-libm-test-out: Regenerated.
15689
15690 2015-05-14 Joseph Myers <joseph@codesourcery.com>
15691
15692 [BZ #18196]
15693 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15694 threshold for large arguments.
15695 * math/auto-libm-test-in: Add another test of atan.
15696 * math/auto-libm-test-out: Regenerated.
15697
15698 [BZ #16339]
15699 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15700 (__log1p): Force underflow exception for results with small
15701 absolute value.
15702 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15703 (__log1pf): Force underflow exception for results with small
15704 absolute value.
15705 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15706 (__log1p): Force underflow exception for results with small
15707 absolute value.
15708 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15709 (__log1pf): Force underflow exception for results with small
15710 absolute value.
15711 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15712 (__log1pl): Force underflow exception for results with small
15713 absolute value.
15714 * math/auto-libm-test-in: Do not allow missing underflow
15715 exceptions from log1p.
15716 * math/auto-libm-test-out: Regenerated.
15717
15718 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
15719 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15720
15721 [BZ #16704]
15722 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15723
15724 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
15725
15726 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15727 (libmvec): New variable.
15728 * configure.ac: Added option for mathvec build.
15729 * configure: Regenerated.
15730 * mathvec/Depend: New file.
15731 * mathvec/Makefile: New file.
15732 * shlib-versions: Added libmvec.
15733 * math/Makefile: Added rule for libm.so installation.
15734
15735 * bits/math-vector.h: New file.
15736 * bits/libm-simd-decl-stubs.h: New header.
15737 * math/Makefile (headers): Added new header
15738 libm-simd-decl-stubs.h.
15739 * math/math.h (__MATHCALL_VEC): New macro.
15740
15741 * math/gen-libm-have-vector-test.sh: Script generates series of macros
15742 for conditions in testing functions.
15743 * math/Makefile: Added call of libm-have-vector-test.sh.
15744 * math/libm-test.inc (HAVE_VECTOR): New macros.
15745
15746 * math/libm-test.inc: START refactored.
15747 * math/test-double.c (TEST_MATHVEC): Add define.
15748 * math/test-float.c: Likewise.
15749 * math/test-idouble.c: Likewise.
15750 * math/test-ifloat.c: Likewise.
15751 * math/test-ildoubl.c: Likewise.
15752 * math/test-ldouble.c: Likewise.
15753 * sysdeps/generic/math-tests-arch.h
15754 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15755 architecture check.
15756
15757 * math/test-double.c (FUNC_TEST): New macro.
15758 * math/test-float.c: Likewise.
15759 * math/test-idouble.c: Likewise.
15760 * math/test-ifloat.c: Likewise.
15761 * math/test-ildoubl.c: Likewise.
15762 * math/test-ldouble.c: Likewise.
15763 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15764
15765 2015-05-13 Roland McGrath <roland@hack.frob.com>
15766
15767 * sysdeps/nacl/fdopendir.c: New file.
15768
15769 * dirent/scandir-tail.c: New file.
15770 * dirent/scandir64-tail.c: New file.
15771 * dirent/Makefile (routines): Add them.
15772 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15773 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15774 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15775 [!SCANDIR] (SCANDIR_TAIL): New macro.
15776 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15777 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15778 (SCANDIRAT): Macro removed.
15779 (SCANDIR_TAIL): New macro.
15780 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15781 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15782 (SCANDIRAT): Just call __opendirat and __scandir_tail.
15783 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15784 (READDIR): Macro removed.
15785 (SCANDIR_TAIL): New macro.
15786 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15787 (SCANDIR_TAIL): New macro.
15788
15789 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15790 * dirent/scandir-cancel.c: ... to this new file.
15791 * dirent/Makefile (routines): Add it.
15792 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15793 * sysdeps/unix/sysv/linux/i386/scandir64.c
15794 (SKIP_SCANDIR_CANCEL): Macro removed.
15795 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15796
15797 * dirent/tst-scandir.c: New file.
15798 * dirent/tst-scandir64.c: New file.
15799 * dirent/Makefile (tests): Add them.
15800
15801 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
15802
15803 [BZ #18409]
15804 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15805
15806 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
15807
15808 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15809 list.
15810
15811 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
15812
15813 * benchtests/bench-strcoll.c: New benchmark.
15814 * benchtests/Makefile: Generate locales and run benchmark.
15815 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15816 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15817 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15818 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15819 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15820 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15821 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15822 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15823 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15824 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15825 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15826 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15827 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15828 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15829 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15830 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15831 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15832 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15833 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15834 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15835 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15836 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15837 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15838 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15839
15840 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
15841
15842 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15843 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15844
15845 2015-05-12 Roland McGrath <roland@hack.frob.com>
15846
15847 * posix/uname-values.h: New file.
15848 * posix/uname.c: Include that instead of <config-name.h>.
15849 * sysdeps/nacl/uname-values.h: New file.
15850 * sysdeps/arm/nacl/uname-values.h: New file.
15851
15852 2015-05-12 Joseph Myers <joseph@codesourcery.com>
15853
15854 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15855 splitting into fields.
15856
15857 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
15858
15859 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15860 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15861 * locale/localeinfo.h: Add enum collation_encoding_type.
15862 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15863 * programs/ld-collate.c (collate_output): Add encoding type info.
15864 * string/strcoll_l.c (STRDIFF): New function.
15865 * (STRCOLL): Use STRDIFF to skip over equal prefix.
15866 * wcsmbs/wcscoll_l.c: Define STRDIFF.
15867
15868 2015-05-11 Joseph Myers <joseph@codesourcery.com>
15869
15870 [BZ #18397]
15871 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15872 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
15873 <fpu_control.h> instead of <math/fpu_control.c>.
15874 * sysdeps/mips/mips32/fpu/Makefile: New file.
15875
15876 2015-05-11 Andreas Schwab <schwab@suse.de>
15877
15878 [BZ #18007]
15879 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15880 nss_endgrent.
15881 (_nss_compat_endgrent): Call nss_endgrent.
15882 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15883 nss_endpwent.
15884 (_nss_compat_endpwent): Call nss_endpwent.
15885 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15886 needent, call nss_setspent only if non-zero.
15887 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15888 (internal_endspent): Don't call nss_endspent.
15889 (_nss_compat_endspent): Call nss_endspent.
15890 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15891 Remove. All uses removed.
15892 (internal_setent): Remove parameter stayopen, add parameter
15893 stream. Use it instead of global variable.
15894 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15895 (internal_endent, internal_getent): Add parameter stream. Use it
15896 instead of global variable.
15897 (CONCAT(_nss_files_end,ENTNAME))
15898 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15899 (_nss_files_get##name##_r): Pass local stream. Remove locking.
15900 * nss/nss_files/files-alias.c (position, last_use): Remove. All
15901 uses removed.
15902 (internal_setent, internal_endent): Add parameter stream. Use it
15903 instead of global variable.
15904 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15905 stream.
15906 (get_next_alias): Add parameter stream.
15907 (_nss_files_getaliasent_r): Pass global stream.
15908 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
15909 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15910 (_nss_files_gethostbyname4_r): Pass local stream to
15911 internal_setent, internal_getent and internal_endent. Remove
15912 locking.
15913
15914 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15915
15916 * tst-strfmon1.c (tests): Update expected currency symbol.
15917
15918 2015-05-08 Roland McGrath <roland@hack.frob.com>
15919
15920 * sysdeps/nacl/gethostname.c: New file.
15921
15922 2015-05-08 Joseph Myers <joseph@codesourcery.com>
15923
15924 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15925 and sinh.
15926 * math/auto-libm-test-out: Regenerated.
15927 * sysdeps/i386/fpu/libm-test-ulps: Update.
15928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15929
15930 2015-05-08 Carlos O'Donell <carlos@redhat.com>
15931
15932 [BZ #18125]
15933 * stdlib/tst-setcontext3.c: New file.
15934 * stdlib/tst-setcontext3.sh: New file.
15935 * stdlib/Makefile (tests): Add tst-setcontext3.
15936 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15937 to verify test program created output file.
15938 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15939 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15940 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15941 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15942
15943 2015-05-06 Roland McGrath <roland@hack.frob.com>
15944
15945 [BZ #18383]
15946 * elf/tst-tlsalign.c: New file.
15947 * elf/tst-tlsalign-static.c: New file.
15948 * elf/tst-tlsalign-lib.c: New file.
15949 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15950 (tests-static): Add tst-tlsalign-static.
15951 (modules-names): Add tst-tlsalign-lib.
15952 (test-xfail-tst-tlsalign): New variable.
15953 (test-xfail-tst-tlsalign-static): New variable.
15954
15955 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15956 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15957
15958 2015-05-06 Joseph Myers <joseph@codesourcery.com>
15959
15960 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15961 csqrt, erfc, sin and sincos.
15962 * math/auto-libm-test-out: Regenerated.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15965
15966 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15967
15968 * sysdeps/aarch64/libm-test-ulps: Update.
15969
15970 2015-05-05 Joseph Myers <joseph@codesourcery.com>
15971
15972 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15973 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15974 * math/auto-libm-test-out: Regenerated.
15975 * sysdeps/i386/fpu/libm-test-ulps: Update.
15976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15977
15978 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
15979
15980 [BZ #18265]
15981 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15982 (wcsncpy): Likewise.
15983
15984 2015-05-05 Florian Weimer <fweimer@redhat.com>
15985
15986 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15987 Assume __ASSUME_FALLOCATE is always true.
15988 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15989 (__posix_fallocate64_l64): Likweise.
15990 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15991 (posix_fallocate): Likewise.
15992 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15993 (__posix_fallocate64_l64): Likewise.
15994 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15995 [!__ASSUME_FALLOCATE]: Add comment.
15996
15997 2015-05-05 Florian Weimer <fweimer@redhat.com>
15998
15999 * sysdeps/unix/sysv/linux/i386/Makefile
16000 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16001 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16002 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16003 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16004 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16005 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16006 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16007
16008 2015-05-02 Joseph Myers <joseph@codesourcery.com>
16009
16010 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16011 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16012 tgamma.
16013 * math/auto-libm-test-out: Regenerated.
16014 * sysdeps/i386/fpu/libm-test-ulps: Update.
16015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16016
16017 2015-05-01 Joseph Myers <joseph@codesourcery.com>
16018
16019 * math/auto-libm-test-in: Add more tests of tgamma.
16020 * math/auto-libm-test-out: Regenerated.
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023
16024 * math/auto-libm-test-in: Add more tests of tanh.
16025 * math/auto-libm-test-out: Regenerated.
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16028
16029 * math/auto-libm-test-in: Add more tests of tan.
16030 * math/auto-libm-test-out: Regenerated.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16033
16034 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16035 * math/auto-libm-test-out: Regenerated.
16036 * sysdeps/i386/fpu/libm-test-ulps: Update.
16037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16038
16039 * math/auto-libm-test-in: Add another test of pow.
16040 * math/auto-libm-test-out: Regenerated.
16041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16042
16043 * math/auto-libm-test-in: Add more tests of lgamma.
16044 * math/auto-libm-test-out: Regenerated.
16045 * sysdeps/i386/fpu/libm-test-ulps: Update.
16046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16047
16048 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16049 log1p.
16050 * math/auto-libm-test-out: Regenerated.
16051 * sysdeps/i386/fpu/libm-test-ulps: Update.
16052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053
16054 2015-05-01 Mark Wielaard <mjw@redhat.com>
16055
16056 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16057 Elf64_Chdr structs and ELFCOMPRESS constants.
16058
16059 2015-05-01 Joseph Myers <joseph@codesourcery.com>
16060
16061 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16062 expm1.
16063 * math/auto-libm-test-out: Regenerated.
16064 * sysdeps/i386/fpu/libm-test-ulps: Update.
16065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16066
16067 * math/auto-libm-test-in: Add more tests of erf and erfc.
16068 * math/auto-libm-test-out: Regenerated.
16069 * sysdeps/i386/fpu/libm-test-ulps: Update.
16070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16071
16072 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
16073
16074 * config.h.in (HAVE_AARCH64_BE): Add.
16075
16076 2015-04-30 Joseph Myers <joseph@codesourcery.com>
16077
16078 * math/auto-libm-test-in: Add more tests of csqrt.
16079 * math/auto-libm-test-out: Regenerated.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16082
16083 * math/auto-libm-test-in: Add more tests of cosh and sinh.
16084 * math/auto-libm-test-out: Regenerated.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087
16088 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16089
16090 2015-04-29 Roland McGrath <roland@hack.frob.com>
16091
16092 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16093 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16094
16095 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16096 (euidaccess, eaccess): Define as weak aliases.
16097
16098 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16099 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
16100 but __suseconds_t is often 'long int' so some sources assume that
16101 type is being used (e.g. they use %ld to print tv_usec).
16102
16103 2015-04-29 Florian Weimer <fweimer@redhat.com>
16104
16105 [BZ #18007]
16106 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16107 (CVE-2014-8121)
16108 * nss/tst-nss-getpwent.c: New file.
16109 * nss/Makefile (tests): Add new test.
16110
16111 2015-04-28 Joseph Myers <joseph@codesourcery.com>
16112
16113 [BZ #18346]
16114 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16115 exponents less than 48 as cases where high part of mantissa needs
16116 examining to determine whether argument is integral.
16117 * math/libm-test.inc (round_test_data): Add more tests.
16118
16119 2015-04-28 Mark Wielaard <mjw@redhat.com>
16120
16121 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16122
16123 2015-04-27 David S. Miller <davem@davemloft.net>
16124
16125 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16126 __tls_get_addr.
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16128
16129 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 [BZ#18333]
16132 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16133
16134 2015-04-27 Florian Weimer <fweimer@redhat.com>
16135
16136 [BZ#18333]
16137 * time/tzset.c (parse_tzname): Return error on memory allocation
16138 failure.
16139 * test-skeleton.c (struct temp_name_list): Change type of name
16140 member to non-const.
16141 (add_temp_file): Create a copy of the file name.
16142 (delete_temp_files): Deallocate memory.
16143 (create_temp_file): Add comment.
16144
16145 2015-04-24 Florian Weimer <fweimer@redhat.com>
16146
16147 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16148 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16149
16150 2015-04-24 Roland McGrath <roland@hack.frob.com>
16151
16152 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16153 * sysdeps/arm/configure: Regenerated.
16154
16155 2015-04-24 Florian Weimer <fweimer@redhat.com>
16156
16157 [BZ #17715]
16158 * time/tzfile.c (__tzfile_read): Check for large values of
16159 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
16160 * time/tzset.c (__tzstring_len): New function, based on the old
16161 __tzstring function.
16162 (__tzstring): Call __tzstring_len.
16163 (parse_tzname): New helper function extracted from
16164 __tzset_parse_tz. Call __tzstring_len, without making a copy of
16165 the input string.
16166 (parse_offset): New helper function extracted from
16167 __tzset_parse_tz. Replace switch with fallthrough with
16168 initialization before sscanf.
16169 (parse_rule): Likewise.
16170 (__tzset_parse_tz): Rewrite using the new helper functions. Use
16171 new-style function definition.
16172 * timezone/Makefile (tests): Add tst-tzset.
16173 (tst-tzset.out): Dependencies on time zone files.
16174 (tst-tzset-ENV): Set TZDIR.
16175 (testdata/XT%): Copy crafted time zone files.
16176 * timezone/README: Mention crafted time zone files.
16177 * timezone/testdata/XT1, timezone/testdata/XT2,
16178 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16179 files.
16180 * timezone/tst-tzset.c: New test.
16181
16182 2015-04-24 Florian Weimer <fweimer@redhat.com>
16183
16184 * Makeconfig (+gccwarn): Remove -Winline.
16185
16186 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16187
16188 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16189
16190 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16191
16192 * NEWS: Mention sysconf() cache information support for s390.
16193 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16194
16195 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
16196
16197 * math/k_casinh.c (__kernel_casinh): Use __copysign.
16198 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16199 (__nearbyint): Likewise.
16200 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16201 (copysignl): Likewise.
16202
16203 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
16204
16205 [BZ #18287]
16206 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16207 based on padding. (CVE-2015-1781)
16208
16209 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16210
16211 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16212 libc-vdso.h.
16213 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16214 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16215 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16216 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16217 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16218 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16219 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16221 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16222 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16223 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16224 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16225 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16226 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16227 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16228 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16229 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16231 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16232 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16233 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16234 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16235 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16236
16237 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
16238
16239 * stdlib/setenv.c (__add_to_environ):
16240 Dump core quickly if setenv (..., NULL, ...) is called.
16241 This time, do it the right way, and pacify GCC with a pragma.
16242
16243 2015-04-17 Roland McGrath <roland@hack.frob.com>
16244
16245 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16246 IMAP->l_prev cannot be null, and #if out the code for the contrary
16247 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16248 believe that NS (&_dl_ns[NSID]) could point outside the array.
16249
16250 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16251 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16252 before using NSID as an index.
16253
16254 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
16255
16256 [BZ #17825]
16257 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16258 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16259 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16260
16261 2015-04-17 Roland McGrath <roland@hack.frob.com>
16262
16263 Add preliminary port to Google Native Client on ARM.
16264 * abi-tags (.*-.*-nacl.*): New entry.
16265 * sysdeps/arm/nacl: New directory.
16266 * sysdeps/nacl: New directory.
16267
16268 2015-04-16 David S. Miller <davem@davemloft.net>
16269
16270 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16271 lowlevellock-futex.h
16272
16273 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
16274
16275 * sysdeps/tile/configure.ac: New file.
16276 * sysdeps/tile/configure: Regenerated.
16277
16278 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16279
16280 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
16281 conditionals for weak_alias and libc_hidden_weak.
16282 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16283 libc_hidden_weak and weak_alias.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16285 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16286 and weak_alias for static one.
16287
16288 2015-04-15 David S. Miller <davem@davemloft.net>
16289
16290 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16291
16292 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16293
16294 [BZ #18206]
16295 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16296 Use signed comparision instead of substraction to avoid
16297 overflow bug.
16298 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16299 Take the sign of ret.
16300 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16301 Do not expect precise return values. Only the sign matters.
16302 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16303 * wcsmbs/test-wcsncmp.c: New File.
16304 * string/test-strncmp.c: Add wcsncmp support.
16305
16306 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16307
16308 [BZ #6792]
16309 * math/w_log1p.c: New file.
16310 * math/w_log1pf.c: Likewise.
16311 * math/w_log1pl.c: Likewise.
16312 * math/Makefile (libm-calls): Add w_log1p.
16313 * math/s_log1pl.c (log1pl): Remove weak_alias.
16314 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16315 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16316 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16317 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16318 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16319 [NO_LONG_DOUBLE] (log1pl): Likewise.
16320 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16322 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16323 (log1p): Remove long_double_symbol.
16324 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16325 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16326 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16327 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16328 remove weak_alias for corresponding log1p function.
16329 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16330 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16331 * sysdeps/ia64/fpu/w_log1p.c: New file.
16332 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16333 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16334 * math/libm-test.inc (log1p_test_data): Add errno expectations.
16335
16336 2015-04-10 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #18247]
16339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16340 decimal exponent by 1.
16341 * stdlib/tst-strtod-round-data: Add more tests.
16342 * stdlib/tst-strtod-round.c (tests): Regenerated.
16343
16344 2015-04-09 Joseph Myers <joseph@codesourcery.com>
16345
16346 * math/auto-libm-test-in: Add more tests of clog and clog10.
16347 * math/auto-libm-test-out: Regenerated.
16348 * sysdeps/i386/fpu/libm-test-ulps: Update.
16349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16350
16351 2015-04-09 Roland McGrath <roland@hack.frob.com>
16352
16353 * Makeconfig (module-cppflags): Exclude all .v.i files.
16354 (skip-module-cppflags): Variable removed.
16355
16356 * configure.ac (libc_config_ok): Initialize before reading
16357 preconfigure scripts, not after.
16358 * configure: Regenerated.
16359
16360 * test-skeleton.c (TIMEOUT): Move #define to top level.
16361 (main): Grok environment variable TEST_DIRECT. If set, print
16362 test expectation details into that file and then behave as if
16363 given --direct.
16364
16365 2015-04-09 Florian Weimer <fweimer@redhat.com>
16366
16367 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16368 warning on 32-bit.
16369
16370 2015-04-08 David S. Miller <davem@davemloft.net>
16371
16372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16373
16374 2015-04-08 Joseph Myers <joseph@codesourcery.com>
16375
16376 * math/auto-libm-test-in: Add more tests of atanh.
16377 * math/auto-libm-test-out: Regenerated.
16378 * sysdeps/i386/fpu/libm-test-ulps: Update.
16379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16380
16381 * math/auto-libm-test-in: Add more tests of atan.
16382 * math/auto-libm-test-out: Regenerated.
16383 * sysdeps/i386/fpu/libm-test-ulps: Update.
16384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16385
16386 2015-04-08 Florian Weimer <fweimer@redhat.com>
16387
16388 * elf/pldd.c (main): Rewrite to use struct
16389 scratch_buffer instead of extend_alloca.
16390 * elf/pldd-xx.c (find_maps): Likewise.
16391 * grp/initgroups.c: Include <scratch_buffer.h> instead of
16392 <alloca.h>.
16393 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16394 scratch_buffer instead of extend_alloca.
16395 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16396 grp/compat-initgroups.c.
16397 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16398 Rewrite to use struct scratch_buffer instead of extend_alloca.
16399 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16400 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16401
16402 2015-04-08 Joseph Myers <joseph@codesourcery.com>
16403
16404 * math/auto-libm-test-in: Add more tests of cbrt.
16405 * math/auto-libm-test-out: Regenerated.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16407
16408 * math/auto-libm-test-in: Add more tests of cabs.
16409 * math/auto-libm-test-out: Regenerated.
16410 * sysdeps/i386/fpu/libm-test-ulps: Update.
16411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16412
16413 [BZ #18210]
16414 [BZ #18211]
16415 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16416 (__ieee754_atan2): Set FE_TONEAREST mode for internal
16417 computations.
16418 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16419 clog10.
16420 * math/auto-libm-test-out: Regenerated.
16421 * sysdeps/i386/fpu/libm-test-ulps: Update.
16422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16423
16424 [BZ #18197]
16425 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16426 (atan): Set FE_TONEAREST mode for internal computations.
16427 * math/auto-libm-test-in: Add more tests of atan.
16428 * math/auto-libm-test-out: Regenerated.
16429
16430 2015-04-07 James Cowgill <james410@cowgill.org.uk>
16431
16432 [BZ #17930]
16433 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16434
16435 2015-04-07 Florian Weimer <fweimer@redhat.com>
16436
16437 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16438
16439 2015-04-07 Florian Weimer <fweimer@redhat.com>
16440
16441 * include/scratch_buffer.h: New file.
16442 * malloc/scratch_buffer_grow.c: Likewise.
16443 * malloc/scratch_buffer_grow_preserve.c: Likewise.
16444 * malloc/scratch_buffer_set_array_size.c: Likewise.
16445 * malloc/tst-scratch_buffer.c: Likewise.
16446 * malloc/Makefile (routines): Add scratch_buffer_grow.
16447 (tests): Add test case.
16448 * malloc/Versions (GLIBC_PRIVATE): Export
16449 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16450 __libc_scratch_buffer_set_array_size.
16451
16452 2015-04-06 Richard Henderson <rth@redhat.com>
16453
16454 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16455 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16456
16457 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16458 unsigned int before printing.
16459
16460 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16461
16462 [BZ #17596]
16463 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16464 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16465
16466 2015-04-02 Florian Weimer <fweimer@redhat.com>
16467
16468 * include/libc-internal.h (libc_max_align_t): Define.
16469
16470 2015-04-02 Andreas Schwab <schwab@suse.de>
16471
16472 [BZ #16850]
16473 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16474
16475 2015-04-02 Mel Gorman <mgorman@suse.de>
16476
16477 [BZ #17195]
16478 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16479 as well as the main arena.
16480
16481 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 [BZ #18185]
16484 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16485 sharing L2 cache to 2 for Silvermont/Knights Landing.
16486
16487 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
16488
16489 [BZ #17711]
16490 * config.make.in (have-protected-data): New.
16491 * configure.ac: Check linker support for protected data symbol.
16492 * configure: Regenerated.
16493 * elf/Makefile (modules-names): Add tst-protected1moda and
16494 tst-protected1modb if $(have-protected-data) is yes.
16495 (tests): Add tst-protected1a and tst-protected1b if
16496 $(have-protected-data) is yes.
16497 ($(objpfx)tst-protected1a): New.
16498 ($(objpfx)tst-protected1b): Likewise.
16499 (tst-protected1modb.so-no-z-defs): Likewise.
16500 * elf/tst-protected1a.c: New file.
16501 * elf/tst-protected1b.c: Likewise.
16502 * elf/tst-protected1mod.h: Likewise.
16503 * elf/tst-protected1moda.c: Likewise.
16504 * elf/tst-protected1modb.c: Likewise.
16505
16506 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 [BZ #17711]
16509 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16510 indicates it is called from do_lookup_x on relocation against
16511 protected data, skip the data definion in the executable from
16512 copy reloc.
16513 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16514 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16515 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16516 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16517 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16518 otherwise to 0.
16519 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16520 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16521 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16522 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16523 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16524 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16525
16526 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
16527
16528 * sysdeps/nptl/pthread.h: Remove duplicate definition of
16529 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16530
16531 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
16532
16533 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16534 THREAD_SETMEM_NC.
16535 * sysdeps/x86_64/nptl/tls.h: Ditto.
16536
16537 2015-03-27 Roland McGrath <roland@hack.frob.com>
16538
16539 * dlfcn/tststatic.c (main): Converted to ...
16540 (do_test): ... this.
16541 (TEST_FUNCTION): New macro.
16542 Include test-skeleton.c.
16543
16544 2015-03-26 Alan Modra <amodra@gmail.com>
16545
16546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16547 Don't segfault if ifunc resolver returns a NULL. Do set plt to
16548 zero for undefined weak.
16549 (elf_machine_plt_conflict): Similarly.
16550
16551 2015-03-25 Joseph Myers <joseph@codesourcery.com>
16552
16553 * math/auto-libm-test-in: Add more tests of acosh, asinh and
16554 atanh.
16555 * math/auto-libm-test-out: Regenerated.
16556 * sysdeps/i386/fpu/libm-test-ulps: Update.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16558
16559 * math/auto-libm-test-in: Add another test of asin.
16560 * math/auto-libm-test-out: Regenerated.
16561 * sysdeps/i386/fpu/libm-test-ulps: Update.
16562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563
16564 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16565 Remove macro.
16566 (LLL_EBX_REG): Likewise.
16567 (LLL_ENTER_KERNEL): Likewise.
16568
16569 * math/auto-libm-test-in: Add more tests of asin.
16570 * math/auto-libm-test-out: Regenerated.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573
16574 [BZ #18138]
16575 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16576 libc_do_syscall_args): New structure.
16577 (INTERNAL_SYSCALL_MAIN_0): New macro.
16578 (INTERNAL_SYSCALL_MAIN_1): Likewise.
16579 (INTERNAL_SYSCALL_MAIN_2): Likewise.
16580 (INTERNAL_SYSCALL_MAIN_3): Likewise.
16581 (INTERNAL_SYSCALL_MAIN_4): Likewise.
16582 (INTERNAL_SYSCALL_MAIN_5): Likewise.
16583 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
16584 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16585 Replace conditional definitions by conditional definitions of ....
16586 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
16587 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16588 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16589 (libpthread-sysdep_routines): Add libc-do-syscall.
16590 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16591 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16592 to __NR_futex not 240.
16593
16594 2015-03-25 Alan Modra <amodra@gmail.com>
16595
16596 * NEWS: Advertise TLS optimization.
16597 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16598 (DT_PPC_NUM): Increment.
16599 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16600 (CHECK_STATIC_TLS): Use here.
16601 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16602 TLS descriptors.
16603 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16604 * sysdeps/powerpc/dl-tls.c: New file.
16605 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16606 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16607 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16608 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16612
16613 2015-03-25 Alan Modra <amodra@gmail.com>
16614
16615 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16616 for overlapping .opd entries" to "support...".
16617 * sysdeps/powerpc/powerpc64/configure: Regenerate
16618
16619 2015-03-25 Joseph Myers <joseph@codesourcery.com>
16620
16621 * math/auto-libm-test-in: Add more tests of acos.
16622 * math/auto-libm-test-out: Regenerated.
16623 * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625
16626 * math/auto-libm-test-in: Add more tests of expm1.
16627 * math/auto-libm-test-out: Regenerated.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16630
16631 2015-03-24 Joseph Myers <joseph@codesourcery.com>
16632
16633 * math/auto-libm-test-in: Add more tests of cosh and sinh.
16634 * math/auto-libm-test-out: Regenerated.
16635 * sysdeps/i386/fpu/libm-test-ulps: Update.
16636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16637
16638 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16640
16641 * math/auto-libm-test-in: Add more tests of log2.
16642 * math/auto-libm-test-out: Regenerated.
16643 * sysdeps/i386/fpu/libm-test-ulps: Update.
16644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16645
16646 2015-03-23 Roland McGrath <roland@hack.frob.com>
16647
16648 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16649 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
16650 _IO_IS_APPENDING bit in READ_WRITE instead.
16651
16652 2015-03-23 Florian Weimer <fweimer@redhat.com>
16653
16654 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16655 (__determine_cpumask_size): Replace extend_alloca with a
16656 variable-length array. Do not treat res == 0 as an error.
16657
16658 2015-03-23 Florian Weimer <fweimer@redhat.com>
16659
16660 [BZ #18100]
16661 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16662 and integer overflow.
16663 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16664 (main): Add integer overflow tests.
16665 * manual/pattern.texi (Calling Wordexp): Document additional use
16666 for WRDE_SYNTAX.
16667
16668 2015-03-23 Alan Modra <amodra@gmail.com>
16669
16670 * config.h.in: Remove HAVE_ASM_PPC_REL16.
16671 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16672 and false branch of conditional.
16673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16674 Likewise.
16675
16676 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
16677
16678 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16679 libc-modules.h
16680 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16681 unused declaration of _hurd_intr_rpc_msg_in_trap.
16682 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16683 defined instead of whether it is non-zero.
16684 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16685 input constraint instead of both input and output constraint. Use ecx
16686 clobber instead of %ecx.
16687 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16688 mutex_unlock): Use a statement expression instead of an expression list.
16689 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16690 type to vm_size_t instead of vm_address_t.
16691 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16692 defined instead of whether it is non-zero.
16693 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16694 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16695 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16696 comparisons with mapaddr.
16697 * nscd/nscd-client.h: Include <time.h>.
16698 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16699 9th parameter to __vm_region instead of int.
16700 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16701 * scripts/check-local-headers.sh (exclude): Add device/,
16702 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16703 cthreads.h.
16704
16705 2015-03-19 Roland McGrath <roland@hack.frob.com>
16706
16707 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16708 to account for alignment padding.
16709 * sysdeps/arm/memmove.S: Likewise.
16710
16711 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
16712
16713 * sysdeps/unix/sysv/linux/generic/README: New file.
16714
16715 2015-03-18 Joseph Myers <joseph@codesourcery.com>
16716
16717 [BZ #18138]
16718 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16719 (futex_abstimed_wait)
16720 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16721 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16722 of lll_futex_timed_wait.
16723
16724 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
16725
16726 [BZ #17542]
16727 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16728
16729 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
16730
16731 [BZ #17090]
16732 [BZ #17620]
16733 [BZ #17621]
16734 [BZ #17628]
16735 * NEWS: Update.
16736 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16737 entries with Static TLS too. Skip entries past the end of the
16738 allocated DTV, from Alan Modra.
16739 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
16740 Static TLS DTV entry set up from...
16741 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16742 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16743 * nptl/allocatestack.c (init_one_static_tls): ... and here...
16744 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16745 for Static TLS.
16746 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
16747 that the slot we find is associated with the given map before
16748 using its generation count.
16749 * nptl_db/db_info.c: Include ldsodefs.h.
16750 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16751 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16752 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16753 (link_map::l_tls_offset): New struct field.
16754 (dtv_t::counter): Likewise.
16755 (rtld_global): New struct.
16756 (_rtld_global): New rtld variable.
16757 (dl_tls_dtv_slotinfo_list): New rtld global field.
16758 (dtv_slotinfo_list): New struct.
16759 (dtv_slotinfo): Likewise.
16760 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16761 (td_lookup): Rename to...
16762 (td_mod_lookup): ... this. Use new mod parameter instead of
16763 LIBPTHREAD_SO.
16764 * nptl_db/td_thr_tlsbase.c: Include link.h.
16765 (dtv_slotinfo_list, dtv_slotinfo): New functions.
16766 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
16767 addresses even if the DTV is out of date or missing them.
16768 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16769 index zero-length arrays.
16770 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16771 (td_lookup): Make it a macro implemented in terms of...
16772 (td_mod_lookup): ... this declaration.
16773 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16774 (DB_MAIN_VARIABLE): Likewise.
16775
16776 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
16777
16778 [BZ #18134]
16779 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16780
16781 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
16782
16783 * stdlib/setenv.c (__add_to_environ): Revert previous change.
16784
16785 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
16786
16787 [BZ #18128]
16788 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16789 (atomic_add, atomic_increment_and_test)
16790 (atomic_decrement_and_test): Fix 64-bit arithmetic.
16791
16792 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
16793
16794 * stdlib/setenv.c (__add_to_environ):
16795 Dump core quickly if setenv (..., NULL, ...) is called.
16796
16797 2015-03-13 Roland McGrath <roland@hack.frob.com>
16798
16799 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16800 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16801 all the necessary asm magic in one place.
16802 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16803 using those.
16804
16805 2015-03-13 Carlos O'Donell <carlos@redhat.com>
16806
16807 [BZ #14906]
16808 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16809 traced file mtime. Use consistent log message.
16810 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16811 (register_traced_file): Call install_watches. Always set mtime.
16812 (invalidate_cache): Iterate over all trace files. Call install_watches.
16813 (inotify_check_files): Don't inline. Handle watching parent
16814 directories and configuration file movement in and out.
16815 (handle_inotify_events): New function.
16816 (main_loop_poll): Call handle_inotify_events.
16817 (main_loop_epoll): Likewise.
16818 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16819 (struct traced_file): Use array of inotify fds. Add parent directory,
16820 and basename.
16821 (struct database_dyn): Remove unused file_mtime.
16822 (init_traced_file): New inline function.
16823 (define_traced_file): New macro.
16824 * nss/nss_db/db-init.c: Use define_traced_file.
16825 (_nss_db_init): Use init_traced_file.
16826 * nss/nss_files/files-init.c: Use define_traced_file.
16827 (_nss_files_init): Use init_traced_file.
16828
16829 2015-03-12 Joseph Myers <joseph@codesourcery.com>
16830
16831 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16832 [_LIBC]: Do not include <stdlib.h>.
16833 [!_LIBC] (abort): Remove declaration.
16834 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16835 _FP_STATIC_ASSERT instead of conditionally calling abort.
16836 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16837 (_FP_EXTEND_CNAN): Likewise.
16838 (FP_TRUNC): Likewise.
16839 (__FP_CLZ): Likewise.
16840 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16841
16842 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
16843
16844 * manual/string.texi (XPG basename): Fix prototype.
16845
16846 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16847
16848 [BZ #18080]
16849 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16850 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16851 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16852 (__setcontext): Likewise.
16853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16854 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16855 Call rt_sigprocmask syscall one time to set new signal mask
16856 and retrieve the current signal mask instead of two calls.
16857 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16858 (__swapcontext): Likewise.
16859 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16860 * stdlib/tst-setcontext2.c: New file.
16861
16862 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16863
16864 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16865
16866 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
16867
16868 [BZ #18093]
16869 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16870 the wrong size.
16871
16872 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16873
16874 [BZ #18043]
16875 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16876
16877 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16878
16879 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16880 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16881 Remove define.
16882 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16883 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16884 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16885 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16886 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16887 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16888 define.
16889 * nptl_db/td_symbol_list.c (td_lookup): Remove
16890 HAVE_ASM_GLOBAL_DOT_NAME code.
16891 * sysdeps/powerpc/powerpc64/configure.ac: Remove
16892 HAVE_ASM_GLOBAL_DOT_NAME check.
16893 * sysdeps/powerpc/powerpc64/configure: Regenerate.
16894 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16895 (DOT_LABEL): Remove define.
16896 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16897 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16898 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16899 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16900 (__TLS_GET_ADDR): Likewise.
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16902 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16903
16904 2015-03-11 Carlos O'Donell <carlos@redhat.com>
16905
16906 [BZ #18111]
16907 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16908 (_FPU_SETCW): Initialize cw from fpsr before storing.
16909 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16910 (fesetexceptflag): Rewrite using fpu_control.h.
16911 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16912
16913 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
16914
16915 [BZ #18110]
16916 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16917 asms.
16918 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16919
16920 2015-03-11 Joseph Myers <joseph@codesourcery.com>
16921
16922 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16923 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16924 abort.
16925 (_FP_FMA): Likewise.
16926 (_FP_DIV): Likewise.
16927
16928 2015-03-10 Roland McGrath <roland@hack.frob.com>
16929
16930 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16931 with 0 in that case.
16932 * Makefile (summarize-tests): New canned sequence, factored out of
16933 commands for targets tests and xtests. Display summary lines that
16934 don't start with PASS: or XFAIL: rather than ones that do start with
16935 ERROR: or FAIL:. Make the commands fail if any summary lines fail
16936 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16937 do start with ERROR: or FAIL:.
16938 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16939 (except for [$(build-shared) = yes]).
16940 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16941 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16942 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16943 * nptl/Makefile: Revert 2015-03-04 changes.
16944 [$(CXX) empty] (tests-unsupported): New variable.
16945 * debug/Makefile: Likewise.
16946
16947 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16948 gnulib file. Replace __attribute with __attribute__ throughout.
16949
16950 2015-03-10 Carlos O'Donell <carlos@redhat.com>
16951
16952 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16953
16954 2015-03-10 Joseph Myers <joseph@codesourcery.com>
16955
16956 [BZ #18104]
16957 * math/auto-libm-test-in: Add another test of pow.
16958 * math/auto-libm-test-out: Regenerated.
16959
16960 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16961
16962 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16963 $(config-cflags-nofma).
16964
16965 2015-03-10 Joseph Myers <joseph@codesourcery.com>
16966
16967 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16968 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16969 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16970 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16971 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16972 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16973 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16974 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16975 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16976 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16977 Add comment on closing #endif.
16978
16979 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16980
16981 * posix/wordexp.c (CHAR_IN_SET): New macro.
16982 (parse_param): Use it.
16983
16984 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985
16986 * sysdeps/powerpc/fpu/libm-test-ulps: update.
16987
16988 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16989
16990 [BZ #18043]
16991 * posix/wordexp.c (parse_param): Fix buffer overflow.
16992 * posix/wordexp-test.c (test_case): Add test case.
16993
16994 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16995
16996 [BZ #18042]
16997 * posix/wordexp.c (parse_backtick): Fix off-by-one.
16998 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16999
17000 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17001
17002 [BZ #18043]
17003 * posix/wordexp-test.c (test_case): Add test for BZ #18043
17004 (do_bz18043): Delete.
17005 (at_page_end): New.
17006 (testit): Refactor to have words at the edge of unreadable page.
17007
17008 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17009
17010 [BZ #16734]
17011 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17012 Cleanup read-only streams as well.
17013 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17014
17015 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
17016
17017 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17018 <bits/libc-lockP.h>
17019
17020 2015-03-07 Joseph Myers <joseph@codesourcery.com>
17021
17022 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
17023 on [__KERNEL__].
17024 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17025 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17026 * soft-fp/op-common.h (_FP_DECL): Likewise.
17027
17028 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
17029
17030 * elf/ifuncdep2.c (global): Replace
17031 __attribute__((visibility("protected"))) with
17032 asm (".protected global").
17033 * elf/ifuncmod1.c (global): Likewise.
17034 * elf/ifuncmod5.c (global): Likewise.
17035
17036 2015-03-06 Joseph Myers <joseph@codesourcery.com>
17037
17038 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17039 <asm/sfp-machine.h> instead of <sfp-machine.h>.
17040
17041 2015-03-06 Roland McGrath <roland@hack.frob.com>
17042
17043 * manual/install.texi (Configuring and compiling):
17044 Document test-wrapper-env-only.
17045 * INSTALL: Regenerated.
17046
17047 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17048
17049 [BZ #18043]
17050 * posix/wordexp.c (parse_param): Fix buffer overflow.
17051 * posix/wordexp-test.c (do_bz18043): Add test case.
17052
17053 2015-03-06 Vincent Bernat <vincent@bernat.im>
17054
17055 * time/tst-strptime2.c (do_test): Ensure failing tests are
17056 reported correctly.
17057 * time/tst-strptime3.c (do_test): Likewise.
17058
17059 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
17060
17061 Fix aio_error thread-safety.
17062 * sysdeps/pthread/aio_error.c: New file
17063 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17064 synchronization.
17065
17066 2015-03-06 Florian Weimer <fweimer@redhat.com>
17067
17068 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17069 (group_number, vfprintf): Use it.
17070 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17071 (JUMP, REF): Use it.
17072 (WORK_BUFFER_SIZE): New enum constant.
17073 (process_arg, vfprintf): Use it.
17074
17075 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
17076
17077 * manual/errno.texi (Error Messages): Complete example function
17078 by adding missing #define.
17079 (program_invocation_name): Add statement indicating GNU
17080 extension and reference which header file declares the variable.
17081 (program_invocation_short_name): Likewise.
17082
17083 2015-03-06 Mike Frysinger <vapier@gentoo.org>
17084
17085 * manual/errno.texi (Error Messages): Delete strerror ISO C89
17086 compatibility note.
17087
17088 2015-03-05 Roland McGrath <roland@hack.frob.com>
17089
17090 * Makeconfig (test-wrapper-env-only): New variable.
17091 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17092 then use that with $(test-wrapper-env-only) rather than using
17093 $(test-wrapper-env) $(run-program-env) $($*-ENV).
17094
17095 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
17096
17097 [BZ #18082]
17098 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17099 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17100 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17101 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17102 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17103 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17104 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17105 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17106 Likewise.
17107 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17108 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17109 Likewise.
17110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17111 Likewise.
17112 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17113 Likewise.
17114 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17115 Likewise.
17116 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17118 Likewise.
17119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17120 Likewise.
17121 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17122 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17123
17124 2015-03-04 Roland McGrath <roland@hack.frob.com>
17125
17126 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17127 (ETH_ALEN): New macro.
17128 (struct ether_addr): Use it for length of ether_addr_octet.
17129
17130 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17131 (setdb): Don't call __nss_configure_lookup for "rpc".
17132 (do_test): Don't call test_rpc.
17133 (output_rpcent, test_rpc): Functions moved ...
17134 * sunrpc/test-rpcent.c: ... to this new file.
17135 * sunrpc/Makefile (tests): Add it.
17136
17137 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17138 __xpg_sigpause.
17139 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17140 * nptl/tst-signal6.c: Likewise.
17141 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17142 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17143
17144 * configure.ac (libc_cv_cxx_link_ok): New check.
17145 Reset CXX to empty if it fails to link.
17146 * configure: Regenerated.
17147 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17148 bug-atexit3-lib only if $(CXX) is nonempty.
17149 * nptl/Makefile (tests): Likewise for tst-cancel24.
17150 (tests, tests-static): Likewise for tst-cancel24-static.
17151 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17152 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17153 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17154 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17155
17156 2015-03-04 Andreas Schwab <schwab@suse.de>
17157
17158 [BZ #17631]
17159 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17160 for non-GCC compilers.
17161 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17162 Likewise.
17163
17164 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17165
17166 [BZ #17776]
17167 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17168 integer before bitwise and assembly operations.
17169 (feclearexcept): Likewise.
17170 * math/test-fenvinline.c: New file.
17171 * math/Makefile: Add test-fenvinline test.
17172
17173 2015-03-03 Alan Modra <amodra@gmail.com>
17174
17175 [BZ #16512]
17176 * scripts/localplt.awk: Strip off symbol version.
17177 * NEWS: Mention bug fix.
17178
17179 2015-03-02 Roland McGrath <roland@hack.frob.com>
17180
17181 * sysdeps/pthread/timer_routines.c
17182 (timer_free_list, thread_free_list, thread_active_list): Make static.
17183
17184 2015-03-02 Joseph Myers <joseph@codesourcery.com>
17185
17186 [BZ #17779]
17187 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17188 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17189 Undefine.
17190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17191 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/sh/kernel-features.h
17194 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17195 Likewise.
17196
17197 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17198
17199 [BZ #18036]
17200 * posix/fnmatch_loop.c (END): Detect invalid pattern.
17201 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17202
17203 2015-03-02 Andreas Schwab <schwab@suse.de>
17204
17205 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17206 variable name.
17207
17208 2015-03-02 Florian Weimer <fweimer@redhat.com>
17209
17210 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17211 Return error status.
17212
17213 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
17214
17215 [BZ #15969]
17216 * locale/findlocale.c (_nl_find_locale): Introduce const
17217 version of loc_name and drop unsafe type casts.
17218
17219 2015-02-27 Roland McGrath <roland@hack.frob.com>
17220
17221 * dlfcn/tststatic2.c (main): Converted to ...
17222 (do_test): ... this.
17223 (TEST_FUNCTION): New macro.
17224 Include test-skeleton.c.
17225
17226 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 [BZ #17711]
17229 * elf/Makefile (tests): Add vismain only if PIE is enabled.
17230 (tests-pie): Add vismain.
17231 (CFLAGS-vismain.c): New.
17232 * elf/vismain.c: Add comments for PIE requirement.
17233
17234 2015-02-27 Joseph Myers <joseph@codesourcery.com>
17235
17236 [BZ #18046]
17237 [BZ #18047]
17238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17239 0x1p-56L as threshold for just returning the argument.
17240 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17241 0x1p-32L as threshold for just returning the argument.
17242 * math/auto-libm-test-in: Add more tests of atanh.
17243 * math/auto-libm-test-out: Regenerated.
17244 * sysdeps/i386/fpu/libm-test-ulps: Update.
17245 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17246
17247 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
17248
17249 * string/bcopy.c (bcopy): Call memmove for performance.
17250
17251 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
17252
17253 * string/bzero.c (__bzero): Call memset for performance.
17254
17255 2015-02-27 John David Anglin <dave.anglin@bell.net>
17256
17257 [BZ #18068]
17258 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17259 to 00100000.
17260
17261 2015-02-27 Joseph Myers <joseph@codesourcery.com>
17262
17263 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17264
17265 2015-02-26 Joseph Myers <joseph@codesourcery.com>
17266
17267 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17268 (__kernel_standard): Use CSTR macro when setting exc.name.
17269 * sysdeps/ieee754/Makefile [$(subdir) = math]
17270 (CFLAGS-k_standard.c): Remove variable.
17271
17272 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17273 setting p and q from "else if" to "else".
17274 (qzero): Likewise.
17275 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17276 (qone): Likewise.
17277 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17278 (qzerof): Likewise.
17279 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17280 (qonef): Likewise.
17281 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17282 (qzero): Likewise.
17283 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17284 (qone): Likewise.
17285
17286 [BZ #18038]
17287 [BZ #18039]
17288 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17289 return pi/2 for arguments below 0x1p-113L.
17290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17291 return pi/2 for arguments below 0x1p-106L.
17292 * math/auto-libm-test-in: Add more tests of acos.
17293 * math/auto-libm-test-out: Regenerated.
17294
17295 [BZ #16351]
17296 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17297 (MO): New macro.
17298 (__ieee754_asin): Force underflow exception for results with small
17299 absolute value.
17300 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17301 (MO): New macro.
17302 (__ieee754_asinf): Force underflow exception for results with
17303 small absolute value.
17304 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17305 (__ieee754_asin): Force underflow exception for results with small
17306 absolute value.
17307 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17308 (__ieee754_asinf): Force underflow exception for results with
17309 small absolute value.
17310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17311 (__ieee754_asinl): Force underflow exception for results with
17312 small absolute value.
17313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17314 (__ieee754_asinl): Force underflow exception for results with
17315 small absolute value.
17316 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17317 (__ieee754_asinl): Force underflow exception for results with
17318 small absolute value.
17319 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17320 Include <math.h>.
17321 * math/auto-libm-test-in: Do not mark underflow exceptions as
17322 possibly missing for bug 16351.
17323 * math/auto-libm-test-out: Regenerated.
17324
17325 [BZ #18030]
17326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17327 of power of 2 down when low part has opposite sign.
17328 * math/libm-test.inc (logb_test_data): Add more tests.
17329
17330 2015-02-26 Andreas Schwab <schwab@suse.de>
17331
17332 [BZ #18032]
17333 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17334 over collating symbol inside a bracket expression. Minor cleanup.
17335 * posix/tst-fnmatch3.c (do_test): Add test case.
17336
17337 2015-02-26 Joseph Myers <joseph@codesourcery.com>
17338
17339 [BZ #18029]
17340 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17341 Adjust exponent of power of 2 down when low part has opposite
17342 sign.
17343 * math/libm-test.inc (ilogb_test_data): Add more tests.
17344
17345 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
17346
17347 [BZ #15969]
17348 * locale/findlocale.c (_nl_find_locale): Fix constness error in
17349 the previous change.
17350
17351 [BZ #15969]
17352 * locale/findlocale.c (_nl_find_locale): Retry archive search
17353 after alias expansion.
17354
17355 2015-02-25 Roland McGrath <roland@hack.frob.com>
17356
17357 * iconv/tst-iconv3.c (main): Converted to ...
17358 (do_test): ... this.
17359 (TEST_FUNCTION): New macro.
17360 Include test-skeleton.c.
17361
17362 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17363 (convert): Make function static.
17364 (test_unalign): Likewise. Add const to argument pointee types.
17365 (main): Replace with static function do_test.
17366 Print "Succeeded." only if RET is zero.
17367 (TEST_FUNCTION): New macro.
17368 Include test-skeleton.c.
17369
17370 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17371 returns a null pointer.
17372
17373 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17374
17375 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17376 to __memcpy_ppc only for static builds.
17377
17378 2015-02-25 Joseph Myers <joseph@codesourcery.com>
17379
17380 [BZ #18020]
17381 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17382 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17383 * math/auto-libm-test-in: Add more tests of asinh.
17384 * math/auto-libm-test-out: Regenerated.
17385 * sysdeps/i386/fpu/libm-test-ulps: Update.
17386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387
17388 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
17389
17390 [BZ #15850]
17391 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17392 and ip6_mtuinfo definitions here.
17393 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17394 in this define too. Update comment.
17395
17396 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
17397
17398 * elf/sprof.c (load_shobj): Tweak error message to match others.
17399
17400 2015-02-24 Kevin Easton <kevin@guarana.org>
17401
17402 [BZ #16145] (partial fix)
17403 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17404 to reduce lock contention.
17405
17406 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
17407
17408 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17409 (struct timex): Update time comment.
17410 (ADJ_SETOFFSET): Define.
17411
17412 2015-02-24 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #18019]
17415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17416 2**56 not 2**28 as threshold for log (2x) formula.
17417 * math/auto-libm-test-in: Add more tests of acosh.
17418 * math/auto-libm-test-out: Regenerated.
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17421
17422 2015-02-24 Mike Frysinger <vapier@gentoo.org>
17423
17424 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17425 parenthesis around the buf assignment.
17426 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17427
17428 2015-02-24 Joseph Myers <joseph@codesourcery.com>
17429
17430 [BZ #16783]
17431 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17432 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17433 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17434 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17435 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17436 * math/libm-test.inc (scalb_test_data): Add more tests.
17437
17438 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17439
17440 [BZ #17916]
17441 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17442 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17443
17444 2015-02-24 Eric Rannaud <e@nanocritical.com>
17445
17446 [BZ #17523]
17447 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17448 * io/bits/fcntl2.h (open): Use it.
17449 (openat): Likewise.
17450 * io/open.c (__libc_open): Likewise.
17451 * io/open64.c (__libc_open64): Likewise.
17452 * io/open64_2.c (__open64_2): Likewise.
17453 * io/open_2.c (__open_2): Likewise.
17454 * io/openat.c (__openat): Likewise.
17455 * io/openat64.c (__openat64): Likewise.
17456 * io/openat64_2.c (__openat64_2): Likewise.
17457 * io/openat_2.c (__openat_2): Likewise.
17458 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17459 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17460 * sysdeps/posix/open64.c (__libc_open64): Likewise.
17461 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17462 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17463 (__open_nocancel): Likewise.
17464 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17465 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17466 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17467
17468 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17469
17470 [BZ #14841]
17471 * resolv/gethnamaddr.c (getanswer): Skip logging if
17472 RES_USE_DNSSEC is set.
17473 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17474
17475 2015-02-24 Mike Frysinger <vapier@gentoo.org>
17476
17477 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17478
17479 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
17480
17481 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17482 201304L, for Unicode 7.
17483
17484 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 [BZ #17836]
17487 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17488 shared library. Add gmon-start.os otherwise.
17489 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17490 $(objpfx)gmon-start.os if builing shared library.
17491 ($(objpfx)g$(static-start-installed-name)): Likewise.
17492
17493 2015-02-23 Andreas Schwab <schwab@suse.de>
17494
17495 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17496
17497 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17498
17499 [BZ #17269]
17500 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17501 (enlarge_userbuf): Likewise.
17502
17503 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
17504
17505 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17506 * math/atest-exp.c (TIMEOUT): Adjust to 200.
17507 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17508 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17509
17510 2015-02-20 Joseph Myers <joseph@codesourcery.com>
17511
17512 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17513 expression inside statement expression.
17514
17515 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17516
17517 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17518 <sysdeps/nptl/lowlevellock.h> and remove macros and
17519 functions that are now defined there.
17520 (SYS_futex): Remove.
17521 (lll_compare_and_swap): Remove.
17522 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17523
17524 2015-02-19 Joseph Myers <joseph@codesourcery.com>
17525
17526 [BZ #17999]
17527 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17528 instead of scandirat.
17529 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17530 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17531 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17532 __scandirat.
17533 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17534 (__scandirat): Declare. Use libc_hidden_proto.
17535 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17536 Remove variable.
17537 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17538
17539 2015-02-18 Joseph Myers <joseph@codesourcery.com>
17540
17541 [BZ #15319]
17542 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17543 (MO): New macro.
17544 (__ieee754_atan2): For results with small absolute value, force
17545 underflow exception and remove excess range and precision from
17546 return value.
17547 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17548 (MO): New macro.
17549 (__ieee754_atan2f): For results with small absolute value, force
17550 underflow exception and remove excess range and precision from
17551 return value.
17552 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17553 (MO): New macro.
17554 (__atan): For results with small absolute value, force underflow
17555 exception and remove excess range and precision from return value.
17556 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17557 (MO): New macro.
17558 (__atanf): For results with small absolute value, force underflow
17559 exception and remove excess range and precision from return value.
17560 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17561 <math.h>.
17562 (__ieee754_atan2): Force underflow exception for results with
17563 small absolute value.
17564 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17565 <math_private.h>.
17566 (atan): Force underflow exception for results with small absolute
17567 value.
17568 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17569 (__atanf): Force underflow exception for results with small
17570 absolute value.
17571 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17572 <math.h>.
17573 (__atanl): Force underflow exception for results with small
17574 absolute value.
17575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17576 (__atanl): Force underflow exception for results with small
17577 absolute value.
17578 * sysdeps/x86/fpu/bits/mathinline.h
17579 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17580 (__ieee754_atan2): Only define inline for long double.
17581 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17582 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17583 * math/auto-libm-test-in: Do not mark underflow exceptions as
17584 possibly missing for bug 15319. Add more tests of atan2.
17585 * math/auto-libm-test-out: Regenerated.
17586 * math/libm-test.inc (casin_test_data): Do not mark underflow
17587 exceptions as possibly missing for bug 15319.
17588 (casinh_test_data): Likewise.
17589 * sysdeps/i386/fpu/libm-test-ulps: Update.
17590
17591 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
17592
17593 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17594 * sysdeps/mips/bits/endian.h: Fix comments.
17595
17596 2015-02-18 Joseph Myers <joseph@codesourcery.com>
17597
17598 [BZ #17996]
17599 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17600 (hdestroy_r): Likewise.
17601 (hsearch_r): Likewise.
17602 (__hcreate_r): Declare and use libc_hidden_proto.
17603 (__hdestroy_r): Likewise.
17604 (__hsearch_r): Likewise.
17605 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17606 (hcreate): Call __hcreate_r instead of hcreate_r.
17607 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17608 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17609 as weak alias of __hcreate_r.
17610 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17611 __hdestroy_r.
17612 (hsearch_r): Rename to __hsearch_r and define as weak alias of
17613 __hsearch_r.
17614 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17615 Remove variable.
17616 (test-xfail-XPG4/search.h/linknamespace): Likewise.
17617 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17618 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17619 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17620
17621 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17622
17623 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17624 arena_lock into a single arena_get.
17625
17626 2015-02-17 Carlos O'Donell <carlos@redhat.com>
17627
17628 * dl-reloc.c: Inlucde libc-internal.h.
17629 (_dl_try_allocate_static_tls): Call ALIGN_UP.
17630 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17631 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17632 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17633 (grow_heap): Likewise.
17634 * malloc/malloc.c: Include libc-internal.h.
17635 (do_check_malloc): Call powerof2.
17636 (sysmalloc): Use pagesize. Call ALIGN_UP.
17637 (systrim): Use pagesize.
17638 (mremap_chunk): Use pagesize. Call ALIGN_UP.
17639 (__libc_valloc): Use pagesize.
17640 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17641
17642 2015-02-17 Joseph Myers <joseph@codesourcery.com>
17643
17644 [BZ #17991]
17645 * include/sys/resource.h (__getrlimit64): Declare. Use
17646 libc_hidden_proto.
17647 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17648 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
17649 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17650 getrlimit64.
17651 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17652 __getrlimit64.
17653 [!getrlimit64] (getrlimit64): Define as weak alias of
17654 __getrlimit64. Use libc_hidden_weak.
17655 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17656 using __getrlimit64 not __new_getrlimit64.
17657 (__GI_getrlimit64): Likewise.
17658 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17659 Likewise.
17660 (__GI_getrlimit64): Likewise.
17661 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17663 (getrlimit): Add __getrlimit64 alias.
17664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17665 Likewise.
17666 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17667 Remove variable.
17668 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17669 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17670
17671 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17672
17673 * libio/fileops.c: Add missing sys/mman.h
17674 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17675
17676 2015-02-17 Joseph Myers <joseph@codesourcery.com>
17677
17678 * manual/math.texi (Errors in Math Functions): Clarify goals
17679 regarding inexact and underflow exceptions.
17680
17681 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
17682
17683 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17684 * sysdeps/mips/memset.S: Ditto.
17685
17686 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
17687
17688 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17689
17690 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17691
17692 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17693 (__v1longjmp): Remove versioned symbol.
17694 (__v1siglongjmp): Remove alias and versioned symbol.
17695 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17696 (__v2siglongjmp): Likewise.
17697
17698 2015-02-16 Torvald Riegel <triegel@redhat.com>
17699
17700 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17701
17702 2015-02-16 Mike Frysinger <vapier@gentoo.org>
17703
17704 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17705
17706 2015-02-16 Joseph Myers <joseph@codesourcery.com>
17707
17708 [BZ #17987]
17709 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17710 zero result does not depend on the sign resulting from
17711 subtraction.
17712 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17713 Likewise.
17714 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17716 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17717 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17718 * math/libm-test.inc (remquo_test_data): Add more tests.
17719
17720 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
17721
17722 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17723 Problem reported by J William Piggott.
17724
17725 2015-02-16 Joseph Myers <joseph@codesourcery.com>
17726
17727 [BZ #17978]
17728 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17729 products 4 * y and 2 * y where those would overflow.
17730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17731 Likewise.
17732 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17733 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17735 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17736 * math/libm-test.inc (remquo_test_data): Add more tests.
17737
17738 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17739
17740 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17741 [defined _COMPILING_NEWLIB].
17742 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17743 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17744
17745 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17746 [!defined __mips_isa_rev || __mips_isa_rev < 6].
17747
17748 2015-02-16 Torvald Riegel <triegel@redhat.com>
17749
17750 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17751 acquired.
17752
17753 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
17754
17755 [BZ #17792]
17756 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17757 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17758 HOST_STACK_END_ADDR): Likewise.
17759
17760 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
17761
17762 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17763 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17764 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17765
17766 2015-02-13 Roland McGrath <roland@hack.frob.com>
17767
17768 * sysdeps/generic/c++-types.data: New file.
17769 * sysdeps/generic/ld.abilist: New file.
17770 * sysdeps/generic/libBrokenLocale.abilist: New file.
17771 * sysdeps/generic/libanl.abilist: New file.
17772 * sysdeps/generic/libc.abilist: New file.
17773 * sysdeps/generic/libcrypt.abilist: New file.
17774 * sysdeps/generic/libdl.abilist: New file.
17775 * sysdeps/generic/libm.abilist: New file.
17776 * sysdeps/generic/libpthread.abilist: New file.
17777 * sysdeps/generic/libresolv.abilist: New file.
17778 * sysdeps/generic/librt.abilist: New file.
17779
17780 2015-02-13 Joseph Myers <joseph@codesourcery.com>
17781
17782 [BZ #17569]
17783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17784 Compute absolute value of x as modified by fmod, not original
17785 value of x.
17786 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17787 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
17788 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
17789 RUN_TEST_ffI_f1_mod8.
17790 (remquo_test_data): Add more tests.
17791
17792 2015-02-13 Roland McGrath <roland@hack.frob.com>
17793
17794 * sysdeps/init_array/pt-crti.S: New file.
17795
17796 2015-02-13 Joseph Myers <joseph@codesourcery.com>
17797
17798 [BZ #17967]
17799 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17800 __builtin_fmaf instead of relying on contraction of a * b + c.
17801
17802 2015-02-12 J William Piggott <elseifthen@gmx.com>
17803
17804 [BZ #17969]
17805 * manual/time.texi: correct the zoneinfo path in the TZ Variable
17806 node.
17807
17808 2015-02-12 Joseph Myers <joseph@codesourcery.com>
17809
17810 [BZ #17964]
17811 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17812 __builtin_fma instead of relying on contraction of a * b + c.
17813
17814 2015-02-12 Roland McGrath <roland@hack.frob.com>
17815
17816 * Makeconfig (ASFLAGS): Add -Werror=undef.
17817 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17818 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17819 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17820
17821 * Makeconfig (after-link): New variable.
17822 (+link-pie, +link-pie-tests): Use it.
17823 (+link-static, +link-static-tests): Likewise.
17824 (+link, +link-tests): Likewise.
17825 * Makerules (build-module, build-module-asneeded): Likewise.
17826 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17827 Likewise.
17828 * elf/Makefile ($(objpfx)ld.so): Likewise.
17829
17830 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
17831
17832 [BZ #17965]
17833 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17834 both struct timeval and struct timespec.
17835
17836 2015-02-12 Joseph Myers <joseph@codesourcery.com>
17837
17838 [BZ #16560]
17839 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17840 and redefine.
17841 (__ieee754_exp2l): Do not multiply small fractional parts by
17842 M_LN2l.
17843 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17844 small argument.
17845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17846 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17847 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17848 * math/auto-libm-test-in: Add more tests of exp2.
17849 * math/auto-libm-test-out: Regenerated.
17850
17851 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17852
17853 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17854 unaligned path.
17855
17856 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17857
17858 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17859 little endian.
17860
17861 2015-02-12 Andreas Schwab <schwab@suse.de>
17862
17863 [BZ #15790]
17864 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17865 Filter out elision flags from value returned in kind.
17866 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17867 * nptl/tst-pthread-mutexattr.c: New file.
17868
17869 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17870
17871 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17872 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17873 into gnu-gnu, and update comment to refer to abi-tags.
17874
17875 2015-02-11 Joseph Myers <joseph@codesourcery.com>
17876
17877 [BZ #15467]
17878 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17879 (__sincos): Set errno to EDOM for infinite argument.
17880 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17881 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17882 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17883 (__sincosl): Set errno to EDOM for infinite argument.
17884 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17885 (__sincosl): Set errno to EDOM for infinite argument.
17886 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17887 (__sincosl): Set errno to EDOM for infinite argument.
17888 * math/libm-test.inc (sincos_test_data): Test errno setting.
17889
17890 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
17891
17892 * string/strxfrm_l.c: Remove #define STRCMP.
17893 * string/strcoll_l.c: Remove #define STRLEN.
17894 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17895 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17896
17897 2015-02-10 Joseph Myers <joseph@codesourcery.com>
17898
17899 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17900 * sysdeps/mips/mips32/sfp-machine.h: ... here.
17901 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17902 * sysdeps/mips/mips64/Makefile: ... here.
17903 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17904 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17905 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17906 * sysdeps/mips/mips64/sfp-machine.h: ... here.
17907 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17908 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17909 * sysdeps/mips/mips64/n64/Implies: Likewise.
17910
17911 2015-02-10 Roland McGrath <roland@hack.frob.com>
17912
17913 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17914 <sys/time.h>, <string.h>, and <errno.h>.
17915 (dest_offset, dest_address, value, zero): Remove unused variables.
17916 (ldouble): Remove typedef.
17917 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17918 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
17919 1). Fix code style.
17920 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17921 (check): Function removed.
17922 (CHECK): New macro.
17923 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
17924 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17925 Don't call set_sigaction_FP and remove_sigaction_FP here.
17926 (ldouble_test): Just use 'long double' as macro argument, no need for
17927 the 'ldouble' typedef.
17928 (do_test): Set up SIGFPE handler at start, using plain signal rather
17929 than sigaction. Fix code style.
17930
17931 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
17932
17933 [BZ #17949]
17934 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17935 jump label.
17936
17937 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17938
17939 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17940 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17941
17942 * sysdeps/powerpc/configure.ac: Remove file.
17943 * sysdeps/powerpc/configure: Likewise.
17944
17945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17946 [sysdep_routines]: Remove wordcopy-power6 object.
17947 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17948 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17949 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17950 (__memmove_ppc32): Likewise.
17951 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17952 file.
17953 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17954 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17955 Remove preprocessor.
17956
17957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17958 [sysdep_routines]: Remove wide chars objects.
17959 [wcsmbs]: New rule for wide char objects.
17960
17961 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17962 Remove wordcopy-power6 obejct.
17963 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17964 Use local call for wordcopy and memcpy symbols.
17965 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17967 implementation for loader.
17968 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17969
17970 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17971 Remove wordcopy-power7 object.
17972 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17973 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17974 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17975 (_wordcopy_fwd_dest_aligned): Likewise.
17976 (_wordcopy_bwd_aligned): Likewise.
17977 (_wordcopy_bwd_dest_aligned): Likewise.
17978
17979 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17980 Rewrite to call __memmove_ppc instead of include default
17981 implementation.
17982
17983 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17984 Remove wide chars objects.
17985 [wcsmbs]: New rule for wide char objects.
17986
17987 2015-02-09 Andreas Schwab <schwab@suse.de>
17988
17989 [BZ #17912]
17990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17991 in terms of __O_DIRECTORY.
17992
17993 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
17994
17995 * time/getdate.c: Include <stdbool.h>.
17996 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17997 call PTR_MANGLE.
17998 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17999 PTR_DEMANGLE.
18000
18001 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
18002
18003 Add ersatz _Static_assert on older C hosts
18004 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18005 pre-C11 C platform that is not known to support _Static_assert.
18006
18007 2015-02-07 Richard Braun <rbraun@sceen.net>
18008
18009 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18010 sigstate.
18011 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18012
18013 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
18014
18015 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18016 priority against unexistent AIO_PRIO_DELTA_MAX.
18017 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18018 instead of int.
18019 * misc/fchflags.c (fchflags): Likewise.
18020 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18021 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18022 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18023 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18024 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18025 Declare macros.
18026 [__USE_MISC] (chflags, fchflags): Declare functions.
18027 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18028 EINVAL when nfds is greater than FD_SETSIZE.
18029 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18030 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18031 45.
18032 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18033 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18034 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18035 MACH_RCV_TIMED_OUT.
18036 * hurd/hurd/signal.h (_hurd_self_sigstate,
18037 _hurd_critical_section_lock, _hurd_critical_section_unlock):
18038 Explicit casts from void *.
18039 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18040 * abi-tags: Rename gnu-gnu os into gnu.
18041
18042 [BZ #4719]
18043 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18044 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18045 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18046 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18047 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18048 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18049
18050 [BZ #17944]
18051 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18052 duplicates ADDR->sun_path with sockaddr LEN limitation.
18053 * sysdeps/mach/hurd/connect.c: Include <string.h>
18054 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18055 * sysdeps/mach/hurd/sendmsg.c: Likewise.
18056 * sysdeps/mach/hurd/sendto.c: Likewise.
18057 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18058 implementing it by hand.
18059
18060 2015-02-06 Roland McGrath <roland@hack.frob.com>
18061
18062 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18063 Use sfi_breg on ldr.
18064 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18065 Likewise.
18066
18067 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18068 it's defined.
18069 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18070 Test SIGSETXID only if it's defined.
18071
18072 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18073
18074 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18075 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
18076
18077 * nptl/tst-align2.c: Moved ...
18078 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18079 * nptl/Makefile (tests): Remove tst-align2.
18080 * sysdeps/unix/sysv/linux/Makefile
18081 [$(subdir) = nptl] (tests): Add tst-align-clone.
18082 * nptl/tst-getpid1.c: Moved ...
18083 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18084 * nptl/tst-getpid2.c: Moved ...
18085 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18086 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18087 * sysdeps/unix/sysv/linux/Makefile
18088 [$(subdir) = nptl] (tests): ... here.
18089 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18090 * sysdeps/unix/sysv/linux/Makefile
18091 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18092
18093 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18094 Drop trailing \n from perror argument. Use return rather than exit.
18095
18096 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18097 on [SA_SIGINFO].
18098 * nptl/tst-cancel21.c (do_test): Likewise.
18099 * debug/tst-backtrace6.c: Include <signal.h> first thing.
18100 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18101 [!SA_SIGINFO]: Make it a stub test.
18102
18103 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18104 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18105
18106 * posix/tst-getlogin.c: Move to ...
18107 * login/tst-getlogin.c: ... here.
18108 * posix/Makefile (tests): Move tst-getlogin to ...
18109 * login/Makefile (tests): ... here.
18110
18111 * libio/tst-atime.c (do_test): Move local variables SV and E
18112 inside [ST_NOATIME] conditional.
18113
18114 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18115
18116 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18117
18118 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18119 (wait_code): New function replaces macro.
18120 Call nanosleep rather than syscall.
18121
18122 * nptl/pt-system.c: Rewritten. Put everything under
18123 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18124 Use IFUNC to redirect when possible.
18125
18126 * nptl/pt-longjmp.c: Rewritten. Put everything under
18127 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18128 Use IFUNC to redirect when possible.
18129
18130 * nptl/pt-fork.c: Rewritten. Put everything under
18131 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18132 Use IFUNC to redirect when possible.
18133 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18134
18135 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18136 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18137 unconditionally nowadays. This included the only reference to
18138 __vdso_clock_gettime that appears outside libc proper.
18139 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18140 Remove version set (containing only __vdso_clock_gettime).
18141 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18142 Add attribute_hidden.
18143 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18144 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18145 libc_hidden_data_def.
18146 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18148
18149 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18150 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18151 setrpcent, and getrpcport to ...
18152 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18153 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18154 getrpcbynumber_r, and getrpcent_r to ...
18155 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18156 * inet/getrpcbyname.c: Moved ...
18157 * sunrpc/getrpcbyname.c: ... here.
18158 * inet/getrpcbyname_r.c: Moved ...
18159 * sunrpc/getrpcbyname_r.c: ... here.
18160 * inet/getrpcbynumber.c: Moved ...
18161 * sunrpc/getrpcbynumber.c: ... here.
18162 * inet/getrpcbynumber_r.c: Moved ...
18163 * sunrpc/getrpcbynumber_r.c: ... here.
18164 * inet/getrpcent.c: Moved ...
18165 * sunrpc/getrpcent.c: ... here.
18166 * inet/getrpcent_r.c: Moved ...
18167 * sunrpc/getrpcent_r.c: ... here.
18168 * inet/Makefile (routines): Move those to ...
18169 * sunrpc/Makefile (routines): ... here.
18170 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18171 the $(subdirs) list.
18172 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
18173 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18174 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18175 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18176
18177 * elf/Makefile (routines): Include $(all-dl-routines), not just
18178 $(dl-routines).
18179 (rtld-routines): Likewise. Use = rather than :=.
18180 * sysdeps/aarch64/Makefile [$(subdir) = elf]
18181 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18182 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18183 * sysdeps/arm/Makefile: Likewise.
18184 * sysdeps/i386/Makefile: Likewise.
18185 * sysdeps/x86_64/Makefile: Likewise.
18186 * sysdeps/hppa/Makefile [$(subdir) = elf]
18187 (sysdep_routines, sysdep-rtld-routines): Don't add
18188 $(sysdep-dl-routines) to these.
18189 * sysdeps/ia64/Makefile: Likewise.
18190 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18191 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18192 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18193 Don't add dl-static to these; sysdep-dl-routines alone is enough.
18194 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18195 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18196 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18197 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18198 * sysdeps/powerpc/Makefile [$(subdir) = elf]
18199 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18200 these; sysdep-dl-routines alone is enough.
18201
18202 2015-02-06 Joseph Myers <joseph@codesourcery.com>
18203
18204 [BZ #17932]
18205 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18206 where multiplication results in zero and third argument is finite
18207 and nonzero.
18208 * math/auto-libm-test-in: Add more tests of fma.
18209 * math/auto-libm-test-out: Regenerated.
18210
18211 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18212 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18213 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18214 (_FP_CMP_EQ): Likewise.
18215 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18216
18217 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18218 extra argument CHECK_NAN. Redefine as wrapper around
18219 _FP_EXTEND_CNAN.
18220
18221 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
18222
18223 * version.h (RELEASE): Set to "stable".
18224 (VERSION): Set to "2.21"
18225 * include/features.h (__GLIBC_MINOR__): Set to 21.
18226
18227 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18228
18229 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18230 Paul Eggert <eggert@cs.ucla.edu>
18231
18232 [BZ #16618]
18233 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18234 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18235 size in bytes. Store needed elements in wpmax. Use needed size
18236 in bytes for extend_alloca.
18237
18238 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
18239
18240 * manual/install.texi: Latest tested versions are GCC 4.9.2,
18241 binutls 2.25, and texinfo 5.2.
18242 * INSTALL: Regenerate.
18243 * sysdeps/nios2/configure: Regenerate.
18244 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18245 * manual/contrib.texi: Update.
18246 * po/be.po: Update.
18247 * po/bg.po: Update.
18248 * po/ca.po: Update.
18249 * po/cs.po: Update.
18250 * po/da.po: Update.
18251 * po/de.po: Update.
18252 * po/el.po: Update.
18253 * po/eo.po: Update.
18254 * po/es.po: Update.
18255 * po/fi.po: Update.
18256 * po/fr.po: Update.
18257 * po/gl.po: Update.
18258 * po/hr.po: Update.
18259 * po/hu.po: Update.
18260 * po/ia.po: Update.
18261 * po/id.po: Update.
18262 * po/it.po: Update.
18263 * po/ja.po: Update.
18264 * po/ko.po: Update.
18265 * po/lt.po: Update.
18266 * po/nb.po: Update.
18267 * po/nl.po: Update.
18268 * po/pl.po: Update.
18269 * po/pt_BR.po: Update.
18270 * po/ru.po: Update.
18271 * po/rw.po: Update.
18272 * po/sk.po: Update.
18273 * po/sl.po: Update.
18274 * po/sv.po: Update.
18275 * po/tr.po: Update.
18276 * po/uk.po: Update.
18277 * po/vi.po: Update.
18278 * po/zh_CN.po: Update.
18279 * po/zh_TW.po: Update.
18280
18281 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18282 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18283 * sysdeps/hppa/dl-irel.h: Remove #warning.
18284 * sysdeps/hppa/entry.h: Provide prototype for
18285 __canonicalize_funcptr_for_compare and cast argument.
18286 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18287 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18288 * sysdeps/hppa/sotruss-lib.c: New file.
18289 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18290 (atomic_compare_and_exchange_val_acq): Use __typeof__.
18291 (atomic_compare_and_exchange_bool_acq): Likewise.
18292 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18293 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18294
18295 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18296 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18297 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18298
18299 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
18300
18301 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18302 called function in non-PIC case.
18303
18304 2015-01-31 David S. Miller <davem@davemloft.net>
18305
18306 * sysdeps/sparc/sparc32/bits/atomic.h
18307 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18308 unlock not after it.
18309 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18310 volatile register usage warnings from the compiler.
18311
18312 * sysdeps/sparc/nptl/sem_init.c: Delete.
18313 * sysdeps/sparc/nptl/sem_post.c: Delete.
18314 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18315 * sysdeps/sparc/nptl/sem_wait.c: Delete.
18316 * sysdeps/sparc/sparc32/sem_init.c: New file.
18317 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18318 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18319 padding explicitly initialized.
18320 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18321 padding for in-semaphore spinlock.
18322 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18323 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18324 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18325 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18326 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18327 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18328 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18329 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18330 version.
18331 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18332 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18333
18334 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
18335
18336 [BZ #17801]
18337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18338 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18339 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18340 New.
18341 (index_AVX_Fast_Unaligned_Load): Likewise.
18342 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18343 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18344 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18345 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18346 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18347 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18348 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18349 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18350 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18351
18352 2015-01-29 Andreas Schwab <schwab@suse.de>
18353
18354 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18355
18356 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18357
18358 [BZ #17892]
18359 * nscd/nscd_stat.c (send_stats): Initialize DATA.
18360
18361 2015-01-28 Martin Sebor <msebor@redhat.com>
18362
18363 * math/README.libm-test: Clarify. Add "How to read the test output."
18364
18365 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
18366
18367 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18368 Define to 0.
18369
18370 2015-01-28 Joseph Myers <joseph@codesourcery.com>
18371
18372 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18373 (__HAVE_64B_ATOMICS): Define to 0.
18374
18375 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
18376
18377 [BZ #17885]
18378 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18379 value to set as new flag.
18380
18381 [BZ #16576]
18382 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18383 and use _ARCH_PPCSQ instead.
18384 (__ieee754_sqrt): Likewise.
18385 (__ieee754_sqrtf): Likewise.
18386 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18387 _ARCH_PPCSQ is defined.
18388 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18389 fsqrt instruction.
18390 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18391 _ARCH_PPCSQ is defined.
18392 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18393 fsqrts instruction.
18394 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18395
18396 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18397
18398 * iconv/loop.c: Suppress array out of bound warning caused by GCC
18399 bug (GCC BZ #64739).
18400
18401 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
18402
18403 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18404 Mark _retval as used.
18405 (lll_futex_wake_unlock): Likewise.
18406 (lll_futex_timed_wait_requeue_pi): Likewise.
18407
18408 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18409 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18410 register variables.
18411
18412 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18413 libm_hidden_def.
18414
18415 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18416 (__bswap_64): Mark as __always_inline.
18417
18418 2015-01-25 Bram <bug_rh@spam.wizbit.be>
18419
18420 [BZ #15378]
18421 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18422 when none of the search directories exist.
18423
18424 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
18425
18426 [BZ #17869]
18427 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18428 power8 in .machine directive.
18429
18430 [BZ #17868]
18431 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18432 set dependency from opd value.
18433
18434 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
18435
18436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18437 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18438 architecture.
18439
18440 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
18441
18442 [BZ #17870]
18443 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18444 with uint64_t.
18445 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18446 (uint64_t) 1.
18447 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18448 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18449 Replace 1UL with (uint64_t) 1.
18450 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18451 int with uint64_t.
18452
18453 2015-01-23 Roland McGrath <roland@hack.frob.com>
18454
18455 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18456 (if_freenameindex): Likewise.
18457
18458 * resource/getrlimit64.c: Add missing libc_hidden_def.
18459
18460 2015-01-22 Joseph Myers <joseph@codesourcery.com>
18461
18462 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18463 __label__.
18464 (_FP_FMA): Likewise.
18465 (_FP_TO_INT_ROUND): Likewise.
18466 (_FP_FROM_INT): Likewise.
18467
18468 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18469
18470 [BZ #16418]
18471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18472 Make code racy and cancel safe.
18473
18474 2015-01-21 Carlos O'Donell <carlos@redhat.com>
18475
18476 * sysdeps/arm/unwind-resume.h: Fix copyright year.
18477 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18478 attribution.
18479
18480 * pwd/tst-getpw.c: Rewrite.
18481
18482 [BZ #17702]
18483 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18484 (modules-names): Add moddummy1 and moddummy2.
18485 ($(objpfx)tst-rec-dlopen): Define.
18486 * dlfcn/moddummy1.c: New file.
18487 * dlfcn/moddummy2.c: New file.
18488 * dlfcn/tst-rec-dlopen.c: New file.
18489 * elf/dl-cache.c (_dl_load_cache_lookup):
18490 Return char*. Copy result with alloca/strcpy/strdup.
18491 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18492 returns char*. Free cached. If not saving realname
18493 free cached.
18494 * elf/dl-open.c (dl_open_worker): Do not assert that
18495 _r_debug->r_state is RT_CONSISTENT.
18496 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18497 returns char*.
18498
18499 2015-01-21 Torvald Riegel <triegel@redhat.com>
18500 Carlos O'Donell <carlos@redhat.com>
18501
18502 [BZ #12674]
18503 * nptl/sem_waitcommon.c: New file.
18504 * nptl/sem_wait.c: Include sem_waitcommon.c.
18505 (__sem_wait_cleanup, do_futex_wait): Remove.
18506 (__new_sem_wait): Adapt.
18507 (__new_sem_trywait): New function.
18508 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18509 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18510 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18511 (sem_timedwait): Adapt.
18512 * nptl/sem_post.c (__new_sem_post): Adapt.
18513 (futex_wake): New function.
18514 (__old_sem_post): Add release MO fence.
18515 * nptl/sem_open.c (sem_open): Adapt.
18516 * nptl/sem_init.c (__new_sem_init): Adapt.
18517 (futex_private_if_supported): New function.
18518 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18519 (__old_sem_getvalue): Add using previous code.
18520 * sysdeps/nptl/internaltypes.h: Adapt.
18521 * nptl/tst-sem13.c (do_test): Adapt.
18522 * nptl/tst-sem11.c (main): Adapt.
18523 * nptl/sem_trywait.c: Remove.
18524 * nptl/DESIGN-sem.txt: Remove.
18525 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18526 (gen-as-const-headers): Remove structsem.sym.
18527 * nptl/structsem.sym: Remove.
18528 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18529 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18530 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18531 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18532 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18533 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18534 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18535 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18536 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18537 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18538 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18539 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18540 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18541 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18542 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18543 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18544 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18545 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18546 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18547 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18548 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18549 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18550
18551 2015-01-20 Carlos O'Donell <carlos@redhat.com>
18552
18553 * INSTALL: Regenerated.
18554
18555 * po/libc.pot: Regenerated.
18556
18557 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
18558 Sandra Loosemore <sandra@codesourcery.com>
18559 Andrew Jenner <andrew@codesourcery.com>
18560 Joseph Myers <joseph@codesourcery.com>
18561 Nathan Sidwell <nathan@codesourcery.com>
18562
18563 * NEWS: Mention new Nios II port.
18564 * sysdeps/nios2/Implies: New file.
18565 * sysdeps/nios2/Makefile: New file.
18566 * sysdeps/nios2/Subdirs: New file.
18567 * sysdeps/nios2/Versions: New file.
18568 * sysdeps/nios2/__longjmp.S: New file.
18569 * sysdeps/nios2/abort-instr.h: New file.
18570 * sysdeps/nios2/backtrace.c: New file.
18571 * sysdeps/nios2/bits/endian.h: New file.
18572 * sysdeps/nios2/bits/fenv.h: New file.
18573 * sysdeps/nios2/bits/link.h: New file.
18574 * sysdeps/nios2/bits/setjmp.h: New file.
18575 * sysdeps/nios2/bsd-_setjmp.S: New file.
18576 * sysdeps/nios2/bsd-setjmp.S: New file.
18577 * sysdeps/nios2/configure: New generated file.
18578 * sysdeps/nios2/configure.ac: New file.
18579 * sysdeps/nios2/crti.S: New file.
18580 * sysdeps/nios2/crtn.S: New file.
18581 * sysdeps/nios2/dl-init.c: New file.
18582 * sysdeps/nios2/dl-machine.h: New file.
18583 * sysdeps/nios2/dl-sysdep.h: New file.
18584 * sysdeps/nios2/dl-tls.h: New file.
18585 * sysdeps/nios2/dl-trampoline.S: New file.
18586 * sysdeps/nios2/gccframe.h: New file.
18587 * sysdeps/nios2/gmp-mparam.h: New file.
18588 * sysdeps/nios2/jmpbuf-offsets.h: New file.
18589 * sysdeps/nios2/jmpbuf-unwind.h: New file.
18590 * sysdeps/nios2/ldsodefs.h: New file.
18591 * sysdeps/nios2/libc-tls.c: New file.
18592 * sysdeps/nios2/libm-test-ulps: New file.
18593 * sysdeps/nios2/machine-gmon.h: New file.
18594 * sysdeps/nios2/math-tests.h: New file.
18595 * sysdeps/nios2/math_private.h: New file.
18596 * sysdeps/nios2/memusage.h: New file.
18597 * sysdeps/nios2/nptl/Makefile: New file.
18598 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18599 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18600 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18601 * sysdeps/nios2/nptl/pthreaddef.h: New file.
18602 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18603 * sysdeps/nios2/nptl/tls.h: New file.
18604 * sysdeps/nios2/preconfigure: New file.
18605 * sysdeps/nios2/s_fma.c: New file.
18606 * sysdeps/nios2/s_fmaf.c: New file.
18607 * sysdeps/nios2/setjmp.S: New file.
18608 * sysdeps/nios2/sfp-machine.h: New file.
18609 * sysdeps/nios2/sotruss-lib.c: New file.
18610 * sysdeps/nios2/stackguard-macros.h: New file.
18611 * sysdeps/nios2/stackinfo.h: New file.
18612 * sysdeps/nios2/start.S: New file.
18613 * sysdeps/nios2/sysdep.h: New file.
18614 * sysdeps/nios2/tls-macros.h: New file.
18615 * sysdeps/nios2/tst-audit.h: New file.
18616 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18617 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18618 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18619 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18620 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18621 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18622 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18623 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18624 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18625 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18626 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18627 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18628 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18629 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18630 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18631 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18632 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18633 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18634 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18635 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18636 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18637 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18638 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18639 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18640 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18641 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18642 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18643 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18644 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18645 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18646 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18647 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18648 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18649 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18650 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18651 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18652 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18653 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18654 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18655 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18656 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18657 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18658 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18659 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18660
18661 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18662
18663 [BZ #17844]
18664 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18665 (getutent): Use weak_alias in non SHARED case
18666 and default_symbol_version in SHARED case.
18667 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18668 (getutent_r, pututline): Likewise.
18669 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18670 (getutid): Likewise.
18671 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18672 (getutid_r): Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18674 (getutline): Likewise.
18675 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18676 (getutline_r): Likewise.
18677 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18678 (updwtmp): Likewise.
18679
18680 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18681
18682 [BZ #17848]
18683 * sysdeps/s390/s390-32/memcmp.S
18684 (memcmp_g5): Rename to __memcmp_g5.
18685 * sysdeps/s390/s390-32/memcpy.S
18686 (memcpy_g5): Rename to __memcpy_g5.
18687 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18688 (memcpy_mvcle) Rename to __memcpy_mvcle.
18689 * sysdeps/s390/s390-32/memset.S
18690 (memset_g5): Rename to __memset_g5.
18691 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18692 (IFUNC_RESOLVE): Prefix ifunc-resolve function
18693 and use prefixed functions.
18694 * sysdeps/s390/s390-32/multiarch/memcmp.S
18695 (memcmp_z196): Rename to __memcmp_z196.
18696 (memcmp_z10): Rename to __memcmp_z10.
18697 (memcmp): Set alias to __memcmp_g5.
18698 (bcmp): Set alias to __memcmp_g5.
18699 * sysdeps/s390/s390-32/multiarch/memcpy.S
18700 (memcpy_z196): Rename to __memcpy_z196.
18701 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18702 (memcpy_z10): Rename to __memcpy_z10.
18703 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18704 (memcpy): Set alias to __memcpy_g5.
18705 * sysdeps/s390/s390-32/multiarch/memset.S
18706 (memset_z196): Rename to __memset_z196.
18707 Jump to __memset_mvcle instead of memset_mvcle.
18708 (memset_z10): Rename to __memset_z10.
18709 Jump to __memset_mvcle instead of memset_mvcle.
18710 (memset_mvcle) Rename to __memset_mvcle.
18711 (memset): Set alias to __memset_g5.
18712 * sysdeps/s390/s390-64/memcmp.S
18713 (memcmp_z900): Rename to __memcmp_z900.
18714 * sysdeps/s390/s390-64/memcpy.S
18715 (memcpy_z900): Rename to __memcpy_z900.
18716 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18717 (memcpy_mvcle) Rename to __memcpy_mvcle.
18718 * sysdeps/s390/s390-64/memset.S
18719 (memset_z900): Rename to __memset_z900.
18720 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18721 (IFUNC_RESOLVE): Prefix ifunc-resolve function
18722 and use prefixed functions.
18723 * sysdeps/s390/s390-64/multiarch/memcmp.S
18724 (memcmp_z196): Rename to __memcmp_z196.
18725 (memcmp_z10): Rename to __memcmp_z10.
18726 (memcmp): Set alias to __memcmp_z900.
18727 (bcmp): Set alias to __memcmp_z900.
18728 * sysdeps/s390/s390-64/multiarch/memcpy.S
18729 (memcpy_z196): Rename to __memcpy_z196.
18730 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18731 (memcpy_z10): Rename to __memcpy_z10.
18732 Jump to __memcpy_mvcle instead of memcpy_mvcle.
18733 (memcpy): Set alias to __memcpy_z900.
18734 * sysdeps/s390/s390-64/multiarch/memset.S
18735 (memset_z196): Rename to __memset_z196.
18736 Jump to __memset_mvcle instead of memset_mvcle.
18737 (memset_z10): Rename to __memset_z10.
18738 Jump to __memset_mvcle instead of memset_mvcle.
18739 (memset_mvcle) Rename to __memset_mvcle.
18740 (memset): Set alias to __memset_z900.
18741
18742 2015-01-14 Joseph Myers <joseph@codesourcery.com>
18743
18744 [BZ #17748]
18745 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18746 __fesetenv instead of fesetenv.
18747
18748 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18749
18750 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18751 macro.
18752
18753 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18754
18755 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18756 regression on LE.
18757
18758 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18759 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18760 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18761 strncmp-power8 object.
18762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18763 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18764 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18765 * NEWS: Update.
18766
18767 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18768 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18769
18770 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18771 trailing byte check.
18772
18773 2015-01-13 David S. Miller <davem@davemloft.net>
18774
18775 * include/signal.h (__sigreturn): Guard with __USE_MISC.
18776
18777 2015-01-13 Roland McGrath <roland@hack.frob.com>
18778
18779 * login/logout.c (logout): Use memset rather than bzero.
18780 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18781 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18782 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18783 (_gethtbyaddr): Likewise.
18784 * locale/programs/simple-hash.c (bcopy): Macro removed.
18785
18786 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18787
18788 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18789 Add strcmp-power8 object.
18790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18791 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18793 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18794 __strcmp_power8 implementation.
18795 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18796 * NEWS: Update.
18797
18798 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18799 Add strncpy-power8 and stpncpy-power8 objects.
18800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18801 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18802 implementations.
18803 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18804 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18805 __stpncpy_power8 implementation.
18806 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18807 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18808 __strncpy_power8 implementation.
18809 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18810 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18811 * NEWS: Update.
18812
18813 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18814 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18815 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18816
18817 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18818 strncat-power8 object.
18819 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18820 __strcat_power8 implementation.
18821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18822 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18823 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18824 optimized strcat for power8.
18825
18826 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18827 strcpy-power8 and stpcpy-power8 objects.
18828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18829 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18830 implementations.
18831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18832 multiarch stpcpy implementation for POWER8.
18833 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18834 multiarch strcpy implementation for POWER8.
18835 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18836 __strcpy_power8 function.
18837 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18838 stpcpy for POWER8.
18839 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18840 strcpy for POWER8.
18841 * NEWS: Update.
18842
18843 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
18844
18845 [BZ #16009]
18846 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18847 weights and rules. Use do_xfrm_cached if data fits in cache,
18848 do_xfrm otherwise. Moved former main loop to...
18849 * (do_xfrm_cached): New function.
18850 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18851 find_idx, find_position and stack_push.
18852 * (find_idx): New function.
18853 * (find_position): Likewise.
18854 * localedata/sort-test.sh: Added test run for do_xfrm.
18855 * localedata/xfrm-test.c (main): Added command line option
18856 -nocache to run the test with strings that are too large for
18857 the STRXFRM cache.
18858
18859 2015-01-13 Torvald Riegel <triegel@redhat.com>
18860
18861 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18862 variable to lll_futex_wake call, not the value itself.
18863
18864 2015-01-12 Joseph Myers <joseph@codesourcery.com>
18865
18866 [BZ #17803]
18867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18868 twom64. Adjust value to 0x1p-64L.
18869 (__scalblnl): Only return standard underflowing result for K <=
18870 -64 not K <= -63; adjust exponent for underflowing result by 64
18871 not 63.
18872 * math/libm-test.inc (scalbn_test_data): Add more tests.
18873 (scalbln_test_data): Likewise.
18874
18875 [BZ #17834]
18876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18877 0x1p63L.
18878 (__scalblnl): Get new exponent of adjusted subnormal value from ES
18879 not HX.
18880 * math/libm-test.inc (scalbn_test_data): Add more tests.
18881 (scalbln_test_data): Likewise.
18882
18883 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18884 Stefani Seibold <stefani@seibold.net>
18885
18886 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18887 (sysdep_routines): Add dl-vdso here, ...
18888 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18889 (sysdep_routines): ... not here.
18890 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18891 fallback when vDSO is not presented.
18892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18893 Define with libc_hidden_proto/libc_hidden_data_def definitions.
18894 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18895 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18896 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18897 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18898 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18900 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18902 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
18903 fallback configurable symbol when vDSO is not available.
18904 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18905 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
18906 be able to redefine fallback symbol when vDSO is not available.
18907 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18908 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18909
18910 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18911
18912 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18913 (TLS_INIT_TP): Add tm_capable initialization.
18914 (TLS_DEFINE_INIT_TP): Likewise.
18915 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18916 TCB.
18917 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18918 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18919 calculation.
18920 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18921 transactoion is lock elision is built and TCB tm_capable is set.
18922 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18924 (INTERNAL_SYSCALL_NCS): Likewise.
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18926 (INTERNAL_SYSCALL_NCS): Likewise.
18927 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18928
18929 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18930 for powerpc.
18931 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18932 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18933 and remove it for 32 bits case.
18934 [pthread_rwlock_t] (__rwelision): New field for lock elision.
18935 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18936 initialization.
18937 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18938 Disable lock elision with rdlocks if elision is not available.
18939
18940 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18941 (sysdep_routines): Add lock elision objects.
18942 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18943 [pthread_mutex_t] (__spins): Rework to add lock elision field.
18944 [pthread_mutex_t] (__elision): Add field.
18945 [__PTHREAD_SPINS]: Adjust to init lock elision field.
18946 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18947 elision definitions for powerpc.
18948 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18949 implementation of lock elision for powerpc.
18950 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18951 implementation of timed lock elision for powerpc.
18952 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18953 implementation of trylock with lock elision for powerpc.
18954 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18955 implementaion of unlock for lock elision for powerpc.
18956 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18957 automatic enable lock elision for mutexes.
18958 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18959 transaction execution definitions for powerpc.
18960 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18961 definitions.
18962 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18963 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18964 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18965 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18966 * NEWS: Update.
18967
18968 2015-01-09 Roland McGrath <roland@hack.frob.com>
18969
18970 * sysdeps/posix/shm-directory.c: Use <> rather than ""
18971 for #include of <shm-directory.h>.
18972
18973 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
18974
18975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18976 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18977
18978 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
18979
18980 [BZ #17791]
18981 * NEWS: Mention bug fix.
18982 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18983 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18984 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18985
18986 2015-01-09 Torvald Riegel <triegel@redhat.com>
18987
18988 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18989
18990 2015-01-09 Torvald Riegel <triegel@redhat.com>
18991
18992 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18993
18994 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
18995
18996 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18997 pointer and cast to uintptr_t.
18998
18999 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
19000
19001 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19002 removed.
19003 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19004
19005 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
19006
19007 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19008 of 0.
19009
19010 2015-01-08 Roland McGrath <roland@hack.frob.com>
19011
19012 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19013 <nptl/pthreadP.h> instead.
19014 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19015
19016 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19017 already defined.
19018 [__SIGRTMIN] (init): Function removed.
19019 [__SIGRTMIN] (initialized): Variable removed.
19020 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19021 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19022 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19023 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19024 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19025 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19026 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19027 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19028 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19029 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19030 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19031 * sysdeps/nptl/allocrtsig.c: New file.
19032 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19033 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19034 * sysdeps/generic/testrtsig.h: File removed.
19035
19036 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19037 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19038
19039 * nptl/nptl-init.c (pthread_functions): Conditionalize
19040 .ptr__nptl_setxid initialization on [SIGSETXID].
19041
19042 * sysdeps/nptl/sys/procfs.h: New file.
19043 * nptl_db/Makefile (headers): Add it.
19044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19045
19046 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19047 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19048 * nptl/pthread_attr_setaffinity.c: Include it.
19049 * nptl/pthread_setattr_default_np.c: Likewise.
19050 * nptl/check-cpuset.h: New file.
19051
19052 2015-01-08 Richard Henderson <rth@redhat.com>
19053
19054 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19055 (CFLAGS-tst-execstack-prog.c): Likewise.
19056 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19057
19058 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
19059 Sandra Loosemore <sandra@codesourcery.com>
19060 Andrew Jenner <andrew@codesourcery.com>
19061 Joseph Myers <joseph@codesourcery.com>
19062 Nathan Sidwell <nathan@codesourcery.com>
19063
19064 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19065 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19066 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19067 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19068 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19069 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19070 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19071 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19072 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19073 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19074 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19075 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19076 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19077 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19078 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19079 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19080 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19081
19082 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19083
19084 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19085 timespec struct member in syscall macro.
19086 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19087 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19088 first timeval struct member in syscall macro.
19089 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19090
19091 2015-01-07 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #17748]
19094 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19095 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19096 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19097 __feupdateenv and define as weak alias of __feupdateenv. Use
19098 libm_hidden_weak.
19099 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19100 libm_hidden_def.
19101 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19102 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
19103 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19104 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19105 libm_hidden_def.
19106 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19107 __feupdateenv and define as weak alias of __feupdateenv. Use
19108 libm_hidden_weak.
19109 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19110 libm_hidden_def.
19111 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19112 __feupdateenv and define as weak alias of __feupdateenv. Use
19113 libm_hidden_weak.
19114 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19115 libm_hidden_def.
19116 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19117 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19118 (__feupdateenv): Likewise.
19119 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19120 __feupdateenv and define as weak alias of __feupdateenv. Use
19121 libm_hidden_weak.
19122 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19123 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19124 libm_hidden_def.
19125 * sysdeps/tile/math_private.h (__feupdateenv): New inline
19126 function.
19127 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19128 libm_hidden_def.
19129 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19130 __feupdateenv instead of feupdateenv.
19131 (default_libc_feupdateenv_test): Likewise.
19132 (libc_feresetround_ctx): Likewise.
19133
19134 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19135
19136 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19137 prototype.
19138
19139 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
19140
19141 * posix/regcomp.c (parse_bracket_exp): Initialize type to
19142 COLL_SYM in a couple of places to avoid uninitialized variable
19143 wanings on tilegx gcc 4.8.2.
19144
19145 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
19146
19147 * sysdeps/aarch64/strcpy.S: New file.
19148 * sysdeps/aarch64/stpcpy.S: New file.
19149 * NEWS: Updated.
19150
19151 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
19152
19153 * sysdeps/aarch64/strrchr.S: New file.
19154 * NEWS: Updated.
19155
19156 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
19157
19158 [BZ #17658]
19159 * stdlib/setenv.c: Fix memory leak when setting large,
19160 duplicate string.
19161
19162 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
19163
19164 [BZ #17273]
19165 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19166 and tabs from buffer before parsing fstab entry.
19167 * misc/tst-mntent.c (main): Add test for mount entry with
19168 trailing spaces and tabs.
19169
19170 2015-01-06 Joseph Myers <joseph@codesourcery.com>
19171
19172 [BZ #17748]
19173 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
19174 * math/fesetround.c (fesetround): Rename to __fesetround and
19175 define as weak alias of __fesetround. Use libm_hidden_weak.
19176 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19177 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19178 * sysdeps/arm/fesetround.c (fesetround): Likewise.
19179 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19180 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19181 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19182 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19183 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19184 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19185 __fesetround_inline.
19186 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19187 __fesetround_inline instead of __fesetround.
19188 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19189 __fesetround and define as weak alias of __fesetround. Use
19190 libm_hidden_weak. Call __fesetround_inline instead of
19191 __fesetround.
19192 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19193 __fesetround and define as weak alias of __fesetround. Use
19194 libm_hidden_weak.
19195 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19196 Likewise.
19197 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19199 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19200 * sysdeps/tile/math_private.h (__fesetround): New inline function.
19201 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19202 __fesetround and define as weak alias of __fesetround. Use
19203 libm_hidden_weak.
19204 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19205 __fesetround instead of fesetround.
19206 (default_libc_feholdexcept_setround): Likewise.
19207 (libc_feholdsetround_ctx): Likewise.
19208 (libc_feholdsetround_noex_ctx): Likewise.
19209
19210 [BZ #17748]
19211 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19212 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19213 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19214 and define as weak alias of __fesetenv. Use libm_hidden_weak.
19215 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19216 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19217 define as weak alias of __fesetenv. Use libm_hidden_weak.
19218 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19219 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19220 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19221 define as weak alias of __fesetenv. Use libm_hidden_weak.
19222 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19223 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19224 define as weak alias of __fesetenv. Use libm_hidden_weak.
19225 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19226 libm_hidden_def.
19227 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19228 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19229 Likewise.
19230 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19231 define as weak alias of __fesetenv. Use libm_hidden_weak.
19232 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19233 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19234 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19235 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19236 and define as weak alias of __fesetenv. Use libm_hidden_weak.
19237 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19238 __fesetenv instead of fesetenv.
19239 (libc_feresetround_noex_ctx): Likewise.
19240 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19241 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19242 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19244 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19245 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19246 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19247 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19248 (__feupdateenv): Likewise.
19249 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19250 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19251 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19252 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19253
19254 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
19255
19256 [BZ #17806]
19257 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19258 addresses have been freed.
19259
19260 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
19261
19262 * resolv/res_init.c (__res_vinit): Improve comments about nserv
19263 and nservall.
19264
19265 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
19266
19267 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19268 Clean up check_pf allocation pattern. addresses
19269
19270 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19271
19272 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19273 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19274 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19275 * nptl/pthread_exit.c (__pthread_exit): Likewise.
19276 * nptl/pthread_join.c (pthread_join): Likewise.
19277 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19278 * sysdeps/posix/waitid.c (__waitid): Likewise.
19279 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19280 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19281 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19282 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19283 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19284 Likewise.
19285 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19286 (__libc_pread64): Likewise.
19287 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19288 (__libc_pwrite): Likewise.
19289 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19290 (__libc_pwrite64): Likewsie.
19291 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19292 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19293 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19294 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19295 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19296 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19297 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19299 Likewise.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19301 (__libc_pread64): Likewise.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19303 Likewise.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19305 (__libc_pwrite64): Likewise.
19306 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19307 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19308 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19309 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19310 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19311 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19312 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19313 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19314 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19315 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19316 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19317 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19318 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19319 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19320 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19322 Likewise.
19323
19324 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
19325
19326 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19327 (CFLAGS-test-double.c): Likewise.
19328 (CFLAGS-test-ldouble.c): Likewise.
19329 (CPPFLAGS-test-ifloat.c): Likewise.
19330 (CPPFLAGS-test-idouble.c): Likewise.
19331 (CPPFLAGS-test-ildoubl.c): Likewise.
19332 (CFLAGS-test-test-fenv.c): Remove variable.
19333 (CFLAGS-test-misc.c): Likewise.
19334
19335 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
19336
19337 [BZ #17797]
19338 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19339 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19340 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19341 CLOCKS_PER_SEC == 1000000.
19342 * time/clocktest.c (main): Replace %ld with %jd and cast to
19343 intmax_t.
19344
19345 2015-01-05 Roland McGrath <roland@hack.frob.com>
19346
19347 * sysdeps/generic/unwind-resume.h: New file.
19348 * sysdeps/gnu/unwind-resume.c: Include it.
19349 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19350 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19351 argument list.
19352 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19353 global rather than static.
19354 (_Unwind_Resume): Update user.
19355 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19356 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
19357 rather than static. Add __attribute__ ((cold)).
19358 (_Unwind_Resume, __gcc_personality_v0): Update callers.
19359 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19360 * sysdeps/arm/arm-unwind-resume.S: New file.
19361 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19362 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19363 * sysdeps/arm/Makefile [$(subdir) = csu]
19364 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19365 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19366 Add rt-arm-unwind-resume.
19367 [$(subdir) = nptl]
19368 (libpthread-sysdep_routines, libpthread-shared-only-routines):
19369 Add pt-arm-unwind-resume.
19370 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19371 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19372
19373 2015-01-05 Joseph Myers <joseph@codesourcery.com>
19374
19375 [BZ #17748]
19376 * include/fenv.h (__feholdexcept): Declare. Use
19377 libm_hidden_proto.
19378 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19379 define as weak alias of __feholdexcept. Use libm_hidden_weak.
19380 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19381 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19382 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19383 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19384 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19385 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19386 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19387 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19388 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19389 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19390 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19391 (feholdexcept): Likewise.
19392 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19394 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19395 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19396 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19397 __feholdexcept instead of feholdexcept.
19398 (default_libc_feholdexcept_setround): Likewise.
19399
19400 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
19401
19402 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19403 to avoid using stl/str to align destination.
19404
19405 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
19406
19407 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19408
19409 2015-01-05 Joseph Myers <joseph@codesourcery.com>
19410
19411 [BZ #17796]
19412 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19413 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19414 Define as weak alias not strong alias.
19415
19416 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
19417
19418 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19419 bltzal with addiupc.
19420 (RTLD_START): Ditto.
19421
19422 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
19423
19424 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19425 for __vdso_* functions in declarations.
19426 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19427 definitions.
19428 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19429 INTERNAL_VSYSCALL): Use struct return types to check for error.
19430
19431 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19432 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19433 function with cast from llround().
19434 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19435 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19436 Define.
19437
19438 2015-01-05 Joseph Myers <joseph@codesourcery.com>
19439
19440 [BZ #17793]
19441 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19442 Define as weak alias not strong alias.
19443
19444 [BZ #17635]
19445 * ctype/ctype-c99.c: New file. isblank implementation moved from
19446 ...
19447 * ctype/ctype-extn.c: ... here.
19448 (__isblank_l): Move to ...
19449 * ctype/ctype-c99_l.c: ... here. New file.
19450 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19451 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19452 Remove variable.
19453 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19454 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19455 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19456 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19457 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19458
19459 [BZ #17777]
19460 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19461 (posix_fadvise64): Define as weak alias not strong alias.
19462 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19463 (posix_fallocate64): Likewise.
19464 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19465 Remove variable.
19466 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19467 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19468 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19469 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19470 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19471
19472 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
19473
19474 [BZ #16191]
19475 * NEWS: Mention bug fix.
19476 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19477 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19478 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19479 (HOST_STACK_END_ADDR): Likewise.
19480
19481 2015-01-02 Joseph Myers <joseph@codesourcery.com>
19482
19483 [BZ #17748]
19484 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
19485 * math/fegetround.c (fegetround): Rename to __fegetround and
19486 define as weak alias of __fegetround. Use libm_hidden_weak.
19487 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19488 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19489 * sysdeps/arm/fegetround.c (fegetround): Likewise.
19490 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19491 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19492 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19493 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19494 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19495 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19496 Undefine after rather than before function definition; use
19497 parentheses around function name in definition.
19498 (__fegetround): Also undefine macro after function definition.
19499 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19500 __fegetround and define as weak alias of __fegetround. Use
19501 libm_hidden_weak. Do not undefine as macro.
19502 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19503 Likewise.
19504 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19505 __fegetround and define as weak alias of __fegetround. Use
19506 libm_hidden_weak.
19507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19508 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19509 * sysdeps/tile/math_private.h (__fegetround): New inline function.
19510 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19511 __fegetround and define as weak alias of __fegetround. Use
19512 libm_hidden_weak.
19513 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19514 __fegetround instead of fegetround.
19515
19516 [BZ #17782]
19517 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19518 Condition macro definition on [__USE_MISC].
19519
19520 [BZ #17781]
19521 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19522 (struct sigaction): Change type of sa_flags field to int.
19523
19524 [BZ #17780]
19525 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19526 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19527 __glibc_reserved0.
19528
19529 * nptl/version.c (banner): Use single year in copyright notice.
19530
19531 * NEWS: Update copyright dates.
19532 * catgets/gencat.c (print_version): Likewise.
19533 * csu/version.c (banner): Likewise.
19534 * debug/catchsegv.sh: Likewise.
19535 * debug/pcprofiledump.c (print_version): Likewise.
19536 * debug/xtrace.sh (do_version): Likewise.
19537 * elf/ldconfig.c (print_version): Likewise.
19538 * elf/ldd.bash.in: Likewise.
19539 * elf/pldd.c (print_version): Likewise.
19540 * elf/sotruss.sh: Likewise.
19541 * elf/sprof.c (print_version): Likewise.
19542 * iconv/iconv_prog.c (print_version): Likewise.
19543 * iconv/iconvconfig.c (print_version): Likewise.
19544 * locale/programs/locale.c (print_version): Likewise.
19545 * locale/programs/localedef.c (print_version): Likewise.
19546 * login/programs/pt_chown.c (print_version): Likewise.
19547 * malloc/memusage.sh (do_version): Likewise.
19548 * malloc/memusagestat.c (print_version): Likewise.
19549 * malloc/mtrace.pl: Likewise.
19550 * manual/libc.texinfo: Likewise.
19551 * nptl/version.c (banner): Likewise.
19552 * nscd/nscd.c (print_version): Likewise.
19553 * nss/getent.c (print_version): Likewise.
19554 * nss/makedb.c (print_version): Likewise.
19555 * posix/getconf.c (main): Likewise.
19556 * scripts/test-installation.pl: Likewise.
19557 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19558
19559 2015-01-02 Will Newton <will.newton@linaro.org>
19560
19561 * sysdeps/arm/armv7/configure: Removed.
19562 * sysdeps/arm/armv7/configure.ac: Likewise.
19563
19564 2015-01-02 Joseph Myers <joseph@codesourcery.com>
19565
19566 * All files with FSF copyright notices: Update copyright dates
19567 using scripts/update-copyrights.
19568 * intl/plural.c: Regenerated.
19569 * locale/programs/charmap-kw.h: Likewise.
19570 * locale/programs/locfile-kw.h: Likewise.
19571
19572 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19573
19574 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19575
19576 2014-12-31 Joseph Myers <joseph@codesourcery.com>
19577
19578 [BZ #17748]
19579 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19580 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19581 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19582 and define as weak alias of __fegetenv. Use libm_hidden_weak.
19583 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19584 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19585 define as weak alias of __fegetenv. Use libm_hidden_weak.
19586 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19587 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19588 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19589 define as weak alias of __fegetenv. Use libm_hidden_weak.
19590 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19591 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19592 define as weak alias of __fegetenv. Use libm_hidden_weak.
19593 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19594 libm_hidden_def.
19595 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19596 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19597 Likewise.
19598 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19599 define as weak alias of __fegetenv. Use libm_hidden_weak.
19600 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19601 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19602 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19603 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19604 and define as weak alias of __fegetenv. Use libm_hidden_weak.
19605 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19606 __fegetenv instead of fegetenv.
19607 (libc_feholdsetround_noex_ctx): Likewise.
19608
19609 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
19610
19611 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19612 (Elf_MIPS_ABIFlags_v0): New structure.
19613 (EF_MIPS_FP64): Define.
19614 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19615 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19616 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19617 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19618 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19619 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19620 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19621 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19622 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19623 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19624 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19625 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19626 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19627 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19628 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19629 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19630 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19631 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19632 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19633 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19634 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19635 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19636 field.
19637 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19638 EF_MIPS_FP64.
19639 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19640 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19641 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19642 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19643 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19644 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19645 * sysdeps/mips/tst-abi-interlink.c: Likewise.
19646 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19647 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19648 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19649 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19650 record the current FP ABI extension.
19651 (mips-mode-switch): Define to show if kernel headers support mode
19652 switching.
19653 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19654 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19655 supported SYSV ABI version to 3.
19656 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19657 feature.
19658
19659 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19660 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19661
19662 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19663 path.
19664 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19665
19666 2014-12-31 Joseph Myers <joseph@codesourcery.com>
19667
19668 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19669 __fegetround and redefine to call __fegetround. Remove condition
19670 on [!__NO_MATH_INLINES].
19671 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19672 function.
19673 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19674 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19675 Remove macro.
19676 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19677 instead of <fenv_libc.h>.
19678 (__llrintl): Call fegetround instead of __fegetround.
19679 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19680 instead of <fenv_libc.h>.
19681 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19682 (__lrintl): Call fegetround instead of __fegetround.
19683 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19684 instead of <fenv_libc.h>.
19685 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19686 (__rintl): Call fegetround instead of __fegetround.
19687
19688 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19689
19690 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19691 arrays.
19692
19693 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
19694
19695 [BZ #17775]
19696 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19697 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19698 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19699
19700 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
19701
19702 * sysdeps/i386/tls-macros.h: Include <features.h>.
19703 (TLS_LE): Use non-PIC version for GCC >= 5.0.
19704 (TLS_IE): Likewise.
19705 (TLS_LD): Likewise.
19706 (TLS_GD): Likewise.
19707 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19708 define for GCC >= 5.0.
19709
19710 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
19711
19712 * math/test-fenv.c (test_single_exception, set_single_exc,
19713 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19714 feexcp_mask_test, feenable_test, fe_single_test): Add
19715 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19716 case where they are not used.
19717 * math/libm-test.inc: Likewise.
19718 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19719 unused in the absence of FP rounding/exception support.
19720 * stdio-common/tst-printf-round.c: Likewise.
19721 * stdlib/tst-strtod-round.c: Likewise.
19722 * stdlib/tst-strtod-underflow.c: Likewise.
19723
19724 2014-12-30 Joseph Myers <joseph@codesourcery.com>
19725
19726 [BZ #17723]
19727 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19728 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19729 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19730 __feraiseexcept and define as weak alias of __feraiseexcept. Use
19731 libm_hidden_weak.
19732 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19733 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19734 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19735 libm_hidden_def.
19736 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19737 __feraiseexcept and define as weak alias of __feraiseexcept. Use
19738 libm_hidden_weak.
19739 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19740 Likewise.
19741 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19742 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19743 __feraiseexcept and define as weak alias of __feraiseexcept. Use
19744 libm_hidden_weak.
19745 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19746 libm_hidden_def.
19747 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19748 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19749 (__feraiseexcept): Likewise.
19750 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19751 __feraiseexcept and define as weak alias of __feraiseexcept. Use
19752 libm_hidden_weak.
19753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19754 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19755 libm_hidden_def.
19756 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19757 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19758 Use libm_hidden_def.
19759 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19760 libm_hidden_def.
19761 (feraiseexcept): Define as weak not strong alias. Use
19762 libm_hidden_weak.
19763 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19764 New inline function. Factored out of ...
19765 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
19766 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19767 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19768 feraiseexcept.
19769 * math/w_acos.c (__acos): Likewise.
19770 * math/w_asin.c (__asin): Likewise.
19771 * math/w_ilogb.c (__ilogb): Likewise.
19772 * math/w_j0.c (y0): Likewise.
19773 * math/w_j1.c (y1): Likewise.
19774 * math/w_jn.c (yn): Likewise.
19775 * math/w_log.c (__log): Likewise.
19776 * math/w_log10.c (__log10): Likewise.
19777 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19778 * sysdeps/aarch64/fpu/math_private.h
19779 (libc_feupdateenv_test_aarch64): Likewise.
19780 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19781 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19782 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19783 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19784 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19785 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19786 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19787 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19788 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19789 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19790
19791 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #17732]
19794 * io/test-utime.c (main): Replace %ld with %jd and cast to
19795 intmax_t.
19796 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19797 * nptl/tst-mutex5.c: Include <stdint.h>.
19798 (do_test): Replace %ld with %jd and cast to intmax_t.
19799 * posix/tst-regex.c (run_test): Likewise.
19800 (run_test_backwards): Likewise.
19801 * rt/tst-clock.c: Include <stdint.h>.
19802 (clock_test): Replace %ld with %jd and cast to intmax_t.
19803 * rt/tst-cpuclock1.c: Include <stdint.h>.
19804 (do_test): Replace %lu with %ju and cast to uintmax_t.
19805 * rt/tst-cpuclock2.c: Include <stdint.h>.
19806 (do_test): Replace %lu with %ju and cast to uintmax_t.
19807 * rt/tst-mqueue1.c: Include <stdint.h>.
19808 (check_attrs): Replace %ld with %jd and cast to intmax_t.
19809 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19810 intmax_t.
19811 * rt/tst-mqueue4.c (do_test): Likewise.
19812 * rt/tst-timer4.c: Include <stdint.h>.
19813 (check_ts): Replace %ld with %jd and cast to intmax_t.
19814 (do_test): Likewise.
19815 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19816 and cast to intmax_t.
19817 * sysdeps/pthread/tst-timer.c (main): Likewise.
19818 * time/clocktest.c (main): Likewise.
19819 * time/tst-posixtz.c (do_test): Likewise.
19820 * timezone/tst-timezone.c (main): Likewise.
19821
19822 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
19823 H.J. Lu <hongjiu.lu@intel.com>
19824
19825 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19826 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19827 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19828 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19829 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19830 version if bit_Fast_Unaligned_Load is set.
19831 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19832 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19833 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19834 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19835 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19836 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19838 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19839 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19840 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19841 to 4.
19842 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19843 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19844 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19845 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19846
19847 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
19848
19849 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19850 instead of #if to avoid a Wundef warning.
19851 * stdlib/tst-limits.c (do_test): Likewise.
19852
19853 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19854 parallel other exception macros.
19855 (fegetenv): Convert from macro to extern inline so that it applies
19856 retroactively to inline functions already seen by the compiler.
19857 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19858
19859 * posix/Makefile (before-compile): Use $(objpfx) for
19860 posix-conf-vars-def.h.
19861
19862 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
19864 * posix/getconf.c (main): Use size_t for type of I.
19865 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19866 NSPEC.
19867
19868 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19869 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19870 * posix/posix-envs.def: Likewise.
19871 * sysdeps/posix/sysconf.c: Likewise.
19872 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19873 (specs): Remove array.
19874 * scripts/gen-posix-conf-vars.awk: Support generation of specs
19875 array.
19876
19877 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19878 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19879 (__sysconf): Use CONF_IS_* macros.
19880
19881 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19882 ($(objpfx)posix-conf-vars-def.h): New target.
19883 * posix/posix-conf-vars.list: New file.
19884 * posix/posix-conf-vars.h: New file.
19885 * posix/confstr.c: Include posix-conf-vars.h.
19886 (confstr): Use CONF_IS_* macros.
19887 * posix/posix-envs.def: Include posix-conf-vars.h. Use
19888 CONF_IS_* macros.
19889 * scripts/gen-posix-conf-vars.awk: New file.
19890
19891 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
19892
19893 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19894 fegetround): Add no-op macros to avoid linknamespace issues.
19895
19896 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19897 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19898
19899 * sysdeps/unix/sysv/linux/tile/sysdep.h
19900 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19901 assembly-specific section to avoid a redefinition warning.
19902
19903 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19904 long before casting to pointer to avoid a cast warning.
19905
19906 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
19907
19908 * sysdeps/tile/tilegx/Implies: New file.
19909
19910 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
19911
19912 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19913
19914 2014-12-23 Florian Weimer <fweimer@redhat.com>
19915
19916 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19917
19918 2014-12-22 Joseph Myers <joseph@codesourcery.com>
19919
19920 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19921 not define.
19922 * sysdeps/unix/sysv/linux/utimes.c: Do not include
19923 <kernel-features.h>.
19924 (__utimes) [__NR_utimes]: Make code unconditional.
19925 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19927 (__ASSUME_UTIMES): Do not undefine.
19928 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19929 (__ASSUME_UTIMES): Likewise.
19930 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19931 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19932 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19933 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19934
19935 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
19936
19937 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19938
19939 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
19940
19941 [BZ #17747]
19942 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19943 alias to weak alias for j0l, y0l.
19944 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19945 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19946
19947 [BZ #17746]
19948 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19949 conversion.
19950
19951 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
19952
19953 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19954 to zero if not already defined.
19955
19956 2014-12-22 Joseph Myers <joseph@codesourcery.com>
19957
19958 [BZ #17724]
19959 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19960 (__kernel_standard_f): Remove. Moved to k_standardf.c.
19961 (__kernel_standard_l): Remove. Moved to k_standardl.c with
19962 (char *) casts added.
19963 * sysdeps/ieee754/k_standardf.c: New file.
19964 * sysdeps/ieee754/k_standardl.c: Likewise.
19965 * math/Makefile (libm-support): Remove k_standard.
19966 (libm-calls): Add k_standard.
19967
19968 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19969
19970 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19971 Optimize to avoid an unnecessary FPCR read.
19972
19973 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19974
19975 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19976 Optimize to reduce FPCR/FPSR accesses.
19977
19978 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19979
19980 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19981 Call libc_fetestexcept_aarch64.
19982
19983 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
19984
19985 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19986 Call libc_fesetround_aarch64.
19987
19988 2014-12-22 Joseph Myers <joseph@codesourcery.com>
19989
19990 [BZ #17733]
19991 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19992 (__bind): Do not define as weak alias.
19993 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19994 define.
19995 (__getsockname): Do not define as weak alias.
19996
19997 2014-12-22 Will Newton <will.newton@linaro.org>
19998
19999 * manual/install.texi: Document that we require bison 2.7
20000 or above.
20001 * INSTALL: Regenerate.
20002 * configure.ac: Use AC_CHECK_PROG_VER instead of
20003 AC_PATH_PROG when checking for bison and check for
20004 version 2.7 or above.
20005 * configure: Regenerate.
20006
20007 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
20008
20009 [BZ #17745]
20010 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20011 * sysdeps/tile/ffsll.c (ffsll): To here.
20012
20013 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20014
20015 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
20016
20017 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20018 if not defined.
20019 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20020 definition.
20021 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20022 hidden ___tls_get_addr.
20023 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20024 hidden __tls_get_addr.
20025 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20026 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20027 Likewise.
20028
20029 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
20030
20031 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20032 _dl_init call.
20033
20034 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
20035
20036 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20037 from "call _dl_init@PLT".
20038 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20039
20040 2014-12-21 Anders Kaseorg <andersk@mit.edu>
20041
20042 * manual/search.texi: (Array Sort Function): Clarify stable sorting
20043 guarantees.
20044
20045 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
20046
20047 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20048
20049 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
20050
20051 [BZ #17744]
20052 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20053 strnlen.
20054
20055 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
20056
20057 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20058 of multu on MIPSr6.
20059 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20060 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20061 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20062 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20063 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20064
20065 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
20066
20067 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20068 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20069 (PTR_SUBU): Use subu for mips32r6/mips64r6.
20070 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20071 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20072 mips32r6/mips64r6.
20073 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20074
20075 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
20076
20077 * string/strncat.c (STRNCAT): Simplify implementation.
20078
20079 2014-12-19 David S. Miller <davem@davemloft.net>
20080
20081 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20082 access the quad as both a long double and as a series of 4 words.
20083
20084 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20085 link_map->l_info array access.
20086
20087 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
20088
20089 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20090
20091 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20092 * math/atest-exp2.c (TIMEOUT): Likewise.
20093 * math/atest-sincos.c (TIMEOUT): Likewise.
20094
20095 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20098 -Wno-error with -fno-builtin-lround.
20099
20100 2014-12-19 Torvald Riegel <triegel@redhat.com>
20101
20102 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20103 Contains futex constants and functions moved over from ...
20104 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
20105 <lowlevellock-futex.h>.
20106 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20107 (lll_timedwait_tid): Add comments and parentheses around macro
20108 arguments.
20109
20110 2014-12-19 Torvald Riegel <triegel@redhat.com>
20111
20112 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20113 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
20114 (__lll_private_flag): Remove.
20115 (lll_futex_wait): Likewise.
20116 (lll_futex_timed_wait): Likewise.
20117 (lll_futex_wake): Likewise.
20118 (lll_futex_requeue): Likewise.
20119 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20120 (__lll_timedwait_tid): Spell out argument names.
20121 (lll_timedwait_tid): Add comments and parentheses around macro
20122 arguments.
20123 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20124 LLL_SHARED and LLL_PRIVATE usable from assembly code.
20125
20126 2014-12-19 Torvald Riegel <triegel@redhat.com>
20127
20128 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20129 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20130 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20131 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20132 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20133 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20134 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20135 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20136 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20137 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20138 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20140 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20141 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20142 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20143 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20144 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20145 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20146 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20147
20148 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * sysdeps/x86_64/x32/Makefile: New file.
20151
20152 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
20153
20154 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20155 1L with (mp_limb_t) 1.
20156
20157 2014-12-17 Roland McGrath <roland@hack.frob.com>
20158
20159 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20160 * nptl/libc_pthread_init.c: ... here.
20161 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20162 * nptl/register-atfork.c: ... here.
20163
20164 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20165 Use pthread_sigmask rather than INTERNAL_SYSCALL.
20166 Use assert_perror to check its return value.
20167 (__gai_create_helper_thread): Likewise.
20168
20169 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20170
20171 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20172
20173 2014-12-17 Joseph Myers <joseph@codesourcery.com>
20174
20175 [BZ #17725]
20176 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20177 __profil_counter.
20178 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20179 Likewise.
20180 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20181 Likewise.
20182 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20183 Likewise.
20184 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20185 (profil_counter): Likewise.
20186 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20187 (profil_counter): Likewise.
20188 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20189 Likewise.
20190 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20191 Likewise.
20192 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20193 (profil_counter): Likewise.
20194 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20195 Likewise.
20196 [!__profil_counter] (profil_counter): Define as weak alias of
20197 __profil_counter.
20198 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20199 (profil_counter): Rename to __profil_counter.
20200 [!__profil_counter] (profil_counter): Define as weak alias of
20201 __profil_counter.
20202 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20203 (profil_counter): Rename to __profil_counter.
20204 [!__profil_counter] (profil_counter): Define as weak alias of
20205 __profil_counter.
20206 * sysdeps/posix/profil.c: Update comment referring to
20207 profil_counter.
20208 (__profil): Use __profil_counter instead of profil_counter.
20209 * sysdeps/posix/sprofil.c (profil_counter): Rename to
20210 __profil_counter. Use __profil_counter_ushort and
20211 __profil_counter_uint in definitions.
20212 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20213 instead of profil_counter_uint and profil_counter_ushort.
20214
20215 [BZ #17722]
20216 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20217 define as weak alias of __inet_makeaddr.
20218 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20219 as weak alias of __inet_addr.
20220 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20221 as weak alias of __inet_pton. Use libc_hidden_weak.
20222 * include/arpa/inet.h (__inet_pton): Declare. Use
20223 libc_hidden_proto.
20224 (inet_makeaddr): Don't use libc_hidden_proto.
20225 (__inet_makeaddr): Declare. Use libc_hidden_proto.
20226 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20227 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
20228 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20229 Remove variable.
20230 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20231 (test-xfail-POSIX/time.h/linknamespace): Likewise.
20232
20233 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
20234
20235 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20236
20237 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20238
20239 * stdio-common/bug-vfprintf-nargs.c (do_test):
20240 Cast value to intptr_t to avoid format warning
20241 for usage with PRIdPTR printing macro.
20242
20243 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20244
20245 * libio/tst-widetext.c (do_test):
20246 Use format type %td instead of %Zd for ptrdiff_t
20247 in order to avoid format warning.
20248
20249 2014-12-17 Andreas Schwab <schwab@suse.de>
20250
20251 * nscd/mem.c (gc): Add size_t cast to match printf format.
20252
20253 2014-12-16 Roland McGrath <roland@hack.frob.com>
20254
20255 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20256 (init): Apply PTR_MANGLE to pointers before storing them.
20257 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20258 before using them.
20259
20260 2014-12-16 Joseph Myers <joseph@codesourcery.com>
20261
20262 [BZ #17719]
20263 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20264 define as weak alias of __memrchr.
20265 (__memrchr): Do not define as strong alias of memrchr.
20266 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20267 Remove variable.
20268 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20269 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20270 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20271
20272 [BZ #17717]
20273 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20274 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
20275 (if_indextoname): Rename to __if_indextoname and define as weak
20276 alias of __if_indextoname. Use libc_hidden_weak.
20277 (if_freenameindex): Rename to __if_freenameindex and define as
20278 weak alias of __if_freenameindex.
20279 (if_nameindex): Rename to __if_nameindex and define as weak alias
20280 of __if_nameindex.
20281 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20282 __if_nametoindex and define as weak alias of __if_nametoindex.
20283 Use libc_hidden_weak.
20284 (if_freenameindex): Rename to __if_freenameindex and define as
20285 weak alias of __if_freenameindex.
20286 (if_nameindex): Rename to __if_nameindex and define as weak alias
20287 of __if_nameindex.
20288 (if_indextoname): Rename to __if_indextoname and define as weak
20289 alias of __if_indextoname. Use libc_hidden_weak.
20290 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20291 __if_nametoindex and define as weak alias of __if_nametoindex.
20292 Use libc_hidden_weak.
20293 (if_freenameindex): Rename to __if_freenameindex and define as
20294 weak alias of __if_freenameindex. Use libc_hidden_weak.
20295 (if_nameindex_netlink): Use __if_freenameindex instead of
20296 if_freenameindex.
20297 (if_nameindex): Rename to __if_nameindex and define as weak alias
20298 of __if_nameindex. Use libc_hidden_weak.
20299 (if_indextoname): Rename to __if_indextoname and define as weak
20300 alias of __if_indextoname. Use libc_hidden_weak.
20301 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20302 libc_hidden_proto.
20303 [!_ISOMAC] (__if_freenameindex): Likewise.
20304 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20305 if_nametoindex.
20306 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20307 variable.
20308 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20309 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20310 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20311 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20312 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20313 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20314 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20315
20316 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20317 Remove variable.
20318 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20319 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20320
20321 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
20323 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20324 subscript above bounds'
20325
20326 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20327 bounds.
20328
20329 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
20330
20331 * libio/tst-fopenloc.c: Use test-skeleton.c.
20332
20333 * stdlib/tst-bsearch.c: Use test-skeleton.c.
20334 (entry): Rename to ITEM.
20335 (do_test, comp): Adjust.
20336
20337 * stdio-common/tst-fseek.c: Use test-skeleton.c.
20338
20339 2014-12-16 Torvald Riegel <triegel@redhat.com>
20340
20341 * string/tester.c: Include <libc-internal.h>.
20342 (test_memset): Ignore -Wmemset-transposed-args.
20343
20344 2014-12-16 Torvald Riegel <triegel@redhat.com>
20345
20346 * misc/tst-mntent2.c (do_test): Fix warning.
20347
20348 2014-12-16 Torvald Riegel <triegel@redhat.com>
20349
20350 * elf/tst-unique4lib.cc(a): Mark as used.
20351
20352 2014-12-16 Florian Weimer <fweimer@redhat.com>
20353
20354 [BZ #17630]
20355 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20356 names.
20357
20358 2014-12-16 Allan McRae <allan@archlinux.org>
20359
20360 * stdio-common/Makefile (tests): Re-add bug26.
20361
20362 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
20363
20364 [BZ #17657]
20365 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20366 static array.
20367
20368 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
20369
20370 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20371 (__lll_lock_wait): Likewise.
20372 (__lll_timedlock_wait): Likewise.
20373 (__lll_timedwait_tid): Likewise.
20374 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20375 (__lll_robust_timedlock_wait): Likewise.
20376 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20377 (lll_cond_trylock): Likewise.
20378 (__lll_lock): Likewise.
20379 (__lll_robust_lock): Likewise.
20380 (__lll_cond_lock): Likewise.
20381 (lll_robust_cond_lock): Likewise.
20382 (__lll_timedlock): Likewise.
20383 (__lll_robust_timedlock): Likewise.
20384 (__lll_unlock): Likewise.
20385 (__lll_robust_unlock): Likewise.
20386 (lll_wait_tid): Likewise.
20387 (lll_timedwait_tid): Likewise.
20388
20389 2014-12-15 Torvald Riegel <triegel@redhat.com>
20390
20391 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20392
20393 2014-12-15 Torvald Riegel <triegel@redhat.com>
20394
20395 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20396
20397 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
20398
20399 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20400 * stdio-common/tst-sprintf.c: Likewise.
20401
20402 2014-12-15 Torvald Riegel <triegel@redhat.com>
20403
20404 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20405
20406 2014-12-15 Jeff Law <law@redhat.com>
20407
20408 [BZ #16617]
20409 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20410 on the heap. (CVE-2012-3406)
20411 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20412 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
20413 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20414
20415 2014-12-15 Will Newton <will.newton@linaro.org>
20416
20417 * manual/install.texi: Bump required version of texinfo
20418 to 4.7 from 4.5.
20419 * INSTALL: Regenerated.
20420 * configure.ac: Check for makeinfo version 4.7 and above.
20421 * configure: Regenerated.
20422
20423 2014-12-12 Roland McGrath <roland@hack.frob.com>
20424
20425 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20426 PREFIX, string constant to insert between directory and name.
20427 * sysdeps/posix/shm_open.c: Update caller.
20428 * sysdeps/posix/shm_unlink.c: Likewise.
20429 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20430 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20431 (SEM_SHM_PREFIX): New macro.
20432 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20433 [$(have-thread-library) = no].
20434 * nptl/Makefile (libpthread-routines): Add shm-directory.
20435 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20436 * sysdeps/nptl/shm-directory.h: New file.
20437 * sysdeps/posix/shm-directory.c
20438 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20439 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20440 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20441 INTERNAL_SYSCALL.
20442 (__where_is_shmfs): Function removed.
20443 (mountpoint, defaultmount, defaultdir, __namedsem_once):
20444 Variables removed.
20445 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20446 Use SHM_GET_NAME.
20447 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
20448
20449 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20450 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20451 unconditional for use inside libpthread.
20452 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20453
20454 2014-12-12 Roland McGrath <roland@hack.frob.com>
20455
20456 * nptl/pthread_getaffinity.c: New file.
20457 * nptl/pthread_setaffinity.c: New file.
20458 * nptl/pthread_getname.c: New file.
20459 * nptl/pthread_setname.c: New file.
20460
20461 * nptl/pthread_create.c (START_THREAD_DEFN)
20462 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20463
20464 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20466
20467 * resolv/res_send.c (send_vc): Disable warning resplen may
20468 be used uninitialized.
20469
20470 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20471
20472 * nptl/tst-mutex6.c
20473 (ATTR_NULL): New define checks ATTR against NULL.
20474 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20475 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20476
20477 2014-12-11 James Lemke <jwlemke@codesourcery.com>
20478
20479 [BZ #17581]
20480 * malloc/hooks.c
20481 (mem2mem_check): Revert my previous change.
20482 (malloc_check_get_size): Revert my previous change.
20483 (mem2chunk_check): Revert my previous change.
20484
20485 2014-12-11 Roland McGrath <roland@hack.frob.com>
20486
20487 * sysdeps/posix/shm-directory.c: New file.
20488 * sysdeps/posix/shm-directory.h: New file.
20489 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20490 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20491 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
20492 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20493 Transmute EPERM to EACCES.
20494 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20495 from ...
20496 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
20497 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20498
20499 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20500
20501 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20502 pointer and cast to uintptr_t.
20503 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20504 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20505 Add cast to avoid warning.
20506 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20507
20508 2014-12-11 Joseph Myers <joseph@codesourcery.com>
20509
20510 * nptl/semaphore.h: Move to ...
20511 * sysdeps/pthread/semaphore.h: ... here.
20512 * Makefile (installed-headers): Change nptl/semaphore.h to
20513 sysdeps/pthread/semaphore.h.
20514
20515 2014-12-11 Roland McGrath <roland@hack.frob.com>
20516
20517 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20518 generated error format strings.
20519
20520 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20521 -Wformat-extra-args warnings for scanf formats.
20522 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20523 test of zero-length format (duh).
20524 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20525 corner-case scanf format test.
20526 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20527 generated fprintf format string.
20528 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20529 corner-case sprintf format tests.
20530 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20531 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20532 -Wformat-extra-args warnings throughout.
20533 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20534 (CFLAGS-scanf4.c): Likewise.
20535 (CFLAGS-scanf7.c): Likewise.
20536 (CFLAGS-tst-sprintf.c): Likewise.
20537 (CFLAGS-tst-printf.c): Likewise.
20538 (CFLAGS-tst-printfsz.c): Likewise.
20539
20540 2014-12-11 Joseph Myers <joseph@codesourcery.com>
20541
20542 * include/cpio.h: New file.
20543 * include/fmtmsg.h: Likewise.
20544
20545 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
20546 corresponding format argument to size_t.
20547 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
20548 arguments.
20549 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
20550 corresponding format argument to size_t.
20551 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
20552 arguments.
20553 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
20554 corresponding format argument to size_t.
20555 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20556 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20557 (CFLAGS-tst-mbswcs2.c): Likewise.
20558 (CFLAGS-tst-mbswcs3.c): Likewise.
20559 (CFLAGS-tst-mbswcs4.c): Likewise.
20560 (CFLAGS-tst-mbswcs5.c): Likewise.
20561 (CFLAGS-tst-trans.c): Likewise.
20562
20563 2014-12-11 Roland McGrath <roland@hack.frob.com>
20564
20565 * posix/regexbug1.c (main): Use "%s" format with regerror results,
20566 rather than assuming they won't contain any '%'s.
20567
20568 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
20569
20570 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20571 inhibit_loop_to_libcall to avoid recursive calls.
20572 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20573 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20574
20575 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
20576
20577 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20578 prototype.
20579
20580 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
20581
20582 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20583 integer value instead of boolean.
20584
20585 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
20586
20587 * malloc/malloc.c: Fix powerof2 check.
20588
20589 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20590
20591 * locale/programs/locfile.h (maybe_swap_uint32):
20592 Remove inline and add unused attribute.
20593
20594 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20595
20596 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20597 Truncating assembler expression to a .long expression.
20598
20599 2014-12-11 Andreas Schwab <schwab@suse.de>
20600
20601 * elf/rtld.c (struct map_args): Constify str member.
20602 (do_preload): Constify fname argument.
20603
20604 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20605
20606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20607 constants definition.
20608
20609 2014-12-11 Andreas Schwab <schwab@suse.de>
20610
20611 [BZ #16657]
20612 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20613 FORCE_ELISION instead of DO_ELISION.
20614 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20615 Remove.
20616 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20617 Likewise.
20618
20619 * iconvdata/gconv-modules: Remove duplicate entry.
20620
20621 2014-12-11 Will Newton <will.newton@linaro.org>
20622
20623 Merge gettext 0.19.3 into intl/.
20624
20625 This involves a number of cosmetic changes to comments
20626 and ANSI function definitions and prototypes throughout
20627 all the files. The gettext copyright header is used but
20628 with the date ranges taken from the glibc copy.
20629
20630 * NEWS: Add gettext merge to 2.21.
20631 * intl/bindtextdom.c: Switch to gettext copyright.
20632 Use ANSI definitions and prototypes.
20633 Use gl_* locking primitives rather than __libc_* ones.
20634 Use __builtin_expect rather than __glibc_likely/unlikely.
20635 * intl/dcgettext.c: Switch to gettext copyright.
20636 Use ANSI definitions and prototypes.
20637 * intl/dcigettext.c: Switch to gettext copyright.
20638 Use ANSI definitions and prototypes.
20639 (INTDIV0_RAISES_SIGFPE): New define.
20640 Use gl_* locking primitives rather than __libc_* ones.
20641 Include eval-plural.h instead of plural-eval.c.
20642 Use __builtin_expect rather than __glibc_likely/unlikely.
20643 * intl/dcngettext.c: Switch to gettext copyright.
20644 Use ANSI definitions and prototypes.
20645 * intl/dgettext.c: Likewise.
20646 * intl/dngettext.c: Likewise.
20647 * intl/plural-eval.c: Renamed to...
20648 * intl/eval-plural.h: ...this.
20649 * intl/explodename.c: Switch to gettext copyright.
20650 Use ANSI definitions and prototypes.
20651 (_nl_explode_name): Use strchr instead of __rawmemchr.
20652 * intl/finddomain.c: Switch to gettext copyright.
20653 Use ANSI definitions and prototypes.
20654 Use gl_* locking primitives rather than __libc_* ones.
20655 (_nl_find_domain): Use malloc rather than alloca for
20656 allocation of temporary locale name.
20657 * intl/gettext.c: Switch to gettext copyright.
20658 Use ANSI definitions and prototypes.
20659 * intl/gettextP.h: Switch to gettext copyright.
20660 Use ANSI definitions and prototypes.
20661 Use gl_* locking primitives rather than __libc_* ones.
20662 * intl/gmo.h: Switch to gettext copyright.
20663 (struct sysdep_string): Move struct segment_pair outside of
20664 struct definition.
20665 * intl/hash-string.c: Use ANSI definitions and prototypes.
20666 * intl/hash-string.h: Switch to gettext copyright.
20667 Use ANSI definitions and prototypes.
20668 * intl/l10nflist.c: Switch to gettext copyright.
20669 Use ANSI definitions and prototypes.
20670 (_nl_normalize_codeset): Avoid integer overflow.
20671 * intl/loadinfo.h: Switch to gettext copyright.
20672 Use ANSI definitions and prototypes.
20673 (LIBINTL_DLL_EXPORTED): New define.
20674 (PATH_SEPARATOR): New define.
20675 * intl/loadmsgcat.c: Switch to gettext copyright.
20676 * intl/localealias.c: Switch to gettext copyright.
20677 Use ANSI definitions and prototypes.
20678 (_nl_expand_alias): Use PATH_SEPARATOR.
20679 * intl/ngettext.c: Switch to gettext copyright.
20680 Use ANSI definitions and prototypes.
20681 * intl/plural-exp.c: Likewise.
20682 * intl/plural-exp.h: Switch to gettext copyright.
20683 Use ANSI definitions and prototypes.
20684 (struct expression): Move definition of enum operator outside
20685 of struct definition.
20686 * intl/plural.c: Regenerate.
20687 * intl/plural.y: Switch to gettext copyright.
20688 Use ANSI definitions and prototypes.
20689 Port to bison 3.0.
20690 * intl/textdomain.c: Switch to gettext copyright.
20691 Use ANSI definitions and prototypes.
20692 Use gl_* locking primitives rather than __libc_* ones.
20693
20694 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
20695
20696 * debug/warning-nop.c: Add used atrribute.
20697
20698 2014-12-10 Joseph Myers <joseph@codesourcery.com>
20699
20700 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20701
20702 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20703 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20704 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20705
20706 2014-12-10 Joseph Myers <joseph@codesourcery.com>
20707 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20708
20709 [BZ #17634]
20710 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20711 Undefine after defining function. Define as weak alias of
20712 __wcschr. Use libc_hidden_weak.
20713 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
20714 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20715 (libc_hidden_def): Also define __GI___wcschr alias.
20716 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20717 __wcschr and define as weak alias of __wcschr.
20718 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20719 __wcschr.
20720 [!WCSCHR] (DEFAULT_WCSCHR): Define.
20721 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20722 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
20723 libc_hidden_weak. Do not use libc_hidden_def.
20724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20725 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20726 __GI___wcschr alias.
20727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20728 [IS_IN (libc)] (wcschr): Define as macro expanding to
20729 __redirect_wcschr.
20730 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20731 [IS_IN (libc)] (__wcschr_power6): Likewise.
20732 [IS_IN (libc)] (__wcschr_power7): Likewise.
20733 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
20734 instead of wcschr.
20735 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20736 __libc_wcschr.
20737 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20738 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20739 __wcschr and define as weak alias of __wcschr. Use
20740 libc_hidden_builtin_def.
20741 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20742 as weak alias of __wcschr. Use libc_hidden_weak.
20743 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20744 wcschr.
20745 * time/era.c (_nl_init_era_entries): Likewise.
20746 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20747 variable.
20748 (test-xfail-XPG3/time.h/linknamespace): Likewise.
20749 (test-xfail-XPG4/time.h/linknamespace): Likewise.
20750
20751 2014-12-10 Joseph Myers <joseph@codesourcery.com>
20752
20753 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20754 format for long int variable.
20755
20756 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
20757
20758 [BZ #10672]
20759 * manual/search.texi: (Array Sort Function): Remove claim how to make
20760 qsort stable.
20761
20762 2014-12-10 Andreas Schwab <schwab@suse.de>
20763
20764 [BZ #12847]
20765 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20766 user-controlled locks.
20767
20768 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
20769
20770 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20771 register.
20772
20773 2014-12-10 Joseph Myers <joseph@codesourcery.com>
20774
20775 * configure.ac (--disable-werror): New configure option.
20776 (enable_werror): New AC_SUBST.
20777 * configure: Regenerated.
20778 * config.make.in (enable-werror): New variable.
20779 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20780 -Wno-error=undef.
20781 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20782 * manual/install.texi (Configuring and compiling): Document
20783 --disable-werror.
20784 * INSTALL: Regenerated.
20785 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20786 (CFLAGS-tst-chk2.c): Likewise.
20787 (CFLAGS-tst-chk3.c): Likewise.
20788 (CFLAGS-tst-chk4.cc): Likewise.
20789 (CFLAGS-tst-chk5.cc): Likewise.
20790 (CFLAGS-tst-chk6.cc): Likewise.
20791 (CFLAGS-tst-lfschk1.c): Likewise.
20792 (CFLAGS-tst-lfschk2.c): Likewise.
20793 (CFLAGS-tst-lfschk3.c): Likewise.
20794 (CFLAGS-tst-lfschk4.cc): Likewise.
20795 (CFLAGS-tst-lfschk5.cc): Likewise.
20796 (CFLAGS-tst-lfschk6.cc): Likewise.
20797
20798 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20799 (main): Disable -Wdeprecated-declarations around calls to
20800 register_printf_function.
20801
20802 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20803 (do_test): Disable -Wdiv-by-zero around some calls to
20804 fwrite_unlocked and fread_unlocked.
20805
20806 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20807 (DIAG_POP_NEEDS_COMMENT): Likewise.
20808 (_DIAG_STR1): Likewise.
20809 (_DIAG_STR): Likewise.
20810 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20811 * stdio-common/bug21.c: Include <libc-internal.h>.
20812 (do_test): Disable -Wformat around call to sscanf.
20813 * stdio-common/scanf14.c: Include <libc-internal.h>.
20814 (main): Disable -Wformat around some calls to scanf functions.
20815
20816 2014-12-09 Torvald Riegel <triegel@redhat.com>
20817
20818 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20819
20820 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20821
20822 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20823 stack variable alignment.
20824
20825 2014-12-06 Joseph Myers <joseph@codesourcery.com>
20826
20827 [BZ #17682]
20828 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20829 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20830 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20831 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20832 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20833 __getrlimit instead of getrlimit.
20834 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20835 __gettimeofday instead of gettimeofday.
20836 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20837 Likewise.
20838 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20839 Likewise.
20840 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20841 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20842 Remove variable.
20843 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20844 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20845
20846 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20847
20848 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20849 for wide-character tests.
20850
20851 2014-12-04 Roland McGrath <roland@hack.frob.com>
20852
20853 * io/openat64.c: #include <libc-internal.h>
20854 (__openat64): Prototypify. Use ignore_value on MODE.
20855 * io/openat.c: Likewise.
20856 * misc/reboot.c: #include <libc-internal.h>
20857 (reboot): Prototypify. Use ignore_value on HOWTO.
20858 * misc/ptrace.c: #include <libc-internal.h>
20859 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
20860
20861 2014-12-04 Joseph Myers <joseph@codesourcery.com>
20862
20863 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20864 XPG4, UNIX98 and XOPEN2K.
20865 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20866 Remove variable.
20867 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20868
20869 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20870
20871 * libio/fileops.c: Use ISO C style for function definitions.
20872 * libio/iofopen.c: Likewise.
20873 * libio/wfileops.c: Likewise.
20874
20875 [BZ #17653]
20876 * libio/fileops.c (_IO_new_file_underflow): Unset cached
20877 offset on EOF.
20878 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20879 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20880 (fgets_func): Function pointer to fgets and fgetws.
20881 (do_ftell_test): Add test to verify ftell value after read
20882 EOF.
20883 (do_test): Set fgets_func.
20884
20885 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20886 O_TRUNC flag for w and w+ modes.
20887 (do_rewind_test): Likewise.
20888 (do_ftell_test): Likewise.
20889 (do_write_test): Likewise.
20890
20891 [BZ #17647]
20892 * libio/fileops.c (do_ftell): Seek only when there are
20893 unflushed writes.
20894 * libio/wfileops.c (do_ftell_wide): Likewise.
20895 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20896 test case.
20897 (do_one_test): Call it.
20898
20899 2014-12-03 Joseph Myers <joseph@codesourcery.com>
20900
20901 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20902 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20903 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20904 Remove variable.
20905 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20906 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20907 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20908
20909 2014-12-02 Joseph Myers <joseph@codesourcery.com>
20910
20911 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20912 Remove variable.
20913 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20914
20915 [BZ #17668]
20916 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20917 as weak alias of __getifaddrs. Use libc_hidden_weak.
20918 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20919 __freeifaddrs. Use libc_hidden_weak.
20920 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20921 define as weak alias of __getifaddrs. Use libc_hidden_weak.
20922 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20923 __freeifaddrs. Use libc_hidden_weak.
20924 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20925 __getifaddrs and define as weak alias of __getifaddrs. Use
20926 libc_hidden_weak.
20927 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20928 __freeifaddrs. Use libc_hidden_weak.
20929 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20930 Remove variable.
20931 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20932 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20933
20934 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
20935
20936 [BZ #17601]
20937 * sysdeps/mips/start.S (__start): Use indirect jump to call
20938 __libc_start_main.
20939
20940 2014-12-02 Joseph Myers <joseph@codesourcery.com>
20941
20942 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20943
20944 * nptl/tst-mutex1.c: Include <stdbool.h>.
20945 [!ATTR] (ATTR_NULL): New macro.
20946 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20947 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20948 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20949
20950 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20951 to char *.
20952
20953 [BZ #17665]
20954 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20955 Change conditional to [__USE_MISC].
20956
20957 [BZ #17664]
20958 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20959 fgets_unlocked.
20960 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20961 __fgets_unlocked.
20962 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20963 fgets_unlocked.
20964 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20965 Remove variable.
20966 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20967 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20968 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20969 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20970 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20971 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20972 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20973 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20974 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20975
20976 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20977
20978 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20979
20980 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20981 Remove strpbrk objects.
20982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20983 (__libc_ifunc_impl_list): Remove strpbrk implementation.
20984 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20985 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20986 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20987 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20988
20989 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20990 Remove strcspn objects.
20991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20992 (__libc_ifunc_impl_list): Remove strcspn implementation.
20993 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20994 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20995 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20996 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20997
20998 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20999 Remove strspn objetcs.
21000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21001 (__libc_ifunc_impl_list): Remove strspn implementation.
21002 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21003 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21004 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21005 * sysdeps/powerpc/powerpc64/strspn.S: New file.
21006
21007 2014-12-01 James Lemke <jwlemke@codesourcery.com>
21008
21009 [BZ #17581]
21010 * malloc/hooks.c
21011 (mem2mem_check): Add a terminator to the chain of checking blocks.
21012 (malloc_check_get_size): Use it here.
21013 (mem2chunk_check): Ditto.
21014
21015 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21016
21017 * sysdeps/powerpc/powerpc64/strtok.S: New file.
21018 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21019
21020 2014-11-29 Carlos O'Donell <carlos@redhat.com>
21021
21022 * bits/ioctl-types.h: Indent preprocessor directives correctly.
21023
21024 * nptl/nptl-init.c: Include libc-internal.h.
21025 (__pthread_initialize_minimal_internal): Use ROUND_UP.
21026
21027 * elf/ldconfig.c (search_dir): Expand comment.
21028
21029 2014-11-29 Joseph Myers <joseph@codesourcery.com>
21030
21031 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21032 variable.
21033 (linknamespace-symlist-stdlibs-tests): Likewise.
21034 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21035 instead of $(objpfx)symlist-stdlibs.
21036 (linknamespace-libs-isoc): New variable.
21037 (linknamespace-libs): Use $(linknamespace-libs-isoc).
21038 (linknamespace-libs-ISO): New variable.
21039 (linknamespace-libs-ISO99): Likewise.
21040 (linknamespace-libs-ISO11): Likewise.
21041 (linknamespace-libs-XPG3): Likewise.
21042 (linknamespace-libs-XPG4): Likewise.
21043 (linknamespace-libs-POSIX): Likewise.
21044 (linknamespace-libs-UNIX98): Likewise.
21045 (linknamespace-libs-XOPEN2K): Likewise.
21046 (linknamespace-libs-POSIX2008): Likewise.
21047 (linknamespace-libs-XOPEN2K8): Likewise.
21048 ($(objpfx)symlist-stdlibs): Replace by
21049 $(linknamespace-symlist-stdlibs-tests). Use
21050 $(linknamespace-libs-$*) as set of libraries.
21051 ($(linknamespace-header-tests)): Update dependencies. Use
21052 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21053 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21054 * conform/linknamespace.pl: Remove comment about considering
21055 definitions of symbols from irrelevant libraries.
21056
21057 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
21058
21059 [BZ #13862]
21060 * elf/dl-tls.c: Include <atomic.h>.
21061 (oom): Remove #ifdef SHARED/#endif.
21062 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21063 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
21064 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21065 big enough.
21066 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21067 * nptl/Makefile (tests): Add tst-stack4.
21068 (modules-names): Add tst-stack4mod.
21069 ($(objpfx)tst-stack4): New.
21070 (tst-stack4mod.sos): Likewise.
21071 ($(objpfx)tst-stack4.out): Likewise.
21072 ($(tst-stack4mod.sos)): Likewise.
21073 (clean): Likewise.
21074 * nptl/tst-stack4.c: New file.
21075 * nptl/tst-stack4mod.c: Likewise.
21076
21077 2014-11-27 J. Brown <jb999@gmx.de>
21078
21079 * sysdeps/x86/bits/string.h: Add recent CPUs.
21080
21081 2014-11-27 Joseph Myers <joseph@codesourcery.com>
21082
21083 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21084 sigblock.
21085
21086 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21087 feof.
21088
21089 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21090 variable.
21091
21092 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
21093
21094 * nscd/connections.c: Include libc-internal.h because of macro
21095 usage ignore_value.
21096
21097 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21098
21099 * string/bits/string3.h (__warn_memset_zero_len): Don't
21100 declare for gcc newer than 5.0.
21101 (memset): Don't test for zero-length __LEN for gcc newer than
21102 5.0.
21103
21104 2014-11-27 Joseph Myers <joseph@codesourcery.com>
21105
21106 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21107 size_t for %zu format.
21108
21109 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21110 difference, not %ju.
21111
21112 2014-11-26 Joseph Myers <joseph@codesourcery.com>
21113
21114 * include/libc-internal.h (ignore_value): New macro.
21115 * nscd/connections.c (restart): Wrap calls to setuid and setgid
21116 with ignore_value.
21117
21118 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21119 definition.
21120
21121 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21122 pthread_cleanup_push to void *.
21123
21124 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21125 Undefine.
21126
21127 [BZ #16619]
21128 [BZ #16740]
21129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21130 instead of 1L << 52.
21131
21132 * libio/bug-rewind.c (do_test): Check fwscanf return values.
21133 * libio/bug-rewind2.c (do_test): Likewise.
21134
21135 * debug/test-stpcpy_chk-ifunc.c: Remove file.
21136 * debug/test-strcpy_chk-ifunc.c: Likewise.
21137 * wcsmbs/test-wcschr-ifunc.c: Likewise.
21138 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21139 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21140 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21141 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21142 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21143 * Rules [$(multi-arch) = no] (tests): Do not filter out
21144 $(tests-ifunc).
21145 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21146 * debug/Makefile (tests-ifunc): Remove variable.
21147 (tests): Do not add $(tests-ifunc).
21148 * wcsmbs/Makefile (tests-ifunc): Remove variable.
21149 (tests): Do not add $(tests-ifunc).
21150 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21151 [TEST_IFUNC]: Remove conditionals.
21152 * string/test-string.h (TEST_IFUNC): Remove macro.
21153 [TEST_IFUNC]: Remove conditionals.
21154
21155 * string/test-strchr.c [!WIDE] (L): New macro.
21156 [WIDE] (L): Likewise.
21157 (check1): Use CHAR instead of char. Use L on string and character
21158 constants.
21159
21160 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
21161
21162 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21163 tests.
21164 * sysdeps/powerpc/bits/atomic.h
21165 (__arch_atomic_exchange_and_add_32_acq): Add definition.
21166 (__arch_atomic_exchange_and_add_32_rel): Likewise.
21167 (atomic_exchange_and_add_acq): Likewise.
21168 (atomic_exchange_and_add_rel): Likewise.
21169 * sysdeps/powerpc/powerpc32/bits/atomic.h
21170 (__arch_atomic_exchange_and_add_64_acq): Add definition.
21171 (__arch_atomic_exchange_and_add_64_rel): Likewise.
21172 * sysdeps/powerpc/powerpc64/bits/atomic.h
21173 (__arch_atomic_exchange_and_add_64_acq): Add definition.
21174 (__arch_atomic_exchange_and_add_64_rel): Likewise.
21175
21176 2014-11-26 Torvald Riegel <triegel@redhat.com>
21177
21178 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21179 Change synchronization of __sched_fifo_min_prio and
21180 __sched_fifo_max_prio.
21181 * nptl/pthread_mutexattr_getprioceiling.c
21182 (pthread_mutexattr_getprioceiling): Likewise.
21183 * nptl/pthread_mutexattr_setprioceiling.c
21184 (pthread_mutexattr_setprioceiling): Likewise.
21185 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21186 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21187 Likewise.
21188
21189 2014-11-26 Joseph Myers <joseph@codesourcery.com>
21190
21191 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21192 void.
21193
21194 2014-11-25 Joseph Myers <joseph@codesourcery.com>
21195
21196 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21197 third argument const.
21198
21199 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
21200
21201 fnmatch: work around GCC compiler warning bug with uninit var
21202 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21203 This works around a bug with x86-64 GCC 4.9.2 and earlier
21204 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21205 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21206 used uninitialized in this function [-Wmaybe-uninitialized]".
21207
21208 2014-11-25 Joseph Myers <joseph@codesourcery.com>
21209
21210 * posix/bug-regex31.c (main): Return RES not 0.
21211
21212 2014-11-25 Anton Blanchard <anton@samba.org>
21213
21214 * sysdeps/powerpc/bits/atomic.h
21215 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21216
21217 2014-11-24 Sterling Augustine <saugustine@google.com>
21218
21219 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21220
21221 2014-11-24 Ryan Cumming <etaoins@gmail.com>
21222
21223 [BZ #17608]
21224 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21225
21226 2014-11-24 Joseph Myers <joseph@codesourcery.com>
21227
21228 [BZ #17633]
21229 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21230 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21231 variable.
21232 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21233 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21234
21235 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
21236
21237 * string/strncpy.c (strncpy): Improve performance by using memset.
21238
21239 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
21240
21241 * string/strcpy.c (strcpy):
21242 Improve performance by using strlen and memcpy.
21243
21244 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
21245
21246 * string/strcoll_l.c (get_next_seq): __always_inline.
21247 * string/strcoll_l.c (do_compare): __always_inline.
21248
21249 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21250
21251 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21252 defined.
21253 * include/mqueue.h: Likewise.
21254 * include/stdlib.h: Likewise.
21255
21256 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21257 (get_null_defines): Adjust.
21258 * sunrpc/Makefile: Adjust comment.
21259 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21260 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21261 (CFLAGS-interp.c): Likewise.
21262 (CFLAGS-ldconfig.c): Likewise.
21263 (CPPFLAGS-.os): Likewise.
21264 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21265 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21266 * extra-modules.mk (extra-modules.mk): Likewise.
21267 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21268 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21269 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21270 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21271 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21272 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21273 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21274 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21275 * iconvdata/Makefile (CPPFLAGS): Likewise.
21276 (cpp-srcs-left): Add libof for all iconvdata routines.
21277 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21278 * include/assert.h: Likewise.
21279 * include/ctype.h: Likewise.
21280 * include/errno.h: Likewise.
21281 * include/libc-symbols.h: Likewise.
21282 * include/math.h: Likewise.
21283 * include/netdb.h: Likewise.
21284 * include/resolv.h: Likewise.
21285 * include/stdio.h: Likewise.
21286 * include/stdlib.h: Likewise.
21287 * include/string.h: Likewise.
21288 * include/sys/stat.h: Likewise.
21289 * include/wctype.h: Likewise.
21290 * intl/l10nflist.c: Likewise.
21291 * libidn/idn-stub.c: Likewise.
21292 * libio/libioP.h: Likewise.
21293 * nptl/libc_multiple_threads.c: Likewise.
21294 * nptl/pthreadP.h: Likewise.
21295 * posix/regex_internal.h: Likewise.
21296 * resolv/res_hconf.c: Likewise.
21297 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21298 * sysdeps/arm/memmove.S: Likewise.
21299 * sysdeps/arm/sysdep.h: Likewise.
21300 * sysdeps/generic/_itoa.h: Likewise.
21301 * sysdeps/generic/symbol-hacks.h: Likewise.
21302 * sysdeps/gnu/errlist.awk: Likewise.
21303 * sysdeps/gnu/errlist.c: Likewise.
21304 * sysdeps/i386/i586/memcpy.S: Likewise.
21305 * sysdeps/i386/i586/memset.S: Likewise.
21306 * sysdeps/i386/i686/memcpy.S: Likewise.
21307 * sysdeps/i386/i686/memmove.S: Likewise.
21308 * sysdeps/i386/i686/mempcpy.S: Likewise.
21309 * sysdeps/i386/i686/memset.S: Likewise.
21310 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21311 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21312 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21313 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21314 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21316 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21317 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21326 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21327 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21328 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21329 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21330 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21331 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21332 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21333 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21334 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21337 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21339 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21357 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21358 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21359 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21362 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21364 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21365 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21366 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21368 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21369 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21370 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21371 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21372 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21373 * sysdeps/nptl/bits/libc-lock.h: Likewise.
21374 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21375 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21376 * sysdeps/posix/closedir.c: Likewise.
21377 * sysdeps/posix/opendir.c: Likewise.
21378 * sysdeps/posix/readdir.c: Likewise.
21379 * sysdeps/posix/rewinddir.c: Likewise.
21380 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21381 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21382 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21383 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21384 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21388 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21392 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21394 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21395 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21396 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21397 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21400 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21403 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21407 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21416 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21417 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21418 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21419 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21420 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21422 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21424 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21425 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21426 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21427 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21428 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21429 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21430 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21431 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21432 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21433 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21434 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21437 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21438 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21439 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21440 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21442 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21443 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21444 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21445 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21447 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21448 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21449 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21450 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21451 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21452 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21453 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21454 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21455 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21456 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21457 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21458 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21459 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21460 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21462 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21464 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21465 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21466 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21467 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21468 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21470 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21471 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21472 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21476 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21478 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21479 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21481 * sysdeps/unix/alpha/sysdep.S: Likewise.
21482 * sysdeps/unix/alpha/sysdep.h: Likewise.
21483 * sysdeps/unix/make-syscalls.sh: Likewise.
21484 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21485 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21486 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21487 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21488 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21489 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21490 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21491 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21492 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21493 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21494 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21495 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21496 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21497 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21498 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21499 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21500 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21501 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21502 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21503 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21504 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21505 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21506 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21507 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21508 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21509 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21510 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21513 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21514 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21518 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21522 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21523 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21524 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21525 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21526 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21527 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21528 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21531 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21534 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21535 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21536 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21537 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21539 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21542 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21543 * sysdeps/x86_64/memcpy.S: Likewise.
21544 * sysdeps/x86_64/memmove.c: Likewise.
21545 * sysdeps/x86_64/memset.S: Likewise.
21546 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21547 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21548 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21549 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21550 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21552 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21553 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21554 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21555 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21556 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21557 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21558 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21559 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21560 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21562 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21563 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21564 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21565 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21566 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21567 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21570 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21571 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21572 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21573 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21574 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21575 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21576 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21577 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21578 * sysdeps/x86_64/strcmp.S: Likewise.
21579
21580 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21581
21582 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21583 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21584 * elf/rtld-Rules: Likewise.
21585 * elf/setup-vdso.h: Likewise.
21586 * include/assert.h: Likewise.
21587 * include/bits/stdlib-float.h: Likewise.
21588 * include/errno.h: Likewise.
21589 * include/sys/stat.h: Likewise.
21590 * include/unistd.h: Likewise.
21591 * sysdeps/aarch64/setjmp.S: Likewise.
21592 * sysdeps/alpha/setjmp.S: Likewise.
21593 * sysdeps/arm/__longjmp.S: Likewise.
21594 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21595 * sysdeps/arm/setjmp.S: Likewise.
21596 * sysdeps/arm/sysdep.h: Likewise.
21597 * sysdeps/generic/_itoa.h: Likewise.
21598 * sysdeps/generic/dl-sysdep.h: Likewise.
21599 * sysdeps/generic/ldsodefs.h: Likewise.
21600 * sysdeps/i386/dl-tls.h: Likewise.
21601 * sysdeps/i386/setjmp.S: Likewise.
21602 * sysdeps/m68k/setjmp.c: Likewise.
21603 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21604 * sysdeps/mach/hurd/opendir.c: Likewise.
21605 * sysdeps/posix/getcwd.c: Likewise.
21606 * sysdeps/posix/opendir.c: Likewise.
21607 * sysdeps/posix/profil.c: Likewise.
21608 * sysdeps/powerpc/dl-procinfo.h: Likewise.
21609 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21611 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21612 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21613 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21615 * sysdeps/s390/dl-tls.h: Likewise.
21616 * sysdeps/s390/s390-32/setjmp.S: Likewise.
21617 * sysdeps/s390/s390-64/setjmp.S: Likewise.
21618 * sysdeps/sh/sh3/setjmp.S: Likewise.
21619 * sysdeps/sh/sh4/setjmp.S: Likewise.
21620 * sysdeps/unix/alpha/sysdep.h: Likewise.
21621 * sysdeps/unix/arm/sysdep.S: Likewise.
21622 * sysdeps/unix/i386/sysdep.S: Likewise.
21623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21624 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21625 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21626 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21628 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21629 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21630 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21632 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21633 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21634 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21635 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21638 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21642 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21646 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21647 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21650 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21651 * sysdeps/x86_64/setjmp.S: Likewise.
21652
21653 * include/math.h: Use IS_IN instead of IS_IN_libm.
21654 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21657 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21666 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21674 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21675 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21676 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21677 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21678 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21679 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21681 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21682 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21683 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21684 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21685 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21686 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21688 Likewise.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21690 Likewise.
21691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21692 Likewise.
21693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21694 Likewise.
21695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21696 Likewise.
21697 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21698 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21699 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21700 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21701 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21709 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21710 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21711 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21712 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21713 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21715 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21716 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21717 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21718 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21721 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21723 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21724
21725 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21726 * nptl/pthreadP.h: Likewise.
21727 * nptl_db/structs.def: Likewise.
21728 * sysdeps/arm/sysdep.h: Likewise.
21729 * sysdeps/nptl/bits/libc-lock.h: Likewise.
21730 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21731 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21732 * sysdeps/unix/alpha/sysdep.h: Likewise.
21733 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21734 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21735 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21737 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21738 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21740 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21741 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21742 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21743 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21744 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21745 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21746 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21751 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21754 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21755 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21756 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21757 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21758 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21759
21760 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21761 * nptl/pthreadP.h: Likewise.
21762 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21763 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21764 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21765 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21766 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21767 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21768 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21769 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21770 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21771 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21772 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21773 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21775 Likewise.
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21777 Likewise.
21778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21780 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21783 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21784 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21785 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21786
21787 * dlfcn/dladdr.c: Use IS_IN.
21788 * dlfcn/dladdr1.c: Likewise.
21789 * dlfcn/dlclose.c: Likewise.
21790 * dlfcn/dlerror.c: Likewise.
21791 * dlfcn/dlinfo.c: Likewise.
21792 * dlfcn/dlmopen.c: Likewise.
21793 * dlfcn/dlopen.c: Likewise.
21794 * dlfcn/dlsym.c: Likewise.
21795 * dlfcn/dlvsym.c: Likewise.
21796
21797 * include/ifaddrs.h: Use IS_IN.
21798 * inet/check_pf.c: Likewise.
21799 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21800 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21801
21802 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21803 IS_IN_ldconfig.
21804 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21805 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21806
21807 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21808 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21809 IS_IN (libc).
21810
21811 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21812
21813 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21814 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21815 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21816 * include/libc-symbols.h (IS_IN_LIB): New macro.
21817 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21818 * include/netdb.h: Likewise.
21819 * include/stap-probe.h: Remove all uses of IN_LIB.
21820
21821 * Makeconfig (module-cppflags-real): Define MODULE_NAME
21822 instead of IN_MODULE.
21823 * include/libc-symbols.h (IN_MODULE): Define using
21824 MODULE_NAME.
21825 (PASTE_NAME, PASTE_NAME1): New macros.
21826 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21827 of IN_LIB.
21828 (STAP_PROBE_ASM): Likewise.
21829
21830 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
21831
21832 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21833 __mach_init in dlopened libc.
21834
21835 2014-11-22 Mike Frysinger <vapier@gentoo.org>
21836
21837 * sysdeps/arm/preconfigure.ac: Delete EABI check.
21838 * sysdeps/arm/preconfigure: Regenerate.
21839
21840 2014-11-21 Roland McGrath <roland@hack.frob.com>
21841
21842 * nptl/pthread_create.c (__pthread_create_2_1): Set
21843 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21844 when copying values from IATTR into PD.
21845
21846 2014-11-21 Will Newton <will.newton@linaro.org>
21847 Andrew Pinski <andrew.pinski@caviumnetworks.com>
21848
21849 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21850 Refactor inline-asm. Also add comment.
21851
21852 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21853 ElfW macro instead of hardcoded Elf64 types.
21854 (la_aarch64_gnu_pltenter): Likewise.
21855 * sysdeps/aarch64/dl-machine.h
21856 (elf_machine_runtime_setup): Use ElfW(Addr).
21857
21858 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21859 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21860 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21861 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21862 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21863 (R_AARCH64_TLS_DTPMOD64): Rename to ..
21864 (R_AARCH64_TLS_DTPMOD): This.
21865 (R_AARCH64_TLS_DTPREL64): Rename to ...
21866 (R_AARCH64_TLS_DTPREL): This.
21867 (R_AARCH64_TLS_TPREL64): Rename to ...
21868 (R_AARCH64_TLS_TPREL): This.
21869 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21870 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21871 R_AARCH64_TLS_TPREL64.
21872 (elf_machine_rela): Likewise.
21873
21874 2014-11-21 Torvald Riegel <triegel@redhat.com>
21875
21876 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21877 by setting it to 0. 64b atomics are not supported currently.
21878
21879 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21880
21881 [BZ #16469]
21882 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21883 search domain names.
21884
21885 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21886
21887 [BZ #16469]
21888 * NEWS: Update.
21889 * resolv/res_query.c (__libc_res_nquerydomain): Retain
21890 trailing dot.
21891 * posix/tst-getaddrinfo5.c: New.
21892 * posix/Makefile (tests): Add it.
21893
21894 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21895
21896 [BZ #14498]
21897 * NEWS: Fixed.
21898 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21899 after parsing line but before break_if_match.
21900 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21901 if there is a protocol mismatch.
21902
21903 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21904
21905 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21906 because the potential race is on the user-supplied stream.
21907
21908 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21909
21910 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21911 string literal if not passed a buffer.
21912 * manual/job.texi (ctermid): Update reasoning, note deviation
21913 from posix, suggest mtasurace when not passed a buffer, for
21914 future non-preliminary safety notes.
21915
21916 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21917
21918 * manual/users.texi (cuserid): Fix MT-Safety note for the case
21919 of not passing it a buffer.
21920 Reported by Peng Haitao.
21921
21922 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
21923
21924 * manual/Makefile ($(objpfx)stamp-summary): Require
21925 check-safety.sh to pass.
21926 * manual/check-safety.sh: Wish for verification that every
21927 @deftypefn and @deftypefun is followed by a @safety remark.
21928
21929 2014-11-20 Roland McGrath <roland@hack.frob.com>
21930
21931 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21932
21933 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21934 PTHREAD_CANCEL_ASYNCHRONOUS.
21935 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21936 send SIGCANCEL.
21937
21938 * nptl/default-sched.h: New file.
21939 * sysdeps/unix/sysv/linux/default-sched.h: New file.
21940 * nptl/pthread_create.c: Include it.
21941 (__pthread_create_2_1): Use collect_default_sched instead of making
21942 Linux syscalls here directly.
21943
21944 2014-11-20 Torvald Riegel <triegel@redhat.com>
21945
21946 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21947 __pthread_once): Use C11 atomics.
21948
21949 2014-11-20 Torvald Riegel <triegel@redhat.com>
21950
21951 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21952
21953 2014-11-20 Torvald Riegel <triegel@redhat.com>
21954
21955 * include/atomic.h (__atomic_link_error, __atomic_check_size,
21956 atomic_thread_fence_acquire, atomic_thread_fence_release,
21957 atomic_thread_fence_seq_cst, atomic_load_relaxed,
21958 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21959 atomic_compare_exchange_weak_relaxed,
21960 atomic_compare_exchange_weak_acquire,
21961 atomic_compare_exchange_weak_release,
21962 atomic_exchange_acquire, atomic_exchange_release,
21963 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21964 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21965 atomic_fetch_and_acquire,
21966 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21967
21968 2014-11-20 Torvald Riegel <triegel@redhat.com>
21969
21970 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21971 USE_ATOMIC_COMPILER_BUILTINS): Define.
21972 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21974 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21976 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21978 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21979 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21980 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21982 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21984 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21986 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21988 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21990 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21992 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21994 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21995 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21996 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21998 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22000 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22001 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22002 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22004 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22006 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22007 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22008 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22009 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22010 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22011 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22012
22013 2014-11-19 Roland McGrath <roland@hack.frob.com>
22014
22015 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22016 the sched_priority value here. It was already checked when the user
22017 called pthread_attr_setschedparam.
22018
22019 * nptl/tst-bad-schedattr.c: New file.
22020 * nptl/Makefile (tests): Add it.
22021
22022 2014-11-19 Carlos O'Donell <carlos@redhat.com>
22023 Florian Weimer <fweimer@redhat.com>
22024 Joseph Myers <joseph@codesourcery.com>
22025 Adam Conrad <adconrad@0c3.net>
22026 Andreas Schwab <schwab@suse.de>
22027 Brooks <bmoses@google.com>
22028
22029 [BZ #17625]
22030 * wordexp-test.c (__dso_handle): Add prototype.
22031 (__register_atfork): Likewise.
22032 (__app_register_atfork): New function.
22033 (registered_forks): New global.
22034 (register_fork): New function.
22035 (test_case): Add 3 new tests for WRDE_CMDSUB.
22036 (main): Call __app_register_atfork.
22037 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22038 fork count is non-zero fail the test.
22039 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22040 is set.
22041 (parse_dollars): Remove check for WRDE_NOCMD.
22042 (parse_dquote): Likewise.
22043
22044 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22045
22046 * Makeconfig (built-modules): List non-library modules to be
22047 built.
22048 (module-cppflags): Include libc-modules.h for
22049 everything except shlib-versions.v.i.
22050 (CPPFLAGS): Use it.
22051 (before-compile): Add libc-modules.h.
22052 ($(common-objpfx)libc-modules.h,
22053 $(common-objpfx)libc-modules.stmp): New targets.
22054 (common-generated): Add libc-modules.h and libc-modules.stmp.
22055 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22056 * include/libc-symbols.h: Don't include libc-modules.h.
22057 * include/libc-modules.h: Remove file.
22058 * scripts/gen-libc-modules.awk: New script to generate
22059 libc-modules.h.
22060 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22061 Depend on libc-modules.stmp.
22062
22063 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22064
22065 * Makeconfig (in-module): Get value of libof set for the
22066 translation unit.
22067 (CPPFLAGS): Use $(in-module).
22068 * Makerules: Don't suffix routine names for nonlib.
22069 * include/libc-modules.h: New file.
22070 * include/libc-symbols.h: Include libc-modules.h
22071 (IS_IN): New macro to replace IS_IN_* macros.
22072 * elf/Makefile: Set libof-* for each routine.
22073 * elf/rtld-Rules: Likewise.
22074 * extra-modules.mk: Likewise.
22075 * iconv/Makefile: Likewise.
22076 * iconvdata/Makefile: Likewise.
22077 * locale/Makefile: Likewise.
22078 * malloc/Makefile: Likewise.
22079 * nss/Makefile: Likewise.
22080 * sysdeps/gnu/Makefile: Likewise.
22081 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22082 * sysdeps/unix/sysv/linux/Makefile: Likewise.
22083 * sysdeps/s390/s390-64/Makefile: Likewise.
22084 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
22085 CPPFLAGS for nscd instead of nonlib.
22086
22087 2014-11-18 Roland McGrath <roland@hack.frob.com>
22088
22089 * nptl/createthread.c: New file.
22090
22091 * nptl/createthread.c: Moved ...
22092 * sysdeps/unix/sysv/linux/createthread.c: ... here.
22093
22094 * nptl/createthread.c: Add proper top-line comment.
22095 (do_clone): Folded into ...
22096 (create_thread): ... here. Take new arguments STOPPED_START and
22097 THREAD_RAN. Always set PD->stopped_start to something here. Don't
22098 increment __nptl_threads, do event-reporting logic, do
22099 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22100 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
22101 resource cleanup if sched_setaffinity or sched_setscheduler fails,
22102 just send SIGCANCEL.
22103 * nptl/pthread_create.c: Forward-declare create_thread before
22104 including createthread.c.
22105 (start_thread): Use new macro START_THREAD_DEFN to replace defining
22106 declaration, and new macro START_THREAD_SELF to replace argument.
22107 Remove return statement.
22108 (report_thread_creation): New function.
22109 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
22110 synchronization logic, and __nptl_nthreads increment here, around
22111 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
22112 PD->parent_cancelhandling here, before create_thread. When
22113 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22114 __deallocate_stack, and ENOMEM translation here.
22115
22116 2014-11-18 Joseph Myers <joseph@codesourcery.com>
22117
22118 [BZ #17616]
22119 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22120 (mptwo): Rename to __mptwo.
22121 (__inv): Use __mptwo instead of mptwo.
22122 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22123 (mptwo): Rename to __mptwo.
22124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22125 of mpone and __mptwo instead of mptwo.
22126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22127 instead of mpone.
22128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22129 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22130 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22131 of mpone and __mptwo instead of mptwo.
22132 (__mpranred): Use __mpone instead of mpone.
22133 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22134 variable.
22135 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22136 (test-xfail-ISO99/math.h/linknamespace): Likewise.
22137 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22138 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22139 (test-xfail-ISO11/math.h/linknamespace): Likewise.
22140 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22141 (test-xfail-XPG3/math.h/linknamespace): Likewise.
22142 (test-xfail-XPG4/math.h/linknamespace): Likewise.
22143 (test-xfail-POSIX/math.h/linknamespace): Likewise.
22144 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22145 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22146 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22147 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22148 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22149 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22150 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22151 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22152 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22153 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22154
22155 2014-11-18 Tom de Vries <tom@codesoucery.com>
22156
22157 * manual/signal.texi (Primitives Interrupted by Signals): In section,
22158 replace BSD Handler xref with BSD Signal Handling.
22159
22160 2014-11-17 Richard Henderson <rth@redhat.com>
22161
22162 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22163 (_FP_PACK_RAW_2): Remove.
22164 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22165 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22166 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22167 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22168 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22169 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22170 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22171 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22172 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22173 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22174 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22175 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22176 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22177 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22178 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22179 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22180
22181 2014-11-14 Roland McGrath <roland@hack.frob.com>
22182
22183 * signal/signal.h [__USE_MISC]
22184 (struct sigvec): Remove type.
22185 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22186 (sigvec): Remove declaration.
22187 * sysdeps/posix/sigvec.c: Moved ...
22188 * signal/sigvec.c: ... here, replacing old file.
22189 (struct sigvec): New type, copied from old signal.h definition.
22190 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22191 (__sigvec): Convert definition to prototype.
22192 (sigvec): Replace weak_alias with compat_symbol.
22193 * signal/Versions (libc: GLIBC_2.21): New version set.
22194 * include/signal.h: Remove __sigvec declaration.
22195 * sysdeps/unix/bsd/sigvec.c: Remove file.
22196 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22197 * manual/signal.texi (BSD Handler): Remove subsection.
22198 Move siginterrupt up to ...
22199 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
22200 (Blocking in BSD): Fold subsection into its parent.
22201 * NEWS: Mention sigvec removal.
22202
22203 2014-11-14 Joseph Myers <joseph@codesourcery.com>
22204
22205 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22206 (DLA_FMS): Make definition conditional only on [__FMA4__].
22207 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22208 definition.
22209
22210 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22211 Make definition conditional only on [PROF].
22212 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22213 definition.
22214 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22215 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22216
22217 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22218 !__GNUC__].
22219 * include/signal.h (__sigpause): Move declaration above call to
22220 libc_hidden_proto.
22221 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22222 variable.
22223 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22224 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22225
22226 2014-11-14 David S. Miller <davem@davemloft.net>
22227
22228 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22229 Define before including <string/memcpy.c> and <string/mempcpy.c>.
22230
22231 2014-11-14 Joseph Myers <joseph@codesourcery.com>
22232
22233 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22234 * configure: Regenerated.
22235 * manual/install.texi (Tools for Compilation): Document a
22236 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22237 compiler verified to work.
22238 * INSTALL: Regenerated.
22239
22240 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22241 redeclare with asm name.
22242 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22243 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22244 including <string.h>.
22245 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22246 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22247 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22249 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22251 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22252
22253 2014-11-13 Joseph Myers <joseph@codesourcery.com>
22254
22255 * stdlib/strtol.c (__strtol): Use prototype definition.
22256
22257 [BZ #17594]
22258 * stdlib/strtol.c (SYM__): New macro.
22259 (SYM__1): Likewise.
22260 (__strtol): Likewise.
22261 (strtol): Rename to __strtol and define as weak alias of
22262 __strtol. Use libc_hidden_weak.
22263
22264 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22265
22266 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22267 Use numbered labels in inline assembly.
22268
22269 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22270
22271 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22272 Add setjmp LIBC_PROBE.
22273 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22274 Likewise.
22275 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22276 Add longjmp, longjmp_target LIBC_PROBE.
22277 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22278 Likewise.
22279
22280 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22281
22282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22283 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22284 to get rid of unused variable warning.
22285
22286 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22287
22288 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22289 Check for unwind_backtrace == NULL only in SHARED case.
22290 (__backchain_backtrace): Compile only in SHARED case.
22291 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22292 Likewise.
22293 (__backchain_backtrace): Declare as static.
22294
22295 2014-11-12 Roland McGrath <roland@hack.frob.com>
22296
22297 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22298 (__libc_multiple_threads_ptr): Variable moved ...
22299 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22300
22301 2014-11-12 Joseph Myers <joseph@codesourcery.com>
22302
22303 * conform/GlibcConform.pm: New file.
22304 * conform/conformtest.pl: Use GlibcConform module.
22305 * conform/linknamespace.pl: New file.
22306 * conform/list-header-symbols.pl: Likewise.
22307 * conform/Makefile (linknamespace-symlists-base): New variable.
22308 (linknamespace-symlists-tests): Likewise.
22309 (linknamespace-header-base): Likewise.
22310 (linknamespace-header-tests): Likewise.
22311 (tests-special): Add new tests.
22312 ($(linknamespace-symlists-tests)): New rule.
22313 (linknamespace-libs): New variable.
22314 ($(objpfx)symlist-stdlibs): New rule.
22315 ($(linknamespace-header-tests)): Likewise.
22316 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22317 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22318 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22319 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22320 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22321 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22322 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22323 (test-xfail-ISO/math.h/linknamespace): Likewise.
22324 (test-xfail-ISO/signal.h/linknamespace): Likewise.
22325 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22326 (test-xfail-ISO/time.h/linknamespace): Likewise.
22327 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22328 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22329 (test-xfail-ISO99/math.h/linknamespace): Likewise.
22330 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22331 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22332 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22333 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22334 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22335 (test-xfail-ISO11/math.h/linknamespace): Likewise.
22336 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22337 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22338 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22339 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22340 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22341 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22342 (test-xfail-XPG3/math.h/linknamespace): Likewise.
22343 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22344 (test-xfail-XPG3/search.h/linknamespace): Likewise.
22345 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22346 (test-xfail-XPG3/time.h/linknamespace): Likewise.
22347 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22348 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22349 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22350 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22351 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22352 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22353 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22354 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22355 (test-xfail-XPG4/math.h/linknamespace): Likewise.
22356 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22357 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22358 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22359 (test-xfail-XPG4/search.h/linknamespace): Likewise.
22360 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22361 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22362 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22363 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22364 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22365 (test-xfail-XPG4/time.h/linknamespace): Likewise.
22366 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22367 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22368 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22369 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22370 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22371 (test-xfail-POSIX/math.h/linknamespace): Likewise.
22372 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22373 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22374 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22375 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22376 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22377 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22378 (test-xfail-POSIX/time.h/linknamespace): Likewise.
22379 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22380 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22381 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22382 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22383 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22384 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22385 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22386 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22387 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22388 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22389 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22390 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22391 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22392 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22393 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22394 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22395 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22396 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22397 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22398 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22399 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22400 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22401 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22402 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22403 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22404 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22405 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22406 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22407 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22408 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22409 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22410 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22411 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22412 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22413 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22414 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22415 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22416 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22417 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22418 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22419 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22420 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22421 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22422 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22423 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22424 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22425 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22426 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22427 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22428 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22429 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22430 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22431 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22432 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22433 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22434 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22435 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22436 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22437 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22438 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22439 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22440 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22441 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22442 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22443 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22444 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22445 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22446 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22447 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22448 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22449 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22450 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22451 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22452 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22453 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22454 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22455 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22456 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22457 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22458 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22459 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22460 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22461 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22462 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22463 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22464 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22465 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22466 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22467 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22468 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22469 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22470 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22471 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22472 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22473 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22474 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22475 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22476 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22477
22478 [BZ #17589]
22479 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22480 of fgets_unlocked.
22481
22482 [BZ #17585]
22483 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22484 (memmem): Rename to __memmem and define as weak alias of
22485 __memmem. Use libc_hidden_weak.
22486 (__memmem): Use libc_hidden_def.
22487 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
22488 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22489 memmem.
22490
22491 [BZ #17582]
22492 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22493 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
22494 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22495 and define as weak alias of __fgets_unlocked. Use
22496 libc_hidden_weak.
22497 (__fgets_unlocked): Use libc_hidden_def.
22498 * include/stdio.h (__fgets_unlocked): Declare. Use
22499 libc_hidden_proto.
22500 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22501 __fgets_unlocked instead of fgets_unlocked.
22502 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22503 (GET_NPROCS_CONF_PARSER): Likewise.
22504 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22505 (GET_NPROCS_CONF_PARSER): Likewise.
22506
22507 [BZ #17574]
22508 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22509 weak alias of __wmemset. Use libc_hidden_weak.
22510 (__wmemset): Use libc_hidden_def.
22511 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
22512 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22513 of wmemset.
22514
22515 [BZ #17573]
22516 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22517 with asm name __mempcpy.
22518 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22519
22520 [BZ #17572]
22521 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22522 and define as weak alias of __rawmemchr.
22523 (__rawmemchr): Do not define as strong alias of rawmemchr.
22524
22525 [BZ #17571]
22526 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22527 alias of __qsort_r.
22528 (qsort): Call __qsort_r instead of qsort_r.
22529 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22530 (__qsort_r): Declare. Call libc_hidden_proto.
22531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22532 instead of qsort_r.
22533 * nscd/gai.c (__qsort_r): Define to qsort_r.
22534 * posix/tst-rfc3484.c (__qsort_r): Likewise.
22535 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22536 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22537
22538 [BZ #17570]
22539 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22540 define as weak alias of __malloc_info.
22541
22542 [BZ #17584]
22543 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22544 as weak alias of __rewinddir. Don't use libc_hidden_def.
22545 (__rewinddir): Use libc_hidden_def.
22546 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22547 as weak alias of __rewinddir. Don't use libc_hidden_def.
22548 (__rewinddir): Use libc_hidden_def.
22549 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22550 weak alias of __rewinddir. Don't use libc_hidden_def.
22551 (__rewinddir): Use libc_hidden_def.
22552 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22553 (__rewinddir): Use libc_hidden_proto.
22554 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22555 rewinddir.
22556 (__getcwd): Use __rewinddir instead of rewinddir.
22557
22558 [BZ #17583]
22559 * libio/fileno.c (fileno): Rename to __fileno and define as weak
22560 alias of __fileno. Use libc_hidden_weak.
22561 (__fileno): Use libc_hidden_def.
22562 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22563 * libio/ftello.c (ftello): Rename to __ftello and define as weak
22564 alias of __ftello.
22565 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22566 __ftello.
22567 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22568 (__fread_unlocked): Define as strong alias of _IO_fread. Use
22569 libc_hidden_def.
22570 (fread_unlocked): Don't use libc_hidden_ver.
22571 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22572 and define as weak alias of __fread_unlocked. Don't use
22573 libc_hidden_def.
22574 (__fread_unlocked): Use libc_hidden_def.
22575 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
22576 (ftello): Don't use libc_hidden_proto.
22577 (__ftello): Declare. Use libc_hidden_proto.
22578 (fread_unlocked): Don't use libc_hidden_proto.
22579 (__fread_unlocked): Declare. Use libc_hidden_proto.
22580 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22581 and __ftello instead of fileno, fread_unlocked and ftello.
22582
22583 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22584
22585 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22586 GOT12.
22587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22588 Likewise.
22589 (_dl_start_user): Likewise.
22590 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22591
22592 2014-11-12 Carlos O'Donell <carlos@redhat.com>
22593 Siddhesh Poyarekar <siddhesh@redhat.com>
22594
22595 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22596 Move argv and envp down instead of moving argc up.
22597 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22598
22599 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
22600
22601 [BZ #17506]
22602 * test-skeleton.c (main): Return successful if one of
22603 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22604 * string/tst-strcoll-overflow.c: Define expected status.
22605
22606 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
22607
22608 [BZ #17475]
22609 * locale/iso-639.def: Define Bhili and Tulu language codes.
22610
22611 2014-11-11 Alan Hayward <alan.hayward@arm.com>
22612
22613 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22614
22615 2014-11-10 Renlin Li <Renlin.Li@arm.com>
22616
22617 [BZ #17555]
22618 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22619
22620 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
22621
22622 * configure.ac: Updated check of minimal required version to
22623 2.22.
22624 * manual/install.texi (Tools for Compilation): Updated version
22625 number.
22626 * configure: Regenerated.
22627 * INSTALL: Likewise.
22628
22629 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
22630
22631 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22632 __tls_get_addr.
22633
22634 2014-11-07 Joseph Myers <joseph@codesourcery.com>
22635
22636 * include/sys/wait.h (__libc_waitpid): Remove declaration.
22637 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22638 (__waitpid): Don't define as alias. Use libc_hidden_def not
22639 libc_hidden_weak.
22640 (waitpid): Define as alias of __waitpid.
22641 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22642 __waitpid.
22643 (__waitpid): Don't define as alias. Use libc_hidden_def not
22644 libc_hidden_weak.
22645 (waitpid): Define as alias of __waitpid.
22646 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22647 __libc_waitpid alias.
22648 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22650 Likewise.
22651 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22652 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22653 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22654 alias.
22655 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22656 __waitpid.
22657 (__waitpid): Don't define as alias. Use libc_hidden_def not
22658 libc_hidden_weak.
22659 (waitpid): Define as alias of __waitpid.
22660
22661 2014-11-06 Carlos O'Donell <carlos@redhat.com>
22662
22663 * manual/llio.texi: Add comment that write safety has been
22664 fixed in Linux.
22665
22666 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22667 (localplt-build-dso): Add elf/ld.so.
22668 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22669 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22670 and free for ld.so.
22671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22672 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22674 Likewise.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22676 Likewise.
22677 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22678 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22679 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22680 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22681 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22682 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22683 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22684 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22685 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22686 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22687 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22688
22689 2014-11-05 Joseph Myers <joseph@codesourcery.com>
22690
22691 [BZ #14132]
22692 * include/libc-symbols.h (INTUSE): Remove macro.
22693 (INTDEF): Likewise.
22694 (INTVARDEF): Likewise.
22695 (_INTVARDEF): Likewise.
22696 (INTDEF2): Likewise.
22697 (INTVARDEF2): Likewise.
22698 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22699 rtld_hidden_def instead of INTVARDEF.
22700 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22701 (_dl_starting_up_internal): Remove declaration.
22702 (_dl_starting_up): Use rtld_hidden_proto.
22703 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22704 declaration.
22705 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22706 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22707 _dl_starting_up.
22708 * elf/dl-writev.h (_dl_writev): Likewise.
22709 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22710 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22711 _dl_starting_up_internal.
22712
22713 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22714
22715 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22716 test-skeleton.c.
22717
22718 2014-11-05 Will Newton <will.newton@linaro.org>
22719
22720 * benchtests/Makefile: (bench-malloc): Add malloc thread
22721 scalability benchmark.
22722 * benchtests/bench-malloc-threads.c: New file.
22723
22724 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
22725
22726 * sysdeps/aarch64/strchrnul.S: New file.
22727
22728 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22729
22730 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22731 definition.
22732 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22733 Likwise.
22734 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22735 Likewise.
22736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22737 Likewise.
22738 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22739 Likewise.
22740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22741 Likewise.
22742
22743 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
22744
22745 * catgets/test-gencat.c: Use test-skeleton.c.
22746 * catgets/tst-catgets.c: Likewise.
22747 * csu/tst-empty.c: Likewise.
22748 * elf/tst-audit2.c: Likewise.
22749 * elf/tst-global1.c: Likewise.
22750 * elf/tst-pathopt.c: Likewise.
22751 * elf/tst-piemod1.c: Likewise.
22752 * elf/tst-tls10.c: Likewise.
22753 * elf/tst-tls11.c: Likewise.
22754 * elf/tst-tls12.c: Likewise.
22755 * gnulib/tst-gcc.c: Likewise.
22756 * iconvdata/tst-e2big.c: Likewise.
22757 * iconvdata/tst-loading.c: Likewise.
22758 * iconv/tst-iconv1.c: Likewise.
22759 * iconv/tst-iconv2.c: Likewise.
22760 * inet/test-inet6_opt.c: Likewise.
22761 * inet/tst-gethnm.c: Likewise.
22762 * inet/tst-network.c: Likewise.
22763 * inet/tst-ntoa.c: Likewise.
22764 * intl/tst-codeset.c: Likewise.
22765 * intl/tst-gettext2.c: Likewise.
22766 * intl/tst-gettext3.c: Likewise.
22767 * intl/tst-ngettext.c: Likewise.
22768 * intl/tst-translit.c: Likewise.
22769 * io/test-stat.c: Likewise.
22770 * libio/test-fmemopen.c: Likewise.
22771 * libio/tst-freopen.c: Likewise.
22772 * libio/tst-sscanf.c: Likewise.
22773 * libio/tst-ungetwc1.c: Likewise.
22774 * libio/tst-ungetwc2.c: Likewise.
22775 * libio/tst-widetext.c: Likewise.
22776 * localedata/tst-ctype.c: Likewise.
22777 * localedata/tst-digits.c: Likewise.
22778 * localedata/tst-leaks.c: Likewise.
22779 * localedata/tst-mbswcs1.c: Likewise.
22780 * localedata/tst-mbswcs2.c: Likewise.
22781 * localedata/tst-mbswcs3.c: Likewise.
22782 * localedata/tst-mbswcs4.c: Likewise.
22783 * localedata/tst-mbswcs5.c: Likewise.
22784 * localedata/tst-setlocale.c: Likewise.
22785 * localedata/tst-trans.c: Likewise.
22786 * localedata/tst-wctype.c: Likewise.
22787 * localedata/tst-xlocale1.c: Likewise.
22788 * login/tst-grantpt.c: Likewise.
22789 * malloc/tst-calloc.c: Likewise.
22790 * malloc/tst-malloc.c: Likewise.
22791 * malloc/tst-mallocstate.c: Likewise.
22792 * malloc/tst-mcheck.c: Likewise.
22793 * malloc/tst-mtrace.c: Likewise.
22794 * malloc/tst-obstack.c: Likewise.
22795 * math/atest-exp2.c: Likewise.
22796 * math/atest-exp.c: Likewise.
22797 * math/atest-sincos.c: Likewise.
22798 * math/test-matherr.c: Likewise.
22799 * math/test-misc.c: Likewise.
22800 * math/test-powl.c: Likewise.
22801 * math/tst-definitions.c: Likewise.
22802 * misc/tst-dirname.c: Likewise.
22803 * misc/tst-efgcvt.c: Likewise.
22804 * misc/tst-fdset.c: Likewise.
22805 * misc/tst-hsearch.c: Likewise.
22806 * misc/tst-mntent2.c: Likewise.
22807 * nptl/tst-sem7.c: Likewise.
22808 * nptl/tst-sem8.c: Likewise.
22809 * nptl/tst-sem9.c: Likewise.
22810 * nss/test-netdb.c: Likewise.
22811 * posix/tst-fnmatch.c: Likewise.
22812 * posix/tst-getlogin.c: Likewise.
22813 * posix/tst-gnuglob.c: Likewise.
22814 * posix/tst-mmap.c: Likewise.
22815 * pwd/tst-getpw.c: Likewise.
22816 * resolv/tst-inet_ntop.c: Likewise.
22817 * rt/tst-timer.c: Likewise.
22818 * stdio-common/test-fseek.c: Likewise.
22819 * stdio-common/test-popen.c: Likewise.
22820 * stdio-common/test-vfprintf.c: Likewise.
22821 * stdio-common/tst-cookie.c: Likewise.
22822 * stdio-common/tst-fileno.c: Likewise.
22823 * stdio-common/tst-gets.c: Likewise.
22824 * stdio-common/tst-obprintf.c: Likewise.
22825 * stdio-common/tst-perror.c: Likewise.
22826 * stdio-common/tst-sprintf2.c: Likewise.
22827 * stdio-common/tst-sprintf3.c: Likewise.
22828 * stdio-common/tst-sprintf.c: Likewise.
22829 * stdio-common/tst-swprintf.c: Likewise.
22830 * stdio-common/tst-tmpnam.c: Likewise.
22831 * stdio-common/tst-unbputc.c: Likewise.
22832 * stdio-common/tst-wc-printf.c: Likewise.
22833 * stdlib/tst-environ.c: Likewise.
22834 * stdlib/tst-fmtmsg.c: Likewise.
22835 * stdlib/tst-limits.c: Likewise.
22836 * stdlib/tst-rand48-2.c: Likewise.
22837 * stdlib/tst-rand48.c: Likewise.
22838 * stdlib/tst-random2.c: Likewise.
22839 * stdlib/tst-random.c: Likewise.
22840 * stdlib/tst-strtol.c: Likewise.
22841 * stdlib/tst-strtoll.c: Likewise.
22842 * stdlib/tst-tls-atexit.c: Likewise.
22843 * stdlib/tst-xpg-basename.c: Likewise.
22844 * string/test-ffs.c: Likewise.
22845 * string/tst-bswap.c: Likewise.
22846 * string/tst-inlcall.c: Likewise.
22847 * string/tst-strtok.c: Likewise.
22848 * string/tst-strxfrm.c: Likewise.
22849 * sysdeps/x86_64/tst-audit10.c: Likewise.
22850 * sysdeps/x86_64/tst-audit3.c: Likewise.
22851 * sysdeps/x86_64/tst-audit4.c: Likewise.
22852 * sysdeps/x86_64/tst-audit5.c: Likewise.
22853 * time/tst-ftime_l.c: Likewise.
22854 * time/tst-getdate.c: Likewise.
22855 * time/tst-mktime3.c: Likewise.
22856 * time/tst-mktime.c: Likewise.
22857 * time/tst-posixtz.c: Likewise.
22858 * time/tst-strptime2.c: Likewise.
22859 * time/tst-strptime3.c: Likewise.
22860 * wcsmbs/tst-btowc.c: Likewise.
22861 * wcsmbs/tst-mbrtowc.c: Likewise.
22862 * wcsmbs/tst-mbsrtowcs.c: Likewise.
22863 * wcsmbs/tst-wchar-h.c: Likewise.
22864 * wcsmbs/tst-wcpncpy.c: Likewise.
22865 * wcsmbs/tst-wcrtomb.c: Likewise.
22866 * wcsmbs/tst-wcsnlen.c: Likewise.
22867 * wcsmbs/tst-wcstof.c: Likewise.
22868
22869 2014-11-04 Joseph Myers <joseph@codesourcery.com>
22870
22871 [BZ #14132]
22872 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22873 INTDEF.
22874 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22875 declaration.
22876 (_dl_mcount): Use rtld_hidden_proto.
22877 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22878 _dl_mcount.
22879 * elf/rtld.c (_rtld_global_ro): Likewise.
22880
22881 [BZ #14132]
22882 * elf/dl-init.c (_dl_init): Don't use INTDEF.
22883 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22884 of _dl_init_internal.
22885 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22886 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22887 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22888 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22889 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22890 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22891 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22892 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22893 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22894 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22895 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22896 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22897 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22898 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22899 * sysdeps/tile/dl-start.S (_start): Likewise.
22900 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22901 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22902
22903 [BZ #14132]
22904 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22905 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22906 (rtld_progname): Make macro definition unconditional.
22907 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22908 INTDEF.
22909 (dlmopen_doit): Do not use INTUSE with _dl_argv.
22910 (dl_main): Likewise.
22911 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22912 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22913 instead of _dl_argv_internal.
22914 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22915 __GI__dl_argv instead of INTUSE(_dl_argv).
22916 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22917 __GI__dl_argv instead of _dl_argv_internal.
22918
22919 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22920 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22921 macro.
22922 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22923 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22924 New macro.
22925 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22926 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22927 macro.
22928 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22929 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22930
22931 2014-11-04 Andreas Schwab <schwab@suse.de>
22932
22933 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22934
22935 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22936
22937 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22938 mtvsrd instruction in binary form.
22939
22940 2014-11-03 Andreas Schwab <schwab@suse.de>
22941
22942 [BZ #17522]
22943 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22944 for less than MB_LEN_MAX use a local buffer of that size.
22945 * libio/tst-fputws.c: New file.
22946 * libio/Makefile (tests): Add tst-fputws.
22947
22948 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
22949
22950 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22951 the size of the fpu_fr.fpu_dregs[] array.
22952
22953 2014-11-01 Joseph Myers <joseph@codesourcery.com>
22954
22955 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22956 (__nanosleep): Do not define as alias.
22957 (nanosleep): Define as alias of __nanosleep.
22958 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22959 __libc_nanosleep name.
22960
22961 2014-10-31 Joseph Myers <joseph@codesourcery.com>
22962
22963 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22964 install.texi in comment.
22965
22966 2014-10-31 Torvald Riegel <triegel@redhat.com>
22967
22968 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22969 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22970 ... add here and use lwsync or sync ...
22971 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22972 ... and add here using lwsync.
22973
22974 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
22975
22976 * elf/dl-machine-reject-phdr.h: New file.
22977 * elf/dl-load.c: #include that.
22978 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22979 if that returned true.
22980
22981 2014-10-31 Roland McGrath <roland@hack.frob.com>
22982
22983 [BZ #17496]
22984 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22985 gen-as-const-headers chunk. Add a big scare comment after the last
22986 safe place to touch before-compile.
22987
22988 2014-10-31 Joseph Myers <joseph@codesourcery.com>
22989
22990 * manual/install.texi (Tools for Compilation): Update autoconf
22991 version requirements.
22992 * INSTALL: Regenerated.
22993
22994 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22995 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22996 (__libc_pselect): Likewise.
22997
22998 [BZ #14138]
22999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23003
23004 2014-10-31 Torvald Riegel <triegel@redhat.com>
23005
23006 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23007 correct barrier instruction.
23008 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23009 Likewise.
23010 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23011 Likewise.
23012
23013 2014-10-30 Roland McGrath <roland@hack.frob.com>
23014
23015 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23016 after defining inlines. Instead, just use parens to defeat macro
23017 expansion of __isctype in its declaration.
23018
23019 2014-10-30 Joseph Myers <joseph@codesourcery.com>
23020
23021 * include/sys/uio.h (__libc_readv): Remove declaration.
23022 (__libc_writev): Likewise.
23023 * misc/readv.c (__libc_readv): Rename to __readv.
23024 (__readv): Do not define as alias.
23025 (readv): Define as alias of __readv.
23026 * misc/writev.c (__libc_writev): Rename to __writev.
23027 (__writev): Do not define as alias.
23028 (writev): Define as alias of __writev.
23029 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23030 (__readv): Do not define as alias.
23031 (readv): Define unconditionally as alias of __readv.
23032 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23033 (__writev): Do not define as alias.
23034 (writev): Define unconditionally as alias of __writev.
23035 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23036 name.
23037 (writev): Do not define __libc_writev name.
23038
23039 2014-10-30 Roland McGrath <roland@hack.frob.com>
23040
23041 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23042 (convert_charseq): New function, broken out of ...
23043 (use_from_charmap): ... here. Call it.
23044 (use_to_charmap): Use convert_charseq and free instead of duplicating
23045 its code with a variable-length stack struct.
23046
23047 2014-10-30 Joseph Myers <joseph@codesourcery.com>
23048
23049 * include/fcntl.h (__libc_creat): Remove declaration.
23050 * io/creat.c (__libc_creat): Rename to creat.
23051 (creat): Do not define as alias.
23052 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23053 of creat instead of __libc_creat.
23054 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23055 to creat.
23056 (creat): Do not define as alias.
23057 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23058 __libc_creat.
23059 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23060 __libc_creat name.
23061 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23062 Likewise.
23063
23064 2014-10-29 Carlos O'Donell <carlos@redhat.com>
23065
23066 * manual/llio.texi: Add comments discussing why write() may be
23067 considered MT-unsafe on Linux.
23068
23069 2014-10-28 Carlos O'Donell <carlos@redhat.com>
23070
23071 * dl-load.c (local_strdup): Remove.
23072 (expand_dynamic_string_token): Use __strdup.
23073 (decompose_rpath): Likewise.
23074 (_dl_map_object): Likewise.
23075
23076 2014-10-28 Joseph Myers <joseph@codesourcery.com>
23077
23078 [BZ #14132]
23079 * sysdeps/generic/unwind-dw2-fde.c
23080 (__register_frame_info_bases_internal): Do not declare.
23081 (__register_frame_info_table_bases_internal): Likewise.
23082 (__deregister_frame_info_bases_internal): Likewise.
23083 (__register_frame_info_bases): Declare and use hidden_proto before
23084 definition. Use hidden_def instead of INTDEF.
23085 (__register_frame_info_table_bases): Likewise.
23086 (__deregister_frame_info_bases): Likewise.
23087 (__register_frame_info): Do not use INTUSE.
23088 (__register_frame): Likewise.
23089 (__register_frame_info_table): Likewise.
23090 (__register_frame_table): Likewise.
23091 (__deregister_frame_info): Likewise.
23092 (__deregister_frame): Likewise.
23093
23094 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
23095
23096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23097 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23098 not undefine.
23099 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23100 Likewise.
23101 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23102 Likewise.
23103
23104 2014-10-27 Joseph Myers <joseph@codesourcery.com>
23105
23106 [BZ #14138]
23107 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23108 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23109 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23110 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23111 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23112 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23114 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23115 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23116 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23117 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23119 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23120 syscall.
23121 (setfsuid): Likewise.
23122 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23123 (setfsuid): Likewise.
23124 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23125 (setfsuid): Likewise.
23126 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23127 Likewise.
23128 (setfsuid): Likewise.
23129 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23130 (setfsuid): Likewise.
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23132 Likewise.
23133 (setfsuid): Likewise.
23134
23135 2014-10-27 Andreas Schwab <schwab@suse.de>
23136
23137 [BZ #17501]
23138 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23139 check for Slow_SSE4_2 feature bit.
23140 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23141 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23142 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23143 Likewise. Fix check for Fast_Unaligned_Load feature bit.
23144
23145 2014-10-24 Roland McGrath <roland@hack.frob.com>
23146
23147 * configure.ac: Validate compiler version with a empirical test of
23148 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23149 $CC -v output.
23150 * configure: Regenerated.
23151
23152 * inet/htons.c (htons): Prototypify.
23153 * inet/htonl.c (htonl): Likewise.
23154
23155 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23156
23157 * string/strncat.c (strncat): Improve performance by using strlen.
23158
23159 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23160
23161 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23162
23163 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23164
23165 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23166 Call libc_fetestexcept_aarch64.
23167
23168 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23169
23170 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23171 Call libc_feholdexcept_aarch64.
23172
23173 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23174
23175 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23176 Call get_rounding_mode.
23177
23178 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23179
23180 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23181 Simplify logic.
23182
23183 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
23184
23185 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23186 Simplify logic.
23187
23188 2014-10-24 Joseph Myers <joseph@codesourcery.com>
23189
23190 [BZ #14138]
23191 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23192 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23193 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23194 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23195 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23196 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23197 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23198 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23199 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23200 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23201 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23202 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23203 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23204 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23205 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23206 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23207 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23208 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23209 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23210 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23211 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23212 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23213 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23214 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23215 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23216 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23217 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23218 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23219 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23220 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23221 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23222 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23223 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23224 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23225 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23226 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23228 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23229 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23230 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23231 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23232 syscall.
23233 (geteuid): Likewise.
23234 (getgid): Likewise.
23235 (getuid): Likewise.
23236 (getresgid): Likewise.
23237 (getresuid): Likewise.
23238 (getgroups): Likewise.
23239 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23240 (geteuid): Likewise.
23241 (getgid): Likewise.
23242 (getuid): Likewise.
23243 (getresgid): Likewise.
23244 (getresuid): Likewise.
23245 (getgroups): Likewise.
23246 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23247 (geteuid): Likewise.
23248 (getgid): Likewise.
23249 (getuid): Likewise.
23250 (getresgid): Likewise.
23251 (getresuid): Likewise.
23252 (getgroups): Likewise.
23253 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23254 Likewise.
23255 (geteuid): Likewise.
23256 (getgid): Likewise.
23257 (getuid): Likewise.
23258 (getresgid): Likewise.
23259 (getresuid): Likewise.
23260 (getgroups): Likewise.
23261 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23262 (geteuid): Likewise.
23263 (getgid): Likewise.
23264 (getuid): Likewise.
23265 (getresgid): Likewise.
23266 (getresuid): Likewise.
23267 (getgroups): Likewise.
23268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23269 Likewise.
23270 (geteuid): Likewise.
23271 (getgid): Likewise.
23272 (getuid): Likewise.
23273 (getgroups): Likewise.
23274
23275 [BZ #14138]
23276 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23277 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23278 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23280 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23281 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23282 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23283 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23284 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23285 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23286 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23288 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23289 __chown.
23290 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23291 (lchown): Likewise.
23292 (fchown): Likewise.
23293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23294 Likewise.
23295 (lchown): Likewise.
23296 (fchown): Likewise.
23297 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23298 (lchown): Likewise.
23299 (fchown): Likewise.
23300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23301 Likewise.
23302 (lchown): Likewise.
23303 (fchown): Likewise.
23304
23305 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23306
23307 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23308 Simplify logic.
23309
23310 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23311
23312 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23313 Cleanup logic.
23314
23315 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23316
23317 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23318 Remove unused include.
23319
23320 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23321
23322 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23323 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23324 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23325 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23326
23327 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
23328 Helge Deller <deller@gmx.de>
23329
23330 [BZ #17508]
23331 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23332 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23333 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23334
23335 2014-10-23 Joseph Myers <joseph@codesourcery.com>
23336
23337 [BZ #14132]
23338 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23339 Remove macro definition.
23340 (__ashrdi3_v_glibc20): Likewise.
23341 (__lshrdi3_v_glibc20): Likewise.
23342 (__cmpdi2_v_glibc20): Likewise.
23343 (__ucmpdi2_v_glibc20): Likewise.
23344 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23345 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23346 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23347 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23348 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23349 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23350
23351 2014-10-22 Roland McGrath <roland@hack.frob.com>
23352
23353 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23354 old GNU extension [0] syntax.
23355 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23356 alloca rather than an array member with variable length.
23357 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23358 * nscd/nscd.c (invalidate_db): New function, broken out of ...
23359 (parse_opt): ... here. Likewise use alloca there.
23360 Validate the -i argument before checking for rootness.
23361 (send_shutdown): New function, broken out of ...
23362 (parse_opt): ... here.
23363
23364 2014-10-22 Roland McGrath <roland@hack.frob.com>
23365
23366 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23367 macro to get at the _rt_local_ro field.
23368 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23369 ([PIC] case) or _dl_hwcap ([!PIC] case).
23370 * sysdeps/arm/setjmp.S: Likewise.
23371
23372 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23373 * sysdeps/arm/configure.ac: New check to define it.
23374 * sysdeps/arm/configure: Regenerated.
23375 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23376 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23377 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23378 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23379 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23380 Use move/movt pair instead of a load.
23381 (LDST_GLOBAL): Macro removed.
23382 (LDR_GLOBAL): New macro replaces it.
23383 (LDR_HIDDEN): New macro.
23384 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23385 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23386
23387 * setjmp/tst-setjmp-static.c: New file.
23388 * setjmp/Makefile (tests): Add it.
23389 (tests-static): New variable.
23390
23391 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
23392
23393 [BZ #17485]
23394 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23395
23396 2014-10-21 Joseph Myers <joseph@codesourcery.com>
23397
23398 [BZ #14132]
23399 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23400
23401 2014-10-21 Roland McGrath <roland@hack.frob.com>
23402
23403 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23404
23405 2014-10-20 Roland McGrath <roland@hack.frob.com>
23406
23407 * io/fts.c (dirent_not_directory): New function.
23408 (fts_build): Call it.
23409
23410 2014-10-20 Roland McGrath <roland@hack.frob.com>
23411
23412 * nptl/version.c (__nptl_main): Use normal __write rather than
23413 INTERNAL_SYSCALL.
23414 (banner): Update copyright years.
23415
23416 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23417 gettimeofday.
23418 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23419 * nptl/pthread_cond_timedwait.c: Likewise.
23420 * nptl/pthread_mutex_timedlock.c: Likewise.
23421 * nptl/sem_timedwait.c: Likewise.
23422
23423 * sysdeps/nptl/bits/libc-lock.h
23424 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23425 (__libc_lock_init_recursive): Return void, not 0.
23426 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23427 (__libc_rwlock_init): Likewise.
23428 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23429
23430 2014-10-20 Torvald Riegel <triegel@redhat.com>
23431
23432 [BZ #15215]
23433 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23434 (__pthread_once_slow): ... here.
23435 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23436 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23437
23438 2014-10-20 Torvald Riegel <triegel@redhat.com>
23439
23440 [BZ #15215]
23441 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23442 __PTHREAD_ONCE_FORK_GEN_INCR): New.
23443 * sysdeps/nptl/fork.c (__libc_fork): Use them.
23444 * nptl/pthread_once.c (__pthread_once): Likewise.
23445 Update comments.
23446
23447 2014-10-20 Joseph Myers <joseph@codesourcery.com>
23448
23449 [BZ #14138]
23450 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23451 name.
23452 (writev): Use __libc_writev as strong name.
23453 * sysdeps/unix/sysv/linux/readv.c: Remove file.
23454 * sysdeps/unix/sysv/linux/writev.c: Likewise.
23455
23456 2014-10-17 Roland McGrath <roland@hack.frob.com>
23457
23458 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23459
23460 * sysdeps/i386/nptl/tls.h
23461 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23462 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23463 New macros.
23464 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23465 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23466 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23467 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23468 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23469 Call CHECK_THREAD_SYSINFO instead of doing an assert.
23470
23471 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23472 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23473 on [__NR_futex].
23474 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23475 broken out of ...
23476 (__pthread_mutex_init): ... here. Call it.
23477 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23478 Conditionalize PI cases on [__NR_futex].
23479 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23480 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23481 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23482
23483 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23484 conditional on [SIGSETXID].
23485 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23486 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23487 is defined. Likewise for SIGSETXID.
23488 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23489 Conditionalize definitions on [SIGSETXID].
23490 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23491 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23492 unblocking on [SIGCANCEL].
23493
23494 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23495 [__NR_set_robust_list].
23496
23497 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23498
23499 * string/strcoll_l.c (get_next_seq): Fix up formatting.
23500 (do_compare): Likewise.
23501
23502 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
23503
23504 [BZ #15884]
23505 * string/strcoll_l.c: Don't include stdio.h.
23506 (coll_seq): Remove members idxarr and rulearr.
23507 (get_next_seq_cached): Remove function.
23508 (get_next_seq): Likewise.
23509 (get_next_seq_nocache): Rename to get_next_seq.
23510 (do_compare): Remove function.
23511 (do_compare_nocache): Rename to do_compare.
23512 (STRCOLL): Remove weight and rules cache.
23513
23514 2014-10-16 Roland McGrath <roland@hack.frob.com>
23515
23516 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23517 * sysdeps/arm/sfp-machine.h: ... to here.
23518 * sysdeps/arm/Implies: Remove arm/soft-fp.
23519
23520 2014-10-14 Joseph Myers <joseph@codesourcery.com>
23521
23522 * conform/data/sys/utsname.h-data (*_t): Allow.
23523 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23524 [POSIX] (WEXITED): Do not expect constant.
23525 [POSIX] (WSTOPPED): Likewise.
23526 [POSIX] (WNOHANG): Likewise.
23527 [POSIX] (WNOWAIT): Likewise.
23528 [POSIX] (siginfo_t): Do not expect type or elements.
23529 [POSIX] (pid_t): Do not expect type.
23530 [POSIX] (signal.h): Do not allow header.
23531 [POSIX] (sys/resource.h): Likewise.
23532 [POSIX] (si_*): Do not allow pattern.
23533 [POSIX] (W*): Likewise.
23534 [POSIX] (P_*): Likewise.
23535 [POSIX] (BUS_*): Likewise.
23536 [POSIX] (CLD_*): Likewise.
23537 [POSIX] (FPE_*): Likewise.
23538 [POSIX] (ILL_*): Likewise.
23539 [POSIX] (POLL_*): Likewise.
23540 [POSIX] (SEGV_*): Likewise.
23541 [POSIX] (SI_*): Likewise.
23542 [POSIX] (TRAP_*): Likewise.
23543 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23544 variable.
23545
23546 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
23547
23548 [BZ #12926]
23549 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23550 infinite loop when __recvmsg returns 0.
23551
23552 2014-10-10 Joseph Myers <joseph@codesourcery.com>
23553
23554 * CANCEL-FCT-WAIVE: Remove file.
23555 * CANCEL-FILE-WAIVE: Likewise.
23556
23557 [BZ #14132]
23558 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23559 instead of INTVARDEF.
23560 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23561 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23562 rtld_hidden_data_def instead of INTVARDEF.
23563 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23564 * elf/dl-deps.c (expand_dst): Likewise.
23565 * elf/dl-load.c (_dl_dst_count): Likewise.
23566 (_dl_dst_substitute): Likewise.
23567 (decompose_rpath): Likewise.
23568 (_dl_init_paths): Likewise.
23569 (open_path): Likewise.
23570 (_dl_map_object): Likewise.
23571 * elf/rtld.c (dl_main): Likewise.
23572 (process_dl_audit): Likewise.
23573 (process_envvars): Likewise.
23574 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23575 Remove declaration.
23576 (__libc_enable_secure): Use rtld_hidden_proto.
23577
23578 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23579
23580 * elf/dl-load.c
23581 (add_path): New function broken out of _dl_rtld_di_serinfo.
23582 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
23583
23584 2014-10-09 Joseph Myers <joseph@codesourcery.com>
23585
23586 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23587 parentheses around macro arguments.
23588 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23589 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23590 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23592 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23593 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23594 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23595 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23596 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23599 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23600 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23601 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23602 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23603 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23604 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23605 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23606 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23607 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23608 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23609 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23610 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23611 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23612 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23613 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23614 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23615 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23617 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23618 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23619 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23620 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23621 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23622 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23623 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23624 Likewise.
23625 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23626 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23627 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23628 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23629 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23632 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23633 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23634 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23635 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23636 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23637 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23638 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23639 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23640 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23641 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23642 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23643 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23644 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23645 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23646 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23647 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23648 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23649 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23650 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23651 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23652 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23653 (_FP_FRAC_SRS_1): Likewise.
23654 (_FP_FRAC_CLZ_1): Likewise.
23655 (_FP_MUL_MEAT_1_imm): Likewise.
23656 (_FP_MUL_MEAT_1_wide): Likewise.
23657 (_FP_MUL_MEAT_1_hard): Likewise.
23658 (_FP_SQRT_MEAT_1): Likewise.
23659 (_FP_FRAC_ASSEMBLE_1): Likewise.
23660 (_FP_FRAC_DISASSEMBLE_1): Likewise.
23661 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23662 (__FP_CLZ_2): Likewise.
23663 (_FP_MUL_MEAT_2_wide): Likewise.
23664 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23665 (_FP_MUL_MEAT_2_gmp): Likewise.
23666 (_FP_MUL_MEAT_2_120_240_double): Likewise.
23667 (_FP_SQRT_MEAT_2): Likewise.
23668 (_FP_FRAC_ASSEMBLE_2): Likewise.
23669 (_FP_FRAC_DISASSEMBLE_2): Likewise.
23670 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23671 (_FP_FRAC_CLZ_4): Likewise.
23672 (_FP_MUL_MEAT_4_wide): Likewise.
23673 (_FP_MUL_MEAT_4_gmp): Likewise.
23674 (_FP_SQRT_MEAT_4): Likewise.
23675 (_FP_FRAC_ASSEMBLE_4): Likewise.
23676 (_FP_FRAC_DISASSEMBLE_4): Likewise.
23677 * soft-fp/op-common.h (_FP_CMP): Likewise.
23678 (_FP_CMP_EQ): Likewise.
23679 (_FP_CMP_UNORD): Likewise.
23680 (_FP_TO_INT): Likewise.
23681 (_FP_FROM_INT): Likewise.
23682 [!__FP_CLZ] (__FP_CLZ): Likewise.
23683 (_FP_DIV_HELP_imm): Likewise.
23684 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23685 Likewise.
23686 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23687 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23689 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23690 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23693 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23697 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23698 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23699 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23700 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23701 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23702 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23705 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23707 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23708 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23711 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23712 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23715 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23716 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23717 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23718 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23719 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23720 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23721 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23722 (FP_UNPACK_RAW_SP): Likewise.
23723 (FP_PACK_RAW_S): Likewise.
23724 (FP_PACK_RAW_SP): Likewise.
23725 (FP_UNPACK_S): Likewise.
23726 (FP_UNPACK_SP): Likewise.
23727 (FP_UNPACK_SEMIRAW_S): Likewise.
23728 (FP_UNPACK_SEMIRAW_SP): Likewise.
23729 (FP_PACK_S): Likewise.
23730 (FP_PACK_SP): Likewise.
23731 (FP_PACK_SEMIRAW_S): Likewise.
23732 (FP_PACK_SEMIRAW_SP): Likewise.
23733 (_FP_SQRT_MEAT_S): Likewise.
23734 (FP_CMP_S): Likewise.
23735 (FP_CMP_EQ_S): Likewise.
23736 (FP_CMP_UNORD_S): Likewise.
23737 (FP_TO_INT_S): Likewise.
23738 (FP_FROM_INT_S): Likewise.
23739
23740 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23741
23742 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23743 (FP_EX_INVALID_IMZ): Likewise.
23744 (FP_EX_INVALID_IMZ_FMA): Likewise.
23745 (FP_EX_INVALID_ISI): Likewise.
23746 (FP_EX_INVALID_ZDZ): Likewise.
23747 (FP_EX_INVALID_IDI): Likewise.
23748 (FP_EX_INVALID_SQRT): Likewise.
23749 (FP_EX_INVALID_CVI): Likewise.
23750 (FP_EX_INVALID_VC): Likewise.
23751 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23752 "invalid" exceptions.
23753 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23754 (_FP_ADD_INTERNAL): Likewise.
23755 (_FP_MUL): Likewise.
23756 (_FP_FMA): Likewise.
23757 (_FP_DIV): Likewise.
23758 (_FP_CMP_CHECK_NAN): Likewise.
23759 (_FP_SQRT): Likewise.
23760 (_FP_TO_INT): Likewise.
23761 (FP_EXTEND): Likewise.
23762
23763 2014-10-09 Allan McRae <allan@archlinux.org>
23764
23765 * po/fr.po: Update French translation from translation project.
23766
23767 2014-10-09 Joseph Myers <joseph@codesourcery.com>
23768
23769 [BZ #14132]
23770 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23771 of INTDEF.
23772 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23773 (__cxa_atexit): Use libc_hidden_proto.
23774 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23775
23776 [BZ #14132]
23777 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23778 declaration.
23779 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23780 [!_ISOMAC] (__iswspace_l_internal): Likewise.
23781 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23782 [!_ISOMAC] (__iswctype_internal): Likewise.
23783 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23784 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23785 alias.
23786 (fcntl): Remove __fcntl_internal alias.
23787 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23788 __connect_internal alias.
23789 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23790 Likewise.
23791
23792 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23793 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23794 FP_DENORM_ZERO.
23795 (_FP_CHECK_FLUSH_ZERO): New macro.
23796 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23797 (_FP_CMP): Likewise.
23798 (_FP_CMP_EQ): Likewise.
23799 (_FP_TO_INT): Do not set inexact for subnormal arguments if
23800 FP_DENORM_ZERO.
23801 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23802 (FP_TRUNC): Likewise.
23803
23804 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23805 treated as invalid conversion, not as normal exponent.
23806
23807 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23808 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
23809 (_FP_CMP_EQ): Likewise.
23810 (_FP_CMP_UNORD): Likewise.
23811 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23812 (FP_CMP_EQ_D): Likewise.
23813 (FP_CMP_UNORD_D): Likewise.
23814 * soft-fp/extended.h (FP_CMP_E): Likewise.
23815 (FP_CMP_EQ_E): Likewise.
23816 (FP_CMP_UNORD_E): Likewise.
23817 * soft-fp/quad.h (FP_CMP_Q): Likewise.
23818 (FP_CMP_EQ_Q): Likewise.
23819 (FP_CMP_UNORD_Q): Likewise.
23820 * soft-fp/single.h (FP_CMP_S): Likewise.
23821 (FP_CMP_EQ_S): Likewise.
23822 (FP_CMP_UNORD_S): Likewise.
23823 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23824 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23825 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23826 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23827 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23828 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23829 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23830 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23831 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23832 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23833 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23834 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23835 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23836 to FP_CMP_Q.
23837 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23838 FP_CMP_Q.
23839 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23840 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23841 FP_CMP_EQ_Q.
23842 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23843 FP_CMP_Q.
23844 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23845 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23846 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23847 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23848 FP_CMP_EQ_Q.
23849 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23850 FP_CMP_Q.
23851 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23852 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23853 FP_CMP_EQ_Q.
23854 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23855 FP_CMP_Q.
23856 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23857 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23858 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23859 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23860 FP_CMP_EQ_Q.
23861
23862 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23863 a subnormal result, set the underflow exception if trapping on
23864 underflow is enabled.
23865 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23866 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23867 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23868 redefine to 0.
23869 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23870 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23871 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23872 * soft-fp/extendxftf2.c (__extendxftf2): Use
23873 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23874
23875 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23876 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23877 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23878 FP_HANDLE_EXCEPTIONS.
23879 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23880 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23881 FP_HANDLE_EXCEPTIONS.
23882 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23883 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23884 FP_HANDLE_EXCEPTIONS.
23885 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23886 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23887 FP_HANDLE_EXCEPTIONS.
23888
23889 2014-10-08 Joseph Myers <joseph@codesourcery.com>
23890
23891 [BZ #14132]
23892 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23893 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23894 use INTUSE.
23895 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23896 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23897 Remove alias.
23898 (__adjtimex): Define using libc_hidden_ver.
23899 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23900 Remove declaration.
23901 (ntp_gettime): Call __adjtimex directly.
23902 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23903 Remove declaration.
23904 (ntp_gettimex): Call __adjtimex directly.
23905 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23906 __adjtimex_internal alias.
23907
23908 2014-10-08 Roland McGrath <roland@hack.frob.com>
23909
23910 [BZ #17460]
23911 * nscd/nscd.c (more_help): Rewrite list of tables collection
23912 using xstrdup and asprintf.
23913
23914 * nscd/nscd_conf.c: Remove local xstrdup declaration.
23915
23916 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23917 Roland McGrath <roland@hack.frob.com>
23918
23919 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23920 (do_lookup_unique): ... local function 'enter' here; update callers.
23921
23922 2014-10-06 Joseph Myers <joseph@codesourcery.com>
23923
23924 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23925 compat_symbol calls on [SHARED].
23926 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23927 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23928 Remove.
23929 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23930 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23931 (oldsetrlimit): Remove.
23932 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23934 (lchown): New syscall entry.
23935 (oldsetrlimit): Remove.
23936 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23938 (oldsetrlimit): Remove.
23939 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23940
23941 [BZ #14138]
23942 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23943 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23944 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23945 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23946 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23947 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23948 (fchown): Likewise.
23949 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23950 (fchown): Likewise.
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23952 Likewise.
23953
23954 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23955
23956 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23957 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23958 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23959 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23960 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23961 Likewise.
23962 (__old_sem_post): Likewise.
23963
23964 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
23965
23966 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23967 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23968 HAVE_CLOCK_GETTIME_VSYSCALL macros.
23969 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23970 Use INLINE_VSYSCALL macro.
23971 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23972 __vdso_clock_gettime.
23973 * sysdeps/unix/sysv/linux/tile/init-first.c
23974 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23975 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23976 __vdso_clock_gettime.
23977
23978 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23979 to set up frame more cleanly.
23980
23981 * sysdeps/tile/memcmp.c: New file.
23982
23983 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23984
23985 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23986 * sysdeps/tile/tilegx/strcasestr.c: New file.
23987 * sysdeps/tile/tilegx/strnlen.c: New file.
23988 * sysdeps/tile/tilegx/strstr.c: New file.
23989
23990 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23991
23992 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
23993
23994 * nptl/tst-setuid3.c: Write errors to stdout.
23995
23996 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23997
23998 * elf/dl-deps.c
23999 (preload): New functions broken out of _dl_map_object_deps.
24000 (_dl_map_object_deps): Remove a nested function. Update call sites.
24001
24002 2014-10-01 Joseph Myers <joseph@codesourcery.com>
24003
24004 [BZ #14138]
24005 * sysdeps/unix/sysv/linux/execve.c: Remove file.
24006 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24007
24008 2014-10-01 Steve Ellcey <sellcey@mips.com>
24009
24010 * sysdeps/mips/strcmp.S: New.
24011
24012 2014-09-30 Joseph Myers <joseph@codesourcery.com>
24013
24014 [BZ #14138]
24015 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24016 (linkat): Likewise.
24017 (mkdirat): Likewise.
24018 (readlinkat): Likewise.
24019 (renameat): Likewise.
24020 (symlinkat): Likewise.
24021 (unlinkat): Likewise.
24022 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24023 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24024 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24025 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24026 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24027 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24028 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24029
24030 2014-09-30 Will Newton <will.newton@linaro.org>
24031
24032 * math/math.h: Define long double math functions if
24033 _LIBC_TEST is defined.
24034 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24035
24036 * localedata/Makefile: Move assignment to tests-special
24037 into an ifdef testing run-built-tests.
24038 * timezone/Makefile: Likewise.
24039
24040 2014-09-29 Joseph Myers <joseph@codesourcery.com>
24041
24042 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24043 with $(BASH) not $(SHELL).
24044
24045 2014-09-29 Carlos O'Donell <carlos@redhat.com>
24046 Matthew LeGendre <legendre1@llnl.gov>
24047
24048 [BZ #17411]
24049 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24050 l_reloc_result.
24051
24052 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
24053
24054 * stdio-common/printf_fp.c
24055 (hack_digit): New function, broken out of ...
24056 (__printf_fp): ... local function here. Update call sites.
24057 hack_digit now takes an additional parameter that is a pointer
24058 to a struct of the referenced locals. Those locals moved inside
24059 the struct and references updated.
24060
24061 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
24062
24063 * aclocal.m4: Require autoconf 2.69.
24064 * configure: Regenerated.
24065 * sysdeps/aarch64/configure: Likewise.
24066 * sysdeps/alpha/configure: Likewise.
24067 * sysdeps/arm/armv7/configure: Likewise.
24068 * sysdeps/arm/configure: Likewise.
24069 * sysdeps/ia64/configure: Likewise.
24070 * sysdeps/mach/configure: Likewise.
24071 * sysdeps/mips/configure: Likewise.
24072 * sysdeps/s390/configure: Likewise.
24073 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24075
24076 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24077 file.
24078 * sysdeps/ia64/configure.ac: Likewise.
24079
24080 2014-09-26 Joseph Myers <joseph@codesourcery.com>
24081
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24083 specify symbol version for ld.so. Do not include entry for
24084 libpthread.
24085 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24086 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24087 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24088
24089 [BZ #14171]
24090 * Makeconfig [$(build-shared) = yes]
24091 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24092 makefiles.
24093 [$(build-shared) = yes && $(soversions.mk-done) = t]
24094 ($(common-objpfx)gnu/lib-names.h): Remove rule.
24095 [$(build-shared) = yes && $(soversions.mk-done) = t]
24096 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
24097 to Makerules.
24098 [$(build-shared) = yes && $(soversions.mk-done) = t]
24099 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24100 here.
24101 [$(build-shared) = yes && $(soversions.mk-done) = t]
24102 (common-generated): Don't append gnu/lib-names.h and
24103 gnu/lib-names.stmp here.
24104 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24105 (lib-names-h-abi): New variable.
24106 [$(build-shared) = yes && $(soversions.mk-done) = t]
24107 (lib-names-stmp-abi): Likewise.
24108 [$(build-shared) = yes && $(soversions.mk-done) = t &&
24109 abi-variants] (before-compile): Append
24110 $(common-objpfx)$(lib-names-h-abi).
24111 [$(build-shared) = yes && $(soversions.mk-done) = t &&
24112 abi-variants] (common-generated): Append gnu/lib-names.h.
24113 [$(build-shared) = yes && $(soversions.mk-done) = t &&
24114 abi-variants] (install-others-nosubdir): Depend on
24115 $(inst_includedir)/$(lib-names-h-abi).
24116 [$(build-shared) = yes && $(soversions.mk-done) = t &&
24117 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24118 [$(build-shared) = yes && $(soversions.mk-done) = t]
24119 ($(common-objpfx)$(lib-names-h-abi)): New rule.
24120 [$(build-shared) = yes && $(soversions.mk-done) = t]
24121 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24122 [$(build-shared) = yes && $(soversions.mk-done) = t]
24123 (common-generated): Append $(lib-names-h-abi) and
24124 $(lib-names-stmp-abi).
24125 * scripts/lib-names.awk: Do not handle multi being set.
24126 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24127 Remove variable.
24128 (abi-lp64_be-ld-soname): Likewise.
24129 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24130 Likewise.
24131 (abi-hard-ld-soname): Likewise.
24132 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24133 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24134 Remove variable.
24135 (abi-o32_hard-ld-soname): Likewise.
24136 (abi-o32_soft_2008-ld-soname): Likewise.
24137 (abi-o32_hard_2008-ld-soname): Likewise.
24138 (abi-n32_soft-ld-soname): Likewise.
24139 (abi-n32_hard-ld-soname): Likewise.
24140 (abi-n32_soft_2008-ld-soname): Likewise.
24141 (abi-n32_hard_2008-ld-soname): Likewise.
24142 (abi-n64_soft-ld-soname): Likewise.
24143 (abi-n64_hard-ld-soname): Likewise.
24144 (abi-n64_soft_2008-ld-soname): Likewise.
24145 (abi-n64_hard_2008-ld-soname): Likewise.
24146 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24147 Likewise.
24148 (abi-64-v2-ld-soname): Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24150 ld.so entries.
24151 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24152 variable.
24153 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24154 entry.
24155 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24156 variable.
24157 (abi-64-ld-soname): Likewise.
24158 (abi-x32-ld-soname): Likewise.
24159 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24160 entry.
24161 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24162
24163 2014-09-23 Joseph Myers <joseph@codesourcery.com>
24164
24165 [BZ #14138]
24166 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24167 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24168 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24169 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24170 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24171 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24172 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24173 syscall entry for GLIBC_2.2 symbol version.
24174 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24175 Likewise.
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24177 (setrlimit): Likewise.
24178 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24179 Likewise.
24180
24181 2014-09-23 Will Newton <will.newton@linaro.org>
24182
24183 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24184 _LINUX_ARM_SYSDEP_H include guard too.
24185 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24186 define.
24187
24188 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
24189
24190 * sysdeps/unix/sysv/linux/eventfd.c:
24191 Make first argument unsigned.
24192 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24193 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24194
24195 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
24196
24197 [BZ #16852]
24198 * socket/recvmmsg.c (recvmmsg): Drop const argument.
24199 * socket/sys/socket.h: Likewise.
24200 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24201
24202 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24203
24204 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24205
24206 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
24207
24208 * time/tst-ftime.c: New test.
24209 * time/Makefile (tests): Add tst-ftime.
24210
24211 2014-09-17 Joseph Myers <joseph@codesourcery.com>
24212
24213 * soft-fp/extended.h: Fix comment formatting.
24214 * soft-fp/op-1.h: Likewise.
24215 * soft-fp/op-2.h: Likewise.
24216 * soft-fp/op-4.h: Likewise.
24217 * soft-fp/op-8.h: Likewise.
24218 * soft-fp/op-common.h: Likewise.
24219 * soft-fp/soft-fp.h: Likewise.
24220
24221 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24222
24223 2014-09-16 Joseph Myers <joseph@codesourcery.com>
24224
24225 [BZ #6652]
24226 * Makeconfig (soversions-default-setname): Remove variable.
24227 ($(common-objpfx)soversions.i): Don't pass default_setname to
24228 soversions.awk.
24229 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24230 oldest_abi to abi-versions.awk.
24231 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24232 * config.make.in (oldest-abi): Remove variable.
24233 * configure.ac (--enable-oldest-abi): Remove configure option.
24234 * configure: Regenerated.
24235 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24236 text.
24237 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24238 * scripts/soversions.awk: Do not handle default_setname variable.
24239 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24240 variable.
24241 * sysdeps/mach/hurd/configure: Regenerated.
24242 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24243 variable.
24244 * sysdeps/unix/sysv/linux/configure: Regenerated.
24245
24246 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24247
24248 * elf/Makefile (CFLAGS-interp.c): Remove.
24249 ($(elf-objpfx)runtime-linker.h): Generate header with linker
24250 path string.
24251 * elf/interp.c: Include generated runtime-linker.h
24252
24253 * Makerules (lib%.so): Don't include $(+interp) in
24254 prerequisites.
24255 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24256 * dlfcn/eval.c: Remove file.
24257
24258 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24259 macros.
24260
24261 [BZ #17266]
24262 * misc/sys/cdefs.h: Define __extern_always_inline for clang
24263 4.2 and newer.
24264
24265 [BZ #17370]
24266 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24267
24268 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24269 Jakub Jelinek <jakub@redhat.com>
24270
24271 [BZ #17266]
24272 * libio/stdio.h: Check definition of __fortify_function
24273 instead of __extern_always_inline to include bits/stdio2.h.
24274 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24275 check if __extern_always_inline is defined.
24276 [__USE_MISC || __USE_XOPEN]: Likewise.
24277 [__USE_ISOC99] Likewise.
24278 * misc/sys/cdefs.h (__fortify_function): Define only if
24279 __extern_always_inline is defined.
24280 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24281 __extern_always_inline and __extern_inline only for g++-4.3
24282 and newer or a compatible gcc.
24283
24284 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
24285
24286 [BZ #17371]
24287 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24288 last change to handle zero prefix length.
24289
24290 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24291
24292 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24293 _SC_REGEX_VERSION.
24294
24295 * posix/getconf.c (vars): Add _POSIX_IPV6 and
24296 _POSIX_RAW_SOCKETS.
24297
24298 2014-09-13 Allan McRae <allan@archlinux.org>
24299
24300 * po/ru.po: Update Russian translation from translation project.
24301
24302 2014-09-12 Roland McGrath <roland@hack.frob.com>
24303
24304 * locale/programs/locale.c (show_locale_vars): Inline local function
24305 into its sole call site. Clean up some style nits.
24306 (print_item): New function, broken out of ...
24307 (show_info): ... local function here. Clean up style nits.
24308
24309 * locale/programs/ld-ctype.c (set_one_default): New function, broken
24310 out of ...
24311 (set_class_defaults): ... local function set_default here.
24312 Define set_default as a macro locally to pass constant parameters.
24313 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24314 rather than a shared local.
24315
24316 * stdlib/rpmatch.c (try): New function, broken out of ...
24317 (rpmatch): ... local function here. Also, prototypify definition.
24318
24319 2014-09-12 Joseph Myers <joseph@codesourcery.com>
24320
24321 * scripts/soversions.awk: Do not handle configuration names.
24322 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24323 vendor and os variables to soversions.awk.
24324 * configure.ac: Do not modify gnu-* host_os.
24325 * configure: Regenerated
24326 * shlib-versions: Remove first column with configuration names.
24327 * nptl/shlib-versions: Likewise.
24328 * nptl_db/shlib-versions: Likewise.
24329 * sysdeps/hppa/shlib-versions: Likewise.
24330 * sysdeps/m68k/shlib-versions: Likewise.
24331 * sysdeps/mach/hurd/shlib-versions: Likewise.
24332 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24333 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24334 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24335 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24336 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24337 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24338 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24339 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24341 Likewise.
24342 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24343 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24344 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24346 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24347 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24348 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24349 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24350
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24352 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24354 Regenerated.
24355 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24357 Condition symbol version definitions on [HAVE_ELFV2_ABI].
24358
24359 * shlib-versions: Remove OS-specific entries. Moved to files in
24360 sysdeps.
24361 * sysdeps/mach/hurd/shlib-versions: New file.
24362 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24363
24364 * nptl/shlib-versions: Remove architecture-specific entries.
24365 Moved to files in sysdeps.
24366 * shlib-versions: Likewise.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24368 file.
24369 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24370 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24371 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24372 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24373
24374 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24375 (UDP_NO_CHECK6_RX): Likewise.
24376
24377 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24378
24379 * sysdeps/posix/sysconf.c (__sysconf): Spell
24380 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24381
24382 2014-08-12 Florian Weimer <fweimer@redhat.com>
24383
24384 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24385 loading.
24386 * iconv/Versions (__gconv_transliterate): Export for use from
24387 gconv modules.
24388 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24389 (struct __gconv_trans_data, __gconv_trans_fct,
24390 __gconv_trans_context_fct, __gconv_trans_query_fct,
24391 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24392 definitions.
24393 (struct __gconv_step_data): Remove __trans member.
24394 (__gconv_transliterate): Declaration moved from gconv_int.h. No
24395 longer hidden. Remove unused trans_data argument.
24396 * iconv/gconv_int.h (struct trans_struct): Remove definition.
24397 (__gconv_translit_find): Remove declaration.
24398 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
24399 prototype.
24400 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24401 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24402 trans_data argument. Add hidden definition.
24403 (__gconv_translit_find): Remove.
24404 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24405 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24406 * iconv/skeleton.c: Remove transliteration initialization.
24407 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24408 __gconv_step_data initialization.
24409 * libio/iofwide.c (__libio_translit_): Remove.
24410 (_IO_fwide): Adjust struct __gconv_step_data initialization.
24411 * wcsmbs/btowc.c (__btowc): Likewise.
24412 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24413 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24414 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24415 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24416 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24417 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24418 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24419 * wcsmbs/wctob.c (wctob): Likewise.
24420
24421 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24422
24423 [BZ #16194]
24424 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24425 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
24426 register usage.
24427 * sysdeps/x86/Makefile: Adjust.
24428
24429 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
24430 Roland McGrath <roland@hack.frob.com>
24431
24432 * locale/weight.h: Add include guard.
24433 (findidx): Make static rather than auto; take new parameters
24434 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24435 * locale/weightwc.h: Likewise.
24436 * posix/fnmatch_loop.c
24437 (FCT): Change type of EXTRA from int32_t to wint_t.
24438 Don't include either header inside the function.
24439 Call FINDIDX rather than findidx, and pass new arguments.
24440 #undef FINDIDX at the end of the file.
24441 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24442 FINDIDX before including fnmatch_loop.c for the non-wide version.
24443 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24444 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24445 for the wide version.
24446 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24447 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24448 Pass new arguments to findidx.
24449 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24450 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24451 Don't #include it inside the function. Pass new arguments to findidx.
24452 * posix/regex_internal.h
24453 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24454 (re_string_elem_size_at): Don't #include it inside the function.
24455 Pass new arguments to findidx.
24456 * string/strcoll_l.c: #include WEIGHT_H at top level.
24457 (get_next_seq): Don't #include it inside the function.
24458 Pass new arguments to findidx.
24459 (get_next_seq_nocache): Likewise.
24460 * string/strxfrm_l.c: #include WEIGHT_H at top level.
24461 (STRXFRM): Don't #include it inside the function.
24462 Pass new arguments to findidx.
24463
24464 2014-09-11 Florian Weimer <fweimer@redhat.com>
24465
24466 [BZ #17344]
24467 * malloc/malloc.c (unlink): Turn asserts into a call to
24468 malloc_printerr.
24469
24470 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
24471
24472 [BZ #17370]
24473 * libio/wfileops (do_ftell_wide): Free OUT.
24474
24475 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
24476
24477 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24478
24479 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24480
24481 [BZ #17363]
24482 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24483 group if the current group is empty.
24484
24485 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24486
24487 * benchtests/bench-memset.c (test_main): Add more test from size
24488 from 32 to 512 bytes.
24489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24490 Add POWER8 memset object.
24491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24492 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24493 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24494 implementation.
24495 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24496 Likewise.
24497 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24498 multiarch POWER8 memset optimization.
24499 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24500 POWER8 memset optimization.
24501
24502 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24503 Remove bzero multiarch objects.
24504 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24505 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24506 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24508 Remove define.
24509 [__bzero]: Redefine to specific name.
24510 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24511 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24512 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24513 define.
24514 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24515 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24516
24517 2014-09-10 Florian Weimer <fweimer@redhat.com>
24518
24519 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24520 warnings into errors.
24521
24522 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24523 __cxa_thread_atexit_impl prototype.
24524
24525 2014-09-09 Steve Ellcey <sellcey@mips.com>
24526
24527 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24528 Fix capitalization of error message.
24529
24530 2014-09-09 Steve Ellcey <sellcey@mips.com>
24531
24532 * sysdeps/mips/preconfigure: Modify ABI tests.
24533
24534 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
24535
24536 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24537
24538 2014-09-07 Roland McGrath <roland@hack.frob.com>
24539 Carlos O'Donell <carlos@systemhalted.org>
24540
24541 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24542 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24543 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24544 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24545 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24546 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24547 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24548 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24549 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24550 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24551 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24552 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24553 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24554 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24555 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24556 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24557 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24558 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24559 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24560 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24561 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24562 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24563 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24564 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24565 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24566 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24567 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24568 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24569 Deconditionalize the code that was previously under [RESET_PID].
24570 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24571 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24572 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24573 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24574 include sysdep.h.
24575
24576 2014-09-08 Allan McRae <allan@archlinux.org>
24577
24578 * version.h (RELEASE): Set to "development".
24579 (VERSION): Set to "2.20.90"
24580
24581 2014-09-07 Allan McRae <allan@archlinux.org
24582
24583 * version.h (RELEASE): Set to "stable".
24584 (VERSION): Set to "2.20"
24585 * include/features.h (__GLIBC_MINOR__): Set to 20.
24586
24587 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24588 Liebler.
24589
24590 * po/ko.po: Update Korean translation from translation project.
24591
24592 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
24593
24594 [BZ #17354]
24595 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24596 macro for handling signed relocations.
24597
24598 2014-09-03 Florian Weimer <fweimer@redhat.com>
24599
24600 [BZ #17325]
24601 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24602 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24603 assert.
24604 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24605 * iconvdata/ibm935.c (BODY): Likewise.
24606 * iconvdata/ibm937.c (BODY): Likewise.
24607 * iconvdata/ibm939.c (BODY): Likewise.
24608 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24609 assert.
24610 * iconvdata/Makefile (iconv-test.out): Pass module list to test
24611 script.
24612 * iconvdata/run-iconv-test.sh: New test loop for checking for
24613 decoder crashers.
24614
24615 2014-09-02 Khem Raj <raj.khem@gmail.com>
24616
24617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24618 libm_hidden_ver.
24619
24620 2014-09-01 Allan McRae <allan@archlinux.org>
24621
24622 * po/eo.po: Update Esperanto translation from translation project.
24623
24624 * po/ca.po: Update Catalan translation from translation project.
24625
24626 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
24627
24628 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24629 __proc_dostop call.
24630
24631 2014-08-27 Mark Wielaard <mjw@redhat.com>
24632
24633 [BZ #17319]
24634 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24635 to call set_thread_area instead of hand written asm.
24636 (__NR_set_thread_area): Removed define.
24637 (TLS_FLAG_WRITABLE): Likewise.
24638 (__ASSUME_SET_THREAD_AREA): Remove check.
24639 (TLS_EBX_ARG): Remove define.
24640 (TLS_LOAD_EBX): Likewise.
24641
24642 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
24643
24644 Simplify atomicity of socket creation in bind.
24645
24646 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24647 looking up the name after linking the file.
24648
24649 2014-08-27 Allan McRae <allan@archlinux.org>
24650
24651 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24652
24653 2014-08-26 Florian Weimer <fweimer@redhat.com>
24654
24655 [BZ #17187]
24656 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24657 trans_compare, open_translit, __gconv_translit_find):
24658 Remove module loading code.
24659
24660 2014-08-26 Allan McRae <allan@archlinux.org>
24661
24662 * po/vi.po: Update Vietnamese translation from translation project.
24663
24664 * po/uk.po: Update Ukrainian translation from translation project.
24665
24666 * po/fr.po: Update French translation from translation project.
24667
24668 * po/ru.po: Update Russian translation from translation project.
24669
24670 * po/pl.po: Update Polish translation from translation project.
24671
24672 * po/cs.po: Update Czech translation from translation project.
24673
24674 * po/de.po: Update German translation from translation project.
24675
24676 * po/bg.po: Update Bulgarian translation from translation project.
24677
24678 * po/sv.po: Update Sweedish translation from translation project.
24679
24680 * po/nl.po: Update Dutch translation from translation project.
24681
24682 * po/es.po: Update Spanish translation from translation project.
24683
24684 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24685
24686 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24687
24688 * catgets/Makefile (CPPFLAGS-gencat): Remove.
24689 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24690 (CPPFLAGS-iconvconfig): Likewise.
24691 * timezone/Makefile (CPPFLAGS-zic): Likewise.
24692
24693 * include/libc-symbols.h: Remove unnecessary check for
24694 NOT_IN_libc.
24695 * nptl/pthreadP.h: Likewise.
24696 * sysdeps/aarch64/setjmp.S: Likewise.
24697 * sysdeps/alpha/setjmp.S: Likewise.
24698 * sysdeps/arm/sysdep.h: Likewise.
24699 * sysdeps/i386/setjmp.S: Likewise.
24700 * sysdeps/m68k/setjmp.c: Likewise.
24701 * sysdeps/posix/getcwd.c: Likewise.
24702 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24703 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24704 * sysdeps/s390/s390-32/setjmp.S: Likewise.
24705 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24706 * sysdeps/sh/sh3/setjmp.S: Likewise.
24707 * sysdeps/sh/sh4/setjmp.S: Likewise.
24708 * sysdeps/unix/alpha/sysdep.h: Likewise.
24709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24711 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24712 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24717 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24720 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24722 * sysdeps/x86_64/setjmp.S: Likewise.
24723
24724 2014-08-13 Joseph Myers <joseph@codesourcery.com>
24725
24726 [BZ #17263]
24727 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24728 <stdint.h>.
24729 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24730 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24731
24732 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24733
24734 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24735
24736 [BZ #17262]
24737 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24738 and __x86_64__ when disabling x87 inline functions.
24739
24740 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
24741
24742 [BZ #17259]
24743 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24744 asm statement with __cpuid_count.
24745
24746 2014-08-12 Mike Frysinger <vapier@gentoo.org>
24747
24748 * configure.ac: Change __ehdr_start code to dereference the struct.
24749 Run readelf on the output to look for relocations.
24750 * configure: Regenerated.
24751
24752 2014-08-12 Joseph Myers <joseph@codesourcery.com>
24753
24754 [BZ #17261]
24755 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24756 value to 0.
24757 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24758
24759 2014-08-12 Roland McGrath <roland@hack.frob.com>
24760
24761 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24762
24763 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
24764
24765 [BZ #16892]
24766 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24767 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24768
24769 2014-08-12 Sean Anderson <seanga2@gmail.com>
24770
24771 * malloc/malloc.c: Fix typo in comment.
24772
24773 2014-08-09 Allan McRae <allan@archlinux.org>
24774
24775 * Regenerate libc.po.
24776
24777 2014-08-08 Mike Frysinger <vapier@gentoo.org>
24778
24779 * intl/tst-gettext2.sh: Check every lang file for creation.
24780
24781 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
24782
24783 * sysdeps/aarch64/fpu/math_private.h
24784 (libc_feholdsetround_noex_aarch64_ctx): New function.
24785
24786 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
24787
24788 * sysdeps/arm/armv6/strcpy.S (strcpy):
24789 Fix performance issue in misaligned cases.
24790
24791 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24792
24793 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24794 Move definition from termios.h.
24795 (struct termio): Likewise.
24796 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24797 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24798 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24799 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24800 Likewise.
24801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24802 Move definition to ioctl-types.h
24803 (struct termio): Likewise.
24804 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24805 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24806 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24807 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24808 Likewise.
24809
24810 2014-08-05 Richard Henderson <rth@redhat.com>
24811
24812 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24813 exceptions.
24814 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24815 Add fraiseexcpt.
24816 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24817 Use __feraiseexcept.
24818 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24819 Protect libm symbols with IS_IN_libm.
24820
24821 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24822
24823 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
24824
24825 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24826
24827 2014-08-04 Will Newton <will.newton@linaro.org>
24828
24829 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24830 file.
24831
24832 2014-08-04 Mike Frysinger <vapier@gentoo.org>
24833
24834 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24835 variants for each function.
24836
24837 2014-08-04 Roland McGrath <roland@hack.frob.com>
24838
24839 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24840 appended ...
24841 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24842 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24843 appended ...
24844 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24845 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24846 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24847 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24848 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24849 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24850 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24851 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24852 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24853 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24854 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24855 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24856 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24857 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24858 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24859 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24860 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24861 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24862 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24863 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24864 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24865 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24866 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24867 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24868 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24869 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24870 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24871 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24872 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24873 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24874 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24875 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24876 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24877 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24878 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24879 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24880 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24881 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24882 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24883 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24884 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24885 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24886 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24887 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24888 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24889 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24890 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24891 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24892 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24893 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24894 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24895 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24896 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24897 Update #include.
24898 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24899 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24900
24901 2014-08-04 Roland McGrath <roland@hack.frob.com>
24902
24903 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24904 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24905 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24906 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24907 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24908 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24909
24910 2014-08-04 Roland McGrath <roland@hack.frob.com>
24911
24912 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24913 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24914 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24915 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24916
24917 2014-08-04 Roland McGrath <roland@hack.frob.com>
24918
24919 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24920 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24921 (__libc_vfork): Define function under this name.
24922 (__vfork): Define as an alias.
24923 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24924 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24925
24926 2014-08-04 Roland McGrath <roland@hack.frob.com>
24927
24928 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24929 that was previously under [RESET_PID].
24930 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24931
24932 2014-08-04 Andreas Schwab <schwab@suse.de>
24933
24934 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24935
24936 2014-08-03 Mike Frysinger <vapier@gentoo.org>
24937
24938 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24939 (main): Likewise.
24940
24941 2014-08-01 Roland McGrath <roland@hack.frob.com>
24942
24943 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24944
24945 2014-08-01 Richard Henderon <rth@redhat.com>
24946
24947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24948 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24949 typo in exact zero test.
24950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24953
24954 2014-08-01 Roland McGrath <roland@hack.frob.com>
24955
24956 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24957 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24958 * sysdeps/arm/sysdep.h: ... here.
24959 [!__ASSEMBLER__]: Include <stdint.h>.
24960
24961 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24962
24963 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24964 (HAVE_WCTYPE_H): Likewise.
24965 (HAVE_ISWCTYPE): Likewise.
24966 (ENABLE_NLS): Likewise.
24967 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24968 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24969
24970 * posix/regex_internal.c: Check if DEBUG is defined and is
24971 set.
24972
24973 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24974 (HAVE_MBSRTOWCS): Likewise.
24975 * posix/fnmatch.c: Include string.h unconditionally.
24976
24977 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
24978
24979 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24980 reversal.
24981
24982 2014-07-31 Roland McGrath <roland@hack.frob.com>
24983
24984 * sysdeps/generic/safe-fatal.h: New file.
24985 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24986 * nptl/forward.c: Include it.
24987 (__pthread_unwind): Use __safe_fatal as default action, rather
24988 than a bogus use of INTERNAL_SYSCALL that could never work.
24989
24990 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24991 * configure.ac (libc_cv_builtin_trap): New test.
24992 * configure: Regenerated.
24993 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24994 (ABORT_INSTRUCTION): Define using __builtin_trap.
24995
24996 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24997 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24998 * sysdeps/nptl/nptl-signals.h: New file.
24999 * nptl/pthreadP.h: Include <nptl-signals.h>.
25000
25001 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
25002
25003 * sysdeps/s390/s390-64/utf16-utf32-z9.c
25004 (ONE_DIRECTION): Define.
25005 * sysdeps/s390/s390-64/utf8-utf16-z9.c
25006 (ONE_DIRECTION): Define.
25007 * sysdeps/s390/s390-64/utf8-utf32-z9.c
25008 (ONE_DIRECTION): Define.
25009
25010 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
25011
25012 * sysdeps/s390/Makefile: Delete file.
25013 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25014 * sysdeps/s390/__longjmp.c: Delete file.
25015 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25016 Remove fields __flags and __reserved.
25017 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25018 and add versioning.
25019 * sysdeps/s390/rtld-__longjmp.c: Delete file.
25020 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25021 * sysdeps/s390/rtld-setjmp.S: Likewise.
25022 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25023 * sysdeps/s390/s390-32/__longjmp.c: ... here.
25024 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25025 * sysdeps/s390/s390-32/setjmp.S: ... here.
25026 Add versioning.
25027 (__sigsetjmp): Remove setting __flags field.
25028 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25029 * sysdeps/s390/s390-64/__longjmp.c: ... here.
25030 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25031 * sysdeps/s390/s390-64/setjmp.S: ... here.
25032 Add versioning.
25033 (__sigsetjmp): Remove setting __flags field.
25034 * sysdeps/s390/setjmp.S: Delete file.
25035 * sysdeps/s390/sigjmp.c: Likewise.
25036 * sysdeps/s390/v1-longjmp.c: Likewise.
25037 * sysdeps/s390/v1-setjmp.h: Likewise.
25038 * sysdeps/s390/v1-sigjmp.c: Likewise.
25039 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25040 Remove v1-longjmp_chk.
25041 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25042 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25043 Include debug/longjmp_chk.c and add versioning.
25044 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25045 Include nptl/pt-longjmp.c and add versioning.
25046 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25047 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25048 Include __longjmp.c.
25049 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25050 Move to ...
25051 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25052 (__getcontext): Remove setting __flags field.
25053 Add versioning.
25054 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25055 Don't restore upper high grps.
25056 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25057 Likewise.
25058 (__swapcontext): Remove setting uc_flags field.
25059 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25060 Delete file.
25061 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25062 Include __longjmp.c.
25063 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25064 Move to ...
25065 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25066 (__getcontext): Remove setting __flags field.
25067 Add versioning.
25068 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25069 (__swapcontext): Remove setting uc_flags field.
25070 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25071 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25072 Remove fields uc_high_gprs and __reserved.
25073 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25074 New file with reverted content.
25075 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25076 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25077 Regenerated.
25078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25079 Regenerated.
25080
25081 2014-07-31 Andreas Schwab <schwab@suse.de>
25082
25083 * config.h.in (HAVE_IFUNC): Define to 0.
25084 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25085 definedness.
25086
25087 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
25088
25089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25090 memmove-avx-unaligned, memcpy-avx-unaligned and
25091 mempcpy-avx-unaligned.
25092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25093 Add tests for AVX memcpy functions.
25094 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25095 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25096 memcpy_chk.
25097 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25098 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25099 memmove_chk.
25100 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25101 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25102 mempcpy_chk.
25103 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25104 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25105 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25106
25107 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25108
25109 [BZ #17213]
25110 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25111 powerpc64le.
25112
25113 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
25114
25115 [BZ #16839]
25116 * manual/llio.texi: Add section about open file description locks.
25117 * manual/examples/ofdlocks.c: Example of open file description
25118 lock usage.
25119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25120 F_OFD_SETLK, and F_OFD_SETLKW.
25121
25122 2014-07-23 Allan McRae <allan@archlinux.org>
25123
25124 * po/es.po: Update Spanish translation from translation project.
25125
25126 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
25127
25128 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25129
25130 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
25131
25132 [BZ #17078]
25133 * sysdeps/arm/dl-machine.h (elf_machine_rela)
25134 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25135 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25136
25137 2014-07-17 Joseph Myers <joseph@codesourcery.com>
25138
25139 [BZ #17088]
25140 * math/fesetenv.c (__fesetenv)
25141 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25142 * math/feupdateenv.c (__feupdateenv)
25143 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25144
25145 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25146 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25147 (__ASSUME_SOCKETCALL): Do not define.
25148
25149 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25150 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25151 (__ASSUME_SOCKETCALL): Do not define.
25152 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25153 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25154 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25155 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25156 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25157 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25158 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25159 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25160
25161 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25162 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25163 (__ASSUME_SOCKETCALL): Do not define.
25164 (__ASSUME_IPC64): Define unconditionally.
25165 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25166 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25167 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25168 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25169 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25170 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25171 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25172 Likewise.
25173
25174 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25175 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25176 (__ASSUME_SOCKETCALL): Do not define.
25177 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25178 (__ASSUME_FUTEX_LOCK_PI): Likewise.
25179 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25180 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25181 (__ASSUME_REQUEUE_PI): Define unconditionally.
25182 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25183 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25184 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25185 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25186 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25187 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25188
25189 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25190 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25191 (__ASSUME_SOCKETCALL): Do not define.
25192 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25193 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25194 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25195 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25196 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25197 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25198
25199 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25200 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25201 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25202 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25203 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25204 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25205 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25206 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25207 (__ASSUME_GETCPU_SYSCALL): Likewise.
25208
25209 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25210 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
25211 cases for individual architectures.
25212 * sysdeps/gnu/configure: Regenerated.
25213 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25214 LIBC_SLIBDIR_RTLDDIR.
25215 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25216 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25217 LIBC_SLIBDIR_RTLDDIR.
25218 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25220 LIBC_SLIBDIR_RTLDDIR.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25222 Regenerated.
25223 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25224 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25225 file.
25226 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25228 file.
25229 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25230 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25232 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25233
25234 * sysdeps/aarch64/shlib-versions: Move to ...
25235 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25236 * sysdeps/alpha/shlib-versions: Move to ...
25237 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25238 * sysdeps/arm/shlib-versions: Move to ...
25239 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25240 * sysdeps/hppa/shlib-versions: Move all contents except for
25241 libgcc_s entry to ...
25242 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
25243 entry from ...
25244 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
25245 * sysdeps/ia64/shlib-versions: Move to ...
25246 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
25247 entry from ...
25248 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
25249 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25250 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25251 * sysdeps/microblaze/shlib-versions: Move to ...
25252 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25253 * sysdeps/mips/shlib-versions: Move to ...
25254 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
25255 entry from ...
25256 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
25257 * sysdeps/tile/shlib-versions: Move to ...
25258 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25259 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25260 from ...
25261 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
25262 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25263 entry from ...
25264 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
25265
25266 2014-07-17 Will Newton <will.newton@linaro.org>
25267
25268 * sysdeps/arm/bits/atomic.h
25269 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25270 (__arch_compare_and_exchange_bool_16_int): Likewise.
25271 (__arch_compare_and_exchange_bool_64_int): Likewise.
25272
25273 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25274 into an #else block.
25275
25276 2014-07-16 Roland McGrath <roland@hack.frob.com>
25277
25278 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25279 just Linux configurations. Test empirically that the compiler sets
25280 __ARM_EABI__, rather than using the tuple to decide.
25281 * sysdeps/arm/preconfigure: Regenerated.
25282 * sysdeps/unix/sysv/linux/arm/configure: File removed.
25283 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25284 contents appended ...
25285 * sysdeps/arm/configure.ac: ... here.
25286 * sysdeps/arm/configure: Regenerated.
25287
25288 2014-07-15 Roland McGrath <roland@hack.frob.com>
25289
25290 * nptl/pthread_kill.c: New file.
25291 * nptl/pthread_sigmask.c: New file.
25292 * nptl/pthread_sigqueue.c: New file.
25293
25294 * sysdeps/nptl/lowlevellock.h: New file.
25295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25296 * sysdeps/nptl/lowlevellock-futex.h: New file.
25297
25298 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25299 Remove dead declarations.
25300
25301 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
25302
25303 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25304 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25305 config-cflags-avx2.
25306 * sysdeps/x86_64/configure.ac: Likewise.
25307 * sysdeps/i386/configure: Regenerated.
25308 * sysdeps/x86_64/configure: Likewise.
25309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25310 memset-avx2 only if config-cflags-avx2 is yes.
25311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25312 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25313 defined.
25314 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25315 only if HAVE_AVX2_SUPPORT is defined.
25316 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25317
25318 2014-07-14 Alan Modra <amodra@gmail.com>
25319
25320 [BZ #17153]
25321 * elf/elf.h (DT_PPC64_NUM): Correct value.
25322 * NEWS: Add to fixed bug list.
25323
25324 2014-07-13 Jim Meyering <meyering@fb.com>
25325
25326 [BZ 17150]
25327 regex: don't deref NULL upon heap allocation failure
25328 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25329 failure in one more place.
25330 To trigger the segfault, configure grep -with-included-regex,
25331 build it, and run these commands:
25332 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25333
25334 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
25335
25336 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25337
25338 2014-07-11 Richard Henderson <rth@redhat.com>
25339
25340 * sysdeps/aarch64/libm-test-ulps: Update.
25341
25342 2014-07-10 Florian Weimer <fweimer@redhat.com>
25343
25344 [BZ #17135]
25345 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25346 * nptl/allocatestack.c (__nptl_setxid_error): New function.
25347 (__nptl_setxid): Initialize error member. Call
25348 __nptl_setxid_error.
25349 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25350 * nptl/descr.h (struct xid_command): Add error member.
25351 * nptl/tst-setuid3.c: New file.
25352 * nptl/Makefile (tests): Add it.
25353
25354 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25355
25356 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25357 New define.
25358 (__lll_trylock): Use __lll_base_trylock.
25359 (__lll_cond_trylock): Likewise.
25360
25361 2014-07-10 Roland McGrath <roland@hack.frob.com>
25362
25363 * nptl/pthread_create.c (start_thread): Use atomic_or and
25364 lll_futex_wake directly rather than lll_robust_dead.
25365 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25366 (lll_robust_dead): Macro removed.
25367 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25368 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25369 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25370 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25372 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25373 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25374 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25375 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25376 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25377 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25378 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25379 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25380 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25382
25383 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25384 Use atomic_compare_and_exchange_val_acq directly rather than
25385 lll_robust_trylock.
25386 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25387 (__lll_robust_trylock, lll_robust_trylock): Removed.
25388 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25389 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25390 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25391 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25392 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25393 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25394 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25395 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25396 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25398 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25400 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25401 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25402
25403 2014-07-02 Florian Weimer <fweimer@redhat.com>
25404
25405 * manual/locale.texi (Locale Names): New section documenting
25406 locale name syntax. Adjust menu and node chaining accordingly.
25407 (Choosing Locale): Reference Locale Names, Locale Categories.
25408 Mention setting LC_ALL=C. Reflect that name syntax is now
25409 documented.
25410 (Locale Categories): New section title. Reference Locale Names.
25411 LC_ALL is an environment variable, but not a category.
25412 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25413 description, now in Locale Name. Reference that section. Locale
25414 name syntax is now documented.
25415
25416 2014-07-02 Florian Weimer <fweimer@redhat.com>
25417
25418 [BZ #17137]
25419 * locale/findlocale.c (name_present, valid_locale_name): New
25420 functions.
25421 (_nl_find_locale): Use the loc_name variable to store name
25422 candidates. Call name_present and valid_locale_name to check and
25423 validate locale names. Return an error if the locale is invalid.
25424
25425 2014-07-02 Florian Weimer <fweimer@redhat.com>
25426
25427 * locale/setlocale.c (setlocale): Use strdup for allocating
25428 composite name copy.
25429
25430 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25431
25432 Sync up with gnulib.
25433 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25434 [!_LIBC && ENABLE_NLS]: Include gettext.h.
25435 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25436 and _GL_ARG_NONNULL.
25437 [USE_UNLOCKED_IO]: Include unlocked-io.h.
25438 [!_LIBC]: Include code for Windows and Cygwin.
25439 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25440 Include prototype for int strerror_r.
25441 [!_LIBC] (is_open): New function.
25442 (flush_stdout): New function.
25443 (print_errno_message): Use it.
25444 (error): Likewise.
25445 (error_at_line): Likewise.
25446 (error_tail) Add function attribute macros. Use
25447 __builtin_expect.
25448
25449 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25450
25451 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25452
25453 * io/ftw.c: Include sys/param.h unconditionally.
25454
25455 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25456
25457 [BZ #17125]
25458 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25459 libc_freeres_ptr.
25460 (freecache): New function to free CACHE on exit.
25461
25462 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25463 initialization.
25464
25465 2014-07-09 David S. Miller <davem@davemloft.net>
25466
25467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25468
25469 * sysdeps/sparc/nptl/internaltypes.h: Delete.
25470 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25471 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25472 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25473 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25474 * sysdeps/sparc/nptl/sem_init.c: Likewise.
25475 * sysdeps/sparc/nptl/sem_post.c: Likewise.
25476 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25477 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25478 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25479 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25480 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25481 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25482
25483 2014-07-09 Andreas Schwab <schwab@suse.de>
25484
25485 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25486 output.
25487 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25488 (do_test): Likewise.
25489
25490 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25491
25492 2014-07-09 Will Newton <will.newton@linaro.org>
25493
25494 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25495 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25496 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25497 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25498 * sysdeps/hppa/start.S (_start): Likewise.
25499
25500 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25501
25502 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25503
25504 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25505 defined.
25506
25507 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25508
25509 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25510 after checking that it is non-NULL.
25511
25512 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25513
25514 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25515
25516 * sysdeps/powerpc/memmove.c: Remove file.
25517 * sysdeps/powerpc/powerpc32/power4/memcopy.h
25518 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25519 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25520 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25521 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25522 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25523 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25524 string memmove instead of removed powerpc one.
25525
25526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25527 [weak_alias]: Fix compiler warning due trailing data.
25528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25529 [weak_alias]: Likewise.
25530 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25531 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25532
25533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25534 (__libc_ifunc_impl_list): Add memmove functions.
25535
25536 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25537
25538 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25539 Remove code.
25540 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25541 Likewise.
25542 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25543 Likewise.
25544 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25545 Likewise.
25546 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25547 Likewise.
25548 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25549 Likewise.
25550 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25551 Likewise.
25552 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25553 Likewise.
25554 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25555 Likewise.
25556 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25557 Likewise.
25558 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25559 Likewise.
25560 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25561 Likewise.
25562 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25563 Likewise.
25564 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25565 Likewise.
25566 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25567 Likewise.
25568 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25569 Likewise.
25570 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25571 Likewise.
25572
25573 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25574
25575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25576 to avoid alignment traps in non-cacheable memory.
25577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25578
25579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25580 multiarch objects.
25581 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25582 file: multiarch power7 memmove.
25583 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25584 multiarch default memmove.
25585 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25586 multiarch memove for powerpc32/power4.
25587
25588 * string/bcopy.c: Use full path to include memmove.c.
25589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25590 multiarch objects.
25591 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25592 bcopy for powerpc64.
25593 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25594 bcopy for powerpc64.
25595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25596 and memmove implementations.
25597 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25598 optimized multiarch memmove for POWER7/powerpc64.
25599 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25600 default multiarch memmove for powerpc64.
25601 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25602 multiarch for powerpc64.
25603 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25604 for POWER7/powerpc64.
25605 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25606 memmove for POWER7/powerpc64.
25607
25608 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25609 glibc default one.
25610
25611 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25612 __ELF_NATIVE_CLASS equal to 64.
25613
25614 2014-07-07 Roland McGrath <roland@hack.frob.com>
25615
25616 * sysdeps/nptl/lowlevellock.h: File removed.
25617
25618 * NEWS: NPTL is no longer an add-on!
25619 * nptl/internaltypes.h: Moved ...
25620 * sysdeps/nptl/internaltypes.h: ... here.
25621 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25622 * sysdeps/nptl/fork.c: Likewise.
25623 * sysdeps/nptl/gai_misc.h: Likewise.
25624 * sysdeps/nptl/librt-cancellation.c: Likewise.
25625 * sysdeps/nptl/jmp-unwind.c: Likewise.
25626 * sysdeps/nptl/setxid.h: Likewise.
25627 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25628 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25629 * sysdeps/unix/sysv/linux/arm/Implies: New file.
25630 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25631 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25632 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25633 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25634 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25635 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25636 * sysdeps/unix/sysv/linux/mips/Implies: New file.
25637 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25638 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25639 * sysdeps/unix/sysv/linux/sh/Implies: New file.
25640 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25641 * sysdeps/unix/sysv/linux/tile/Implies: New file.
25642 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25643 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25644 * nptl/Makeconfig: Moved ...
25645 * sysdeps/nptl/Makeconfig: ... here.
25646 * nptl/configure: File removed.
25647 * nptl/ANNOUNCE: File removed.
25648 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25649 * sysdeps/unix/sysv/linux/configure: Regenerated.
25650
25651 * nptl/Makefile (routines): Add libc_pthread_init,
25652 libc_multiple_threads, register-atfork and unregister-atfork.
25653 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25654 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25655 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25656 pthread-pi-defines.sym, structsem.sym.
25657 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25658 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25659 [$(subdir) = nptl] (tests): Add tst-setgetname.
25660 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25661 * sysdeps/unix/sysv/linux/sigaction.c: Just include
25662 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25663 [!LIBC_SIGACTION]: Remove aliases.
25664 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25665 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25666 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25667 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25668 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25669 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25672 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25673 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25674 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25675 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25676 __libc_allocate_rtsig_private.
25677 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25678 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25679 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25681 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25682 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25683 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25684 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25685 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25686 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25687 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25688 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25689 * nptl/internaltypes.h: ... here.
25690 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25691 * sysdeps/nptl/jmp-unwind.c: ... here.
25692 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25693 * nptl/libc-lowlevellock.c: ... here.
25694 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25695 * nptl/libc_multiple_threads.c: ... here.
25696 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25697 * nptl/libc_pthread_init.c: ... here.
25698 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25699 * nptl/lowlevelbarrier.sym: ... here.
25700 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25701 * nptl/lowlevelcond.sym: ... here.
25702 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25703 * nptl/lowlevellock.c: ... here.
25704 * nptl/lowlevellock.h: Moved ...
25705 * sysdeps/nptl/lowlevellock.h: ... here.
25706 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25707 * nptl/lowlevelrobustlock.c: ... here.
25708 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25709 * nptl/lowlevelrobustlock.sym: ... here.
25710 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25711 * nptl/lowlevelrwlock.sym: ... here.
25712 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25713 * nptl/pt-fork.c: ... here.
25714 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25715 * nptl/pthread-pi-defines.sym: ... here.
25716 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25717 * nptl/pthread_attr_getaffinity.c: ... here.
25718 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25719 * nptl/pthread_attr_setaffinity.c: ... here.
25720 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25721 * nptl/pthread_mutex_cond_lock.c: ... here.
25722 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25723 Update #include.
25724 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25725 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25726 * nptl/pthread_once.c: ... here, replacing old file.
25727 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25728 * nptl/pthread_yield.c: ... here.
25729 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25730 * nptl/register-atfork.c: ... here.
25731 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25732 * nptl/sem_post.c: ... here.
25733 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25734 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25735 * nptl/sem_timedwait.c: ... here.
25736 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25737 * nptl/sem_trywait.c: ... here.
25738 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25739 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25740 * nptl/sem_wait.c: ... here.
25741 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25742 * nptl/structsem.sym: ... here.
25743 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25744 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25745 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25746 * nptl/unregister-atfork.c: ... here.
25747 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25748 * nptl/unwindbuf.sym: ... here.
25749 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25750 * sysdeps/nptl/fork.c: ... here.
25751 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25752 * sysdeps/nptl/fork.h: ... here.
25753 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25754 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25755 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25756 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25757 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25758 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25759 * sysdeps/unix/sysv/linux/getpid.c: ... here.
25760 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25761 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25762 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25763 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25764 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25765 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25766 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25767 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25768 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25769 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25770 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25771 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25772 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25773 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25774 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25775 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25776 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25777 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25778 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25779 * sysdeps/unix/sysv/linux/raise.c: ... here.
25780 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25781 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25782 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25783 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25784 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25785 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25786 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25787 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25788 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25789 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25790 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25791 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25792 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25793 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25794 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25795
25796 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25797
25798 * sysdeps/generic/memcopy.h: Add comment for
25799 MEMCPY_OK_FOR_FWD_MEMMOVE.
25800
25801 2014-07-04 Will Newton <will.newton@linaro.org>
25802
25803 * string/memchr.c: Merge from gnulib.
25804 [_LIBC]: Remove conditionals.
25805 (__ptr_t): Remove define.
25806 (LONG_MAX_32_BITS): Likewise.
25807 (LONG_MAX): Likewise.
25808 (MEMCHR): Use ANSI prototype and optimize algorithm.
25809
25810 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25811
25812 2014-07-03 Roland McGrath <roland@hack.frob.com>
25813
25814 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25815 (lll_futex_timed_wait_bitset): Fix syscall argument count.
25816
25817 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25818 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25819 in a bare environment with no <stdlib.h> installed.
25820 * sysdeps/nptl/configure: Regenerated.
25821
25822 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25823
25824 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25825 AC_EGREP_CPP for kernel header checks, so they only succeed if
25826 including <linux/version.h> actually works right.
25827 * sysdeps/unix/sysv/linux/configure: Regenerated.
25828
25829 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25830 value so it's not diagnosed as unused.
25831
25832 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25833 thing) with "ifeq ($(subdir),rt)".
25834
25835 2014-07-03 Richard Henderson <rth@redhat.com>
25836
25837 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25838 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25839 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25840
25841 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25842 (math_force_eval): New.
25843
25844 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25845 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25846
25847 * sysdeps/alpha/fpu/s_round.c: Remove file.
25848 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25849
25850 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25851 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25852 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25853 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25854 (_dl_start, print_statistics): Likewise.
25855 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25856 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25857
25858 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25859 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25860 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25861 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25862 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25863 (HP_SMALL_TIMING_AVAIL): Define.
25864 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25865 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25866 (HP_SMALL_TIMING_AVAIL): Define.
25867 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25868 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25869
25870 * sysdeps/aarch64/hp-timing.h: New file.
25871
25872 * sysdeps/generic/hp-timing.h: Remove dead comment.
25873 * sysdeps/generic/hp-timing-common.h: New file.
25874 * sysdeps/alpha/hp-timing.h: Include it.
25875 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25876 * sysdeps/i386/i686/hp-timing.h: Likewise.
25877 * sysdeps/ia64/hp-timing.h: Likewise.
25878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25879 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25880 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25881 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25882 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25883 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25884 (hp_timing_t): New.
25885
25886 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25887 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25888 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25889 * elf/rtld.c (_dl_start_final): Likewise.
25890 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25891 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25892 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25893 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25894 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25895 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25896 (HP_TIMING_DIFF_INIT): Remove.
25897 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25899 (HP_TIMING_DIFF_INIT): Remove.
25900 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25901 * sysdeps/i386/i686/hp-timing.c: Remove file.
25902 * sysdeps/x86_64/hp-timing.c: Remove file.
25903 * sysdeps/ia64/hp-timing.c: Remove file.
25904 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25905 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25907 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25908
25909 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25910 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25911 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25912 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25913 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25914 (HP_TIMING_ACCUM): Remove.
25915 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25916 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25917 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25918
25919 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25920 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25921 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25922 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25923 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25924 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25925 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25926 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25927
25928 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25929
25930 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
25931
25932 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25933
25934 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25935
25936 Sync up with gettext.
25937 * intl/loadmsgcat.c: Define O_BINARY if not defined.
25938 [_MSC_VER]: Include malloc.h
25939 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25940 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25941 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
25942 TEMP_FAILURE_RETRY. Cast return of alloca.
25943 [!_LIBC] Call gl_rwlock_init.
25944 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25945
25946 2014-07-02 Roland McGrath <roland@hack.frob.com>
25947
25948 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25949 before checking its value.
25950
25951 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25952
25953 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25954
25955 * debug/memcpy_chk.c: Don't include pagecopy.h.
25956 * debug/mempcpy_chk.c: Likewise.
25957 * string/memcpy.c: Likewise.
25958 * string/memmove.c: Likewise.
25959 * sysdeps/powerpc/memmove.c: Likewise.
25960 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
25961 definition of PAGE_COPY_FWD_MAYBE here...
25962 * sysdeps/generic/pagecopy.h: ... from here.
25963 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25964
25965 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25966 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25967
25968 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25970 optimizations.
25971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25972 (__libc_ifunc_impl_list): Likewise.
25973 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25974 multiarch strcat for PPC64.
25975 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25976 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25977
25978 2014-07-02 Roland McGrath <roland@hack.frob.com>
25979
25980 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25981
25982 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25983
25984 * intl/loadmsgcat.c: Remove declaration of
25985 get_sysdep_segment_value.
25986 (get_sysdep_segment_value): Use ISO C style.
25987 (_nl_load_domain): Use ISO C style. Get rid of redundant
25988 semicolon. Fix typo and formatting in comment.
25989 (_nl_unload_domain): Use ISO C style.
25990
25991 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25992
25993 2014-07-02 Will Newton <will.newton@linaro.org>
25994
25995 * malloc/obstack.c: Merge from gnulib master.
25996 [HAVE_CONFIG_H]: Remove conditional code.
25997 [!_LIBC]: Include config.h.
25998 [!ELIDE_CODE]: Don't include inttypes.h, include
25999 stdint.h unconditionally.
26000 (print_and_abort): Mark as _Noreturn.
26001 (_obstack_allocated_p): Mark as __attribute_pure__.
26002 (obstack_free): Rename to __obstack_free.
26003 [!__attribute__]: Remove conditional code.
26004 * malloc/obstack.h: Merge from gnulib master.
26005 [__cplusplus]: Move conditional down.
26006 [!__attribute_pure__]: Define __attribute_pure__ here
26007 if it is not already defined.
26008 (_obstack_memory_used): Mark as __attribute_pure__.
26009 [!__obstack_free]: Define as obstack_free.
26010 [__GNUC__]: Remove check for ancient NeXT gcc.
26011
26012 2014-07-02 Will Newton <will.newton@linaro.org>
26013 Paul Eggert <eggert@cs.ucla.edu>
26014
26015 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26016
26017 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26018
26019 * resolv/gethnamaddr.c: Add comment warning that the file is
26020 not maintained.
26021
26022 2014-07-01 Carlos O'Donell <carlos@redhat.com>
26023
26024 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26025 entries.
26026
26027 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26028 entry for aio_cancel and aio_cancel64.
26029 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26030 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26031 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26032 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26033 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26034 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26035 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26036 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26037 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26038 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26039 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26040 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26041 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26042
26043 2014-07-01 Roland McGrath <roland@hack.frob.com>
26044
26045 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26046 * nptl/pthread_mutex_lock.c: Likewise.
26047 * nptl/pthread_mutex_timedlock.c: Likewise.
26048 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26049
26050 2014-07-01 Richard henderson <rth@redhat.com>
26051
26052 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26053 (__isnan, __isnanl): Remove.
26054 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26055
26056 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26057
26058 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
26059
26060 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26061
26062 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26063
26064 * resolv/nss_dns/dns-host.c (getanswer_r)
26065 [MULTI_PTRS_ARE_ALIASES]: Remove code.
26066
26067 2014-07-01 Joseph Myers <joseph@codesourcery.com>
26068
26069 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26070 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26071 undefine.
26072 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26073 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26074
26075 2014-07-01 Roland McGrath <roland@hack.frob.com>
26076
26077 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26078 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26079
26080 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26081 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26082
26083 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26084 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26085 ... here.
26086 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26087 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26088
26089 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26090 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26091 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26092 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26093
26094 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26095 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26096 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26097 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26098 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26099 Moved ...
26100 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26101 ... here.
26102 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26103 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26104 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26105 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26106 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26107 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26108 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26109 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26110 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26111 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26112 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26113 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26114 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26115 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26116 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26117 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26118 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26119 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26120 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26121 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26122 ... here.
26123 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26124 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26125 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26126 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26127 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26128 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26129 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26130 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26131
26132 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
26133
26134 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26135 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26136 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26137 Add sysdep.
26138
26139 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26140
26141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26142
26143 2014-06-30 Joseph Myers <joseph@codesourcery.com>
26144
26145 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26146 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26147
26148 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26149
26150 * sysdeps/arm/libm-test-ulps: Regenerated.
26151
26152 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
26153 Roland McGrath <roland@hack.frob.com>
26154
26155 * test-skeleton.c (signal_handler): Kill the whole process group
26156 before killing the child individually.
26157 (main): Report any failure on `setpgid'.
26158
26159 2014-06-30 Roland McGrath <roland@hack.frob.com>
26160
26161 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26162 from _TLS_H to _ARM_NPTL_TLS_H.
26163 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26164 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26165
26166 2014-06-30 Joseph Myers <joseph@codesourcery.com>
26167
26168 [BZ #16539]
26169 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26170 (__expm1l): Return argument unchanged when small but not
26171 subnormal.
26172
26173 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26174 include macro name.
26175 (_FP_UNPACK_RAW_1_P): Likewise.
26176 (_FP_PACK_RAW_1): Likewise.
26177 (_FP_PACK_RAW_1_P): Likewise.
26178 (_FP_MUL_MEAT_1_wide): Likewise.
26179 (_FP_MUL_MEAT_DW_1_hard): Likewise.
26180 (_FP_MUL_MEAT_1_hard): Likewise.
26181 (_FP_DIV_MEAT_1_imm): Likewise.
26182 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26183 (_FP_DIV_MEAT_1_udiv): Likewise.
26184 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26185 (_FP_UNPACK_RAW_2): Likewise.
26186 (_FP_UNPACK_RAW_2_P): Likewise.
26187 (_FP_PACK_RAW_2): Likewise.
26188 (_FP_PACK_RAW_2_P): Likewise.
26189 (_FP_MUL_MEAT_DW_2_wide): Likewise.
26190 (_FP_MUL_MEAT_2_wide): Likewise.
26191 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26192 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26193 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26194 (_FP_MUL_MEAT_2_gmp): Likewise.
26195 (_FP_DIV_MEAT_2_udiv): Likewise.
26196 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26197 (_FP_FRAC_SRL_4): Likewise.
26198 (_FP_FRAC_SRST_4): Likewise.
26199 (_FP_FRAC_SRS_4): Likewise.
26200 (_FP_UNPACK_RAW_4): Likewise.
26201 (_FP_UNPACK_RAW_4_P): Likewise.
26202 (_FP_PACK_RAW_4): Likewise.
26203 (_FP_PACK_RAW_4_P): Likewise.
26204 (_FP_MUL_MEAT_DW_4_wide): Likewise.
26205 (_FP_MUL_MEAT_4_wide): Likewise.
26206 (_FP_MUL_MEAT_4_gmp): Likewise.
26207 (umul_ppppmnnn): Likewise.
26208 (_FP_DIV_MEAT_4_udiv): Likewise.
26209 (__FP_FRAC_ADD_4): Likewise.
26210 (__FP_FRAC_SUB_3): Likewise.
26211 (__FP_FRAC_SUB_4): Likewise.
26212 (__FP_FRAC_DEC_3): Likewise.
26213 (__FP_FRAC_DEC_4): Likewise.
26214 (__FP_FRAC_ADDI_4): Likewise.
26215 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26216 (_FP_FRAC_SRL_8): Likewise.
26217 (_FP_FRAC_SRS_8): Likewise.
26218
26219 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26220 include macro name.
26221 (FP_UNPACK_RAW_EP): Likewise.
26222 (FP_PACK_RAW_E): Likewise.
26223 (FP_PACK_RAW_EP): Likewise.
26224 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26225 (_FP_ISSIGNAN): Likewise.
26226 (_FP_ADD_INTERNAL): Likewise.
26227 (_FP_FMA): Likewise.
26228 (_FP_CMP): Likewise.
26229 (_FP_SQRT): Likewise.
26230 (_FP_TO_INT): Likewise.
26231 (_FP_FROM_INT): Likewise.
26232 (FP_EXTEND): Likewise.
26233 (_FP_DIV_MEAT_N_loop): Likewise.
26234
26235 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
26236
26237 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26238 throughout.
26239
26240 2014-06-29 Joseph Myers <joseph@codesourcery.com>
26241
26242 [BZ #17097]
26243 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26244 result with correct sign in case of exponents that produce
26245 overflow except for X very close to 1.
26246
26247 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
26248
26249 mktime: merge #if/#ifdef usage from glibc
26250 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26251 as that works with both Glibc's and Gnulib's style.
26252 See thread starting at Siddhesh Poyarekar's bug report at:
26253 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26254
26255 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26256
26257 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26258 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26259 * sysdeps/tile/tilegx/memmove.c: Remove file.
26260
26261 2014-06-27 Joseph Myers <joseph@codesourcery.com>
26262
26263 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26264 abi-name definition.
26265 * scripts/soversions.awk: Do not handle or generate ABI lines.
26266 * shlib-versions: Remove ABI entries.
26267 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26268 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26269
26270 2014-06-27 Roland McGrath <roland@hack.frob.com>
26271
26272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26273 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26274 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26275 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26277 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26279 Moved ...
26280 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26281 ... here.
26282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26283 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26285 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26287 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26289 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26293 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26295 Moved ...
26296 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26298 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26302 Moved ...
26303 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26305 Moved ...
26306 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26308 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26310 Moved ...
26311 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26313 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26315 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26317 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26319 Moved ...
26320 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26322 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26323 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26324 Moved ...
26325 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26327 Moved ...
26328 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26330 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26332 Moved ...
26333 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26334 ... here.
26335 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26336 Identical file removed.
26337 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26338 Moved ...
26339 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26341 Identical file removed.
26342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26343 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26345 Moved ...
26346 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26348 Identical file removed.
26349 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26350 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26352 Identical file removed.
26353 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26354 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26356 Identical file removed.
26357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26358 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26360 Identical file removed.
26361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26362 Moved ...
26363 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26365 Identical file removed.
26366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26367 Moved ...
26368 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26370 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26372 Identical file removed.
26373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26374 Moved ...
26375 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26376 ... here.
26377 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26378 Identical file removed.
26379 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26380 Moved ...
26381 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26383 Identical file removed.
26384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26385 Moved ...
26386 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26387 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26388 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26390 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26392 Moved ...
26393 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26394 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26395 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26396
26397 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26398 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26399 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26400 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26401 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26402
26403 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
26404
26405 [BZ #17092]
26406 * nscd/nscd.c (monitor_child): Return exit status of child
26407 instead of return value from wait syscall.
26408
26409 2014-06-27 Joseph Myers <joseph@codesourcery.com>
26410
26411 * configure.ac (libc_commonpagesize): Remove variable.
26412 (libc_relro_required): Likewise.
26413 (libc_cv_z_relro): Remove configure test.
26414 * configure: Regenerated.
26415 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26416 variable.
26417 (libc_relro_required): Likewise.
26418 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26419 (libc_relro_required): Likewise.
26420 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26421 (libc_relro_required): Likewise.
26422 * sysdeps/arm/preconfigure: Regenerated.
26423 * sysdeps/ia64/preconfigure: Remove file.
26424 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26425 variable.
26426 (libc_relro_required): Likewise.
26427
26428 [BZ #16561]
26429 [BZ #16562]
26430 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26431 (__ieee754_yn): Set FE_TONEAREST mode internally and then
26432 recompute overflowing results in original rounding mode.
26433 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26434 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26435 recompute overflowing results in original rounding mode.
26436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26437 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26438 recompute overflowing results in original rounding mode.
26439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26440 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26441 recompute overflowing results in original rounding mode.
26442 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26443 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26444 recompute overflowing results in original rounding mode.
26445 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26446 (libc_feholdsetround_ctx): New macro.
26447 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26448 * sysdeps/i386/fpu/libm-test-ulps: Update.
26449 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26450
26451 2014-06-26 Joseph Myers <joseph@codesourcery.com>
26452
26453 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26454 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26455 corresponding .cpsetup call.
26456
26457 2014-06-26 Roland McGrath <roland@hack.frob.com>
26458
26459 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26460 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26461 * sysdeps/arm/Makefile [$(subdir) = csu]
26462 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26463 (static-only-routines): Add aeabi_read_tp here.
26464 (shared-only-routines): Add libc-aeabi_read_tp here.
26465 (CFLAGS-libc-start.c): Add -fexceptions here.
26466 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26467 (sysdep_routines, static-only-routines, shared-only-routines):
26468 Don't add to these here.
26469 (CFLAGS-libc-start.c): Likewise.
26470
26471 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26472 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26473 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26474 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26475 * sysdeps/arm/Makefile [$(subdir) = rt]
26476 (librt-sysdep_routines, librt-shared-only-routines):
26477 Append rt-aeabi_unwind_cpp_pr1 here.
26478 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26479 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26480 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26481 (libpthread-sysdep_routines, libpthread-shared-only-routines):
26482 Append nptl-aeabi_unwind_cpp_pr1 here.
26483 (tests): Filter out tst-cleanupx4 here.
26484 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26485 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26486 Don't do those here.
26487
26488 2014-06-26 Joseph Myers <joseph@codesourcery.com>
26489
26490 * scripts/list-sources.sh: Do not handle ports specially.
26491
26492 2014-06-26 Roland McGrath <roland@hack.frob.com>
26493
26494 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26495 * sysdeps/arm/feupdateenv.c: Likewise.
26496
26497 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26498
26499 2014-06-26 Joseph Myers <joseph@codesourcery.com>
26500
26501 * manual/texinfo.tex: Update to version 2014-05-05.10 with
26502 trailing whitespace removed.
26503 * scripts/config.guess: Update to version 2014-03-23.
26504 * scripts/config.sub: Update to version 2014-05-01
26505 * scripts/install-sh: Update to version 2013-12-25.23.
26506 * scripts/move-if-change: Update from gnulib.
26507
26508 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
26510 * debug/memmove_chk.c: Remove pagecopy.h include.
26511
26512 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
26513
26514 * time/mktime.c (leapyear): Remove inline keyword. The code is now
26515 identical to gnulib mktime.
26516
26517 2014-06-26 Joseph Myers <joseph@codesourcery.com>
26518
26519 * configure.ac: Do not test for machine being rs6000. Do not test
26520 for powerpc*-*soft.
26521 * configure: Regenerated.
26522
26523 [BZ #11505]
26524 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26525 test.
26526 * configure: Regenerated.
26527 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26528 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26529 Remove configure test.
26530 * sysdeps/arm/configure: Regenerated.
26531 * sysdeps/nptl/configure.ac: Do not check
26532 libc_cv_asm_cfi_directives.
26533 * sysdeps/nptl/configure: Regenerated.
26534 * sysdeps/x86_64/nptl/configure.ac: Remove file.
26535 * sysdeps/x86_64/nptl/configure: Remove generated file.
26536 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26537 unconditional.
26538 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26539
26540 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26541
26542 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26543 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26544 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26545 it is defined.
26546
26547 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26548 instead of whether it is defined.
26549 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26550 * sysdeps/hppa/dl-machine.h: Likewise.
26551 * sysdeps/ia64/dl-machine.h: Likewise.
26552 * sysdeps/m68k/dl-machine.h: Likewise.
26553 * sysdeps/microblaze/dl-machine.h: Likewise.
26554 * sysdeps/mips/dl-machine.: Likewise.
26555 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26556 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26557 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26558 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26559 * sysdeps/sh/dl-machine.h: Likewise.
26560 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26561 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26562 * sysdeps/tile/dl-machine.h: Likewise.
26563 * sysdeps/x86_64/dl-machine.h: Likewise.
26564
26565 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26566 code.
26567 (verify_persistent_db): Likewise.
26568
26569 2014-06-26 Roland McGrath <roland@hack.frob.com>
26570
26571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26572 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26574 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26576 Moved ...
26577 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26578 ... here.
26579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26580 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26582 Identical file removed.
26583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26586 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26588 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26592 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26594 Moved ...
26595 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26597 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26599 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26601 Moved ...
26602 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26604 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26606 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26608 Identical file removed.
26609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26610 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26612 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26614 Moved ...
26615 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26616 ... here.
26617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26620 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26622 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26624 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26626 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26628 Moved ...
26629 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26631 Moved ...
26632 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26634 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26636 Moved ...
26637 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26639 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26640
26641 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26642 folded into ...
26643 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26644 * sysdeps/unix/sysv/linux/s390/Versions
26645 (libpthread: GLIBC_2.19): New version set.
26646 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26647 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26648 (librt: GLIBC_2.3.3): New version set.
26649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26650 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26651 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26652 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26653 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26654 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26655 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26656 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26657 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26658 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26659 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26660 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26661 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26662 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26663 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26664 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26665 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26666 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26667 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26668 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26669 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26670 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26671 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26672 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26673 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26674 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26675 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26676 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26677 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26678 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26679 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26685 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26687 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26689 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26690 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26691 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26693 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26694
26695 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26696 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26697 (__libc_vfork): Define the function under this name.
26698 [!NOT_IN_libc] (__vfork): Make this an alias.
26699 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26701 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26702 (__libc_vfork): Define the function under this name.
26703 [!NOT_IN_libc] (__vfork): Make this an alias.
26704 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26705 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26706 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26709 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26710
26711 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26712 code that was previously under [RESET_PID].
26713 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26714 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26716
26717 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26718 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26719 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26720 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26721 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26722 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26723 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26724 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26725 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26726 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26727 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26728 Moved ...
26729 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26730 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26731 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26732 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26733 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26734 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26735 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26736 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26737 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26738 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26740 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26741 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26742 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26743 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26744 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26745 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26746 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26747 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26748 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26749 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26750 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26751 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26752 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26753 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26754 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26755 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26757 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26758
26759 2014-06-25 Roland McGrath <roland@hack.frob.com>
26760
26761 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26762 that was previously under [RESET_PID].
26763 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26764
26765 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26766
26767 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26768 not undefine and redefine.
26769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26770 [O_CLOEXEC]: Make code unconditional.
26771 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26772 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26773 <kernel-features.h>.
26774 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26775 conditional variable definition.
26776 (shm_open) [O_CLOEXEC]: Make code unconditional.
26777 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26778 code.
26779
26780 * configure.ac (USE_REGPARMS): Don't define here.
26781 * configure: Regenerated.
26782 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26783 * sysdeps/i386/configure: Regenerated.
26784
26785 * nptl/createthread.c: Don't include kernel-features.h.
26786 * nptl/pthread_cancel.c: Likewise.
26787 * nptl/pthread_condattr_setclock.c: Likewise.
26788 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26789 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26790 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26791 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26792 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26793 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26794 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26795 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26797 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26798 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26799 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26800 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26801 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26802 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26803 * nscd/gai.c: Likewise.
26804 * nss/nss_db/db-open.c: Likewise.
26805 * sysdeps/generic/ldsodefs.h: Likewise.
26806 * sysdeps/sh/nptl/tls.h: Likewise.
26807 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26808 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26809 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26810 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26811 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26812 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26813 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26814 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26816 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26817 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26819 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26820 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26821 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26822 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26823 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26824 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26825 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26826 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26827 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26828 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26829 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26830 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26831 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26832 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26833 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26835 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26836 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26837 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26838 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26839 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26840 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26841 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26842 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26843 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26844 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26845 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26846 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26847 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26848 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26849 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26850 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26851 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26852 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26853 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26854 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26855 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26856 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26857 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26858 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26859 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26860 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26861 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26862 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26863 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26864 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26887 * sysdeps/unix/sysv/linux/pread.c: Likewise.
26888 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26889 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26890 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26891 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26892 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26894 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26895 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26896 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26897 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26898 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26899 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26900 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26901 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26902 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26904 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26905 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26906 * sysdeps/unix/sysv/linux/system.c: Likewise.
26907 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26908 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26911 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26912 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26913 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26914
26915 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26916 * configure: Regenerated.
26917 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26918
26919 * configure.ac (base_machine): Do not set specially for particular
26920 machines here.
26921 * configure: Regenerated.
26922 * sysdeps/powerpc/preconfigure: Move machine and base_machine
26923 settings from configure.ac.
26924 * sysdeps/i386/preconfigure: New file.
26925 * sysdeps/s390/preconfigure: Likewise.
26926 * sysdeps/sh/preconfigure: Likewise.
26927 * sysdeps/sparc/preconfigure: Likewise.
26928
26929 2014-06-25 Roland McGrath <roland@hack.frob.com>
26930
26931 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26932 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26933 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26934 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26935 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26936 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26937 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26938 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26939 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26940 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26941 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26942 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26943 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26944 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26945 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26946 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26948 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26949 * sysdeps/sparc/sparc64/Makefile: ... appended here.
26950
26951 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26952 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26953 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26954 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26955 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26956 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26957 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26958 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26959 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26960 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26961 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26962 * sysdeps/sparc/sparc32/sem_post.c: ... here.
26963 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26964 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26965 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26966 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26967 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26968 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26969 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26970 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26971 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26972 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26973 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26974 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26975 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26976 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26977 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26978 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26980 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26981 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26982 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26983 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26984 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26985 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26986 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26987 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26988 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26989
26990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26991 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26993 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26995 Moved ...
26996 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26997 ... here.
26998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26999 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27003 Moved ...
27004 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27006 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27010 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27012 Moved ...
27013 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27015 Moved ...
27016 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27018 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27020 Moved ...
27021 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27023 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27025 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27027 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27029 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27031 Moved ...
27032 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27033 ... here.
27034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27037 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27039 Moved ...
27040 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27042 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27046 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27048 Moved ...
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27051 Moved ...
27052 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27054 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27056 Moved ...
27057 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27059 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27061 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27062
27063 2014-06-25 Joseph Myers <joseph@codesourcery.com>
27064
27065 * timezone/checktab.awk: Update from tzcode 2014e.
27066 * timezone/private.h: Likewise.
27067 * timezone/tzfile.h: Likewise.
27068 * timezone/zdump.c: Likewise.
27069 * timezone/zic.c: Likewise.
27070
27071 * sysdeps/unix/sysv/linux/kernel-features.h
27072 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27074 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27075 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27076 Remove conditional code.
27077
27078 2014-06-25 Will Newton <will.newton@linaro.org>
27079
27080 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27081 (_dl_arm_cap_flags): Add HWCAP2 values.
27082 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27083 (_DL_HWCAP_COUNT): Increase to 37.
27084 (_DL_HWCAP_LAST): New define.
27085 (_DL_HWCAP2_LAST): New define.
27086 (_dl_procinfo): Add support for printing
27087 AT_HWCAP2 entries.
27088 (_dl_string_hwcap): Use _dl_hwcap_string.
27089
27090 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27091
27092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27093
27094 2014-06-25 Joseph Myers <joseph@codesourcery.com>
27095
27096 * README: Do not mention ports directory.
27097
27098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27099 Remove macro.
27100 * sysdeps/unix/sysv/linux/futimes.c: Do not include
27101 <kernel-features.h>.
27102 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27103 conditional variable definition.
27104 (__futimes): Update comment.
27105 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27106 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27107
27108 [BZ #16560]
27109 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27110 arguments close to 0.
27111 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27112 Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27114 Likewise.
27115 * math/auto-libm-test-in: Add more tests of exp10.
27116 * math/auto-libm-test-out: Regenerated.
27117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27118
27119 * sysdeps/unix/sysv/linux/kernel-features.h
27120 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27121 * sysdeps/unix/sysv/linux/readv.c: Do not include
27122 <kernel-features.h>.
27123 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27124 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27125 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27126 unconditional.
27127 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27128 conditional code.
27129 * sysdeps/unix/sysv/linux/writev.c: Do not include
27130 <kernel-features.h>.
27131 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27132 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27133 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27134 unconditional.
27135 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27136 conditional code.
27137
27138 2014-06-25 Will Newton <will.newton@linaro.org>
27139
27140 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27141 comment changes throughout the file. Remove checks
27142 for HAVE_*_H definitions that are not required.
27143 (__gen_tempname): Call abort if an unknown kind value is
27144 passed.
27145
27146 2014-06-25 Andreas Schwab <schwab@suse.de>
27147
27148 [BZ #17086]
27149 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27150 scalbln, scalblnf, scalblnl in libc.
27151
27152 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27153
27154 [BZ #17086]
27155 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27156 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27157 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27158
27159 2014-06-24 Roland McGrath <roland@hack.frob.com>
27160
27161 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27162 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27163 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27164 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27165 Update #include.
27166 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27167 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27168 Update #include.
27169 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27171 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27172 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27173 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27174 * sysdeps/x86/bits/pthreadtypes.h: ... here.
27175 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27176 * sysdeps/x86/bits/semaphore.h: ... here.
27177 * sysdeps/x86/nptl/elide.h: Moved ...
27178 * sysdeps/x86/elide.h: ... here.
27179 * sysdeps/x86_64/nptl/Implies: File removed.
27180 * sysdeps/i386/nptl/Implies: File removed.
27181
27182 2014-06-24 Joseph Myers <joseph@codesourcery.com>
27183
27184 [BZ #16539]
27185 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27186 return the argument for normal arguments with exponent below -64.
27187 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27188 Likewise.
27189 * math/auto-libm-test-in: Add another test of expm1.
27190 * math/auto-libm-test-out: Regenerated.
27191
27192 [BZ #16287]
27193 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27194 calling __erfcl for arguments at least 16.
27195 * math/auto-libm-test-in: Add more tests of erf.
27196 * math/auto-libm-test-out: Regenerated.
27197
27198 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27199 individual architectures.
27200 * sysdeps/unix/sysv/linux/configure: Regenerated.
27201 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27202 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27203 * sysdeps/unix/sysv/linux/powerpc/configure.ac
27204 (ldd_rewrite_script): Define variable.
27205 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27207 file.
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27209 generated file.
27210 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27211 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27212 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27213 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27214 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27215 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27216 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27217 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27218
27219 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27220
27221 [BZ #17084]
27222 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27223 Rename member __data.d to __data.__elision_data.
27224
27225 2014-06-24 Wilco <wdijkstr@arm.com>
27226
27227 * NEWS: Add 16918 to fixed bug list.
27228
27229 2014-06-24 Wilco <wdijkstr@arm.com>
27230
27231 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27232
27233 2014-06-24 Wilco <wdijkstr@arm.com>
27234
27235 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27236 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27237 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27238 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27239 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27240 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27241 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27242 Use _FPU_MASK_RM.
27243
27244 2014-06-24 Wilco <wdijkstr@arm.com>
27245
27246 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27247
27248 2014-06-24 Wilco <wdijkstr@arm.com>
27249
27250 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27251 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27252 * sysdeps/arm/fesetround.c (fesetround): Remove space.
27253 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27254
27255 2014-06-24 Wilco <wdijkstr@arm.com>
27256
27257 [BZ #16918]
27258 * sysdeps/arm/feupdateenv.c (feupdateenv):
27259 Rewrite to reduce FPSCR accesses and fix return value.
27260
27261 2014-06-24 Wilco <wdijkstr@arm.com>
27262
27263 * sysdeps/arm/fclrexcpt.c (feclearexcept):
27264 Optimize to avoid unnecessary FPSCR writes.
27265 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27266 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27267 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27268 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27269
27270 2014-06-24 Wilco <wdijkstr@arm.com>
27271
27272 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27273 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27274 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27275 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27276 Call libc_fetestexcept_vfp.
27277 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27278 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27279 __SOFTFP__ ifdef so that they can be built for softfp.
27280
27281 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27282
27283 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27284 argument type signed char.
27285
27286 * Makerules (check-abi): Dump diff of symlist if the test
27287 fails.
27288
27289 2014-06-23 Roland McGrath <roland@hack.frob.com>
27290
27291 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27292 using abort.
27293
27294 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27295 Remove unused variable ST.
27296
27297 2014-06-23 Joseph Myers <joseph@codesourcery.com>
27298
27299 [BZ #16354]
27300 [BZ #17061]
27301 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27302 small arguments before calling __expm1.
27303 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27304 small arguments before calling __expm1f.
27305 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27306 small arguments before calling __expm1l.
27307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27308 Likewise.
27309 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27310 * math/auto-libm-test-in: Add more cosh tests. Do not allow
27311 spurious underflow for some cosh tests.
27312 * math/auto-libm-test-out: Regenerated.
27313 * sysdeps/i386/fpu/libm-test-ulps: Update.
27314
27315 [BZ #17050]
27316 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27317 (__ieee754_y1): Set errno if return value overflows.
27318 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27319 (__ieee754_y1f): Set errno if return value overflows.
27320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27321 (__ieee754_y1l): Set errno if return value overflows.
27322 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27323 (__ieee754_y1l): Set errno if return value overflows.
27324 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27325 * math/auto-libm-test-out: Regenerated.
27326
27327 * math/gen-auto-libm-tests.c: Document use of
27328 ignore-zero-inf-sign.
27329 (input_flag_type): Add value flag_ignore_zero_inf_sign.
27330 (input_flags): Add ignore-zero-inf-sign.
27331 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27332 * math/gen-libm-test.pl (generate_testfile): Handle
27333 ignore-zero-inf-sign.
27334 * math/auto-libm-test-in: Mark some cpow tests with
27335 ignore-zero-inf-sign and some with xfail-rounding.
27336 * math/auto-libm-test-out: Regenerated.
27337 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27338 * sysdeps/i386/fpu/libm-test-ulps: Update.
27339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27340
27341 [BZ #16315]
27342 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27343 overflowing or underflowing operations take place with sign of
27344 result.
27345 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27346 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27347 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27348 (__ieee754_pow): Recompute overflowing and underflowing results in
27349 original rounding mode.
27350 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27351 (__powl_helper): Allow negative argument X and scale negated value
27352 as needed. Avoid passing value outside [-1, 1] to f2xm1.
27353 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27354 overflowing or underflowing operations take place with sign of
27355 result.
27356 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27357 Include <math.h>.
27358 * math/auto-libm-test-in: Add more tests of pow.
27359 * math/auto-libm-test-out: Regenerated.
27360 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27361 (pow_tonearest_test_data): Remove.
27362 (pow_test_tonearest): Likewise.
27363 (pow_towardzero_test_data): Likewise.
27364 (pow_test_towardzero): Likewise.
27365 (pow_downward_test_data): Likewise.
27366 (pow_test_downward): Likewise.
27367 (pow_upward_test_data): Likewise.
27368 (pow_test_upward): Likewise.
27369 (main): Don't call removed functions.
27370 * sysdeps/i386/fpu/libm-test-ulps: Update.
27371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27372
27373 2014-06-23 Roland McGrath <roland@hack.frob.com>
27374
27375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27376 Moved ...
27377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27379 Moved ...
27380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27382 Moved ...
27383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27385 Moved ...
27386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27388 File removed.
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27390 File removed.
27391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27392 File removed.
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27394 File removed.
27395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27396 File removed.
27397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27398 File removed.
27399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27400 File removed.
27401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27402 File removed.
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27404 File removed.
27405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27406 File removed.
27407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27408 File removed.
27409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27410 File removed.
27411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27412 Moved ...
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27415 Moved ...
27416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27417 ... here.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27419 Moved ...
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27422 Moved ...
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27425 Moved ...
27426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27428 Moved ...
27429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27431 Moved ...
27432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27434 Moved ...
27435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27437 Moved ...
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27441 ... here.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27443 Moved ...
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27446 Moved ...
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27448 ... here.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27450 Moved ...
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27452 ... here.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27454 Moved ...
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27456 ... here.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27458 Moved ...
27459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27461 Moved ...
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27466 Moved ...
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27468 ... here.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27470 Moved ...
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27472 ... here.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27474 Moved ...
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27477 Moved ...
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27480 Moved ...
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27483 Moved ...
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27486 Moved ...
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27488 ... here.
27489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27490 Moved ...
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27493 Moved ...
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27496 Moved ...
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27499 Moved ...
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27504 Moved ...
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27507 Moved ...
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27510 Moved ...
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27512 ... here.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27514 Moved ...
27515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27516 ... here.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27518 Moved ...
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27520 ... here.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27522 Moved ...
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27525 Moved ...
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27528 Moved ...
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27531 Moved ...
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27533 ... here.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27535 Moved ...
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27537 ... here.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27539 Moved ...
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27541 ... here.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27543 Moved ...
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27546 Moved ...
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27548
27549 2014-06-23 Will Newton <will.newton@linaro.org>
27550 Wilco <wdijkstr@arm.com>
27551
27552 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27553 implementation. Include get-rounding-mode.h.
27554 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27555 [!libc_feholdsetround_noex_ctx]: Define
27556 libc_feholdsetround_noex_ctx.
27557 [!libc_feholdsetround_noexf_ctx]: Define
27558 libc_feholdsetround_noexf_ctx.
27559 [!libc_feholdsetround_noexl_ctx]: Define
27560 libc_feholdsetround_noexl_ctx.
27561 (libc_feholdsetround_ctx): New function.
27562 (libc_feresetround_ctx): New function.
27563 (libc_feholdsetround_noex_ctx): New function.
27564 (libc_feresetround_noex_ctx): New function.
27565
27566 2014-06-23 Roland McGrath <roland@hack.frob.com>
27567
27568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27569 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27570 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27571 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27572 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27573 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27574
27575 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27576 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27577 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27578 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27579 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27580 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27582 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27584 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27586 Moved ...
27587 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27588 ... here.
27589 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27590 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27592 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27594 Moved ...
27595 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27597 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27599 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27601 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27603 Moved ...
27604 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27606 Moved ...
27607 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27609 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27611 Moved ...
27612 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27614 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27615 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27616 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27617 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27618 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27620 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27622 Moved ...
27623 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27624 ... here.
27625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27626 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27628 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27630 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27631 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27632 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27633 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27635 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27636 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27637 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27638 Moved ...
27639 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27641 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27642 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27643 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27645 Moved ...
27646 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27648 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27649 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27650 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27651
27652 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27653 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27654 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27655 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27656 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27657 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27658 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27659 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27661 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27662 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27663 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27664 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27665 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27666 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27667 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27668 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27669 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27670 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27671 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27672 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27673 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27675 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27676 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27677 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27678 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27679 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27680
27681 2014-06-23 Joseph Myers <joseph@codesourcery.com>
27682
27683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27684 (FALLOC_FL_COLLAPSE_RANGE): New macro.
27685 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27686 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27687 (IPV6_PMTUDISC_INTERFACE): Likewise.
27688 (IPV6_PMTUDISC_OMIT): Likewise.
27689
27690 2014-06-23 Andreas Schwab <schwab@suse.de>
27691
27692 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27693 Remove unused errout label.
27694
27695 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27696
27697 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27698 macro: hardware supports Vector Crypto instructions.
27699
27700 2014-06-23 Will Newton <will.newton@linaro.org>
27701
27702 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27703 rather than __builtin_expect.
27704
27705 * elf/dl-lookup.c (undefined_msg): Remove variable.
27706 (_dl_lookup_symbol_x): Replace undefined_msg with string
27707 literal.
27708
27709 * elf/dl-lookup.c (do_lookup_unique): New function.
27710 (do_lookup_x): Move STB_GNU_UNIQUE handling code
27711 to a separate function.
27712
27713 2014-06-23 Andreas Schwab <schwab@suse.de>
27714
27715 [BZ #17079]
27716 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27717 before reading the next line.
27718
27719 2014-06-23 Will Newton <will.newton@linaro.org>
27720
27721 * test-skeleton.c (signal_handler): Use printf and %m
27722 rather than perror. Use printf rather than fprintf to
27723 stderr. Use puts rather than fputs to stderr.
27724 (main): Likewise.
27725
27726 2014-06-22 Ludovic Courtès <ludo@gnu.org>
27727
27728 * nscd/nscd.c (thread_info_t): Remove typedef.
27729 (thread_info): Remove variable.
27730
27731 2014-06-21 Allan McRae <allan@archlinux.org>
27732
27733 * NEWS: Mention CVE-2014-4043.
27734
27735 2014-06-20 Roland McGrath <roland@hack.frob.com>
27736
27737 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27738 * nptl/smp.h: ... here.
27739
27740 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27741
27742 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27743 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27744 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27745 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27746
27747 * nptl/allocatestack.c: Include <stack-aliasing.h>.
27748 * nptl/stack-aliasing.h: New file.
27749 * sysdeps/i386/i686/stack-aliasing.h: New file.
27750 * sysdeps/i386/i686/nptl/Makefile: File removed.
27751 * sysdeps/x86_64/stack-aliasing.h: New file.
27752 * sysdeps/x86_64/nptl/Makefile
27753 (CFLAGS-pthread_create.c): Variable removed.
27754
27755 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27756 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27757 old file.
27758 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27759 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27760 old file.
27761
27762 2014-06-21 Joseph Myers <joseph@codesourcery.com>
27763
27764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27765 (__ASSUME_SIGFRAME_V2): Remove macro.
27766 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27767 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27768 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27769 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27770 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27771 Declare as function. Remove conditional macro definitions.
27772 (__default_rt_sa_restorer): Likewise.
27773 (__default_sa_restorer_v1): Remove declaration.
27774 (__default_sa_restorer_v2): Likewise.
27775 (__default_rt_sa_restorer_v1): Likewise.
27776 (__default_rt_sa_restorer_v2): Likewise.
27777 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27778 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27779 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27780
27781 2014-06-20 Roland McGrath <roland@hack.frob.com>
27782
27783 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27784 (libpthread-routines): Add sysdep.
27785 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27786 * sysdeps/unix/sysv/linux/sparc/Versions
27787 (libpthread: GLIBC_2.3.3): New version set.
27788 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27789 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27790 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27791 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27792 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
27793 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27794 Moved ...
27795 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27796 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27797 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27798 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27799 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27800 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27801 * sysdeps/sparc/nptl/sem_init.c: ... here.
27802 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27803 * sysdeps/sparc/nptl/sem_post.c: ... here.
27804 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27805 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27806 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27807 * sysdeps/sparc/nptl/sem_wait.c: ... here.
27808 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27809 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27810 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27811 (libpthread-routines): Add cpu_relax.
27812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27813 File removed.
27814 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27815 (librt: GLIBC_2.3.3): New version set.
27816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27817 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27818 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27819 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27822 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27824 Moved ...
27825 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27827 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27829 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27831 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27833 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27835 Moved ...
27836 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27837 Update #include.
27838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27839 Moved ...
27840 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27841 Update #include.
27842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27843 Moved ...
27844 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27845 Update #include.
27846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27847 Moved ...
27848 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27849 Update #include.
27850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27851 Moved ...
27852 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27853 Update #include.
27854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27855 Moved ...
27856 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27857 Update #include.
27858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27859 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27865 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27867 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27869 Moved ...
27870 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27872 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27874 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27875
27876 2014-06-20 Joseph Myers <joseph@codesourcery.com>
27877
27878 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27879 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27880 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27881 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27882 * nscd/nscd.c: Likewise.
27883 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27884 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27885 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27886 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27887
27888 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27889 <kernel-features.h>.
27890 (init_mq_netlink): Remove conditional have_sock_cloexec
27891 definitions. Remove code conditional on have_sock_cloexec < 0.
27892 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27893 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27894 * sysdeps/unix/sysv/linux/opensock.c: Do not include
27895 <kernel-features.h>.
27896 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27897 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27898
27899 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27902 Add tests for memset_chk and memset.
27903
27904 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27905 with AVX2_Usable.
27906
27907 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
27908
27909 [BZ #16046]
27910 * elf/tst-dl-iter-static.c: New file.
27911 * elf/Makefile (tests-static): Add tst-dl-iter-static.
27912
27913 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27914 error.
27915
27916 2014-06-20 Joseph Myers <joseph@codesourcery.com>
27917
27918 * sysdeps/unix/sysv/linux/kernel-features.h
27919 (__ASSUME_F_GETOWN_EX): Remove macro.
27920 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27921 <kernel-features.h>.
27922 (miss_F_GETOWN_EX): Remove variable or macro.
27923 (do_fcntl): Do not check miss_F_GETOWN_EX.
27924 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27925
27926 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27927 Remove macro.
27928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27929 [!__ASSUME_AT_RANDOM]: Remove conditional code.
27930 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27931
27932 * sysdeps/unix/sysv/linux/kernel-features.h
27933 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27934 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27935 [ADJ_OFFSET_SS_READ]: Make code unconditional.
27936 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27937
27938 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
27939
27940 [BZ #17075]
27941 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27942 Fix calculation of the symbol's value.
27943 * sysdeps/arm/tst-armtlsdescloc.c: New file.
27944 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27945 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27946 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27947 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27948 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27949 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27950 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27951 (modules-names): Add `tst-armtlsdescmod',
27952 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27953 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27954 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27955 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27956 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27957 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27958 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27959 ($(objpfx)tst-armtlsdescloc): New dependency.
27960 ($(objpfx)tst-armtlsdescextnow): Likewise.
27961 ($(objpfx)tst-armtlsdescextlazy): Likewise.
27962 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27963 TLS scheme support.
27964 * sysdeps/arm/configure: Regenerate.
27965
27966 2014-06-20 Joseph Myers <joseph@codesourcery.com>
27967
27968 * include/fcntl.h (__atfct_seterrno): Remove prototype.
27969 (__atfct_seterrno_2): Likewise.
27970 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27971 <kernel-features.h>.
27972 (__ASSUME_ATFCTS): Do not undefine and redefine.
27973 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27974 (__have_atfcts): Remove conditional definition.
27975 (__fxstatat([__NR_fstatat64]: Make code unconditional.
27976 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27977 unreachable if [__ASSUME_ATFCTS].
27978 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27979 not undefine and redefine.
27980 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27981 <kernel-features.h>.
27982 (faccessat) [__NR_faccessat]: Make code unconditional.
27983 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27984 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27985 <kernel-features.h>.
27986 (fchmodat) [__NR_fchmodat]: Make code unconditional.
27987 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27988 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27989 <kernel-features.h>.
27990 (fchownat) [__NR_fchownat]: Make code unconditional.
27991 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27992 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27993 <kernel-features.h>.
27994 (futimesat) [__NR_futimesat]: Make code unconditional.
27995 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27996 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27997 <kernel-features.h>.
27998 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27999 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28000 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28001 <kernel-features.h>.
28002 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28003 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28004 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28005 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28006 <kernel-features.h>.
28007 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28008 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28009 * sysdeps/unix/sysv/linux/linkat.c: Do not include
28010 <kernel-features.h>.
28011 (linkat) [__NR_linkat]: Make code unconditional.
28012 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28013 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28014 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28015 <kernel-features.h>.
28016 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28017 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28018 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28019 <kernel-features.h>.
28020 (mkdirat) [__NR_mkdirat]: Make code unconditional.
28021 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28022 * sysdeps/unix/sysv/linux/openat.c: Do not include
28023 <kernel-features.h>.
28024 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28025 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28026 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28027 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28029 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28030 <kernel-features.h>.
28031 (readlinkat) [__NR_readlinkat]: Make code unconditional.
28032 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
28033 result of INLINE_SYSCALL directly, not via int variable.
28034 * sysdeps/unix/sysv/linux/renameat.c: Do not include
28035 <kernel-features.h>.
28036 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28037 (renameat) [__NR_renameat]: Make code unconditional.
28038 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28039 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28040 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28041 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28042 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28043 (__ASSUME_ATFCTS): Do not undefine and redefine.
28044 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28045 <kernel-features.h>.
28046 (symlinkat) [__NR_symlinkat]: Make code unconditional.
28047 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28048 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28049 <kernel-features.h>.
28050 (unlinkat) [__NR_unlinkat]: Make code unconditional.
28051 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28052 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28053 (__ASSUME_ATFCTS): Do not undefine and redefine.
28054 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28055 <kernel-features.h>.
28056 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28057 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28058 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28059 <kernel-features.h>.
28060 (__xmknodat) [__NR_mknodat]: Make code unconditional.
28061 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28062
28063 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28066
28067 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
28068
28069 [BZ #17069]
28070 * posix/regcomp.c (parse_reg_exp): Deallocate partially
28071 constructed tree before returning error.
28072 * posix/bug-regexp36.c: Expand test case.
28073
28074 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28075
28076 [BZ #6803]
28077 * math/libm-test.inc (scalbln_test_date):
28078 Add errno expectations.
28079 * math/w_scalblnf.c: New File.
28080 Add wrapper which checks for setting errno to ERANGE.
28081 Add weak_alias for corresponding scalbln function.
28082 * math/w_scalbln.c: Likewise.
28083 * math/w_scalblnl.c: Likewise.
28084 * math/Makefile (libm-calls): Add w_scalbln.
28085 * sysdeps/ieee754/flt-32/s_scalblnf.c:
28086 Remove weak_alias for corresponding scalbln function.
28087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28089 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28091 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28092 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28093 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28094 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28095 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28096 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28097 Remove long_double_symbol for scalblnl function in libm, libc.
28098 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28099 Add wrapper which checks for setting errno to ERANGE.
28100 Add long_double_symbol for scalblnl function in libm, libc.
28101 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28102 Remove long_double_symbol for scalblnl in libm.
28103 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28104 Add wrapper which checks for setting errno to ERANGE.
28105 Add long_double_symbol for scalblnl function in libm.
28106 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28107 Do not use wrapper because of own implementation.
28108
28109 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
28110
28111 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28112 3 bytes for __pad1 for x32.
28113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28114
28115 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
28116 H.J. Lu <hongjiu.lu@intel.com>
28117
28118 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28119 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28120 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28121 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28122 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28123
28124 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
28125
28126 [BZ #17069]
28127 * posix/regcomp.c (parse_expression): Deallocate partially
28128 constructed tree before returning error.
28129 * posix/Makefile.c (tests): Add bug-regex36.
28130 (generated): Add bug-regex36.mtrace.
28131 (tests-special): Add $(objpfx)bug-regex36-mem.out
28132 (bug-regex36-ENV): New variable.
28133 ($(objpfx)bug-regex36-mem.out): New rule.
28134 * posix/bug-regex36.c: New file.
28135
28136 2014-06-19 Will Newton <will.newton@linaro.org>
28137
28138 * malloc/malloc.c (systrim): If extra is zero then return
28139 early.
28140
28141 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28142
28143 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28144
28145 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
28146
28147 * sysdeps/aarch64/strchr.S: New file.
28148
28149 2014-06-18 Joseph Myers <joseph@codesourcery.com>
28150
28151 [BZ #17022]
28152 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28153 from arguments -2 or below.
28154 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28155 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28156
28157 2014-06-18 Andreas Schwab <schwab@suse.de>
28158
28159 [BZ #17062]
28160 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28161 of a bracket expr not to run off the end of the string.
28162 * posix/Makefile (tests): Add tst-fnmatch3.
28163 * posix/tst-fnmatch3.c: New file.
28164
28165 2014-06-18 Joseph Myers <joseph@codesourcery.com>
28166
28167 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28168 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28169 [$(cross-compiling) = no]: Likewise.
28170 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28171 [$(cross-compiling) = no]: Likewise.
28172
28173 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28174
28175 [BZ #17031]
28176 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28177 double, adjusted for any remainder from the high double.
28178 * math/libm-test.inc (nearbyint): Add tests.
28179 (rint): Likewise.
28180
28181 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28182
28183 * nptl/sysdeps/powerpc/Makefile: Moved ...
28184 * sysdeps/powerpc/nptl/Makefile: ... here.
28185 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28186 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28187 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28188 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28189 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28190 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28191 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28192 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28193 * nptl/sysdeps/powerpc/tls.h: Moved ...
28194 * sysdeps/powerpc/nptl/tls.h: ... here.
28195
28196 2014-06-16 Joseph Myers <joseph@codesourcery.com>
28197
28198 [BZ #16681]
28199 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28200 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28201 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28202 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28203 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28204 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28205 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28206 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28207 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28208
28209 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
28210
28211 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28212
28213 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
28214
28215 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28216 defined operator.
28217
28218 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28219 $TIMEOUTFACTOR.
28220
28221 2014-06-16 Florian Weimer <fweimer@redhat.com>
28222
28223 [BZ #17058]
28224 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28225 non-executed part of the test.
28226
28227 2014-06-16 Andreas Schwab <schwab@suse.de>
28228
28229 * string/bits/string2.h (strdup, strndup): Update feature guard.
28230
28231 2014-06-14 David S. Miller <davem@davemloft.net>
28232
28233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28234
28235 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
28236
28237 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28238 that was previously under [RESET_PID].
28239 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28240
28241 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28242 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28243 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28244 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28245 (__libc_vfork): New strong alias.
28246 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28247
28248 2014-06-14 Andi Kleen <ak@linux.intel.com>
28249
28250 * sysdeps/generic/elide.h: New file.
28251
28252 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28253
28254 * Makefile (installed-headers): Adjust path of pthread.h header.
28255
28256 2014-06-13 Roland McGrath <roland@hack.frob.com>
28257
28258 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28259 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28260 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28261 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28262
28263 * nptl/sysdeps/s390/Makefile: Moved ...
28264 * sysdeps/s390/nptl/Makefile: ... here.
28265 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28266 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28267 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28268 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28269 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28270 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28271 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28272 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28273 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28274 * sysdeps/s390/nptl/pthreaddef.h: ... here.
28275 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28276 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28277 * nptl/sysdeps/s390/tls.h: Moved ...
28278 * sysdeps/s390/nptl/tls.h: ... here.
28279
28280 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28281 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28282
28283 2014-06-13 David S. Miller <davem@davemloft.net>
28284
28285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28288 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28292 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28293 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28294 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28295 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28296 Remove RESET_PID cpp guards.
28297 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28298 Remove RESET_PID cpp guards.
28299 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28300
28301 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
28302
28303 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28304 __sp to uintptr_t.
28305
28306 2014-06-13 Andi Kleen <ak@linux.intel.com>
28307
28308 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28310 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28313 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28314 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28315 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28319 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28325 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28327 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28328
28329 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28330 (pthread_rwlock_rdlock): Add elision.
28331 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28332 (pthread_rwlock_wrlock): Add elision.
28333 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28334 (pthread_rwlock_trywrlock): Add elision.
28335 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28336 (pthread_rwlock_tryrdlock): Add elision.
28337 * nptl/pthread_rwlock_unlock.c: Include elide.h.
28338 (pthread_rwlock_tryrdlock): Add elision unlock.
28339 * nptl/sysdeps/pthread/pthread.h:
28340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28341 (PTHREAD_RWLOCK_INITIALIZER,
28342 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28343 Handle new elision field.
28344 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28345 * sysdeps/arm/nptl/bits/pthreadtypes.h
28346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28347 * sysdeps/sh/nptl/bits/pthreadtypes.h
28348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28349 * sysdeps/tile/nptl/bits/pthreadtypes.h
28350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28351 * sysdeps/a/nptl/bits/pthreadtypes.h
28352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28353 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28355 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28356 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28357 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28359 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28361 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28363 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28365 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28366 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28367 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28369 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28370 (elision_init): Set try_xbegin to zero when no RTM.
28371 * sysdeps/x86/nptl/bits/pthreadtypes.h
28372 (pthread_rwlock_t): Change __pad1 to __rwelision.
28373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28374
28375 2014-06-13 Andi Kleen <ak@linux.intel.com>
28376
28377 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28378 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28379 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28380 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28381
28382 2014-06-13 Meador Inge <meadori@codesourcery.com>
28383
28384 [BZ #16996]
28385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28386 that the cached result has been set before returning it.
28387
28388 2014-06-12 Roland McGrath <roland@hack.frob.com>
28389
28390 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28391 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28392 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28393 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28394 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28395 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28396
28397 * nptl/sysdeps/sparc/Makefile: Moved ...
28398 * sysdeps/sparc/nptl/Makefile: ... here.
28399 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28400 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28401 * nptl/sysdeps/sparc/tls.h: Moved ...
28402 * sysdeps/sparc/nptl/tls.h: ... here.
28403 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28404 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28405 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28406 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28407 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28408 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28409 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28410 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28411 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28412 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28413 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28414 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28415 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28416 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28417 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28418 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28419 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28421 Update #include.
28422 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28423 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28424 Update #include.
28425 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28426 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28427 Update #include.
28428 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28429 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28430 Update #include.
28431
28432 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28433
28434 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28435 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28436
28437 * sysdeps/pthread/posix-timer.h: Include <list.h>.
28438 (struct list_links): Type removed.
28439 (struct thread_node, struct timer_node): Replace struct list_links
28440 with struct list_head.
28441 (list_unlink_ip): Likewise.
28442 * sysdeps/pthread/timer_routines.c
28443 (timer_free_list, thread_free_list, thread_active_list): Likewise.
28444 (list_append, list_insbefore): Likewise.
28445 (list_init): Function removed.
28446 (thread_init, init_module): Use INIT_LIST_HEAD instead.
28447 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28448 * sysdeps/pthread/Makefile: ... here, new file.
28449
28450 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28451 * sysdeps/nptl/Implies: ... here.
28452 * sysdeps/unix/sysv/linux/Implies: Add nptl.
28453 * nptl/sysdeps/pthread/list.h: Moved ...
28454 * include/list.h: ... here.
28455 * nptl/sysdeps/pthread/createthread.c: Moved ...
28456 * nptl/createthread.c: ... here.
28457 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28458 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28459 * nptl/pt-longjmp.c: ... here.
28460 * nptl/sysdeps/pthread/Makefile: Moved ...
28461 * sysdeps/nptl/Makefile: ... here.
28462 * nptl/sysdeps/pthread/Subdirs: Moved ...
28463 * sysdeps/nptl/Subdirs: ... here.
28464 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28465 * sysdeps/nptl/aio_misc.h: ... here.
28466 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28467 * sysdeps/nptl/bits/libc-lock.h: ... here.
28468 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28469 * sysdeps/nptl/bits/libc-lockP.h: ... here.
28470 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28471 * sysdeps/nptl/bits/stdio-lock.h: ... here.
28472 * nptl/sysdeps/pthread/configure: Moved ...
28473 * sysdeps/nptl/configure: ... here.
28474 * nptl/sysdeps/pthread/configure.ac: Moved ...
28475 * sysdeps/nptl/configure.ac: ... here.
28476 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28477 * sysdeps/nptl/gai_misc.h: ... here.
28478 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28479 * sysdeps/nptl/librt-cancellation.c: ... here.
28480 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28481 * sysdeps/nptl/malloc-machine.h: ... here.
28482 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28483 * sysdeps/nptl/pthread-functions.h: ... here.
28484 * nptl/sysdeps/pthread/pthread.h: Moved ...
28485 * sysdeps/nptl/pthread.h: ... here.
28486 * nptl/sysdeps/pthread/setxid.h: Moved ...
28487 * sysdeps/nptl/setxid.h: ... here.
28488 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28489 * sysdeps/nptl/sigfillset.c: ... here.
28490 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28491 * sysdeps/nptl/tcb-offsets.h: ... here.
28492 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28493 * sysdeps/nptl/tst-mqueue8x.c: ... here.
28494 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28495 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28496 * nptl/sysdeps/pthread/allocalim.h: Moved ...
28497 * sysdeps/pthread/allocalim.h: ... here.
28498 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28499 * sysdeps/pthread/bits/sigthread.h: ... here.
28500 * nptl/sysdeps/pthread/flockfile.c: Moved ...
28501 * sysdeps/pthread/flockfile.c: ... here.
28502 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28503 * sysdeps/pthread/ftrylockfile.c: ... here.
28504 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28505 * sysdeps/pthread/funlockfile.c: ... here.
28506 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28507 * sysdeps/pthread/posix-timer.h: ... here.
28508 * nptl/sysdeps/pthread/timer_create.c: Moved ...
28509 * sysdeps/pthread/timer_create.c: ... here.
28510 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28511 * sysdeps/pthread/timer_delete.c: ... here.
28512 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28513 * sysdeps/pthread/timer_getoverr.c: ... here.
28514 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28515 * sysdeps/pthread/timer_gettime.c: ... here.
28516 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28517 * sysdeps/pthread/timer_routines.c: ... here.
28518 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28519 * sysdeps/pthread/timer_settime.c: ... here.
28520 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28521 * sysdeps/pthread/tst-timer.c: ... here.
28522 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28523 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28524
28525 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28526 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28527
28528 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28529 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28530 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28531 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28532 Update #include target.
28533 * nptl/sysdeps/i386/i686/Makefile: Moved ...
28534 * sysdeps/i386/i686/nptl/Makefile: ... here.
28535 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28536 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28537 Update #include target.
28538 * nptl/sysdeps/i386/i686/tls.h: Moved ...
28539 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
28540 * nptl/sysdeps/i386/Makefile: Moved ...
28541 * sysdeps/i386/nptl/Makefile: ... here.
28542 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28543 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28544 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28545 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28546 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28547 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28548 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28549 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28550 * sysdeps/i386/nptl/pthreaddef.h: ... here.
28551 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28552 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28553 * nptl/sysdeps/i386/tls.h: Moved ...
28554 * sysdeps/i386/nptl/tls.h: ... here.
28555
28556 * sysdeps/sh/Makefile [$(subdir) = csu]
28557 (gen-as-const-headers): Add tcb-offsets.sym.
28558 * nptl/sysdeps/sh/Makefile: File removed.
28559 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28560 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28561 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28562 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28563 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28564 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28565 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28566 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28567 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28568 * sysdeps/sh/nptl/pthreaddef.h: ... here.
28569 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28570 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28571 * nptl/sysdeps/sh/tls.h: Moved ...
28572 * sysdeps/sh/nptl/tls.h: ... here.
28573 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28574 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28575 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28576 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28577 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28578 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28579 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28580 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28581 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28582 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28584 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28586 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28588 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28589 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28590 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28592 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28593 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28594 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28595 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28596 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28597 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28598 Moved ...
28599 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28600 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28601 Moved ...
28602 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28603 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28604 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28606 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28607 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28608 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28609 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28610 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28611 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28612 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28613 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28614 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28615 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28616 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28617 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28618 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28619 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28620 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28621
28622 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28623
28624 * posix/spawn_faction_addopen.c: Include string.h.
28625
28626 2014-06-11 Roland McGrath <roland@hack.frob.com>
28627
28628 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28629 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28630 * nptl/sysdeps/x86_64/Makefile: Moved ...
28631 * sysdeps/x86_64/nptl/Makefile: ... here.
28632 * nptl/sysdeps/x86_64/configure: Moved ...
28633 * sysdeps/x86_64/nptl/configure: ... here.
28634 * nptl/sysdeps/x86_64/configure.ac: Moved ...
28635 * sysdeps/x86_64/nptl/configure.ac: ... here.
28636 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28637 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28638 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28639 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28640 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28641 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28642 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28643 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28644 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28645 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28646 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28647 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28648 * nptl/sysdeps/x86_64/tls.h: Moved ...
28649 * sysdeps/x86_64/nptl/tls.h: ... here.
28650 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28651 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28652 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28653 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28654
28655 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28656
28657 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28658
28659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28660
28661 2014-06-11 Joseph Myers <joseph@codesourcery.com>
28662
28663 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28664 type.
28665 [POSIX] (off_t): Likewise.
28666 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28667 [POSIX] (S_ISBLK): Require macro.
28668 [POSIX] (S_ISCHR): Likewise.
28669 [POSIX] (S_ISDIR): Likewise.
28670 [POSIX] (S_ISFIFO): Likewise.
28671 [POSIX] (S_ISREG): Likewise.
28672 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28673 optional-macro.
28674 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28675 type.
28676 [POSIX] (time_t): Likewise.
28677 [POSIX] (timer_t): Likewise.
28678
28679 2014-06-11 Florian Weimer <fweimer@redhat.com>
28680
28681 [BZ #17048]
28682 * posix/spawn_int.h (struct __spawn_action): Make the path string
28683 non-const to support deallocation.
28684 * posix/spawn_faction_addopen.c
28685 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28686 * posix/spawn_faction_destroy.c
28687 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
28688 path in all spawn_do_open actions.
28689 * posix/tst-spawn.c (do_test): Exercise the copy operation in
28690 posix_spawn_file_actions_addopen.
28691
28692 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
28693
28694 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28695 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28696 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28697 conditional code always true.
28698 (__libc_vfork): New alias.
28699
28700 2014-06-11 Roland McGrath <roland@hack.frob.com>
28701
28702 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28703 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28704
28705 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28706
28707 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28708 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28709
28710 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28711 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28712
28713 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28714 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28715
28716 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
28717
28718 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28719 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28720 multiarch strcmp for PPC64.
28721 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28722 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28724 multiarch optimizations.
28725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28726 (__libc_ifunc_impl_list): Likewise.
28727
28728 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28729
28730 * benchtests/scripts/validate_benchout.py: New script.
28731 * benchtests/Makefile (bench-func): Call it.
28732 * benchtests/scripts/benchout.schema.json: New file.
28733
28734 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
28735
28736 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28737 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28738 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28739 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28740 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28741 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28742 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28743 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28744 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28745 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28746 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28747 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28748 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28749 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28750 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28751 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28753 Moved ...
28754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28755 ... here.
28756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28757 Moved ...
28758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28760 Moved ...
28761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28762 ... here.
28763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28764 Moved ...
28765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28766 ... here.
28767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28768 Moved ...
28769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28771 Moved ...
28772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28773 ... here.
28774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28775 Moved ...
28776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28777 ... here.
28778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28779 Moved ...
28780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28782 Moved ...
28783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28784 ... here.
28785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28786 Moved ...
28787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28788 ... here.
28789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28790 Moved ...
28791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28792 ... here.
28793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28794 Moved ...
28795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28797 Moved ...
28798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28799 ... here.
28800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28801 Moved ...
28802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28803 ... here.
28804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28805 Moved ...
28806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28807 ... here.
28808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28809 Moved ...
28810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28812 Moved ...
28813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28814 ... here.
28815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28816 Moved ...
28817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28818 ... here.
28819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28820 Moved ...
28821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28823 Moved ...
28824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28825 ... here.
28826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28827 Moved ...
28828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28830 Moved ...
28831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28833 Moved ...
28834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28835 ... here.
28836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28837 Moved ...
28838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28839 ... here.
28840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28841 Moved ...
28842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28843 ... here.
28844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28845 Moved ...
28846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28848 Moved ...
28849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28850 ... here.
28851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28852 Moved ...
28853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28854 ... here.
28855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28856 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28858 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28860 Moved ...
28861 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28862 ... here.
28863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28864 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28866 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28868 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28870 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28871 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28874 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28875 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28876 Moved ...
28877 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28879 Moved ...
28880 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28882 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28883 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28884 Moved ...
28885 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28887 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28888 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28889 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28890 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28891 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28892
28893 2014-06-10 Wilco <wdijkstr@arm.com>
28894
28895 * math/test-fenv-return.c: New file.
28896 * math/Makefile: Add new test test-fenv-return.
28897
28898 2014-06-10 Joseph Myers <joseph@codesourcery.com>
28899
28900 [BZ #17042]
28901 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28902 when x - 1 is zero.
28903 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28904 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28905 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28906 0.0L for an argument of 1.0L.
28907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28908 Likewise.
28909 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28910 value when x - 1 is zero.
28911 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28912 * sysdeps/i386/fpu/libm-test-ulps: Update.
28913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28914
28915 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
28916
28917 [BZ #15119]
28918 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28919
28920 2014-06-09 Roland McGrath <roland@hack.frob.com>
28921
28922 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28923 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28924
28925 2014-06-09 Roland McGrath <roland@hack.frob.com>
28926
28927 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28928 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28929
28930 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28931 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28932
28933 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28934 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28935
28936 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28937 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28938
28939 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28940 if not already defined.
28941 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28942 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28943 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28944 (TLS_INIT_TP): Use it.
28945 (TLS_DEFINE_INIT_TP): New macro.
28946 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28947
28948 2014-06-09 Joseph Myers <joseph@codesourcery.com>
28949
28950 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28951 constant.
28952 [POSIX] (IXANY): Likewise.
28953 [POSIX] (OLCUC): Likewise.
28954 [POSIX || POSIX2008] (CBAUD): Do not allow.
28955 [POSIX || POSIX2008] (DEFECHO): Likewise.
28956 [POSIX || POSIX2008] (ECHOCTL): Likewise.
28957 [POSIX || POSIX2008] (ECHOKE): Likewise.
28958 [POSIX || POSIX2008] (ECHOPRT): Likewise.
28959 [POSIX || POSIX2008] (EXTA): Likewise.
28960 [POSIX || POSIX2008] (EXTB): Likewise.
28961 [POSIX || POSIX2008] (FLUSHO): Likewise.
28962 [POSIX || POSIX2008] (LOBLK): Likewise.
28963 [POSIX || POSIX2008] (PENDIN): Likewise.
28964 [POSIX || POSIX2008] (SWTCH): Likewise.
28965 [POSIX || POSIX2008] (VDISCARD): Likewise.
28966 [POSIX || POSIX2008] (VDSUSP): Likewise.
28967 [POSIX || POSIX2008] (VLNEXT): Likewise.
28968 [POSIX || POSIX2008] (VREPRINT): Likewise.
28969 [POSIX || POSIX2008] (VSTATUS): Likewise.
28970 [POSIX || POSIX2008] (VWERASE): Likewise.
28971 (B*): Change to B[0123456789]*.
28972 * conform/data/time.h-data [POSIX || UNIX98]
28973 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28974 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28975 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28976 [POSIX] (tm_*): Do not allow.
28977
28978 2014-06-07 Joseph Myers <joseph@codesourcery.com>
28979
28980 * Makefile (install): Don't set LANGUAGE.
28981 * Makefile.in (install): Likewise.
28982 * assert/Makefile (test-assert-ENV): Remove variable.
28983 (test-assert-perr-ENV): Likewise.
28984 * elf/Makefile (neededtest4-ENV): Likewise.
28985 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28986 [$(cross-compiling) = no]: Don't set LANGUAGE.
28987 * io/ftwtest-sh (LANG): Remove variable.
28988 * libio/Makefile (tst-widetext-ENV): Likewise.
28989 * manual/install.texi (Running make install): Don't refer to
28990 environment settings for make install.
28991 * INSTALL: Regenerated.
28992 * nptl/tst-tls6.sh: Don't set LANG.
28993 * posix/globtest.sh (LANG): Remove variable.
28994 * string/Makefile (tester-ENV): Likewise.
28995 (inl-tester-ENV): Likewise.
28996 (noinl-tester-ENV): Likewise.
28997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28998 [$(cross-compiling) = no]: Don't set LANGUAGE.
28999 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29000 without explicit environment settings.
29001
29002 2014-06-06 Roland McGrath <roland@hack.frob.com>
29003
29004 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29005 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29006 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29007 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29008
29009 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
29010
29011 * crypt/crypt-private.h [DOS]: Add some includes taken from the
29012 other files in the crypt directory.
29013 * crypt/crypt.c: Remove duplicate includes.
29014 * crypt/crypt-entry.c: Likewise.
29015 * crypt/crypt_util.c: Likewise.
29016
29017 2014-06-06 Joseph Myers <joseph@codesourcery.com>
29018
29019 * Makeconfig (run-program-env): New variable.
29020 (run-program-prefix-before-env): Likewise.
29021 (run-program-prefix-after-env): Likewise.
29022 (run-program-prefix): Define in terms of new variables.
29023 (built-program-cmd-before-env): New variable.
29024 (built-program-cmd-after-env): Likewise.
29025 (built-program-cmd): Define in terms of new variables.
29026 (test-program-prefix-before-env): New variable.
29027 (test-program-prefix-after-env): Likewise.
29028 (test-program-prefix): Define in terms of new variables.
29029 (test-program-cmd-before-env): New variable.
29030 (test-program-cmd-after-env): Likewise.
29031 (test-program-cmd): Define in terms of new variables.
29032 * Rules (make-test-out): Use $(run-program-env).
29033 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29034 (help): Do not mention environment variables. Mention
29035 --timeoutfactor option.
29036 (timeoutfactor): New variable.
29037 (blacklist_exports): Remove function.
29038 (exports): Remove variable.
29039 (command): Do not include ${exports}.
29040 * manual/install.texi (Configuring and compiling): Do not mention
29041 test wrappers preserving environment variables. Mention that last
29042 assignment to a variable must take precedence.
29043 * INSTALL: Regenerated.
29044 * benchtests/Makefile (run-bench): Use $(run-program-env).
29045 * catgets/Makefile ($(objpfx)test1.cat): Use
29046 $(built-program-cmd-before-env), $(run-program-env) and
29047 $(built-program-cmd-after-env).
29048 ($(objpfx)test2.cat): Do not specify environment variables
29049 explicitly.
29050 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29051 $(run-program-env) and $(built-program-cmd-after-env).
29052 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29053 $(run-program-env) and $(test-program-cmd-after-env).
29054 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29055 explicitly.
29056 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29057 run_program_env and test_program_cmd_after_env arguments.
29058 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29059 * elf/tst-pathopt.sh: Use run_program_env argument.
29060 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29061 $(test-wrapper-env) and $(run-program-env).
29062 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29063 run_program_env arguments.
29064 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29065 * intl/Makefile ($(objpfx)tst-gettext.out): Use
29066 $(test-program-prefix-before-env), $(run-program-env) and
29067 $(test-program-prefix-after-env).
29068 ($(objpfx)tst-gettext2.out): Likewise.
29069 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29070 run_program_env and test_program_prefix_after_env arguments.
29071 * intl/tst-gettext2.sh: Likewise.
29072 * intl/tst-gettext4.sh: Do not set environment variables
29073 explicitly.
29074 * intl/tst-gettext6.sh: Likewise.
29075 * intl/tst-translit.sh: Likewise.
29076 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29077 $(test-program-prefix-before-env), $(run-program-env) and
29078 $(test-program-prefix-after-env).
29079 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29080 run_program_env and test_program_prefix_after_env arguments.
29081 * math/Makefile (run-regen-ulps): Use $(run-program-env).
29082 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29083 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
29084 explicitly with each use of ${test_wrapper_env}.
29085 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29086 $(test-program-prefix-before-env), $(run-program-env) and
29087 $(test-program-prefix-after-env).
29088 * posix/tst-getconf.sh: Do not set environment variables
29089 explicitly.
29090 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29091 run_program_env and test_program_prefix_after_env arguments.
29092 * stdio-common/tst-printf.sh: Do not set environment variables
29093 explicitly.
29094 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29095 $(test-program-prefix-before-env), $(run-program-env) and
29096 $(test-program-prefix-after-env).
29097 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29098 run_program_env and test_program_prefix_after_env arguments.
29099 Split $test calls into $test_pre and $test.
29100 * timezone/Makefile (build-testdata): Use
29101 $(built-program-cmd-before-env), $(run-program-env) and
29102 $(built-program-cmd-after-env).
29103
29104 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29105
29106 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29107 strlen for non SHARED builds.
29108
29109 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29110
29111 * nptl/allocatestack.c (check_list): Inlined function...
29112 (__reclaim_stacks): ... here.
29113
29114 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
29115
29116 [BZ #15698]
29117 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29118 memory overrun.
29119
29120 2014-06-05 Joseph Myers <joseph@codesourcery.com>
29121
29122 * Rules (make-test-out): Include
29123 LOCPATH=$(common-objpfx)localedata in default environment.
29124 * debug/Makefile (tst-chk1-ENV): Remove variable.
29125 (tst-chk2-ENV): Likewise.
29126 (tst-chk3-ENV): Likewise.
29127 (tst-chk4-ENV): Likewise.
29128 (tst-chk5-ENV): Likewise.
29129 (tst-chk6-ENV): Likewise.
29130 (tst-lfschk1-ENV): Likewise.
29131 (tst-lfschk2-ENV): Likewise.
29132 (tst-lfschk3-ENV): Likewise.
29133 (tst-lfschk4-ENV): Likewise.
29134 (tst-lfschk5-ENV): Likewise.
29135 (tst-lfschk6-ENV): Likewise.
29136 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29137 (tst-iconv7-ENV): Likewise.
29138 * intl/Makefile (LOCPATH-ENV): Likewise.
29139 (tst-codeset-ENV): Likewise.
29140 (tst-gettext3-ENV): Likewise.
29141 (tst-gettext5-ENV): Likewise.
29142 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29143 (tst-fopenloc-ENV): Likewise.
29144 (tst-fgetws-ENV): Remove variable.
29145 (tst-ungetwc1-ENV): Likewise.
29146 (tst-ungetwc2-ENV): Likewise.
29147 (bug-ungetwc2-ENV): Likewise.
29148 (tst-swscanf-ENV): Likewise.
29149 (bug-ftell-ENV): Likewise.
29150 (tst-fgetwc-ENV): Likewise.
29151 (tst-fseek-ENV): Likewise.
29152 (tst-ftell-partial-wide-ENV): Likewise.
29153 (tst-ftell-active-handler-ENV): Likewise.
29154 (tst-ftell-append-ENV): Likewise.
29155 * posix/Makefile (tst-fnmatch-ENV): Likewise.
29156 (tst-regexloc-ENV): Likewise.
29157 (bug-regex1-ENV): Likewise.
29158 (tst-regex-ENV): Likewise.
29159 (tst-regex2-ENV): Likewise.
29160 (bug-regex5-ENV): Likewise.
29161 (bug-regex6-ENV): Likewise.
29162 (bug-regex17-ENV): Likewise.
29163 (bug-regex18-ENV): Likewise.
29164 (bug-regex19-ENV): Likewise.
29165 (bug-regex20-ENV): Likewise.
29166 (bug-regex22-ENV): Likewise.
29167 (bug-regex23-ENV): Likewise.
29168 (bug-regex25-ENV): Likewise.
29169 (bug-regex26-ENV): Likewise.
29170 (bug-regex30-ENV): Likewise.
29171 (bug-regex32-ENV): Likewise.
29172 (bug-regex33-ENV): Likewise.
29173 (bug-regex34-ENV): Likewise.
29174 (bug-regex35-ENV): Likewise.
29175 (tst-rxspencer-ENV): Likewise.
29176 (tst-rxspencer-no-utf8-ENV): Likewise.
29177 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29178 (tst-sscanf-ENV): Likewise.
29179 (tst-swprintf-ENV): Likewise.
29180 (tst-swscanf-ENV): Likewise.
29181 (test-vfprintf-ENV): Likewise.
29182 (scanf13-ENV): Likewise.
29183 (bug14-ENV): Likewise.
29184 (tst-grouping-ENV): Likewise.
29185 * stdlib/Makefile (tst-strtod-ENV): Likewise.
29186 (tst-strtod3-ENV): Likewise.
29187 (tst-strtod4-ENV): Likewise.
29188 (tst-strtod5-ENV): Likewise.
29189 (testmb2-ENV): Likewise./
29190 * string/Makefile (tst-strxfrm-ENV): Likewise.
29191 (tst-strxfrm2-ENV): Likewise.
29192 (bug-strcoll1-ENV): Likewise.
29193 (test-strcasecmp-ENV): Likewise.
29194 (test-strncasecmp-ENV): Likewise.
29195 * time/Makefile (tst-strptime-ENV): Likewise.
29196 (tst-ftime_l-ENV): Likewise.
29197 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29198 (tst-mbrtowc-ENV): Likewise.
29199 (tst-wcrtomb-ENV): Likewise.
29200 (tst-mbrtowc2-ENV): Likewise.
29201 (tst-c16c32-1-ENV): Likewise.
29202 (tst-mbsnrtowcs-ENV): Likewise.
29203
29204 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
29205
29206 * manual/resource.texi (How to get information about the memory
29207 subsystem?): Fix typo.
29208 Reported by Peon de la Parra Ivan <peon@keba.com>
29209
29210 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
29211
29212 [BZ #16882]
29213 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29214 (pthread_spin_lock): Branch out of spin loop to proper location.
29215 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29216 (pthread_spin_lock): Likewise.
29217
29218 * nptl/tst-spin4.c: New test.
29219 * nptl/Makefile (tests): Add tst-spin4.
29220
29221 2014-06-03 Andreas Schwab <schwab@suse.de>
29222
29223 [BZ #15946]
29224 * resolv/res_send.c (send_dg): Reload file descriptor after
29225 calling reopen.
29226
29227 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
29228
29229 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29230
29231 2014-06-03 Richard Henderson <rth@redhat.com>
29232
29233 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29234 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29235 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29236 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
29237 in the SAVE_PID block.
29238 (__libc_vfork): New alias.
29239 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29240
29241 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29242 child in registers, not on the stack. Remove RESET_PID conditionals.
29243 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29244
29245 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
29246
29247 * sysdeps/aarch64/libm-test-ulps: Regenerate.
29248
29249 2014-06-03 Wilco <wdijkstr@arm.com>
29250
29251 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29252 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29253 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29254 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29255 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29256 Likewise.
29257
29258 2014-06-03 Wilco <wdijkstr@arm.com>
29259
29260 * sysdeps/aarch64/fpu/math_private.h
29261 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29262 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29263 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29264 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29265 Fix declarations.
29266
29267 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29268
29269 * crypt/crypt-private.h: Include ufc-crypt.h.
29270 (__b64_from_24bit): Declare extern.
29271 * crypt/crypt_util.c(__b64_from_24bit): New function.
29272 (b64t): New static const variable.
29273 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29274 (b64t): Remove variable.
29275 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29276 * crypt/sha256-crypt.c: Include crypt-private.h.
29277 (b64t): Remove variable.
29278 (__sha256_crypt_r): Remove b64_from_24bit and replace
29279 with __b64_from_24bit.
29280 * crypt/sha512-crypt.c: Likewise.
29281
29282 2014-06-02 Roland McGrath <roland@hack.frob.com>
29283
29284 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29285 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29286 Label the code __libc_vfork rather than __vfork.
29287 [!NOT_IN_libc] (vfork): Define as weak alias.
29288 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29289 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29290 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29291
29292 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29293
29294 * malloc/malloc.c (malloc_info): Fix format specifier for
29295 n_mmaps.
29296
29297 2014-06-02 Wilco <wdijkstr@arm.com>
29298
29299 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29300 FPCR write.
29301
29302 2014-06-02 Wilco <wdijkstr@arm.com>
29303
29304 [BZ #17009]
29305 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29306 Rewrite to reduce FPCR/FPSR accesses.
29307
29308 2014-06-01 David S. Miller <davem@davemloft.net>
29309
29310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29311
29312 2014-05-31 David S. Miller <davem@davemloft.net>
29313
29314 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29315 to occur in round to nearest mode when |x| >= 2.0
29316
29317 2014-05-30 Richard Henderson <rth@twiddle.net>
29318
29319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29320 (PSEUDO_RET_NOERRNO): Remove.
29321 (ret): Don't redefine.
29322 (ret_NOERRNO): Define in terms of ret.
29323 (ret_ERRVAL): Likewise.
29324
29325 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29326 use of PSEUDO_RET; perform the error check directly.
29327
29328 2014-05-30 Marko Myllynen <myllynen@redhat.com>
29329
29330 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29331 with __int128_t.
29332
29333 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29334
29335 * malloc/malloc (malloc_info): Fix formatting.
29336
29337 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29338 Roland McGrath <roland@hack.frob.com>
29339
29340 * malloc/malloc (malloc_info): Also print mmapped statistics.
29341
29342 2014-05-30 Roland McGrath <roland@hack.frob.com>
29343
29344 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29345 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29346
29347 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
29348
29349 * malloc/malloc.c (malloc_info): Inline mi_arena.
29350
29351 2014-05-29 Richard Henderson <rth@twiddle.net>
29352
29353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29354 Remove comma before expanding ASM_ARGS_##nr.
29355 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29356 Make _x0 a strict output; make _x8 a strict input; adjust expansion
29357 of ASM_ARGS_##nr.
29358 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29359 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29360 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29361 (ASM_ARGS_1): Add leading comma.
29362
29363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29364 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29365 to __errno_location.
29366 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29367 Remove the expected plt for __errno_location.
29368
29369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29370 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29371 call to __read_tp.
29372
29373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29374 Always allocate 64 bytes of stack frame. Use ldp/stp to create
29375 it and break it down.
29376 (DOCARGS_0, DOCARGS_1): Do nothing.
29377 (DOCARGS_2): Update to store into the new stack frame.
29378 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29379 (UNDOCARGS_1): Update to restore from the new stack frame.
29380 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29381 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29382
29383 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29384 (SINGLE_THREAD_P): New parameter for result regno.
29385 (PSEUDO): Update to match; use cbz instead of beq.
29386
29387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29388 Use ENTRY to define the _nocancel entry point. Share the syscall
29389 and syscall error check paths with the cancel path.
29390 (PSEUDO_END): New.
29391
29392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29393 whitespace; tabs before and after asm mnemonics.
29394
29395 2014-05-29 Eric Wong <normalperson@yhbt.net>
29396
29397 [BZ #15132]
29398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29399 Call fstat64 or stat64 internally, depending on arguments passed.
29400 Replace stat buffer argument with file descriptor argument.
29401 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29402 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29403 Pass fd to __internal_statvfs instead of calling fstat64.
29404 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29405 Pass fd to __internal_statvfs64 instead of calling fstat64.
29406 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29407 Pass -1 to __internal_statvfs instead of calling stat64.
29408 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29409 Pass -1 to __internal_statvfs64 instead of calling stat64.
29410
29411 2014-05-28 Roland McGrath <roland@hack.frob.com>
29412
29413 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29414 that was previously under [RESET_PID].
29415 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29416
29417 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29418 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29419
29420 2014-05-27 Roland McGrath <roland@hack.frob.com>
29421
29422 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29423
29424 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29425 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29426
29427 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
29428
29429 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29430
29431 2014-05-27 Andreas Schwab <schwab@suse.de>
29432
29433 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29434 TLS_INIT_TP macro.
29435 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29436 * elf/rtld.c (init_tls, dl_main): Likewise.
29437 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29438 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29439 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29440 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29441 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29442 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29443 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29444 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29445 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29446 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29447 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29448 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29449 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29450 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29451 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29452 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29453 * sysdeps/generic/tls.h: Update description.
29454
29455 2014-05-27 Will Newton <will.newton@linaro.org>
29456
29457 [BZ #16990]
29458 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29459 and restore r2 rather than just restoring.
29460
29461 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29462
29463 [BZ #16724]
29464 * libio/tst-ftell-append.c: New test case.
29465 * libio/Makefile (tests): Add test case.
29466 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29467 append mode.
29468 * libio/wfileops.c (do_ftell_wide): Likewise.
29469
29470 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29471
29472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29473
29474 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29475 ...
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29478 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29479 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29480 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29481 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29482 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29485 Moved ...
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29488 Moved ...
29489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29490 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29491 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29492 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29493 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29494 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29495 ...
29496 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29497 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29498 Moved ...
29499 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29500 here.
29501 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29502 ...
29503 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29504 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29505 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29506
29507 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29508 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29509 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29510 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29511
29512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29513 merge into ...
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29516 ...
29517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29519 ...
29520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29522 Moved ...
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29524 here.
29525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29526 Moved ...
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29529 Moved ...
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29531
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29533 conditional [RESET_PID].
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29536 removed.
29537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29538 removed.
29539
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29541 <tcb-offsets.h>.
29542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29543 (__libc_vfork): New strong alias.
29544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29545 removed.
29546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29547 Removed.
29548
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29550 <tcb-offsets.h>.
29551 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29552 (__libc_vfork): New strong alias.
29553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29554 removed.
29555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29556 removed.
29557
29558 2014-05-26 Carlos O'Donell <carlos@redhat.com>
29559
29560 * malloc/malloc.c (mi_arena): New function.
29561 (malloc_info): Remove nested function mi_arena. Call non-nosted
29562 function mi_arena.
29563
29564 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29565
29566 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29567 by insrwi.
29568 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29569 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29570 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29571 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29572 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29573 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29574 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29575
29576 2014-05-26 Andreas Schwab <schwab@suse.de>
29577
29578 [BZ #16984]
29579 * locale/programs/repertoire.c (repertoire_read): Add slash
29580 between I18NPATH element and file name.
29581 * locale/programs/locfile.c (locfile_read): Likewise.
29582
29583 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
29584
29585 * nptl/pthread_mutexattr_settype.c
29586 (__pthread_mutexattr_settype):
29587 Disable lock elision for PTHREAD_MUTEX_NORMAL.
29588
29589 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
29590
29591 * nptl/tst-mutex5 (do_test):
29592 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29593
29594 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29595
29596 * benchtests/README: Document 'init' directive.
29597 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29598 BENCH_INIT.
29599 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29600 (parse_file): Recognize 'init' directive.
29601
29602 2014-05-26 Kyle McMartin <kyle@redhat.com>
29603
29604 [BZ #16796]
29605 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29606 alignment of struct pthread.
29607
29608 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29609
29610 [BZ #16878]
29611 * nscd/netgroupcache.c (addgetnetgrentX): Look for
29612 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29613 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29614 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29615
29616 2014-05-25 Richard Henderson <rth@twiddle.net>
29617
29618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29619 (SINGLE_THREAD_P_PIC): Remove.
29620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29621 (SINGLE_THREAD_P_PIC): Remove.
29622
29623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29624 branch to syscall error ...
29625 (PSEUDO): ... here.
29626 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29627 from __local_syscall_error to .Lsyscall_error.
29628 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29629 (SYSCALL_ERROR): Update label name.
29630
29631 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29632 Do not use DOARGS/UNDOARGS.
29633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29634 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29635 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29636 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29637 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29638
29639 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29640 block comment.
29641
29642 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29643 define if !NOT_IN_libc.
29644 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29645 define with non-default symbol versions.
29646
29647 2014-05-23 Richard Henderson <rth@twiddle.net>
29648
29649 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29650 (vfork, __vfork): Define via compat_symbol.
29651
29652 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29653 [!HAVE_IFUNC] (vfork_compat): Remove.
29654 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29655
29656 2014-05-23 Joseph Myers <joseph@codesourcery.com>
29657
29658 [BZ #16978]
29659 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29660 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29661 variable.
29662
29663 2014-05-23 Richard Henderson <rth@twiddle.net>
29664
29665 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29666 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29667 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29668 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29669
29670 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29671 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29672 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29673 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29674 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29675 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29676 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29677 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29678 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29679 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29680 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29681 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29682 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29683 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29684 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29685 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29686 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29687 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29688 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29689 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29690 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29691 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29692 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29693 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29694 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29696 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29697 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29698 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29699 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29700 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29701 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29702 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29703 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29704 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29705 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29706 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29707 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29708 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29709 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29710 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29711 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29712 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29713 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29714 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29715 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29716 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29717 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29718 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29719 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29720 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29721 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29723 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29725 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29726
29727 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29728 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29729 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
29730 before exiting on error.
29731 (__libc_vfork): New strong alias.
29732 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29733 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29734
29735 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29736 that was previously under [RESET_PID].
29737 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29738
29739 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29740
29741 2014-05-23 Joseph Myers <joseph@codesourcery.com>
29742
29743 [BZ #16977]
29744 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29745 value when x - 1 is zero.
29746 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29747 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29748 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29749 0.0L for an argument of 1.0L.
29750 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29751 Likewise.
29752 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29753 value when x - 1 is zero.
29754 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29755 * sysdeps/i386/fpu/libm-test-ulps: Update.
29756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29757
29758 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
29759
29760 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29761 alphasort and versionsort.
29762
29763 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29764
29765 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29766 macro.
29767 [copysignf]: Likewise.
29768
29769 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29770
29771 * crypt/md5-crypt.c: Fix formatting.
29772
29773 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29774
29775 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29776 (b64_from_24bit): New function.
29777
29778 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29779
29780 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29781 libc_hidden_builtin_def to ifunc.
29782 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29783 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29784
29785 2014-05-21 Roland McGrath <roland@hack.frob.com>
29786
29787 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29788 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29789
29790 2014-05-21 Joseph Myers <joseph@codesourcery.com>
29791
29792 * nscd/Depend (linuxthreads): Remove.
29793 (nptl): Add.
29794 * resolv/Depend (linuxthreads): Remove.
29795 * rt/Depend (linuxthreads): Remove.
29796
29797 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29798 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29799 $(common-objpfx)elf/.
29800 (link-libc-before-gnulib): Likewise.
29801 (elfobjdir): Remove variable.
29802 * Makefile (install): Use $(elf-objpfx) instead of
29803 $(common-objpfx)elf/.
29804 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29805 $(elfobjdir)/.
29806 (link-libc-deps): Likewise.
29807 ($(common-objpfx)libc.so): Likewise.
29808 ($(common-objpfx)linkobj/libc.so): Likewise.
29809 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29810 instead of $(common-objpfx)elf/.
29811 (symbolic-link-list): Likewise.
29812 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29813 [$(cross-compiling) = no]: Likewise.
29814 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29815 $(elfobjdir)/.
29816 (static-gnulib-arch): Likewise.
29817 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29818 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29819 $(common-objpfx)elf/.
29820
29821 2014-05-21 Richard Henderson <rth@redhat.com>
29822
29823 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29824 (SINGLE_THREAD_P): Use the correct width load. Fold
29825 into the ldr offset.
29826
29827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29828 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29829
29830 2014-05-20 Joseph Myers <joseph@codesourcery.com>
29831
29832 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29833 (libgcc_s_resume): Use __attribute_used__.
29834 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29835 Likewise.
29836
29837 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29838
29839 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29840 optimization when used with float constants.
29841
29842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29843
29844 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
29845
29846 [BZ #16915]
29847 * locale/nl_langinfo_l.c: Make direct reference to every
29848 _nl_current_CATEGORY symbol.
29849 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29850 (tests-static): Add tst-langinfo-static.
29851 (tests-special): Add tst-langinfo-static.out.
29852 ($(objpfx)tst-langinfo.out): Redirect output.
29853 ($(objpfx)tst-langinfo-static.out): New.
29854 * localedata/tst-langinfo.sh: Send output to stdout.
29855 * localedata/tst-langinfo-static.c: New file.
29856
29857 [BZ #16965]
29858 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29859 when the shift amount is modulo the limb size.
29860
29861 2014-05-20 Richard Henderson <rth@redhat.com>
29862
29863 [BZ #16967]
29864 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29865 Change type of sa_flags from unsigned int to int.
29866
29867 [BZ #16966]
29868 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29869
29870 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29871
29872 2014-05-20 Will Newton <will.newton@linaro.org>
29873
29874 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29875 Test the return value of the system call in the nocancel case.
29876
29877 2014-05-20 Will Newton <will.newton@linaro.org>
29878 Yvan Roux <yvan.roux@linaro.org>
29879
29880 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29881 #include of asm/ptrace.h.
29882 (PTRACE_GET_THREAD_AREA): Remove #undef.
29883 (PTRACE_GETHBPREGS): Likewise.
29884 (PTRACE_SETHBPREGS): Likewise.
29885 (struct user_regs_struct): New structure.
29886 (struct user_fpsimd_struct): New structure.
29887 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29888 #include of asm/ptrace.h and second #include of sys/user.h.
29889 (PTRACE_GET_THREAD_AREA): Remove #undef.
29890 (PTRACE_GETHBPREGS): Likewise.
29891 (PTRACE_SETHBPREGS): Likewise.
29892 (ELF_NGREG): Use new struct user_regs_struct.
29893 (elf_fpregset_t): Use new struct user_fpsimd_struct.
29894
29895 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29896
29897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29899
29900 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
29901
29902 [BZ #16958]
29903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29904 membar to avoid block loads/stores to overlap previous stores.
29905
29906 2014-05-17 Richard Henderson <rth@redhat.com>
29907
29908 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29909 Create the __##syscall_name##_nocancel entry point.
29910 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29911 Remove; let the sysdep-cancel.h code create it.
29912
29913 2014-05-17 David S. Miller <davem@davemloft.net>
29914
29915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29916 Protect with __USE_GNU.
29917 (TIOCSET_TEMPT): Likewise.
29918 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29919 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29920 these are already provided in bits/ioctl-types.h
29921
29922 2014-05-16 Roland McGrath <roland@hack.frob.com>
29923
29924 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29925 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29926
29927 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29928 Use wait4 regardless of [__NR_waitpid].
29929
29930 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29931
29932 PR libgcc/60166
29933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29934 (_FP_NANSIGN_Q): Set the quiet bit.
29935
29936 2014-05-16 Joseph Myers <joseph@codesourcery.com>
29937
29938 * benchtests/Makefile
29939 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29940 not $(common-objpfx)math/libm.so.
29941 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29942 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29943 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29944 $(common-objpfx)dlfcn/libdl.so.
29945 ($(objpfx)tst-audit8): Depend on $(libm), not
29946 $(common-objpfx)math/libm.so.
29947 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29948 not $(common-objpfx)dlfcn/libdl.so.
29949 * math/Makefile
29950 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29951 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
29952 [$(build-shared) = yes].
29953 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29954 $(common-objpfx)nptl/libpthread.so.
29955 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29956 $(common-objpfx)math/libm.so$(libm.so-version) or
29957 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29958 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29959 $(common-objpfx)dlfcn/libdl.so.
29960 * setjmp/Makefile (link-libm): Remove variable.
29961 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29962 * stdio-common/Makefile (link-libm): Remove variable.
29963 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29964 * stdlib/Makefile (link-libm): Remove variable.
29965 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29966 ($(objpfx)tst-strtod-round): Likewise.
29967 ($(objpfx)tst-tininess): Likewise.
29968 ($(objpfx)tst-strtod-underflow): Likewise.
29969 ($(objpfx)tst-strtod6): Likewise.
29970 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29971 $(libdl), not $(common-objpfx)nptl/libpthread.so and
29972 $(common-objpfx)dlfcn/libdl.so.
29973
29974 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29975
29976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29977 BSD terminal modes definitions.
29978
29979 2014-05-16 Roland McGrath <roland@hack.frob.com>
29980
29981 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29982 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29983
29984 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29985 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29986 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29987 Don't do #include_next.
29988 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29989 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29990 Don't do #include_next.
29991 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29992 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29993 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29994 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29995
29996 2014-05-16 Allan McRae <allan@archlinux.org>
29997
29998 * po/sv.po: Update Swedish translation from translation project.
29999
30000 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30001 in sed expression.
30002
30003 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
30004
30005 [BZ #16917]
30006 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30007 errno if the TIOCGPTN ioctl fails with an error different than
30008 EINVAL.
30009 * login/tst-ptsname.c: New file.
30010 * login/Makefile (tests): Add tst-ptsname.
30011
30012 [BZ #16943]
30013 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30014 and prlimit64.
30015
30016 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30017
30018 [BZ #16849]
30019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30020 herrno to return EAI_AGAIN.
30021
30022 2014-05-14 Roland McGrath <roland@hack.frob.com>
30023
30024 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30025 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30027 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30029 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30030 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30031 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30033 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30034 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30035 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30036 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30037 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30038 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30039 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30040 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30041 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30042 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30043 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30044 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30045 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30046 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30047 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30048 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30049 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30050 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30051 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30053 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30055 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30057 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30059 Moved ...
30060 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30062 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30064 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30066 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30068 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30072 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30074 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30076 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30078 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30080 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30082 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30084 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30086 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30088 Moved ...
30089 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30091 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30093 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30095 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30097 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30101 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30103 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30105 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30107 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30109 Moved ...
30110 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30112 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30113
30114 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30115 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30116 (libpthread-sysdep_routines): Add elision-related stuff here instead.
30117 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30118 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30119 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30120 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30121 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30122 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30123 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30124 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30125 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30126 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30127 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30128 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30129 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30130 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30131 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30132 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30133 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30134 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30135 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30136 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30137 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30138 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30139 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30140 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30141 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30142 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30143 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30144 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30145
30146 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30147 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30148
30149 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30150 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30151 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30152 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30153 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30155 Moved ...
30156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30158 Moved ...
30159 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30161 Moved ...
30162 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30163 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30164 Moved ...
30165 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30166 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30167 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30169 Moved ...
30170 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30171 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30172 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30174 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30175 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30176 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30177 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30178 Moved ...
30179 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30181 Moved ...
30182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30183 ... here.
30184 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30185 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30186 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30187 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30188 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30189 Moved ...
30190 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30191 ... here.
30192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30193 Moved ...
30194 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30195 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30196 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30197 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30198 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30200 Moved ...
30201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30203 Moved ...
30204 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30206 Moved ...
30207 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30208 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30209 Moved ...
30210 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30211 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30212 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30214 Moved ...
30215 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30216 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30217 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30219 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30220 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30221 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30222 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30223 Moved ...
30224 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30226 Moved ...
30227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30228 ... here.
30229 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30230 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30231 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30232 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30233 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30234 Moved ...
30235 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30236 ... here.
30237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30238 Moved ...
30239 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30240 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30241 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30242 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30243 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30244 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30245 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30246 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30247 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30248 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30249 Moved ...
30250 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30252 Moved ...
30253 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30255 Moved ...
30256 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30257 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30258 Moved ...
30259 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30260 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30261 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30262 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30263 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30265 Moved ...
30266 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30267 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30268 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30270 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30271 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30272 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30274 Moved ...
30275 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30277 Moved ...
30278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30279 ... here.
30280 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30281 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30282 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30283 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30284 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30285 Moved ...
30286 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30287 ... here.
30288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30289 Moved ...
30290 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30291 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30292 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30293 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30295 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30296 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30297 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30298 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30299 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30300 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30301
30302 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30303 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30304
30305 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30306 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30307
30308 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30309 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30310 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30311 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30312 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30313 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30314 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30315 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30316 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30317 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30318 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30319 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30321 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30322 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30324 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30326 Moved ...
30327 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30329 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30331 Moved ...
30332 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30334 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30336 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30338 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30339 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30340 Moved ...
30341 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30343 Moved ...
30344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30350 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30351 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30352 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30353 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30354 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30355 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30356 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30357 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30358 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30359 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30360 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30361
30362 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30363 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30364 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30365 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30366 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30367
30368 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30369 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30370 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30371 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30372 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30373 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30374 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30375 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30376 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30377 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30378
30379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30381
30382 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30383 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30384 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30385 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30386 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30387 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30388 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30389 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30390 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30391 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30392 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30393 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30394 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30395 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30397 Update #include.
30398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30399 Likewise.
30400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30401 Likewise.
30402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30403 Likewise.
30404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30405 Likewise.
30406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30407 Likewise.
30408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30409 Likewise.
30410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30411 Likewise.
30412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30413 Likewise.
30414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30415 Likewise.
30416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30417 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30421 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30423 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30425 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30426 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30427 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30428 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
30430 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
30431
30432 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30433 that was previously under [RESET_PID].
30434 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30435 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30436 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30437
30438 * sysdeps/i386/nptl/Implies: New file.
30439 * sysdeps/x86_64/nptl/Implies: New file.
30440 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30441 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30442 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30443 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30444
30445 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30446 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30447 (__libc_vfork): New strong alias.
30448 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30449 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30450
30451 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30452 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30453 (__libc_vfork): New strong alias.
30454 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30455 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30456
30457 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30458 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30459 (__libc_vfork): New strong alias.
30460 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30461 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30462 * nptl/pt-vfork.c: New file.
30463 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30464 (libpthread: GLIBC_2.20): New version set (empty).
30465
30466 2014-05-14 Will Newton <will.newton@linaro.org>
30467
30468 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30469 rather than #if.
30470
30471 2014-05-14 Joseph Myers <joseph@codesourcery.com>
30472
30473 [BZ #16564]
30474 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30475 arguments with exponent 65 or above.
30476 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30477 arguments 0x1p113L or above.
30478 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30479 to arguments 0x1p107L or above.
30480 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30481 positive arguments with exponent 65 or above.
30482 * math/auto-libm-test-in: Add more tests of log1p.
30483 * math/auto-libm-test-out: Regenerated.
30484
30485 [BZ #16928]
30486 * math/s_cacos.c (__cacos): Ensure zero real part of result from
30487 non-finite arguments is +0.
30488 * math/s_cacosf.c (__cacosf): Likewise.
30489 * math/s_cacosl.c (__cacosl): Likewise.
30490 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30491 * sysdeps/i386/fpu/libm-test-ulps: Update.
30492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30493
30494 [BZ #16927]
30495 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30496 value.
30497 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30498 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30499 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30500 for explicit high bit of mantissa when testing for argument equal
30501 to 1.
30502 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30503 * sysdeps/i386/fpu/libm-test-ulps: Update.
30504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30505
30506 [BZ #16516]
30507 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30508 (__erf): Scale by 16 instead of 8 in potentially underflowing
30509 case. Ensure exception if result actually underflows.
30510 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30511 (__erff): Scale by 16 instead of 8 in potentially underflowing
30512 case. Ensure exception if result actually underflows.
30513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30514 (efx8): Remove variable.
30515 (__erfl): Scale by 16 instead of 8 in potentially underflowing
30516 case. Ensure exception if result actually underflows.
30517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30518 (efx8): Remove variable.
30519 (__erfl): Scale by 16 instead of 8 in potentially underflowing
30520 case. Ensure exception if result actually underflows.
30521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30522 (efx8): Remove variable.
30523 (__erfl): Scale by 16 instead of 8 in potentially underflowing
30524 case. Ensure exception if result actually underflows.
30525 * math/auto-libm-test-in: Add more tests of erf.
30526 * math/auto-libm-test-out: Regenerated.
30527
30528 2014-05-14 Andreas Schwab <schwab@suse.de>
30529
30530 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30531 Remove code conditionalized on USE___THREAD.
30532
30533 * config.h.in (HAVE_PT_CHOWN): Define as 0.
30534 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30535 not definedness.
30536
30537 2014-05-14 Joseph Myers <joseph@codesourcery.com>
30538
30539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30540 Define unconditionally.
30541 (__ASSUME_O_CLOEXEC): Likewise.
30542 (__ASSUME_SOCK_CLOEXEC): Likewise.
30543 (__ASSUME_IN_NONBLOCK): Likewise.
30544 (__ASSUME_PIPE2): Likewise.
30545 (__ASSUME_EVENTFD2): Likewise.
30546 (__ASSUME_SIGNALFD4): Likewise.
30547 (__ASSUME_DUP3): Likewise.
30548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30549 (__ASSUME_DUP3): Do not define.
30550 (__ASSUME_EVENTFD2): Likewise.
30551 (__ASSUME_IN_NONBLOCK): Likewise.
30552 (__ASSUME_O_CLOEXEC): Likewise.
30553 (__ASSUME_PIPE2): Likewise.
30554 (__ASSUME_SIGNALFD4): Likewise.
30555 (__ASSUME_SOCK_CLOEXEC): Likewise.
30556 (__ASSUME_UTIMES): Undefine.
30557 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30558 (__ASSUME_UTIMES): Do not define.
30559 (__ASSUME_O_CLOEXEC): Likewise.
30560 (__ASSUME_SOCK_CLOEXEC): Likewise.
30561 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30562 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30563 0x020621].
30564 (__ASSUME_PIPE2): Likewise.
30565 (__ASSUME_EVENTFD2): Likewise.
30566 (__ASSUME_SIGNALFD4): Likewise.
30567 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30568 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30569 Do not define.
30570 (__ASSUME_EVENTFD2): Likewise.
30571 (__ASSUME_SIGNALFD4): Likewise.
30572 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30573 (__ASSUME_32BITUIDS): Likewise.
30574 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30575 (__ASSUME_IPC64): Likewise.
30576 (__ASSUME_ST_INO_64_BIT): Likewise.
30577 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30578 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30580 (__ASSUME_UTIMES): Do not define.
30581 (__ASSUME_PSELECT): Likewise.
30582 (__ASSUME_PPOLL): Likewise.
30583 (__ASSUME_O_CLOEXEC): Likewise.
30584 (__ASSUME_SOCK_CLOEXEC): Likewise.
30585 (__ASSUME_IN_NONBLOCK): Likewise.
30586 (__ASSUME_PIPE2): Likewise.
30587 (__ASSUME_EVENTFD2): Likewise.
30588 (__ASSUME_SIGNALFD4): Likewise.
30589 (__ASSUME_DUP3): Likewise.
30590 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30591 (__ASSUME_UTIMES): Likewise.
30592 (__ASSUME_O_CLOEXEC): Likewise.
30593 (__ASSUME_SOCK_CLOEXEC): Likewise.
30594 (__ASSUME_IN_NONBLOCK): Likewise.
30595 (__ASSUME_PIPE2): Likewise.
30596 (__ASSUME_EVENTFD2): Likewise.
30597 (__ASSUME_SIGNALFD4): Likewise.
30598 (__ASSUME_DUP3): Likewise.
30599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30600 (__ASSUME_UTIMES): Likewise.
30601 (__ASSUME_O_CLOEXEC): Likewise.
30602 (__ASSUME_SOCK_CLOEXEC): Likewise.
30603 (__ASSUME_IN_NONBLOCK): Likewise.
30604 (__ASSUME_PIPE2): Likewise.
30605 (__ASSUME_EVENTFD2): Likewise.
30606 (__ASSUME_SIGNALFD4): Likewise.
30607 (__ASSUME_DUP3): Likewise.
30608 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30609 Likewise.
30610 (__ASSUME_UTIMES): Likewise.
30611 (__ASSUME_EVENTFD2): Likewise.
30612 (__ASSUME_SIGNALFD4): Likewise.
30613 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30614 (__ASSUME_O_CLOEXEC): Likewise.
30615 (__ASSUME_SOCK_CLOEXEC): Likewise.
30616 (__ASSUME_IN_NONBLOCK): Likewise.
30617 (__ASSUME_PIPE2): Likewise.
30618 (__ASSUME_EVENTFD2): Likewise.
30619 (__ASSUME_SIGNALFD4): Likewise.
30620 (__ASSUME_DUP3): Likewise.
30621 (__ASSUME_UTIMES): Undefine.
30622
30623 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30624 feclearexcept. Remove symbol versioning code.
30625 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
30626 symbol versioning code.
30627 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
30628 symbol versioning code.
30629 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30630 feupdateenv. Remove symbol versioning code.
30631 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30632 fegetexceptflag. Remove symbol versioning code.
30633 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30634 fesetexceptflag. Remove symbol versioning code.
30635 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30636 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
30637 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30638 (__posix_fadvise64_l32): Remove prototype.
30639 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30640 code.
30641
30642 2014-05-13 Roland McGrath <roland@hack.frob.com>
30643
30644 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30645 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30646 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30647 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30648
30649 2014-05-13 Sami Kerola <kerolasa@iki.fi>
30650
30651 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30652 current working directory
30653
30654 2014-05-13 Roland McGrath <roland@hack.frob.com>
30655
30656 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30657 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30658 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30659 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30660 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30661 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30662 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30663 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30664 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30665 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30666 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30667 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30668 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30669 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30670 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30671 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30672 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30673 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30674 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30675 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30676 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30677 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30678 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30679 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30680 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30681 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30682 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30683 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30684 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30685 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30686 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30687 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30688 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30689 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30690 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30691 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30692 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30694 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30695 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30696 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30697 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30698
30699 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30700 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30701
30702 * sysdeps/unix/sysv/linux/arm/Makefile
30703 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30704 Add rt-aeabi_unwind_cpp_pr1.
30705 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30706 Add nptl-aeabi_unwind_cpp_pr1.
30707 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30708 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30709 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30710 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30711 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30712 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30713
30714 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30715 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30716 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30717 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30718
30719 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30720 Deconditionalize the code that was previously under [RESET_PID].
30721 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30722
30723 * sysdeps/generic/exit-thread.h: New file.
30724 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30725 * include/unistd.h (__exit_thread): Remove declaration.
30726 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30727 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30728 * csu/libc-start.c: Include <exit-thread.h>.
30729 (LIBC_START_MAIN): Pass no argument to __exit_thread.
30730 * nptl/pthread_create.c: Include <exit-thread.h>.
30731 (start_thread): Call __exit_thread in place of __exit_thread_inline.
30732 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30733 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30734 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30735 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30736 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30737 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30738 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30739 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30740 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30741 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30742 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30743 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30744 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30745 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30746 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30747 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30748
30749 2014-05-13 Andreas Schwab <schwab@suse.de>
30750
30751 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30752
30753 2014-05-12 Joseph Myers <joseph@codesourcery.com>
30754
30755 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30756 (__ASSUME_UTIMES): Do not condition on kernel version.
30757 (__ASSUME_PSELECT): Define unconditionally.
30758 (__ASSUME_PPOLL): Likewise.
30759 (__ASSUME_ATFCTS): Likewise.
30760 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30761 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30762 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30763 (__ASSUME_UTIMENSAT): Define unconditionally.
30764 (__ASSUME_PRIVATE_FUTEX): Likewise.
30765 (__ASSUME_FALLOCATE): Likewise.
30766 (__ASSUME_O_CLOEXEC): Likewise.
30767 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30768 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30769 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30770 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30771 (__ASSUME_IN_NONBLOCK): Likewise.
30772 (__ASSUME_PIPE2): Likewise.
30773 (__ASSUME_EVENTFD2): Likewise.
30774 (__ASSUME_SIGNALFD4): Likewise.
30775 (__ASSUME_DUP3): Likewise.
30776 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30777 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30778 (__ASSUME_AT_RANDOM): Likewise.
30779 (__ASSUME_PREADV): Likewise.
30780 (__ASSUME_PWRITEV): Likewise.
30781 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30782 (__ASSUME_F_GETOWN_EX): Define unconditionally.
30783 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30785 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30786 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30787 (__ASSUME_O_CLOEXEC): Define unconditionally.
30788 (__ASSUME_PSELECT): Do not undefine conditionally.
30789 (__ASSUME_PPOLL): Likewise.
30790 (__ASSUME_ATFCTS): Likewise.
30791 (__ASSUME_SET_ROBUST_LIST): Likewise.
30792 (__ASSUME_UTIMENSAT): Likewise.
30793 (__ASSUME_FDATASYNC): Define unconditionally.
30794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30795 (__ASSUME_SIGFRAME_V2): Likewise.
30796 )__ASSUME_EVENTFD2): Likewise.
30797 (__ASSUME_SIGNALFD4): Likewise.
30798 (__ASSUME_PSELECT): Do not undefine conditionally.
30799 (__ASSUME_PPOLL): Likewise.
30800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30801 (__ASSUME_PSELECT): Define unconditionally.
30802 (__ASSUME_PPOLL): Likewise.
30803 (__ASSUME_O_CLOEXEC): Likewise.
30804 (__ASSUME_SOCK_CLOEXEC): Likewise.
30805 (__ASSUME_IN_NONBLOCK): Likewise.
30806 (__ASSUME_PIPE2): Likewise.
30807 (__ASSUME_EVENTFD2): Likewise.
30808 (__ASSUME_SIGNALFD4): Likewise.
30809 (__ASSUME_DUP3): Likewise.
30810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30811 (__ASSUME_O_CLOEXEC): Likewise.
30812 (__ASSUME_SOCK_CLOEXEC): Likewise.
30813 (__ASSUME_IN_NONBLOCK): Likewise.
30814 (__ASSUME_PIPE2): Likewise.
30815 (__ASSUME_EVENTFD2): Likewise.
30816 (__ASSUME_SIGNALFD4): Likewise.
30817 (__ASSUME_DUP3): Likewise.
30818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30819 (__ASSUME_EVENTFD2): Likewise.
30820 (__ASSUME_SIGNALFD4): Likewise.
30821 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30822
30823 2014-05-12 Andreas Schwab <schwab@suse.de>
30824
30825 [BZ #16932]
30826 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30827 (_nss_nis_gethostbyname4_r): Return error if item length is larger
30828 than maximum RPC packet size.
30829 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30830 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30831 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30832 (_nss_nis_getservbyport_r): Likewise.
30833
30834 2014-05-12 Will Newton <will.newton@linaro.org>
30835
30836 * malloc/Makefile (tests): Add tst-mallopt.
30837 * malloc/tst-mallopt.c: New file.
30838
30839 2014-05-09 Roland McGrath <roland@hack.frob.com>
30840
30841 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30842 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30843
30844 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30845
30846 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30847 (tst-tlsmod6.so): Likewise.
30848
30849 2014-05-09 Roland McGrath <roland@hack.frob.com>
30850
30851 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30852
30853 2014-05-09 Joseph Myers <joseph@codesourcery.com>
30854
30855 [BZ #16064]
30856 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30857 and <dl-procinfo.h>.
30858 (__fegetenv): Save SSE state in envp->__eip if supported.
30859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30860 envp->__eip if supported.
30861 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30862 and <dl-procinfo.h>.
30863 (__fesetenv): Always set __eip, __cs_selector, __opcode,
30864 __data_offset and __data_selector in environment to 0. Set SSE
30865 state if supported.
30866 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30867 test-fenv-sse.
30868 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30869 -mfpmath=sse.
30870 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30871
30872 2014-05-09 Will Newton <will.newton@linaro.org>
30873
30874 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30875 and libc_relro_required for ARM.
30876 * sysdeps/arm/preconfigure: Regenerate.
30877
30878 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
30879 Stefan Liebler <stli@linux.vnet.ibm.com>
30880
30881 * config.make.in (enable-lock-elision): New Makefile variable.
30882 * configure.ac: Likewise.
30883 * configure: Regenerate.
30884 * sysdeps/s390/configure.ac:
30885 Add check for gcc transactions support.
30886 * sysdeps/s390/configure: Regenerate.
30887 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30888 Build elision files if enabled.
30889 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30890 Add lock elision support for s390.
30891 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30892 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30893 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30894 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30895 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30896 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30898 Likewise.
30899 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30900 Likewise.
30901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30902 Likewise.
30903 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30904 Likewise.
30905 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30906 (__lll_timedlock_elision, __lll_lock_elision)
30907 (__lll_unlock_elision, __lll_trylock_elision)
30908 (lll_timedlock_elision, lll_lock_elision)
30909 (lll_unlock_elision, lll_trylock_elision): Add.
30910 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30911 (pthread_mutex_t): Add lock elision support for s390.
30912
30913 2014-05-14 Wilco <wdijkstr@arm.com>
30914
30915 * sysdeps/arm/fclrexcpt.c: Cleanup.
30916 * sysdeps/arm/fedisblxcpt.c: Cleanup.
30917 * sysdeps/arm/feenablxcpt.c: Cleanup.
30918 * sysdeps/arm/fegetenv.c: Cleanup.
30919 * sysdeps/arm/fegetexcept.c: Cleanup.
30920 * sysdeps/arm/fegetround.c: Cleanup.
30921 * sysdeps/arm/feholdexcpt.c: Cleanup.
30922 * sysdeps/arm/fesetenv.c: Cleanup.
30923 * sysdeps/arm/fesetround.c: Cleanup.
30924 * sysdeps/arm/feupdateenv.c: Cleanup.
30925 * sysdeps/arm/fgetexcptflg.c: Cleanup.
30926 * sysdeps/arm/fraiseexcpt.c: Cleanup.
30927 * sysdeps/arm/fsetexcptflg.c: Cleanup.
30928 * sysdeps/arm/ftestexcept.c: Cleanup.
30929 * sysdeps/arm/get-rounding-mode.h: Cleanup.
30930 * sysdeps/arm/setfpucw.c: Cleanup.
30931
30932 2014-05-09 Will Newton <will.newton@linaro.org>
30933
30934 * sysdeps/arm/armv7/strcmp.S: New file.
30935 * NEWS: Mention addition of ARMv7 optimized strcmp.
30936
30937 2014-05-08 Roland McGrath <roland@hack.frob.com>
30938
30939 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30940 look for %.ac rather than %.in.
30941
30942 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30943 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30944 * sysdeps/mach/hurd/configure: Regenerated.
30945 * sysdeps/unix/sysv/linux/configure: Regenerated.
30946
30947 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30948
30949 2014-05-07 Steve Ellcey <sellcey@mips.com>
30950
30951 [BZ# 16922]
30952 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30953 (LONG_SUB): Ditto.
30954 (PTR_SUB): Ditto.
30955
30956 2014-05-07 Andreas Schwab <schwab@suse.de>
30957
30958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30959 when skipping over non-matching result from nscd.
30960
30961 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
30962
30963 [BZ #16876]
30964 * nptl/sockperf.c (client): Check socket return value.
30965
30966 [BZ #16877]
30967 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30968 nscd security class.
30969
30970 2014-05-06 Roland McGrath <roland@hack.frob.com>
30971
30972 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30973 * sysdeps/arm/unwind.h: ... here.
30974
30975 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
30976
30977 [BZ# 16916]
30978 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30979 Define.
30980
30981 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30982
30983 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30984 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30985 multiarch strncpy for PPC64.
30986 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30987 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30989 multiarch optimizations.
30990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30991 (__libc_ifunc_impl_list): Likewise.
30992 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30993 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30994 multiarch stpncpy for PPC64.
30995 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30997
30998 2014-05-06 Andreas Schwab <schwab@suse.de>
30999
31000 [BZ #16912]
31001 * gmon/mcount.c (_MCOUNT_DECL): Use
31002 atomic_compare_and_exchange_bool_acq instead of
31003 catomic_compare_and_exchange_bool_acq.
31004
31005 2014-05-05 Roland McGrath <roland@hack.frob.com>
31006
31007 * elf/Makefile (others, install-bin): Remove pldd.
31008 (pldd-modules): Variable removed.
31009 ($(objpfx)pldd): Target removed.
31010 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31011 (others, install-bin): Append pldd here.
31012 ($(objpfx)pldd): New target.
31013
31014 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31015 to 0, so the first #if test emitted later doesn't see it undefined.
31016 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31017 * sysdeps/gnu/errlist.c: Regenerated.
31018
31019 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31020
31021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31022 [libc_hidden_builtin_def]: Define to empty value.
31023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31024 [libc_hidden_builtin_def]: Likewise.
31025 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31026 [libc_hidden_builtin_def]: Likewise.
31027 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31028 [libc_hidden_builtin_def]: Likewise.
31029 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31030 __redirect_memcpy and define ifunc as default hidden symbol.
31031 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31032 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31033
31034 2014-05-04 Adam Conrad <adconrad@0c3.net>
31035
31036 * locale/iso-4217.def: Reintroduce XDR currency.
31037
31038 2014-05-04 Allan McRae <allan@archlinux.org>
31039
31040 * po/eo.po: Update Esperanto translation from translation project.
31041
31042 2014-05-02 Carlos O'Donell <carlos@redhat.com>
31043
31044 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31045 and FEATURE_INDEX_MAX to 1.
31046 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31047
31048 2014-05-01 Steve Ellcey <sellcey@mips.com>
31049
31050 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31051 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31052 * iconvdata/big5.c (ONE_DIRECTION): Define.
31053 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31054 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31055 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31056 * iconvdata/cp932.c (ONE_DIRECTION): Define.
31057 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31058 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31059 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31060 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31061 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31062 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31063 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31064 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31065 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31066 * iconvdata/gbk.c (ONE_DIRECTION): Define.
31067 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31068 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31069 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31070 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31071 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31072 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31073 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31074 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31075 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31076 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31077 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31078 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31079 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31080 * iconvdata/iso646.c (ONE_DIRECTION): Define.
31081 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31082 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31083 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31084 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31085 * iconvdata/johab.c (ONE_DIRECTION): Define.
31086 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31087 * iconvdata/sjis.c (ONE_DIRECTION): Define.
31088 * iconvdata/t.61.c (ONE_DIRECTION): Define.
31089 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31090 * iconvdata/tscii.c (ONE_DIRECTION): Define.
31091 * iconvdata/uhc.c (ONE_DIRECTION): Define.
31092 * iconvdata/unicode.c (ONE_DIRECTION): Define.
31093 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31094 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31095 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31096
31097 2014-05-01 Roland McGrath <roland@hack.frob.com>
31098
31099 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31100 (_IO_JUMPS_OFFSET): Define to 0.
31101
31102 * nptl/sysdeps/pthread/bits/libc-lock.h
31103 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31104 (__libc_lock_define_initialized_recursive): Always define using
31105 initializer. Modern compilers treat uninitialized (implicit zero) and
31106 explicit zero initializers the same (i.e. put the datum in bss).
31107
31108 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
31109
31110 * nscd/nscd-client.h: Include <string.h>.
31111
31112 2014-05-01 David S. Miller <davem@davemloft.net>
31113
31114 [BZ #16885]
31115 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31116 multiple zero bytes exist at the end of a string.
31117 Reported by Aurelien Jarno <aurelien@aurel32.net>
31118
31119 * string/test-strcmp.c (check): Add explicit test for situations where
31120 there are multiple zero bytes after the first.
31121
31122 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
31123
31124 [BZ #16890]
31125 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31126 when compiling wprintf.
31127 * stdio-common/tstdiomisc.c (t3): New function.
31128 (main): Call it.
31129
31130 2014-05-01 Steve Ellcey <sellcey@mips.com>
31131
31132 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31133 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31134 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31135 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31136
31137 2014-05-01 Steve Ellcey <sellcey@mips.com>
31138
31139 * stdlib/longlong.h: Updated from GCC.
31140
31141 2014-05-01 Will Newton <will.newton@linaro.org>
31142 Bernard Ogden <bernie.ogden@linaro.org>
31143
31144 * NEWS: Update fixed bug list.
31145
31146 [BZ #15119]
31147 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31148
31149 2014-04-30 David S. Miller <davem@davemloft.net>
31150
31151 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31152 (libc_feholdexcept_setround_sparc_ctx): New function.
31153 (libc_fesetenv_sparc_ctx): Likewise.
31154 (libc_feupdateenv_sparc_ctx): Likewise.
31155 (libc_feholdsetround_sparc_ctx): Likewise.
31156 (libc_feholdexcept_setround_ctx): Define.
31157 (libc_feholdexcept_setroundf_ctx): Likewise.
31158 (libc_feholdexcept_setroundl_ctx): Likewise.
31159 (libc_fesetenv_ctx): Likewise.
31160 (libc_fesetenvf_ctx): Likewise.
31161 (libc_fesetenvl_ctx): Likewise.
31162 (libc_feupdateenv_ctx): Likewise.
31163 (libc_feupdateenvf_ctx): Likewise.
31164 (libc_feupdateenvl_ctx): Likewise.
31165 (libc_feresetround_ctx): Likewise.
31166 (libc_feresetroundf_ctx): Likewise.
31167 (libc_feresetroundl_ctx): Likewise.
31168 (libc_feholdsetround_ctx): Likewise.
31169 (libc_feholdsetroundf_ctx): Likewise.
31170 (libc_feholdsetroundl_ctx): Likewise.
31171
31172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31173 with __USE_GNU instead of XOPEN cpp guards.
31174
31175 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31176 0.
31177
31178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31179 with XOPEN cpp guards.
31180
31181 2014-04-30 Julian Brown <julian@codesourcery.com>
31182
31183 [BZ #16888]
31184 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31185 handling.
31186
31187 2014-04-30 Joseph Myers <joseph@codesourcery.com>
31188
31189 [BZ #9894]
31190 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31191 Change to 2.6.32.
31192 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31193 * sysdeps/unix/sysv/linux/configure: Regenerated.
31194 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31195 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31196 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31197 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31198 * README: Update reference to required Linux kernel version.
31199 * manual/install.texi (Linux): Update reference to required Linux
31200 kernel headers version.
31201 * INSTALL: Regenerated.
31202
31203 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31204 header inclusion.
31205 [POSIX] (limits.h): Likewise.
31206 [POSIX] (math.h): Likewise.
31207 [POSIX] (sys/wait.h): Likewise.
31208 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31209 function.
31210 [POSIX] (stddef.h): Do not allow header inclusion.
31211
31212 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31213
31214 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31215
31216 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
31217
31218 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31219 Return immediately after lll_futex_wake.
31220
31221 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31222
31223 [BZ #16791]
31224 * nscd/nscd-client.h (datahead_init_common): Initialize entire
31225 structure.
31226 (datahead_init_pos): Call datahead_init_common early.
31227 (datahead_init_neg): Likewise.
31228
31229 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31230 datahead_init_neg): New functions.
31231 * nscd/aicache.c (addhstaiX): Use them.
31232 * nscd/grpcache.c (cache_addgr): Likewise.
31233 * nscd/hstcache.c (cache_addhst): Likewise.
31234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31235 * nscd/netgroupcache.c (do_notfound): Likewise.
31236 (addgetnetgrentX): Likewise.
31237 (addinnetgrX): Likewise.
31238 * nscd/pwdcache.c (cache_addpw): Likewise.
31239 * nscd/servicescache.c (cache_addserv): Likewise.
31240
31241 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31242 Atsushi Onoe <atsushi@onoe.org>
31243
31244 [BZ #14308]
31245 [BZ #12994]
31246 [BZ #13651]
31247 * resolv/res_query.c (__libc_res_nsearch): Return if at least
31248 one response is valid.
31249 * resolv/res_send.c (send_dg): Check for validity of other
31250 response if the current response is a referral.
31251
31252 2014-04-29 Steve Ellcey <sellcey@mips.com>
31253
31254 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31255
31256 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
31257
31258 [BZ #16823]
31259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31260 Always divide by positive zero when computing -Inf result.
31261 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31262 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31263
31264 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31265
31266 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31267 FPSCR if value do not change.
31268 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31269 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31270 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31271 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31272 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31273 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31274 function.
31275
31276 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
31277
31278 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31279 * sysdeps/unix/sysv/linux/hppa: Move directory from
31280 ports/systeps/unix/sysv/linux/hppa.
31281 * README: Update listing for hppa-*-linux-gnu.
31282
31283 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
31284
31285 [BZ #16754]
31286 * manual/stdio.texi (Hook functions): Fix types of stream hook
31287 functions.
31288 [BZ #16854]
31289 * socket/sys/socket.h: Fix typo in comment.
31290
31291 2014-04-28 Wilco <wdijkstr@arm.com>
31292
31293 * sysdeps/arm/fenv_private.h: New file.
31294 * sysdeps/arm/math_private.h: New file.
31295 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31296
31297 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
31298
31299 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31300 with __int128_t.
31301 (La_x86_64_retval): Likewise.
31302
31303 2014-04-24 Ian Bolton <ian.bolton@arm.com>
31304
31305 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31306 fpsr if value didn't change.
31307 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31308 to fpcr if value didn't change.
31309 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31310 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31311 fpsr or fpcr if value didn't change.
31312 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31313 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31314 fpcr if value didn't change.
31315 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31316 to fpsr if value didn't change.
31317
31318 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31319
31320 * nptl/tst-sem3.c: Use test-skeleton.c
31321 (main): Rename to do_test. Use return instead of
31322 exit.
31323 * nptl/tst-sem4.c: Use test-skeleton.c
31324 (main): Rename to do_test.
31325
31326 2014-04-22 David S. Miller <davem@davemloft.net>
31327
31328 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31329 (struct sigaction): New struct member __glibc_reserved0, change
31330 type of sa_flags to int.
31331
31332 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
31333
31334 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31335 (COUNT_LEADING_ZEROS_0): Define for AArch64.
31336
31337 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31338
31339 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31340 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31341
31342 2014-04-22 Will Newton <will.newton@linaro.org>
31343 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
31344
31345 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31346 (__longjmp): Add longjmp and longjmp_target SystemTap
31347 probes.
31348 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31349 (__sigsetjmp): Add setjmp SystemTap probe.
31350
31351 2014-04-17 Carlos O'Donell <carlos@redhat.com>
31352
31353 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31354 match manual order.
31355
31356 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31357
31358 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31359
31360 * sysdeps/powerpc/fpu/fenv_private.h
31361 (libc_feholdexcept_setroundl_ctx): Define to
31362 libc_feholdexcept_setround_ppc_ctx.
31363 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31364 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31365 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31366 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31367
31368 2014-04-17 Ian Bolton <ian.bolton@arm.com>
31369
31370 * sysdeps/aarch64/math-tests.h: New file.
31371
31372 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
31373
31374 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31375 New.
31376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31377 Check and set bit_AVX2_Usable.
31378 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31379 macro.
31380 (bit_AVX2): Likewise.
31381 (index_AVX2_Usable): Likewise.
31382 (CPUID_AVX2): Likewise.
31383 (HAS_AVX2): Likewise.
31384
31385 2014-04-17 Will Newton <will.newton@linaro.org>
31386
31387 * manual/setjmp.texi (System V contexts): Add note that
31388 calling setcontext on a context created by a call to a
31389 signal handler is undefined. Update text to note that
31390 setcontext from a signal handler is possible but not
31391 recommended.
31392
31393 [BZ #16629]
31394 * stdlib/tst-setcontext.c: Include signal.h.
31395 (main): Check that the signal stack before and
31396 after swapcontext is the same.
31397
31398 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31399 Re-implement to restore registers in user code and avoid
31400 rt_sigreturn system call.
31401
31402 2014-04-17 Wilco <wdijkstr@arm.com>
31403
31404 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31405 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31406 * math/test-fenv.c: Skip exception trap tests on targets which only
31407 support non-stop mode.
31408
31409 2014-04-17 Ian Bolton <ian.bolton@arm.com>
31410 Wilco Dijkstra <wilco.dijkstra@arm.com>
31411
31412 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31413 (libc_feholdsetround_aarch64_ctx)
31414 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31415 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31416 (libc_feresetround_ctx, libc_feresetroundf_ctx)
31417 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31418 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31419 (libc_feresetround_noexl_ctx): Define.
31420
31421 2014-04-16 Richard Henderson <rth@redhat.com>
31422
31423 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31424
31425 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31426 unwind tables.
31427
31428 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31429 const from the non-libc, non-ldso copy.
31430
31431 * sysdeps/alpha/libm-test-ulps: Regenerate.
31432
31433 2014-04-16 Ian Bolton <ian.bolton@arm.com>
31434 Wilco Dijkstra <wilco.dijkstra@arm.com>
31435
31436 * sysdeps/aarch64/fpu/math_private.h: New file.
31437
31438 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
31439
31440 * sysdeps/aarch64/libm-test-ulps: Regenerate.
31441
31442 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
31443
31444 [BZ #16275]
31445 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31446 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31448 Intel MPX bound registers before _dl_profile_fixup.
31449 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31450 registers after _dl_profile_fixup. Save and restore bound
31451 registers bnd0/bnd1 when calling _dl_call_pltexit.
31452 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31453 (LR_BND_OFFSET): Likewise.
31454 (LRV_BND0_OFFSET): Likewise.
31455 (LRV_BND1_OFFSET): Likewise.
31456
31457 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31458
31459 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31460 to...
31461 * sysdeps/mach/hurd/i386/tls.h: ... here.
31462 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31463 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31464 fields.
31465
31466 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31467
31468 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31469
31470 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
31471
31472 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31473
31474 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
31475
31476 [BZ #14770]
31477 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31478 * sysdeps/s390/configure: Regenerate.
31479
31480 [BZ #16824]
31481 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31482 Set round-to-nearest internally to reduce error accumulation.
31483
31484 2014-04-16 Alan Modra <amodra@gmail.com>
31485
31486 [BZ #16740]
31487 [BZ #16619]
31488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31489 * math/libm-test.inc (frexp_test_data): Add tests.
31490 * NEWS: Update fixed bug list.
31491
31492 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31493
31494 * benchtests/Makefile: Depend on libraries in build directory.
31495 (bench-math): Separate out math tests.
31496 (bench-pthread): Separate out pthread tests.
31497 (bench): Include math and pthread tests.
31498
31499 2014-04-14 Carlos O'Donell <carlos@redhat.com>
31500
31501 [BZ #16831]
31502 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31503 _dl_debug_initialize.
31504
31505 * configure.ac: Remove SELinux header check.
31506 * configure: Regenerate.
31507 * nscd/selinux.c (perms): Array of const char* to permission names.
31508 (nscd_request_avc_has_perm): Call security_deny_unknown to find
31509 default policy. Call string_to_security_class and string_to_av_perm to
31510 translate strings. Enforce default policy and call avs_has_perm with
31511 results of translated strings.
31512
31513 2014-04-13 David S. Miller <davem@davemloft.net>
31514
31515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31516
31517 2014-04-12 Allan McRae <allan@archlinux.org>
31518
31519 [BZ #16838]
31520 * manual/string.texi (Collation Functions): Fix qsort argument
31521 order in example.
31522 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31523
31524 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
31525
31526 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31527 Make the test a no-op if there are no exceptions defined.
31528
31529 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
31530
31531 * elf/Makefile (tests): make tst-dlopen-aout conditional on
31532 enable-hardcoded-path-in-tests
31533
31534 2014-04-11 Will Newton <will.newton@linaro.org>
31535
31536 * benchtests/Makefile (extra-objs): Add json-lib.o.
31537 (bench-func): Tidy up JSON output.
31538 * benchtests/bench-skeleton.c: Include json-lib.h.
31539 (main): Use JSON library functions to do output of
31540 benchmark results.
31541 * benchtests/bench-timing-type.c (main): Output the
31542 timing type simply, leaving formatting to the user.
31543 * benchtests/json-lib.c: New file.
31544 * benchtests/json-lib.h: Likewise.
31545
31546 2014-04-11 Torvald Riegel <triegel@redhat.com>
31547
31548 [BZ #15215]
31549 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31550 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
31551 memory barriers. Add comments.
31552 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31553 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31554 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31555 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31556 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31557 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31558
31559 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31560
31561 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31562 * sysdeps/s390/s390-64/configure.ac: ... this ...
31563 * sysdeps/s390/configure.ac: ... to here.
31564 * sysdeps/s390/s390-32/configure: Delete file.
31565 * sysdeps/s390/s390-64/configure: Delete file.
31566 * sysdeps/s390/configure: Regenerate.
31567
31568 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
31569
31570 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31571
31572 2014-04-11 Will Newton <will.newton@linaro.org>
31573
31574 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31575 to zero if it is not defined elsewhere. (mtrim): Test
31576 the value of MALLOC_DEBUG with #if rather than #ifdef.
31577
31578 2014-04-10 Torvald Riegel <triegel@redhat.com>
31579
31580 * benchtests/pthread_once-inputs: New file.
31581 * benchtests/pthread_once-source.c: New file.
31582 * benchtests/README: Update documentation.
31583
31584 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
31585 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 [BZ #16275]
31588 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31589 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31590 * sysdeps/x86_64/configure: Regenerated.
31591 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31592 macro.
31593 (REGISTER_SAVE_RAX): Likewise.
31594 (REGISTER_SAVE_RCX): Likewise.
31595 (REGISTER_SAVE_RDX): Likewise.
31596 (REGISTER_SAVE_RSI): Likewise.
31597 (REGISTER_SAVE_RDI): Likewise.
31598 (REGISTER_SAVE_R8): Likewise.
31599 (REGISTER_SAVE_R9): Likewise.
31600 (REGISTER_SAVE_BND0): Likewise.
31601 (REGISTER_SAVE_BND1): Likewise.
31602 (REGISTER_SAVE_BND2): Likewise.
31603 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
31604 bound registers when calling _dl_fixup.
31605
31606 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31607
31608 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31609 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31610 of its definition.
31611 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31612 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31613 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31614 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31615 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31616 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31617 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31618
31619 2014-04-09 Peter Brett <peter@peter-b.co.uk>
31620
31621 [BZ #15514]
31622 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31623 pathconf(_PC_NAME_MAX).
31624
31625 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31626
31627 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31628 Remove macro usage.
31629 (__PTHREAD_SPINS): Move definition to ...
31630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31631 (__PTHREAD_SPINS): ... here.
31632 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31633 (__PTHREAD_SPIN): Likewise.
31634 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31635 (__PTHREAD_SPIN): Likewise.
31636 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31637 (__PTHREAD_SPIN): Likewise.
31638 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31639 (__PTHREAD_SPIN): Likewise.
31640 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31641 (__PTHREAD_SPIN): Likewise.
31642 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31643 (__PTHREAD_SPIN): Likewise.
31644 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31645 (__PTHREAD_SPIN): Likewise.
31646 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31647 (__PTHREAD_SPIN): Likewise.
31648 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31649 (__PTHREAD_SPIN): Likewise.
31650 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31651 (__PTHREAD_SPIN): Likewise.
31652 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31653 (__PTHREAD_SPIN): Likewise.
31654 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31655 (__PTHREAD_SPIN): Likewise.
31656
31657 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31658 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31659 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31660 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31661 imply folder.
31662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31663 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31664 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31665 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31666 correct imply path.
31667 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31668 strlen symbol for non multi-arch builds.
31669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31670 missing hidden_def and weak_alias.
31671
31672 2014-04-08 Carlos O'Donell <carlos@redhat.com>
31673
31674 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31675
31676 2014-04-07 Will Newton <will.newton@linaro.org>
31677
31678 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31679 and contents. [!_LIBC] Remove #ifndef and contents.
31680 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
31681 * string/memccpy.c (__memccpy): Use ANSI prototype.
31682 * string/memfrob.c (memfrob): Likewise.
31683 * string/strcoll.c (STRCOLL): Likewise.
31684 * string/strlen.c (strlen): Likewise.
31685 * string/strtok.c (STRTOK): Likewise.
31686 * string/strcat.c: Remove unused #include of memcopy.h.
31687 (strcat): Use ANSI prototype.
31688 * string/strchr.c: Remove unused #include of memcopy.h.
31689 (strchr): Use ANSI prototype.
31690 * string/strcmp.c: Remove unused #include of memcopy.h.
31691 (strcmp): Use ANSI prototype.
31692 * string/strcpy.c: Remove unused #include of memcopy.h.
31693 (strcpy): Use ANSI prototype.
31694
31695 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31696
31697 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31698 * config.make.in (config-extra-cppflags): Set it from
31699 libc_extra_cppflags.
31700 * configure.ac (libc_extra_cflags): Make it accumulate over
31701 configure fragments.
31702 (libc_extra_cppflags): New flag.
31703 * configure. Regenerate.
31704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31705 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31706 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31708
31709 [BZ #16815]
31710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31711 result for FE_DOWNWARD rounding mode.
31712 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31713 Likewise.
31714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31715
31716 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
31717
31718 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31719 in function argument name.
31720
31721 2014-04-03 David Svoboda <svoboda@cert.org>
31722
31723 [BZ #5666]
31724 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31725 explicitly.
31726
31727 2014-04-03 Roland McGrath <roland@hack.frob.com>
31728
31729 * elf/dl-unmap-segments.h: New file.
31730 * sysdeps/generic/ldsodefs.h
31731 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31732 * elf/dl-close.c: Include <dl-unmap-segments.h>.
31733 * elf/dl-fptr.c: Likewise.
31734 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31735 * sysdeps/aarch64/tlsdesc.c: Likewise.
31736 * sysdeps/arm/tlsdesc.c: Likewise.
31737 * sysdeps/i386/tlsdesc.c: Likewise.
31738 * sysdeps/tile/dl-runtime.c: Likewise.
31739 * sysdeps/x86_64/tlsdesc.c: Likewise.
31740 * elf/dl-load.h: New file.
31741 * elf/dl-load.c: Include it.
31742 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31743 Macros moved to dl-load.h.
31744 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31745 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31746 Use _dl_unmap_segments in place of __munmap.
31747 Break out segment-mapping loop into ...
31748 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31749
31750 2014-04-03 Will Newton <will.newton@linaro.org>
31751
31752 * elf/dl-lookup.c (do_lookup_x): Remove comment
31753 referring to nested function and move variable
31754 declarations down to before first use.
31755
31756 2014-04-02 Joseph Myers <joseph@codesourcery.com>
31757
31758 [BZ #16799]
31759 [BZ #16800]
31760 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31761 with 0 numerator.
31762 * math/s_catanf.c (__catanf): Likewise.
31763 * math/s_catanh.c (__catanh): Likewise.
31764 * math/s_catanhf.c (__catanhf): Likewise.
31765 * math/s_catanhl.c (__catanhl): Likewise.
31766 * math/s_catanl.c (__catanl): Likewise.
31767 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31768 by positive zero when computing -Inf result.
31769 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31770 (catanh_test): Likewise.
31771 * sysdeps/i386/fpu/libm-test-ulps: Update.
31772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31773
31774 [BZ #16789]
31775 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31776 instead of using underflowing value in computing result.
31777 * math/s_clog10.c (__clog10): Likewise.
31778 * math/s_clog10f.c (__clog10f): Likewise.
31779 * math/s_clog10l.c (__clog10l): Likewise.
31780 * math/s_clogf.c (__clogf): Likewise.
31781 * math/s_clogl.c (__clogl): Likewise.
31782 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31783 (clog10_test): Likewise.
31784 * sysdeps/i386/fpu/libm-test-ulps: Update.
31785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31786
31787 2014-04-02 Alan Modra <amodra@gmail.com>
31788
31789 [BZ #16739]
31790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31791 output when value is near a power of two. Use int64_t for lx and
31792 remove casts. Use decimal rather than hex exponent constants.
31793 Don't use long double multiplication when double will suffice.
31794 * math/libm-test.inc (nextafter_test_data): Add tests.
31795 * NEWS: Add 16739 and 16786 to bug list.
31796
31797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31798
31799 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31800
31801 2014-04-01 Will Newton <will.newton@linaro.org>
31802
31803 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31804 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
31805
31806 2014-04-01 Florian Weimer <fweimer@redhat.com>
31807
31808 [BZ #13347]
31809 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31810 * nptl/tst-setuid2.c: New file.
31811 * nptl/Makefile (xtests): Add tst-setuid2.
31812
31813 2014-04-01 Alan Modra <amodra@gmail.com>
31814
31815 [BZ #16786]
31816 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31817
31818 2014-03-31 Joseph Myers <joseph@codesourcery.com>
31819
31820 [BZ #6803]
31821 [BZ #6804]
31822 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31823 set errno as appropriate.
31824 * math/w_scalbf.c (__scalbf): Likewise.
31825 * math/w_scalbl.c (__scalbl): Likewise.
31826 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31827 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31828 * math/libm-test.inc (scalb_test_data): Add errno expectations.
31829 Add more NaN tests.
31830
31831 [BZ #16349]
31832 * math/w_atan2.c: Include <errno.h>.
31833 (__atan2): Set errno for result underflowing to zero.
31834 * math/w_atan2f.c: Include <errno.h>.
31835 (__atan2f): Set errno for result underflowing to zero.
31836 * math/w_atan2l.c: Include <errno.h>.
31837 (__atan2l): Set errno for result underflowing to zero.
31838 * math/auto-libm-test-in: Don't allow missing errno for some atan2
31839 tests.
31840 * math/auto-libm-test-out: Regenerated.
31841
31842 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31843
31844 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31845 Encode instruction correctly in little endian.
31846 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31847 Likewise.
31848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31849 Likewise.
31850 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31851 Likewise.
31852 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31853 Likewise.
31854
31855 2014-03-31 Joseph Myers <joseph@codesourcery.com>
31856
31857 [BZ #9894]
31858 * sysdeps/unix/sysv/linux/kernel-features.h
31859 [__sparc__ && !__arch64__ && !__sparc_v9__]
31860 (__ASSUME_SET_ROBUST_LIST): Do not define.
31861 [__sparc__ && !__arch64__ && !__sparc_v9__]
31862 (__ASSUME_FUTEX_LOCK_PI): Likewise.
31863 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31864 Likewise.
31865 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31866 (__ASSUME_FUTEX_LOCK_PI): Undefine.
31867 (__ASSUME_REQUEUE_PI): Likewise.
31868 (__ASSUME_SET_ROBUST_LIST): Likewise.
31869 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31870 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31871 Undefine.
31872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31873 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31874 Likewise.
31875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31876 Likewise.
31877 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31878 Likewise.
31879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
31880 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31881 Undefine.
31882 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31883 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31884 Likewise.
31885
31886 [BZ #16648]
31887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31889 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31890
31891 2014-03-31 Will Newton <will.newton@linaro.org>
31892
31893 * benchtests/Makefile (bench): Add ffs and ffsll to list
31894 of tests.
31895 * benchtests/ffs-inputs: New file.
31896 * benchtests/ffsll-inputs: Likewise.
31897
31898 2014-03-29 Joseph Myers <joseph@codesourcery.com>
31899
31900 [BZ #16770]
31901 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31902 too large before casting to int.
31903 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31904 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31905 * math/libm-test.inc (scalb_test_data): Add more tests.
31906
31907 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31908
31909 * benchtests/Makefile (DETAILED_OPT): New make option.
31910 (bench-func): Run benchmark program with -d if DETAILED_OPT is
31911 set.
31912 * benchtests/bench-skeleton.c: Include stdbool.h.
31913 (main): Store and print timings per input.
31914 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31915 member to each argument value.
31916 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31917 (_print_arg_data): Initialize per-input timing to 0.
31918
31919 * benchtests/Makefile (timing-type): New binary.
31920 (bench-clean): Also remove bench-timing-type.
31921 (bench): New target for timing-type.
31922 (bench-func): Print output in JSON format.
31923 * benchtests/bench-skeleton.c (main): Print output in JSON
31924 format.
31925 * benchtests/bench-timing-type.c: New file.
31926 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31927 (TIMING_PRINT_STATS): Remove.
31928 * benchtests/scripts/bench.py (_print_arg_data): Store variant
31929 name separately.
31930
31931 * benchtests/bench-modf.c: Remove.
31932 * benchtests/modf-inputs: New inputs file.
31933
31934 2014-03-28 Joseph Myers <joseph@codesourcery.com>
31935
31936 [BZ #16362]
31937 * math/s_clog10.c (M_PI_LOG10E): New macro.
31938 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31939 imaginary parts are 0.
31940 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31941 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31942 imaginary parts are 0.
31943 * math/s_clog10l.c (M_PI_LOG10El): New macro.
31944 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31945 imaginary parts are 0.
31946 * math/libm-test.inc (clog10_test_data): Update expected results
31947 for when real and imaginary parts are 0.
31948
31949 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31950
31951 * elf/dl-load.c: Finish conversion of __builtin_expect into
31952 __glibc_{un}likely.
31953
31954 2014-03-27 Joseph Myers <joseph@codesourcery.com>
31955
31956 [BZ #16348]
31957 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31958 1+x for argument with exponent below -67.
31959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31960 Likewise.
31961 * math/auto-libm-test-in: Add more tests of exp.
31962 * math/auto-libm-test-out: Regenerated.
31963
31964 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31965
31966 [BZ #16759]
31967 * inet/getnetgrent_r.c (get_nonempty_val): New function.
31968 (nscd_getnetgrent): Use it.
31969
31970 [BZ #16760]
31971 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31972 of stpcpy.
31973
31974 2014-03-27 Andi Kleen <ak@linux.intel.com>
31975
31976 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31977 (lll_robust_lock, lll_cond_lock, lll_timedlock)
31978 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31979 (lll_robust_unlock): Remove out of line section. Use cfi
31980 intrinsics.
31981 (LLL_STUB_UNWIND_INFO*): Remove.
31982 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31983 (lll_robust_lock, lll_cond_lock, lll_timedlock)
31984 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31985 (lll_robust_unlock): Remove out of line section. Use cfi
31986 intrinsics.
31987 (LLL_STUB_UNWIND_INFO*): Remove.
31988
31989 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31990
31991 [BZ #16758]
31992 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31993 blank values.
31994
31995 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
31996
31997 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31998
31999 2014-03-26 Joseph Myers <joseph@codesourcery.com>
32000
32001 [BZ #16198]
32002 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32003 fnstenv.
32004 * math/test-fenv-preserve.c: New file.
32005 * math/Makefile (tests): Add test-fenv-preserve.
32006
32007 2014-03-26 Will Newton <will.newton@linaro.org>
32008
32009 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32010
32011 2014-03-25 Roland McGrath <roland@hack.frob.com>
32012
32013 * scripts/versionlist.awk: Partition the version sets and emit all
32014 GLIBC_* (sorted) before all others (sorted).
32015
32016 2014-03-25 Joseph Myers <joseph@codesourcery.com>
32017
32018 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32019 GLIBC_2.2.5 version.
32020
32021 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32022
32023 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32024 calls.
32025
32026 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32027 previous change.
32028
32029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32030
32031 2014-03-25 Andreas Schwab <schwab@suse.de>
32032
32033 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32034 label to be used after in6ailist is initialized.
32035
32036 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32037
32038 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32039 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32040
32041 2014-03-25 Joseph Myers <joseph@codesourcery.com>
32042
32043 [BZ #16357]
32044 [BZ #16599]
32045 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32046 min_plus_half.
32047 (fp_formats): Update initializers.
32048 (init_fp_formats): Initialize new field.
32049 (output_for_one_input_case): Allow underflow for results up to
32050 min_plus_half.
32051 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32052 * math/auto-libm-test-in: Don't mark some underflows from asin and
32053 atanh as spurious.
32054 * math/auto-libm-test-out: Regenerated.
32055 * sysdeps/i386/fpu/libm-test-ulps: Update.
32056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32057
32058 2014-03-25 Andreas Schwab <schwab@suse.de>
32059
32060 * libio/Makefile (tst-ftell-partial-wide-ENV)
32061 (tst-ftell-active-handler-ENV): Define.
32062
32063 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32064
32065 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32066
32067 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
32068
32069 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32070
32071 2014-03-24 Joseph Myers <joseph@codesourcery.com>
32072
32073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32074 * sysdeps/x86_64/fpu/multiarch/e_exp.c
32075 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32076
32077 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
32078
32079 [BZ #16634]
32080 * elf/dl-load.c (open_verify): Add mode parameter.
32081 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32082 (open_path): Change from boolean 'secure' to complete flag 'mode'
32083 (_dl_map_object): Adjust.
32084 * elf/Makefile (tests): Add tst-dlopen-aout.
32085 * elf/tst-dlopen-aout.c: New test.
32086
32087 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
32088
32089 [BZ #16714]
32090 * sysdeps/unix/sysv/linux/s390/bits/stat.h
32091 (struct stat): Rename member pad0 to __glibc_reserved0.
32092
32093 [BZ #16712]
32094 * sysdeps/s390/s390-32/bits/wordsize.h
32095 (__WORDSIZE32_SIZE_ULONG): New define.
32096 * sysdeps/s390/s390-64/bits/wordsize.h
32097 (__WORDSIZE32_SIZE_ULONG): Likewise.
32098 * sysdeps/generic/stdint.h (SIZE_MAX):
32099 Define as UL if __WORDSIZE32_SIZE_ULONG.
32100
32101 [BZ #16713]
32102 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32103 (__glibc_reserved0): New variable.
32104 (sa_flags): Change type to int.
32105
32106 * posix/Makefile (before-compile): Use += before-compile instead
32107 of a :=.
32108
32109 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32110 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32111
32112 2014-03-20 Andreas Schwab <schwab@suse.de>
32113
32114 [BZ #16743]
32115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32116 non-matching result from nscd.
32117
32118 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32119
32120 * scripts/bench.py: Moved to ...
32121 * benchtests/scripts/bench.py: ... here.
32122 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32123
32124 2014-03-24 Andreas Schwab <schwab@suse.de>
32125
32126 [BZ #16002]
32127 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32128 alloca_account and account alloca use for struct in6ailist.
32129
32130 2014-03-24 Joseph Myers <joseph@codesourcery.com>
32131
32132 [BZ #16284]
32133 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32134 rounding mode to recompute results that overflow to infinity or
32135 underflow to zero.
32136 * math/auto-libm-test-in: Don't mark tests as expected to fail for
32137 bug 16284.
32138 * math/auto-libm-test-out: Regenerated.
32139 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32140 (ccosh_test): Likewise.
32141 (csin_test_data): Use plus_oflow.
32142 (csin_test): Use ALL_RM_TEST.
32143 (csinh_test_data): Use plus_oflow.
32144 (csinh_test): Use ALL_RM_TEST.
32145 * sysdeps/i386/fpu/libm-test-ulps: Update.
32146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32147
32148 2014-03-21 Joseph Myers <joseph@codesourcery.com>
32149
32150 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32151 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32152 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32153
32154 [BZ #16731]
32155 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32156 when x - 1 is zero.
32157 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32158 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32159 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32161 argument is 1.
32162 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32163 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32164 zero.
32165 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32166 * sysdeps/i386/fpu/libm-test-ulps: Update.
32167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32168
32169 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32170
32171 * scripts/bench.pl: Remove file.
32172 * scripts/bench.py: New benchmark script.
32173 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32174 * benchtests/README: Mention python dependency.
32175 * scripts/pylintrc: New file.
32176 * scripts/pylint: New file.
32177
32178 * bits/mathdef.h: Use #ifdef instead of #if.
32179 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32180 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32181 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32182 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32183 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32184 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32185
32186 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32187 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32188
32189 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32191 and strpbrk-ppc64 objects.
32192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32193 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32194 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32195 multiarch strpbrk for POWER7.
32196 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32197 multiarch strpbrk for PPC64.
32198 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32199 ifunc selector.
32200 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32201 strpbrk for POWER7.
32202
32203 2014-03-20 Joseph Myers <joseph@codesourcery.com>
32204
32205 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32206 (atan_test): Likewise.
32207 (atanh_test_data): Use NO_TEST_INLINE for two tests.
32208 (atanh_test): Use ALL_RM_TEST.
32209 (atan2_test_data): Likewise.
32210 (cabs_test): Likewise.
32211 (cacosh_test): Likewise.
32212 (carg_test): Likewise.
32213 (casin_test): Likewise.
32214 (casinh_test): Likewise.
32215 (cbrt_test): Likewise.
32216 (csqrt_test): Likewise.
32217 (erf_test): Likewise.
32218 (erfc_test): Likewise.
32219 (pow10_test): Likewise.
32220 (exp2_test): Likewise.
32221 (hypot_test): Likewise.
32222 (j0_test): Likewise.
32223 (j1_test): Likewise.
32224 (lgamma_test): Likewise.
32225 (gamma_test): Likewise.
32226 (sincos_test): Likewise.
32227 (tanh_test): Likewise.
32228 (y0_test): Likewise.
32229 (y1_test): Likewise.
32230 * sysdeps/i386/fpu/libm-test-ulps: Update.
32231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32232
32233 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32234
32235 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32237 and strcspn-ppc64 objects.
32238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32239 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32240 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32241 multiarch strcspn for POWER7.
32242 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32243 multiarch strcspn for PPC64.
32244 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32245 ifunc selector.
32246 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32247 strcspn for POWER7.
32248
32249 2014-03-20 Joseph Myers <joseph@codesourcery.com>
32250
32251 * math/gen-libm-test.pl (generate_testfile): Expect only function
32252 name as argument to AUTO_TESTS_* and pass results for all rounding
32253 modes to parse_args.
32254 (parse_auto_input): Separate inputs of automatic tests from
32255 outputs before storing in %auto_tests.
32256 * math/libm-test.inc (acos_test_data): Update call to
32257 AUTO_TESTS_f_f.
32258 (acos_test): Use ALL_RM_TEST.
32259 (acos_tonearest_test_data): Remove.
32260 (acos_test_tonearest): Likewise.
32261 (acos_towardzero_test_data): Likewise.
32262 (acos_test_towardzero): Likewise.
32263 (acos_downward_test_data): Likewise.
32264 (acos_test_downward): Likewise.
32265 (acos_upward_test_data): Likewise.
32266 (acos_test_upward): Likewise.
32267 (acosh_test_data): Update call to AUTO_TESTS_f_f.
32268 (asin_test_data): Likewise.
32269 (asin_test): Use ALL_RM_TEST.
32270 (asin_tonearest_test_data): Remove.
32271 (asin_test_tonearest): Likewise.
32272 (asin_towardzero_test_data): Likewise.
32273 (asin_test_towardzero): Likewise.
32274 (asin_downward_test_data): Likewise.
32275 (asin_test_downward): Likewise.
32276 (asin_upward_test_data): Likewise.
32277 (asin_test_upward): Likewise.
32278 (asinh_test_data): Update call to AUTO_TESTS_f_f.
32279 (atan_test_data): Likewise.
32280 (atanh_test_data): Likewise.
32281 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32282 (cabs_test_data): Update call to AUTO_TESTS_c_f.
32283 (carg_test_data): Likewise.
32284 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32285 (ccos_test_data): Update call to AUTO_TESTS_c_c.
32286 (ccosh_test_data): Likewise.
32287 (cexp_test_data): Likewise.
32288 (clog_test_data): Likewise.
32289 (clog10_test_data): Likewise.
32290 (cos_test_data): Update call to AUTO_TESTS_f_f.
32291 (cos_test): Use ALL_RM_TEST.
32292 (cos_tonearest_test_data): Remove.
32293 (cos_test_tonearest): Likewise.
32294 (cos_towardzero_test_data): Likewise.
32295 (cos_test_towardzero): Likewise.
32296 (cos_downward_test_data): Likewise.
32297 (cos_test_downward): Likewise.
32298 (cos_upward_test_data): Likewise.
32299 (cos_test_upward): Likewise.
32300 (cosh_test_data): Update call to AUTO_TESTS_f_f.
32301 (cosh_test): Use ALL_RM_TEST.
32302 (cosh_tonearest_test_data): Remove.
32303 (cosh_test_tonearest): Likewise.
32304 (cosh_towardzero_test_data): Likewise.
32305 (cosh_test_towardzero): Likewise.
32306 (cosh_downward_test_data): Likewise.
32307 (cosh_test_downward): Likewise.
32308 (cosh_upward_test_data): Likewise.
32309 (cosh_test_upward): Likewise.
32310 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32311 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32312 (ctan_test_data): Likewise.
32313 (ctan_test): Use ALL_RM_TEST.
32314 (ctan_tonearest_test_data): Remove.
32315 (ctan_test_tonearest): Likewise.
32316 (ctan_towardzero_test_data): Likewise.
32317 (ctan_test_towardzero): Likewise.
32318 (ctan_downward_test_data): Likewise.
32319 (ctan_test_downward): Likewise.
32320 (ctan_upward_test_data): Likewise.
32321 (ctan_test_upward): Likewise.
32322 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32323 (ctanh_test): Use ALL_RM_TEST.
32324 (ctanh_tonearest_test_data): Remove.
32325 (ctanh_test_tonearest): Likewise.
32326 (ctanh_towardzero_test_data): Likewise.
32327 (ctanh_test_towardzero): Likewise.
32328 (ctanh_downward_test_data): Likewise.
32329 (ctanh_test_downward): Likewise.
32330 (ctanh_upward_test_data): Likewise.
32331 (ctanh_test_upward): Likewise.
32332 (erf_test_data): Update call to AUTO_TESTS_f_f.
32333 (erfc_test_data): Likewise.
32334 (exp_test_data): Likewise.
32335 (exp_test): Use ALL_RM_TEST.
32336 (exp_tonearest_test_data): Remove.
32337 (exp_test_tonearest): Likewise.
32338 (exp_towardzero_test_data): Likewise.
32339 (exp_test_towardzero): Likewise.
32340 (exp_downward_test_data): Likewise.
32341 (exp_test_downward): Likewise.
32342 (exp_upward_test_data): Likewise.
32343 (exp_test_upward): Likewise.
32344 (exp10_test_data): Update call to AUTO_TESTS_f_f.
32345 (exp10_test): Use ALL_RM_TEST.
32346 (exp10_tonearest_test_data): Remove.
32347 (exp10_test_tonearest): Likewise.
32348 (exp10_towardzero_test_data): Likewise.
32349 (exp10_test_towardzero): Likewise.
32350 (exp10_downward_test_data): Likewise.
32351 (exp10_test_downward): Likewise.
32352 (exp10_upward_test_data): Likewise.
32353 (exp10_test_upward): Likewise.
32354 (exp2_test_data): Update call to AUTO_TESTS_f_f.
32355 (expm1_test_data): Likewise.
32356 (expm1_test): Use ALL_RM_TEST.
32357 (expm1_tonearest_test_data): Remove.
32358 (expm1_test_tonearest): Likewise.
32359 (expm1_towardzero_test_data): Likewise.
32360 (expm1_test_towardzero): Likewise.
32361 (expm1_downward_test_data): Likewise.
32362 (expm1_test_downward): Likewise.
32363 (expm1_upward_test_data): Likewise.
32364 (expm1_test_upward): Likewise.
32365 (fma_test_data): Update call to AUTO_TESTS_fff_f.
32366 (fma_test): Use ALL_RM_TEST.
32367 (fma_towardzero_test_data): Remove.
32368 (fma_test_towardzero): Likewise.
32369 (fma_downward_test_data): Likewise.
32370 (fma_test_downward): Likewise.
32371 (fma_upward_test_data): Likewise.
32372 (fma_test_upward): Likewise.
32373 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32374 (j0_test_data): Update call to AUTO_TESTS_f_f.
32375 (j1_test_data): Likewise.
32376 (jn_test_data): Update call to AUTO_TESTS_if_f.
32377 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32378 (log_test_data): Update call to AUTO_TESTS_f_f.
32379 (log10_test_data): Likewise.
32380 (log1p_test_data): Likewise.
32381 (log2_test_data): Likewise.
32382 (pow_test_data): Update call to AUTO_TESTS_ff_f.
32383 (pow_tonearest_test_data): Likewise.
32384 (sin_test_data): Update call to AUTO_TESTS_f_f.
32385 (sin_test): Use ALL_RM_TEST.
32386 (sin_tonearest_test_data): Remove.
32387 (sin_test_tonearest): Likewise.
32388 (sin_towardzero_test_data): Likewise.
32389 (sin_test_towardzero): Likewise.
32390 (sin_downward_test_data): Likewise.
32391 (sin_test_downward): Likewise.
32392 (sin_upward_test_data): Likewise.
32393 (sin_test_upward): Likewise.
32394 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32395 (sinh_test_data): Update call to AUTO_TESTS_f_f.
32396 (sinh_test): Use ALL_RM_TEST.
32397 (sinh_tonearest_test_data): Remove.
32398 (sinh_test_tonearest): Likewise.
32399 (sinh_towardzero_test_data): Likewise.
32400 (sinh_test_towardzero): Likewise.
32401 (sinh_downward_test_data): Likewise.
32402 (sinh_test_downward): Likewise.
32403 (sinh_upward_test_data): Likewise.
32404 (sinh_test_upward): Likewise.
32405 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32406 (sqrt_test): Use ALL_RM_TEST.
32407 (sqrt_tonearest_test_data): Remove.
32408 (sqrt_test_tonearest): Likewise.
32409 (sqrt_towardzero_test_data): Likewise.
32410 (sqrt_test_towardzero): Likewise.
32411 (sqrt_downward_test_data): Likewise.
32412 (sqrt_test_downward): Likewise.
32413 (sqrt_upward_test_data): Likewise.
32414 (sqrt_test_upward): Likewise.
32415 (tan_test_data): Update call to AUTO_TESTS_f_f.
32416 (tan_test): Use ALL_RM_TEST.
32417 (tan_tonearest_test_data): Remove.
32418 (tan_test_tonearest): Likewise.
32419 (tan_towardzero_test_data): Likewise.
32420 (tan_test_towardzero): Likewise.
32421 (tan_downward_test_data): Likewise.
32422 (tan_test_downward): Likewise.
32423 (tan_upward_test_data): Likewise.
32424 (tan_test_upward): Likewise.
32425 (tanh_test_data): Update call to AUTO_TESTS_f_f.
32426 (tgamma_test_data): Likewise.
32427 (y0_test_data): Likewise.
32428 (y1_test_data): Likewise.
32429 (yn_test_data): Update call to AUTO_TESTS_if_f.
32430 (main): Do not call removed functions.
32431
32432 2014-03-19 Joseph Myers <joseph@codesourcery.com>
32433
32434 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32435 (ldexp_test_data): Remove.
32436 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
32437 scalbn_test_data.
32438 (scalb_test): Use ALL_RM_TEST.
32439
32440 2014-03-19 Andreas Schwab <schwab@suse.de>
32441
32442 * nscd/nscd.service: Also invalidate netgroup cache on reload.
32443
32444 2014-03-19 Joseph Myers <joseph@codesourcery.com>
32445
32446 [BZ #16649]
32447 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32448 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32449 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32451 (__ASSUME_PREADV): Undefine.
32452 (__ASSUME_PWRITEV): Likewise.
32453
32454 2014-03-18 Roland McGrath <roland@hack.frob.com>
32455
32456 * bits/mman-linux.h: Add comment about non-Linux use.
32457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32458 bits/mman-linux.h resting place.
32459
32460 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32461 * bits/mman-linux.h: ... here.
32462
32463 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32464
32465 * conform/conformtest.pl: Add standard definition when calling C
32466 preprocessor on data files.
32467 (checknamespace): Remove unused variable.
32468
32469 2014-03-18 Joseph Myers <joseph@codesourcery.com>
32470
32471 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32472 minus_oflow, plus_uflow and minus_uflow in expected results.
32473 * math/libm-test.inc (scalbn_test_data): Add more tests of
32474 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
32475 minus_uflow.
32476 (scalbn_test): Use ALL_RM_TEST.
32477 (scalbln_test_data): Add more tests of negative arguments. Use
32478 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32479 (scalbln_test): Use ALL_RM_TEST.
32480
32481 2014-03-18 Roland McGrath <roland@hack.frob.com>
32482
32483 * scripts/abilist.awk: Ignore symbols marked with .hidden.
32484
32485 2014-03-18 Will Newton <will.newton@linaro.org>
32486
32487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32488 inaccurate comment.
32489
32490 2014-03-18 Joseph Myers <joseph@codesourcery.com>
32491
32492 * Makerules [!subdir] (check-abi): Exit with error status if a
32493 test failed.
32494
32495 2014-03-17 Joseph Myers <joseph@codesourcery.com>
32496
32497 * math/libm-test.inc (nearbyint_test_data): Include all tests used
32498 for rint. Include results for all rounding modes.
32499 (nearbyint_test): Use ALL_RM_TEST.
32500 (rint_test_data): Include all tests used for nearbyint.
32501
32502 2014-03-17 Will Newton <will.newton@linaro.org>
32503
32504 * nptl/sysdeps/pthread/pthread.h: Revert previous
32505 change.
32506
32507 * sysdeps/generic/ldsodefs.h: Revert previous
32508 change.
32509
32510 * libio/genops.c: Revert previous change.
32511 * libio/libioP.h: Likewise.
32512 * stdio-common/vfprintf.c: Likewise.
32513
32514 * sysdeps/generic/math_private.h: Revert previous
32515 change.
32516
32517 * sysdeps/generic/math_private.h: Check whether
32518 HAVE_RM_CTX is defined with #ifdef rather
32519 than #if.
32520
32521 * argp/argp-fmtstream.h: Check whether
32522 __STRICT_ANSI__ is defined with #ifdef rather
32523 than #if.
32524 * argp/argp.h: Likewise.
32525
32526 * libio/genops.c: Check whether
32527 _IO_JUMPS_OFFSET is defined with #ifdef rather
32528 than #if.
32529 * libio/libioP.h: Likewise.
32530 * stdio-common/vfprintf.c: Likewise.
32531
32532 * sysdeps/generic/ldsodefs.h: Check whether
32533 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32534 than #if.
32535
32536 * nptl/sysdeps/pthread/pthread.h: Check
32537 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32538 its value.
32539
32540 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32541
32542 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32543 setting O_APPEND.
32544 * libio/tst-ftell-active-handler.c (do_append_test): Add a
32545 test case.
32546
32547 [BZ #16680]
32548 * libio/fileops.c (_IO_file_open): Seek to end of file but
32549 don't cache the offset.
32550 (get_file_offset): Remove function.
32551 (do_ftell): Use cached offset when available.
32552 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32553 don't cache the offset.
32554 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32555 case.
32556 (do_one_test): Call it.
32557 (do_ftell_test): Fix up expected old offset for a+ mode.
32558 * libio/wfileops.c (do_ftell_wide): Used cached offset when
32559 available.
32560
32561 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32562 up test status with function return status.
32563 (do_write_test): Likewise.
32564 (do_append_test): Likewise.
32565
32566 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32567 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32568 Remove.
32569
32570 2014-03-17 Joseph Myers <joseph@codesourcery.com>
32571
32572 * math/gen-libm-test.pl (parse_args): Handle results specified for
32573 each rounding mode separately.
32574 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32575 tests and results from lrint_tonearest_test_data,
32576 lrint_towardzero_test_data, lrint_downward_test_data and
32577 lrint_upward_test_data.
32578 (lrint_test): Use ALL_RM_TEST.
32579 (lrint_tonearest_test_data): Remove.
32580 (lrint_test_tonearest): Likewise.
32581 (lrint_towardzero_test_data): Likewise.
32582 (lrint_test_towardzero): Likewise.
32583 (lrint_downward_test_data): Likewise.
32584 (lrint_test_downward): Likewise.
32585 (lrint_upward_test_data): Likewise.
32586 (lrint_test_upward): Likewise.
32587 (llrint_test_data): Merge in per-rounding-mode tests and results
32588 from llrint_tonearest_test_data, llrint_towardzero_test_data,
32589 llrint_downward_test_data and llrint_upward_test_data.
32590 (llrint_test): Use ALL_RM_TEST.
32591 (llrint_tonearest_test_data): Remove.
32592 (llrint_test_tonearest): Likewise.
32593 (llrint_towardzero_test_data): Likewise.
32594 (llrint_test_towardzero): Likewise.
32595 (llrint_downward_test_data): Likewise.
32596 (llrint_test_downward): Likewise.
32597 (llrint_upward_test_data): Likewise.
32598 (llrint_test_upward): Likewise.
32599 (rint_test_data): Merge in per-rounding-mode tests and results
32600 from rint_tonearest_test_data, rint_towardzero_test_data,
32601 rint_downward_test_data and rint_upward_test_data. Add
32602 per-rounding-mode results for tests not in those arrays.
32603 (rint_test): Use ALL_RM_TEST.
32604 (rint_tonearest_test_data): Remove.
32605 (rint_test_tonearest): Likewise.
32606 (rint_towardzero_test_data): Likewise.
32607 (rint_test_towardzero): Likewise.
32608 (rint_downward_test_data): Likewise.
32609 (rint_test_downward): Likewise.
32610 (rint_upward_test_data): Likewise.
32611 (rint_test_upward): Likewise.
32612 (main): Don't call removed functions.
32613
32614 2014-03-14 Roland McGrath <roland@hack.frob.com>
32615
32616 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32617 "Compiled on ..." crapola. It is anti-useful.
32618
32619 2014-03-14 Joseph Myers <joseph@codesourcery.com>
32620
32621 * scripts/evaluate-test.sh: Handle fourth argument to determine
32622 whether test run should stop on failure.
32623 * Makeconfig (stop-on-test-failure): New variable.
32624 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32625 $(stop-on-test-failure).
32626 * Makefile (tests): Give a summary of results from testing and
32627 exit with failure status if they include an ERROR or FAIL.
32628 (xtests): Likewise.
32629 * manual/install.texi (Configuring and compiling): Mention
32630 stop-on-test-failure=y.
32631 * INSTALL: Regenerated.
32632
32633 2014-03-14 Roland McGrath <roland@hack.frob.com>
32634
32635 * scripts/versionlist.awk: New file.
32636 * Makerules [$(build-shared) = yes]
32637 (postclean-generated): Add Versions.def, not Versions.def.v and
32638 Versions.def.v.i.
32639 ($(common-objpfx)Versions.def.v.i): Target removed.
32640 ($(common-objpfx)Versions.def): New target.
32641 ($(common-objpfx)Versions.all): Depend on that rather that
32642 $(common-objpfx)Versions.def.v.
32643 * Versions.def: File removed.
32644
32645 * Makeconfig (+gccwarn): Add -Wundef.
32646 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32647 a dl-sysdep.h breaking its contract.
32648 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32649 * include/stackinfo.h: New file.
32650 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32651 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32652 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32653 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32654 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32655 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32656 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32657 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32658 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32659 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32660 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32661 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32662 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32663 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32664 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32665
32666 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32667
32668 [BZ #16707]
32669 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32670 implementation.
32671 * math/libm-test.inc (round_test_data): Add more tests.
32672
32673 [BZ #16706]
32674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32675 implementation.
32676 * math/libm-test.inc (nearbyint_test_data): Add more tests.
32677
32678 [BZ #16701]
32679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32680 implementation.
32681 * math/libm-test.inc (ceil_test_data): Add more tests.
32682
32683 * math/libm-test.inc (trunc_test_data): Add more tests related to
32684 BZ#16414.
32685
32686 2014-03-14 Roland McGrath <roland@hack.frob.com>
32687
32688 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32689 with #if rather than #ifdef.
32690 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32691
32692 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32695 first. Disable AVX-512 GCC support if assembler doesn't support
32696 it.
32697 * sysdeps/x86_64/configure: Regenerated.
32698
32699 2014-03-13 Carlos O'Donell <carlos@redhat.com>
32700
32701 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32702 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32703 (__old_pthread_attr_setstack): Likewise.
32704 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32705 [!_STACK_GROWS_DOWN]: Likewise.
32706
32707 2014-03-13 Mike Frysinger <vapier@gentoo.org>
32708
32709 * config.make.in (have-bash2): Delete.
32710 * configure.ac (libc_cv_have_bash2): Delete.
32711 * configure: Regenerate.
32712 * elf/Makefile (common-ldd-rewrite): Rename to ...
32713 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
32714 (sh-ldd-rewrite): Delete.
32715 (bash-ldd-rewrite): Delete.
32716 (have-bash2): Delete checks.
32717 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32718 ldd-rewrite.
32719
32720 * config.make.in (have-ksh): Delete.
32721 (KSH): Delete.
32722 * configure.ac (libc_cv_have_ksh): Delete.
32723 * configure: Regenerate.
32724
32725 * elf/Makefile: Delete $(have-ksh) check.
32726 ($(objpfx)sotruss): Change KSH to BASH.
32727 * elf/sotruss.ksh: Rename to ...
32728 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
32729 function style to match POSIX. Drop ksh vim mode setting.
32730
32731 * manual/time.texi (Specifying the Time Zone with TZ): Change
32732 Tuesday to Thursday.
32733
32734 * debug/tst-longjmp_chk2.c: Update header comment.
32735 (stackoverflow_handler): Add comment. Call assert on pass value.
32736
32737 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
32738
32739 [BZ #16194]
32740 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32741 (HAVE_AVX512_ASM_SUPPORT): Likewise.
32742 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32743 (La_x86_64_vector): Add zmm.
32744 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32745 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32746 ($(objpfx)tst-audit10): New target.
32747 ($(objpfx)tst-audit10.out): Likewise.
32748 (tst-audit10-ENV): New.
32749 (AVX512-CFLAGS): Likewise.
32750 (CFLAGS-tst-audit10.c): Likewise.
32751 (CFLAGS-tst-auditmod10a.c): Likewise.
32752 (CFLAGS-tst-auditmod10b.c): Likewise.
32753 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32754 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32755 * sysdeps/x86_64/configure: Regenerated.
32756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32757 AVX-512 zmm register support.
32758 (_dl_x86_64_save_sse): Likewise.
32759 (_dl_x86_64_restore_sse): Likewise.
32760 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32761 size vector registers.
32762 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32763 (ZMM_SIZE): Likewise.
32764 * sysdeps/x86_64/tst-audit10.c: New file.
32765 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32766 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32767
32768 2014-03-13 Roland McGrath <roland@hack.frob.com>
32769
32770 * configure.ac (HAVE_EHDR_START): New check.
32771 * configure: Regenerated.
32772 * config.h.in (HAVE_EHDR_START): New #undef.
32773 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32774 assuming the lowest-addressed segment maps the start of the file.
32775
32776 2014-03-13 Joseph Myers <joseph@codesourcery.com>
32777
32778 * INSTALL: Regenerated.
32779
32780 2014-03-13 Will Newton <will.newton@linaro.org>
32781
32782 * manual/setjmp.texi (System V contexts): Improve
32783 clarity and grammar of documentation.
32784
32785 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32786
32787 [BZ #16381]
32788 * elf/Makefile (tests): Add tst-pie2.
32789 (tests-pie): Add tst-pie2.
32790 * elf/tst-pie2.c: New file.
32791 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32792 for ET_EXEC.
32793 * elf/rtld.c (map_doit): Load executable as lt_executable.
32794 (dl_main): Likewise.
32795
32796 2014-03-12 Joseph Myers <joseph@codesourcery.com>
32797
32798 [BZ #16642]
32799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32800 (__ASSUME_PSELECT): Undefine.
32801
32802 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32803
32804 [BZ #16689]
32805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32806 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32807 static build.
32808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32809 selector for static builds.
32810
32811 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32812
32813 [BZ #16695]
32814 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32815 key in the buffer.
32816
32817 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32818
32819 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32820 IFUNC selector for static builds.
32821
32822 2014-03-11 Joseph Myers <joseph@codesourcery.com>
32823
32824 * sysdeps/mips/math_private.h [__mips_hard_float]
32825 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32826 libc_feresetround_mips_ctx.
32827 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32828 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32829 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32830
32831 [BZ #16677]
32832 * math/s_nextafter.c (__nextafter): Do not return value from
32833 overflowing computation.
32834 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32835 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32837 Likewise.
32838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32839 Likewise.
32840 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32841 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32842
32843 2014-03-11 Roland McGrath <roland@hack.frob.com>
32844
32845 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32846 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32847 Move sfi_sp use from the load-multiple (that no longer sets sp) to
32848 the new mov targetting sp.
32849
32850 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32851
32852 [BZ #16683]
32853 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32854 Define it for static builds as well.
32855 (NO_BZERO_IMPL): Likewise.
32856
32857 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32858
32859 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32860 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32861 multiarch strspn for PPC64.
32862 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32863 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32865 (__libc_ifunc_impl_list): Likewise.
32866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32867 multiarch optimizations
32868 * string/strspn.c (strspn): Using macro to redefine symbol name.
32869
32870 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32871 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32872
32873 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32874 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32875 multiarch strncat for PPC64.
32876 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32877 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32879 (__libc_ifunc_impl_list): Likewise.
32880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32881 multiarch optimizations
32882
32883 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32884
32885 [BZ #16639]
32886 * nscd/nscd.service: Make service type forking.
32887
32888 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32889
32890 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32891 sign in non default rounding modes.
32892 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32893
32894 2014-03-08 Joseph Myers <joseph@codesourcery.com>
32895
32896 * math/libm-test.inc (ALL_RM_TEST): New macro.
32897 (ceil_test): Use ALL_RM_TEST.
32898 (cimag_test): Likewise.
32899 (conj_test): Likewise.
32900 (copysign_test): Likewise.
32901 (cproj_test): Likewise.
32902 (creal_test): Likewise.
32903 (fabs_test): Likewise.
32904 (floor_test): Likewise.
32905 (fmax_test): Likewise.
32906 (fmin_test): Likewise.
32907 (fmod_test): Likewise.
32908 (fpclassify_test): Likewise.
32909 (frexp_test): Likewise.
32910 (ilogb_test): Likewise.
32911 (isfinite_test): Likewise.
32912 (finite_test): Likewise.
32913 (isgreater_test): Likewise.
32914 (isgreaterequal_test): Likewise.
32915 (isinf_test): Likewise.
32916 (isless_test): Likewise.
32917 (islessequal_test): Likewise.
32918 (islessgreater_test): Likewise.
32919 (isnan_test): Likewise.
32920 (isnormal_test): Likewise.
32921 (issignaling_test): Likewise.
32922 (isunordered_test): Likewise.
32923 (logb_test): Likewise.
32924 (logb_downward_test_data): Remove.
32925 (logb_test_downward): Likewise.
32926 (lround_test): Use ALL_RM_TEST.
32927 (llround_test): Likewise.
32928 (modf_test): Likewise.
32929 (nexttoward_test): Likewise.
32930 (remainder_test): Likewise.
32931 (drem_test): Likewise.
32932 (remainder_tonearest_test_data): Likewise.
32933 (remainder_test_tonearest): Likewise.
32934 (drem_test_tonearest): Likewise.
32935 (remainder_towardzero_test_data): Likewise.
32936 (remainder_test_towardzero): Likewise.
32937 (drem_test_towardzero): Likewise.
32938 (remainder_downward_test_data): Likewise.
32939 (remainder_test_downward): Likewise.
32940 (drem_test_downward): Likewise.
32941 (remainder_upward_test_data): Likewise.
32942 (remainder_test_upward): Likewise.
32943 (drem_test_upward): Likewise.
32944 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
32945 (round_test): Use ALL_RM_TEST.
32946 (signbit_test): Likewise.
32947 (trunc_test): Likewise.
32948 (significand_test): Likewise.
32949 (main): Don't call removed functions.
32950
32951 2014-03-07 Joseph Myers <joseph@codesourcery.com>
32952
32953 [BZ #16674]
32954 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32955 || __USE_XOPEN2K8].
32956 (ILL_ILLOPN): Likewise.
32957 (ILL_ILLADR): Likewise.
32958 (ILL_ILLTRP): Likewise.
32959 (ILL_PRVOPC): Likewise.
32960 (ILL_PRVREG): Likewise.
32961 (ILL_COPROC): Likewise.
32962 (ILL_BADSTK): Likewise.
32963 (FPE_INTDIV): Likewise.
32964 (FPE_INTOVF): Likewise.
32965 (FPE_FLTDIV): Likewise.
32966 (FPE_FLTOVF): Likewise.
32967 (FPE_FLTUND): Likewise.
32968 (FPE_FLTRES): Likewise.
32969 (FPE_FLTINV): Likewise.
32970 (FPE_FLTSUB): Likewise.
32971 (SEGV_MAPERR): Likewise.
32972 (SEGV_ACCERR): Likewise.
32973 (BUS_ADRALN): Likewise.
32974 (BUS_ADRERR): Likewise.
32975 (BUS_OBJERR): Likewise.
32976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32977 (TRAP_TRACE): Likewise.
32978 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32979 __USE_XOPEN2K8].
32980 (CLD_KILLED): Likewise.
32981 (CLD_DUMPED): Likewise.
32982 (CLD_TRAPPED): Likewise.
32983 (CLD_STOPPED): Likewise.
32984 (CLD_CONTINUED): Likewise.
32985 (POLL_IN): Likewise.
32986 (POLL_OUT): Likewise.
32987 (POLL_MSG): Likewise.
32988 (POLL_ERR): Likewise.
32989 (POLL_PRI): Likewise.
32990 (POLL_HUP): Likewise.
32991 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32992 Likewise.
32993 (ILL_ILLOPN): Likewise.
32994 (ILL_ILLADR): Likewise.
32995 (ILL_ILLTRP): Likewise.
32996 (ILL_PRVOPC): Likewise.
32997 (ILL_PRVREG): Likewise.
32998 (ILL_COPROC): Likewise.
32999 (ILL_BADSTK): Likewise.
33000 (FPE_INTDIV): Likewise.
33001 (FPE_INTOVF): Likewise.
33002 (FPE_FLTDIV): Likewise.
33003 (FPE_FLTOVF): Likewise.
33004 (FPE_FLTUND): Likewise.
33005 (FPE_FLTRES): Likewise.
33006 (FPE_FLTINV): Likewise.
33007 (FPE_FLTSUB): Likewise.
33008 (SEGV_MAPERR): Likewise.
33009 (SEGV_ACCERR): Likewise.
33010 (BUS_ADRALN): Likewise.
33011 (BUS_ADRERR): Likewise.
33012 (BUS_OBJERR): Likewise.
33013 (BUS_MCEERR_AR): Likewise.
33014 (BUS_MCEERR_AO): Likewise.
33015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33016 (TRAP_TRACE): Likewise.
33017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33018 __USE_XOPEN2K8].
33019 (CLD_KILLED): Likewise.
33020 (CLD_DUMPED): Likewise.
33021 (CLD_TRAPPED): Likewise.
33022 (CLD_STOPPED): Likewise.
33023 (CLD_CONTINUED): Likewise.
33024 (POLL_IN): Likewise.
33025 (POLL_OUT): Likewise.
33026 (POLL_MSG): Likewise.
33027 (POLL_ERR): Likewise.
33028 (POLL_PRI): Likewise.
33029 (POLL_HUP): Likewise.
33030 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33031 (ILL_ILLOPN): Likewise.
33032 (ILL_ILLADR): Likewise.
33033 (ILL_ILLTRP): Likewise.
33034 (ILL_PRVOPC): Likewise.
33035 (ILL_PRVREG): Likewise.
33036 (ILL_COPROC): Likewise.
33037 (ILL_BADSTK): Likewise.
33038 (FPE_INTDIV): Likewise.
33039 (FPE_INTOVF): Likewise.
33040 (FPE_FLTDIV): Likewise.
33041 (FPE_FLTOVF): Likewise.
33042 (FPE_FLTUND): Likewise.
33043 (FPE_FLTRES): Likewise.
33044 (FPE_FLTINV): Likewise.
33045 (FPE_FLTSUB): Likewise.
33046 (SEGV_MAPERR): Likewise.
33047 (SEGV_ACCERR): Likewise.
33048 (BUS_ADRALN): Likewise.
33049 (BUS_ADRERR): Likewise.
33050 (BUS_OBJERR): Likewise.
33051 (BUS_MCEERR_AR): Likewise.
33052 (BUS_MCEERR_AO): Likewise.
33053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33054 (TRAP_TRACE): Likewise.
33055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33056 __USE_XOPEN2K8].
33057 (CLD_KILLED): Likewise.
33058 (CLD_DUMPED): Likewise.
33059 (CLD_TRAPPED): Likewise.
33060 (CLD_STOPPED): Likewise.
33061 (CLD_CONTINUED): Likewise.
33062 (POLL_IN): Likewise.
33063 (POLL_OUT): Likewise.
33064 (POLL_MSG): Likewise.
33065 (POLL_ERR): Likewise.
33066 (POLL_PRI): Likewise.
33067 (POLL_HUP): Likewise.
33068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33069 Likewise.
33070 (ILL_ILLOPN): Likewise.
33071 (ILL_ILLADR): Likewise.
33072 (ILL_ILLTRP): Likewise.
33073 (ILL_PRVOPC): Likewise.
33074 (ILL_PRVREG): Likewise.
33075 (ILL_COPROC): Likewise.
33076 (ILL_BADSTK): Likewise.
33077 (ILL_BADIADDR): Likewise.
33078 (ILL_BREAK): Likewise.
33079 (FPE_INTDIV): Likewise.
33080 (FPE_INTOVF): Likewise.
33081 (FPE_FLTDIV): Likewise.
33082 (FPE_FLTOVF): Likewise.
33083 (FPE_FLTUND): Likewise.
33084 (FPE_FLTRES): Likewise.
33085 (FPE_FLTINV): Likewise.
33086 (FPE_FLTSUB): Likewise.
33087 (FPE_DECOVF): Likewise.
33088 (FPE_DECDIV): Likewise.
33089 (FPE_DECERR): Likewise.
33090 (FPE_INVASC): Likewise.
33091 (FPE_INVDEC): Likewise.
33092 (SEGV_MAPERR): Likewise.
33093 (SEGV_ACCERR): Likewise.
33094 (SEGV_PSTKOVF): Likewise.
33095 (BUS_ADRALN): Likewise.
33096 (BUS_ADRERR): Likewise.
33097 (BUS_OBJERR): Likewise.
33098 (BUS_MCEERR_AR): Likewise.
33099 (BUS_MCEERR_AO): Likewise.
33100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33101 (TRAP_TRACE): Likewise.
33102 (TRAP_BRANCH): Likewise.
33103 (TRAP_HWBKPT): Likewise.
33104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33105 __USE_XOPEN2K8].
33106 (CLD_KILLED): Likewise.
33107 (CLD_DUMPED): Likewise.
33108 (CLD_TRAPPED): Likewise.
33109 (CLD_STOPPED): Likewise.
33110 (CLD_CONTINUED): Likewise.
33111 (POLL_IN): Likewise.
33112 (POLL_OUT): Likewise.
33113 (POLL_MSG): Likewise.
33114 (POLL_ERR): Likewise.
33115 (POLL_PRI): Likewise.
33116 (POLL_HUP): Likewise.
33117 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33118 (ILL_ILLOPN): Likewise.
33119 (ILL_ILLADR): Likewise.
33120 (ILL_ILLTRP): Likewise.
33121 (ILL_PRVOPC): Likewise.
33122 (ILL_PRVREG): Likewise.
33123 (ILL_COPROC): Likewise.
33124 (ILL_BADSTK): Likewise.
33125 (FPE_INTDIV): Likewise.
33126 (FPE_INTOVF): Likewise.
33127 (FPE_FLTDIV): Likewise.
33128 (FPE_FLTOVF): Likewise.
33129 (FPE_FLTUND): Likewise.
33130 (FPE_FLTRES): Likewise.
33131 (FPE_FLTINV): Likewise.
33132 (FPE_FLTSUB): Likewise.
33133 (SEGV_MAPERR): Likewise.
33134 (SEGV_ACCERR): Likewise.
33135 (BUS_ADRALN): Likewise.
33136 (BUS_ADRERR): Likewise.
33137 (BUS_OBJERR): Likewise.
33138 (BUS_MCEERR_AR): Likewise.
33139 (BUS_MCEERR_AO): Likewise.
33140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33141 (TRAP_TRACE): Likewise.
33142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33143 __USE_XOPEN2K8].
33144 (CLD_KILLED): Likewise.
33145 (CLD_DUMPED): Likewise.
33146 (CLD_TRAPPED): Likewise.
33147 (CLD_STOPPED): Likewise.
33148 (CLD_CONTINUED): Likewise.
33149 (POLL_IN): Likewise.
33150 (POLL_OUT): Likewise.
33151 (POLL_MSG): Likewise.
33152 (POLL_ERR): Likewise.
33153 (POLL_PRI): Likewise.
33154 (POLL_HUP): Likewise.
33155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33156 (ILL_ILLOPN): Likewise.
33157 (ILL_ILLADR): Likewise.
33158 (ILL_ILLTRP): Likewise.
33159 (ILL_PRVOPC): Likewise.
33160 (ILL_PRVREG): Likewise.
33161 (ILL_COPROC): Likewise.
33162 (ILL_BADSTK): Likewise.
33163 (FPE_INTDIV): Likewise.
33164 (FPE_INTOVF): Likewise.
33165 (FPE_FLTDIV): Likewise.
33166 (FPE_FLTOVF): Likewise.
33167 (FPE_FLTUND): Likewise.
33168 (FPE_FLTRES): Likewise.
33169 (FPE_FLTINV): Likewise.
33170 (FPE_FLTSUB): Likewise.
33171 (SEGV_MAPERR): Likewise.
33172 (SEGV_ACCERR): Likewise.
33173 (BUS_ADRALN): Likewise.
33174 (BUS_ADRERR): Likewise.
33175 (BUS_OBJERR): Likewise.
33176 (BUS_MCEERR_AR): Likewise.
33177 (BUS_MCEERR_AO): Likewise.
33178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33179 (TRAP_TRACE): Likewise.
33180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33181 __USE_XOPEN2K8].
33182 (CLD_KILLED): Likewise.
33183 (CLD_DUMPED): Likewise.
33184 (CLD_TRAPPED): Likewise.
33185 (CLD_STOPPED): Likewise.
33186 (CLD_CONTINUED): Likewise.
33187 (POLL_IN): Likewise.
33188 (POLL_OUT): Likewise.
33189 (POLL_MSG): Likewise.
33190 (POLL_ERR): Likewise.
33191 (POLL_PRI): Likewise.
33192 (POLL_HUP): Likewise.
33193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33194 (ILL_ILLOPN): Likewise.
33195 (ILL_ILLADR): Likewise.
33196 (ILL_ILLTRP): Likewise.
33197 (ILL_PRVOPC): Likewise.
33198 (ILL_PRVREG): Likewise.
33199 (ILL_COPROC): Likewise.
33200 (ILL_BADSTK): Likewise.
33201 (FPE_INTDIV): Likewise.
33202 (FPE_INTOVF): Likewise.
33203 (FPE_FLTDIV): Likewise.
33204 (FPE_FLTOVF): Likewise.
33205 (FPE_FLTUND): Likewise.
33206 (FPE_FLTRES): Likewise.
33207 (FPE_FLTINV): Likewise.
33208 (FPE_FLTSUB): Likewise.
33209 (SEGV_MAPERR): Likewise.
33210 (SEGV_ACCERR): Likewise.
33211 (BUS_ADRALN): Likewise.
33212 (BUS_ADRERR): Likewise.
33213 (BUS_OBJERR): Likewise.
33214 (BUS_MCEERR_AR): Likewise.
33215 (BUS_MCEERR_AO): Likewise.
33216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33217 (TRAP_TRACE): Likewise.
33218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33219 __USE_XOPEN2K8].
33220 (CLD_KILLED): Likewise.
33221 (CLD_DUMPED): Likewise.
33222 (CLD_TRAPPED): Likewise.
33223 (CLD_STOPPED): Likewise.
33224 (CLD_CONTINUED): Likewise.
33225 (POLL_IN): Likewise.
33226 (POLL_OUT): Likewise.
33227 (POLL_MSG): Likewise.
33228 (POLL_ERR): Likewise.
33229 (POLL_PRI): Likewise.
33230 (POLL_HUP): Likewise.
33231 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33232 (ILL_ILLOPN): Likewise.
33233 (ILL_ILLADR): Likewise.
33234 (ILL_ILLTRP): Likewise.
33235 (ILL_PRVOPC): Likewise.
33236 (ILL_PRVREG): Likewise.
33237 (ILL_COPROC): Likewise.
33238 (ILL_BADSTK): Likewise.
33239 (ILL_DBLFLT): Likewise.
33240 (ILL_HARDWALL): Likewise.
33241 (FPE_INTDIV): Likewise.
33242 (FPE_INTOVF): Likewise.
33243 (FPE_FLTDIV): Likewise.
33244 (FPE_FLTOVF): Likewise.
33245 (FPE_FLTUND): Likewise.
33246 (FPE_FLTRES): Likewise.
33247 (FPE_FLTINV): Likewise.
33248 (FPE_FLTSUB): Likewise.
33249 (SEGV_MAPERR): Likewise.
33250 (SEGV_ACCERR): Likewise.
33251 (BUS_ADRALN): Likewise.
33252 (BUS_ADRERR): Likewise.
33253 (BUS_OBJERR): Likewise.
33254 (BUS_MCEERR_AR): Likewise.
33255 (BUS_MCEERR_AO): Likewise.
33256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33257 (TRAP_TRACE): Likewise.
33258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33259 __USE_XOPEN2K8].
33260 (CLD_KILLED): Likewise.
33261 (CLD_DUMPED): Likewise.
33262 (CLD_TRAPPED): Likewise.
33263 (CLD_STOPPED): Likewise.
33264 (CLD_CONTINUED): Likewise.
33265 (POLL_IN): Likewise.
33266 (POLL_OUT): Likewise.
33267 (POLL_MSG): Likewise.
33268 (POLL_ERR): Likewise.
33269 (POLL_PRI): Likewise.
33270 (POLL_HUP): Likewise.
33271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33272 (ILL_ILLOPN): Likewise.
33273 (ILL_ILLADR): Likewise.
33274 (ILL_ILLTRP): Likewise.
33275 (ILL_PRVOPC): Likewise.
33276 (ILL_PRVREG): Likewise.
33277 (ILL_COPROC): Likewise.
33278 (ILL_BADSTK): Likewise.
33279 (FPE_INTDIV): Likewise.
33280 (FPE_INTOVF): Likewise.
33281 (FPE_FLTDIV): Likewise.
33282 (FPE_FLTOVF): Likewise.
33283 (FPE_FLTUND): Likewise.
33284 (FPE_FLTRES): Likewise.
33285 (FPE_FLTINV): Likewise.
33286 (FPE_FLTSUB): Likewise.
33287 (SEGV_MAPERR): Likewise.
33288 (SEGV_ACCERR): Likewise.
33289 (BUS_ADRALN): Likewise.
33290 (BUS_ADRERR): Likewise.
33291 (BUS_OBJERR): Likewise.
33292 (BUS_MCEERR_AR): Likewise.
33293 (BUS_MCEERR_AO): Likewise.
33294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33295 (TRAP_TRACE): Likewise.
33296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33297 __USE_XOPEN2K8].
33298 (CLD_KILLED): Likewise.
33299 (CLD_DUMPED): Likewise.
33300 (CLD_TRAPPED): Likewise.
33301 (CLD_STOPPED): Likewise.
33302 (CLD_CONTINUED): Likewise.
33303 (POLL_IN): Likewise.
33304 (POLL_OUT): Likewise.
33305 (POLL_MSG): Likewise.
33306 (POLL_ERR): Likewise.
33307 (POLL_PRI): Likewise.
33308 (POLL_HUP): Likewise.
33309 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33310 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33311
33312 [BZ #16670]
33313 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33314 before #include of <time.h>.
33315 [!__USE_XOPEN2K] (__need_timespec): Likewise.
33316 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33317 (test-xfail-UNIX98/sched.h/conform): Likewise.
33318
33319 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
33320
33321 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33322 error absence of trapping exception support.
33323 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33324
33325 2014-03-07 Joseph Myers <joseph@codesourcery.com>
33326
33327 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33328 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33329 * timezone/Makefile (testdata): Move definition above include of
33330 Rules.
33331 (test-zones): New variable.
33332 (tests-special): Add zone files.
33333 (build-testdata): Use $(evaluate-test).
33334
33335 * elf/Makefile (tests-special): Rename tests to end with .out.
33336 ($(objpfx)noload-mem): Likewise.
33337 ($(objpfx)tst-leaks1-mem): Likewise.
33338 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33339 * iconv/Makefile (xtests-special): Change test-iconvconfig to
33340 $(objpfx)test-iconvconfig.out.
33341 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
33342 set -e inside subshell and redirect output to file.
33343 * iconvdata/Makefile (generated): Rename tests to end with .out.
33344 Correct type.
33345 (tests-special): Rename tests to end with .out.
33346 ($(objpfx)mtrace-tst-loading): Likewise.
33347 * intl/Makefile (generated): Likewise.
33348 (tests-special): Likewise.
33349 ($(objpfx)mtrace-tst-gettext): Likewise.
33350 * misc/Makefile (generated): Likewise.
33351 (tests-special): Likewise.
33352 ($(objpfx)tst-error1-mem): Likewise.
33353 * nptl/Makefile (tests-special): Likewise.
33354 ($(objpfx)tst-stack3-mem): Likewise.
33355 (generated): Likewise.
33356 * posix/Makefile (generated): Likewise.
33357 (tests-special): Likewise.
33358 (xtests-special): Likewise.
33359 ($(objpfx)tst-fnmatch-mem): Likewise.
33360 ($(objpfx)bug-regex2-mem): Likewise.
33361 ($(objpfx)bug-regex14-mem): Likewise.
33362 ($(objpfx)bug-regex21-mem): Likewise.
33363 ($(objpfx)bug-regex31-mem): Likewise.
33364 ($(objpfx)tst-vfork3-mem): Likewise.
33365 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33366 ($(objpfx)tst-pcre-mem): Likewise.
33367 ($(objpfx)tst-boost-mem): Likewise.
33368 ($(objpfx)bug-ga2-mem): Likewise.
33369 ($(objpfx)bug-glob2-mem): Likewise.
33370 * resolv/Makefile (generate): Likewise.
33371 (tests-special): Likewise.
33372 (xtests-special): Likewise.
33373 (generated): Likewise.
33374 ($(objpfx)mtrace-tst-leaks): Likewise.
33375 ($(objpfx)mtrace-tst-leaks2): Likewise.
33376
33377 * scripts/merge-test-results.sh: New file.
33378 * Makefile (tests-special-notdir): New variable.
33379 (tests): Run merge-test-results.sh.
33380 (xtests): Likewise.
33381 * Rules (tests-special-notdir): New variable.
33382 (xtests-special-notdir): Likewise.
33383 (tests): Run merge-test-results.sh
33384 (xtests): Likewise.
33385
33386 * Makeconfig (test-xfail-name): New variable.
33387 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33388 compute variable name for expected failures.
33389 * conform/Makefile (conformtest-headers-data): New variable.
33390 (conformtest-standards): Likewise.
33391 (conformtest-headers-ISO): Likewise.
33392 (conformtest-headers-ISO99): Likewise.
33393 (conformtest-headers-ISO11): Likewise.
33394 (conformtest-headers-POSIX): Likewise.
33395 (conformtest-headers-XPG3): Likewise.
33396 (conformtest-headers-XPG4): Likewise.
33397 (conformtest-headers-UNIX98): Likewise.
33398 (conformtest-headers-XOPEN2K): Likewise.
33399 (conformtest-headers-POSIX2008): Likewise.
33400 (conformtest-headers-XOPEN2K8): Likewise.
33401 (conformtest-header-list-base): Likewise.
33402 (conformtest-header-list-tests): Likewise.
33403 (conformtest-header-base): Likewise.
33404 (conformtest-header-tests): Likewise.
33405 (tests-special): Add $(conformtest-header-list-tests). If
33406 [$(fast-check) && !$(cross-compiling)], add
33407 $(conformtest-header-tests) instead of
33408 $(objpfx)run-conformtest.out.
33409 (generated): Add $(conformtest-header-list-base). If
33410 [$(fast-check) && !$(cross-compiling)], add
33411 $(conformtest-header-base). Remove previous setting.
33412 ($(conformtest-header-list-tests)): New target.
33413 (test-xfail-run-conformtest): Remove variable.
33414 ($(objpfx)run-conformtest.out): Remove target.
33415 (test-xfail-ISO11/complex.h/conform): New variable.
33416 (test-xfail-ISO11/stdalign.h/conform): Likewise.
33417 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33418 (test-xfail-XPG3/varargs.h/conform): Likewise.
33419 (test-xfail-XPG4/varargs.h/conform): Likewise.
33420 (test-xfail-UNIX98/varargs.h/conform): Likewise.
33421 (test-xfail-XPG4/ndbm.h/conform): Likewise.
33422 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33423 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33424 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33425 (test-xfail-XPG3/fcntl.h/conform): Likewise.
33426 (test-xfail-XPG3/ftw.h/conform): Likewise.
33427 (test-xfail-XPG3/grp.h/conform): Likewise.
33428 (test-xfail-XPG3/langinfo.h/conform): Likewise.
33429 (test-xfail-XPG3/limits.h/conform): Likewise.
33430 (test-xfail-XPG3/pwd.h/conform): Likewise.
33431 (test-xfail-XPG3/search.h/conform): Likewise.
33432 (test-xfail-XPG3/signal.h/conform): Likewise.
33433 (test-xfail-XPG3/stdio.h/conform): Likewise.
33434 (test-xfail-XPG3/stdlib.h/conform): Likewise.
33435 (test-xfail-XPG3/string.h/conform): Likewise.
33436 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33437 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33438 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33439 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33440 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33441 (test-xfail-XPG3/sys/types.h/conform): Likewise.
33442 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33443 (test-xfail-XPG3/termios.h/conform): Likewise.
33444 (test-xfail-XPG3/time.h/conform): Likewise.
33445 (test-xfail-XPG3/unistd.h/conform): Likewise.
33446 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33447 (test-xfail-XPG4/fcntl.h/conform): Likewise.
33448 (test-xfail-XPG4/langinfo.h/conform): Likewise.
33449 (test-xfail-XPG4/netdb.h/conform): Likewise.
33450 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33451 (test-xfail-XPG4/signal.h/conform): Likewise.
33452 (test-xfail-XPG4/stdio.h/conform): Likewise.
33453 (test-xfail-XPG4/stdlib.h/conform): Likewise.
33454 (test-xfail-XPG4/stropts.h/conform): Likewise.
33455 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33456 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33457 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33458 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33459 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33460 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33461 (test-xfail-XPG4/sys/time.h/conform): Likewise.
33462 (test-xfail-XPG4/sys/types.h/conform): Likewise.
33463 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33464 (test-xfail-XPG4/termios.h/conform): Likewise.
33465 (test-xfail-XPG4/ucontext.h/conform): Likewise.
33466 (test-xfail-XPG4/unistd.h/conform): Likewise.
33467 (test-xfail-XPG4/utmpx.h/conform): Likewise.
33468 (test-xfail-POSIX/sched.h/conform): Likewise.
33469 (test-xfail-POSIX/signal.h/conform): Likewise.
33470 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33471 (test-xfail-POSIX/tar.h/conform): Likewise.
33472 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33473 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33474 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33475 (test-xfail-UNIX98/netdb.h/conform): Likewise.
33476 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33477 (test-xfail-UNIX98/sched.h/conform): Likewise.
33478 (test-xfail-UNIX98/signal.h/conform): Likewise.
33479 (test-xfail-UNIX98/stdio.h/conform): Likewise.
33480 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33481 (test-xfail-UNIX98/stropts.h/conform): Likewise.
33482 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33483 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33484 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33485 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33486 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33487 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33488 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33489 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33490 (test-xfail-UNIX98/unistd.h/conform): Likewise.
33491 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33492 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33493 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33494 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33495 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33496 (test-xfail-XOPEN2K/math.h/conform): Likewise.
33497 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33498 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33499 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33500 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33501 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33502 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33503 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33504 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33505 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33506 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33507 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33508 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33509 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33510 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33511 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33512 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33513 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33514 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33515 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33516 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33517 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33518 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33519 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33520 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33521 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33522 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33523 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33524 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33525 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33526 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33527 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33528 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33529 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33530 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33531 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33532 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33533 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33534 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33535 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33536 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33537 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33538 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33539 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33540 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33541 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33542 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33543 (conformtest-cc-flags): Likewise.
33544 ($(conformtest-header-tests): New target.
33545 * conform/check-header-lists.sh: New file.
33546 * conform/run-conformtest.sh: Remove.
33547
33548 * conform/conformtest.pl: Allow ' and \ in values given for
33549 constants.
33550 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33551 inclusion.
33552 [POSIX] (sys/types.h): Likewise.
33553 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33554 inclusion.
33555 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33556 inclusion.
33557 * conform/data/signal.h-data (SIGIO): Remove expectation.
33558 [XPG3] (SIGBUS): Do not expect.
33559 [POSIX || XPG3] (SIGPOLL): Likewise.
33560 [POSIX || XPG3] (SIGPROF): Likewise.
33561 [POSIX || XPG3] (SIGSYS): Likewise.
33562 [XPG3] (SIGTRAP): Likewise.
33563 [POSIX || XPG3] (SIGURG): Likewise.
33564 [POSIX || XPG3] (SIGVTALRM): Likewise.
33565 [POSIX || XPG3] (SIGXCPU): Likewise.
33566 [POSIX || XPG3] (SIGXFSZ): Likewise.
33567 [POSIX] (SA_SIGINFO): Expect.
33568 [XPG3] (siginfo_t): Do not expect type or contents.
33569 [POSIX] (si_pid): Do not expect element.
33570 [POSIX] (si_uid): Likewise.
33571 [POSIX] (si_addr): Likewise.
33572 [POSIX] (si_status): Likewise.
33573 [POSIX] (si_band): Likewise.
33574 [XPG4] (si_value): Likewise.
33575 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33576 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33577 [POSIX || XPG3] (ILL_ILLADR): Likewise.
33578 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33579 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33580 [POSIX || XPG3] (ILL_PRVREG): Likewise.
33581 [POSIX || XPG3] (ILL_COPROC): Likewise.
33582 [POSIX || XPG3] (ILL_BADSTK): Likewise.
33583 [POSIX || XPG3] (FPE_INTDIV): Likewise.
33584 [POSIX || XPG3] (FPE_INTOVF): Likewise.
33585 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33586 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33587 [POSIX || XPG3] (FPE_FLTUND): Likewise.
33588 [POSIX || XPG3] (FPE_FLTRES): Likewise.
33589 [POSIX || XPG3] (FPE_FLTINV): Likewise.
33590 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33591 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33592 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33593 [POSIX || XPG3] (BUS_ADRALN): Likewise.
33594 [POSIX || XPG3] (BUS_ADRERR): Likewise.
33595 [POSIX || XPG3] (BUS_OBJERR): Likewise.
33596 [POSIX || XPG3] (CLD_EXITED): Likewise.
33597 [POSIX || XPG3] (CLD_KILLED): Likewise.
33598 [POSIX || XPG3] (CLD_DUMPED): Likewise.
33599 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33600 [POSIX || XPG3] (CLD_STOPPED): Likewise.
33601 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33602 [POSIX || XPG3] (POLL_IN): Likewise.
33603 [POSIX || XPG3] (POLL_OUT): Likewise.
33604 [POSIX || XPG3] (POLL_MSG): Likewise.
33605 [POSIX || XPG3] (POLL_ERR): Likewise.
33606 [POSIX || XPG3] (POLL_PRI): Likewise.
33607 [POSIX || XPG3] (POLL_HUP): Likewise.
33608 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33609 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33610 (SIG*): Do not allow.
33611 [XPG3] (si_*): Likewise.
33612 [XPG3] (SI_*): Likewise.
33613 [XPG3 || XPG4] (sigev_*): Likewise.
33614 [XPG3 || XPG4] (SIGEV_*): Likewise.
33615 [XPG3 || XPG4] (sival_*): Likewise.
33616 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33617 [POSIX || XPG3] (BUS_*): Likewise.
33618 [POSIX || XPG3] (CLD_*): Likewise.
33619 [POSIX || XPG3] (FPE_*): Likewise.
33620 [POSIX || XPG3] (ILL_*): Likewise.
33621 [POSIX || XPG3] (POLL_*): Likewise.
33622 [POSIX || XPG3] (SEGV_*): Likewise.
33623 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33624 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33625 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33626 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33627 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33628 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33629 Specify type and value.
33630 (TVERSLEN): Likewise.
33631 (REGTYPE): Likewise.
33632 (AREGTYPE): Likewise.
33633 (LNKTYPE): Likewise.
33634 (SYMTYPE): Likewise.
33635 (CHRTYPE): Likewise.
33636 (BLKTYPE): Likewise.
33637 (DIRTYPE): Likewise.
33638 (FIFOTYPE): Likewise.
33639 (CONTTYPE): Likewise.
33640 (TSUID): Likewise.
33641 (TSGID): Likewise.
33642 (TSVTX): Likewise.
33643 (TUREAD): Likewise.
33644 (TUWRITE): Likewise.
33645 (TUEXEC): Likewise.
33646 (TGREAD): Likewise.
33647 (TGWRITE): Likewise.
33648 (TGEXEC): Likewise.
33649 (TOREAD): Likewise.
33650 (TOWRITE): Likewise.
33651 (TOEXEC): Likewise.
33652 [POSIX] (TSVTX): Expect constant.
33653
33654 2014-03-06 Joseph Myers <joseph@codesourcery.com>
33655
33656 * Makefile (tests): Change dependencies to ....
33657 (tests-special): ... additions to this variable.
33658 (tests): Depend on $(tests-special).
33659 * Makerules (check-abi-list): New variable.
33660 (check-abi): Depend on $(check-abi-list).
33661 [$(subdir) = elf] (tests-special): Add
33662 $(objpfx)check-abi-libc.out.
33663 [$(build-shared) = yes && subdir] (tests-special): Add
33664 $(check-abi-list).
33665 [$(build-shared) = yes && subdir] (tests): Do not depend on
33666 check-abi.
33667 * Rules (tests): Depend on $(tests-special).
33668 (xtests): Depend on $(xtests-special).
33669 * catgets/Makefile (tests): Change dependencies to ....
33670 (tests-special): ... additions to this variable.
33671 * conform/Makefile (tests): Change dependencies to ....
33672 (tests-special): ... additions to this variable.
33673 * elf/Makefile (tests): Change dependencies to ....
33674 (tests-special): ... additions to this variable.
33675 * grp/Makefile (tests): Change dependencies to ....
33676 (tests-special): ... additions to this variable.
33677 * iconv/Makefile (xtests): Change dependencies to ....
33678 (xtests-special): ... additions to this variable.
33679 * iconvdata/Makefile (tests): Change dependencies to ....
33680 (tests-special): ... additions to this variable.
33681 * intl/Makefile (tests): Change dependencies to ....
33682 (tests-special): ... additions to this variable. Also add
33683 $(objpfx)tst-gettext.out.
33684 * io/Makefile (tests): Change dependencies to ....
33685 (tests-special): ... additions to this variable.
33686 * libio/Makefile (tests): Change dependencies to ....
33687 (tests-special): ... additions to this variable.
33688 * malloc/Makefile (tests): Change dependencies to ....
33689 (tests-special): ... additions to this variable.
33690 * misc/Makefile (tests): Change dependencies to ....
33691 (tests-special): ... additions to this variable.
33692 * nptl/Makefile (tests): Change dependencies to ....
33693 (tests-special): ... additions to this variable.
33694 * nptl_db/Makefile (tests): Change dependencies to ....
33695 (tests-special): ... additions to this variable.
33696 * posix/Makefile (tests): Change dependencies to ....
33697 (tests-special): ... additions to this variable.
33698 (xtests): Change dependencies to ....
33699 (xtests-special): ... additions to this variable.
33700 * resolv/Makefile (tests): Change dependencies to ....
33701 (tests-special): ... additions to this variable.
33702 (xtests): Change dependencies to ....
33703 (xtests-special): ... additions to this variable.
33704 * stdio-common/Makefile (tests): Change dependencies to ....
33705 (tests-special): ... additions to this variable.
33706 (do-tst-unbputc): Remove target.
33707 (do-tst-printf): Likewise.
33708 * stdlib/Makefile (tests): Change dependencies to ....
33709 (tests-special): ... additions to this variable.
33710 * string/Makefile (tests): Change dependencies to ....
33711 (tests-special): ... additions to this variable.
33712 * sysdeps/x86/Makefile (tests): Change dependencies to ....
33713 (tests-special): ... additions to this variable.
33714
33715 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33716 whole file.
33717 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33718 whole file.
33719 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33720 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33721
33722 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33723 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33724 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33725 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33726 * conform/data/libgen.h-data [XPG3]: Likewise.
33727 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33728 * conform/data/ndbm.h-data [XPG3]: Likewise.
33729 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33730 * conform/data/netdb.h-data [XPG3]: Likewise.
33731 * conform/data/netinet/in.h-data [XPG3]: Likewise.
33732 * conform/data/poll.h-data [XPG3]: Likewise.
33733 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33734 * conform/data/strings.h-data [XPG3]: Likewise.
33735 * conform/data/stropts.h-data [XPG3]: Likewise.
33736 * conform/data/sys/mman.h-data [XPG3]: Likewise.
33737 * conform/data/sys/resource.h-data [XPG3]: Likewise.
33738 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33739 Likewise.
33740 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33741 * conform/data/sys/time.h-data [XPG3]: Likewise.
33742 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33743 * conform/data/sys/uio.h-data [XPG3]: Likewise.
33744 * conform/data/sys/un.h-data [XPG3]: Likewise.
33745 * conform/data/syslog.h-data [XPG3]: Likewise.
33746 * conform/data/ucontext.h-data [XPG3]: Likewise.
33747 * conform/data/utmpx.h-data [XPG3]: Likewise.
33748 * conform/data/varargs.h-data [UNIX98]: Enable file.
33749
33750 * manual/Makefile (INSTALL_INFO): Remove variable setting.
33751
33752 * math/libm-test.inc (struct test_f_f_data): Move expected results
33753 into structure for each rounding mode.
33754 (struct test_ff_f_data): Likewise.
33755 (struct test_ff_f_data_nexttoward): Likewise.
33756 (struct test_fi_f_data): Likewise.
33757 (struct test_fl_f_data): Likewise.
33758 (struct test_if_f_data): Likewise.
33759 (struct test_fff_f_data): Likewise.
33760 (struct test_c_f_data): Likewise.
33761 (struct test_f_f1_data): Likewise.
33762 (struct test_fF_f1_data): Likewise.
33763 (struct test_ffI_f1_data): Likewise.
33764 (struct test_c_c_data): Likewise.
33765 (struct test_cc_c_data): Likewise.
33766 (struct test_f_i_data): Likewise.
33767 (struct test_ff_i_data): Likewise.
33768 (struct test_f_l_data): Likewise.
33769 (struct test_f_L_data): Likewise.
33770 (struct test_fFF_11_data): Likewise.
33771 (RM_): New macro.
33772 (RM_FE_DOWNWARD): Likewise.
33773 (RM_FE_TONEAREST): Likewise.
33774 (RM_FE_TOWARDZERO): Likewise.
33775 (RM_FE_UPWARD): Likewise.
33776 (RUN_TEST_LOOP_f_f): Update references to expected results.
33777 (RUN_TEST_LOOP_2_f): Likewise.
33778 (RUN_TEST_LOOP_fff_f): Likewise.
33779 (RUN_TEST_LOOP_c_f): Likewise.
33780 (RUN_TEST_LOOP_f_f1): Likewise.
33781 (RUN_TEST_LOOP_fF_f1): Likewise.
33782 (RUN_TEST_LOOP_fI_f1): Likewise.
33783 (RUN_TEST_LOOP_ffI_f1): Likewise.
33784 (RUN_TEST_LOOP_c_c): Likewise.
33785 (RUN_TEST_LOOP_cc_c): Likewise.
33786 (RUN_TEST_LOOP_f_i): Likewise.
33787 (RUN_TEST_LOOP_f_i_tg): Likewise.
33788 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33789 (RUN_TEST_LOOP_f_b): Likewise.
33790 (RUN_TEST_LOOP_f_b_tg): Likewise.
33791 (RUN_TEST_LOOP_f_l): Likewise.
33792 (RUN_TEST_LOOP_f_L): Likewise.
33793 (RUN_TEST_LOOP_fFF_11): Likewise.
33794 * math/gen-libm-test.pl (parse_args): Output four copies of
33795 expected results for each test.
33796
33797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33798 (__ASSUME_UTIMES): Remove.
33799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33800 (__ASSUME_UTIMES): Likewise.
33801
33802 * math/gen-auto-libm-tests.c: Update comment on output format.
33803 (output_for_one_input_case): Generate before-rounding and
33804 after-rounding information as conditions on output flags not
33805 floating-point format.
33806 * math/auto-libm-test-out: Regenerated.
33807 * math/gen-libm-test.pl (cond_value): New function.
33808 (or_cond_value): Use cond_value.
33809 (generate_testfile): Handle conditional exceptions.
33810
33811 2014-03-05 Joseph Myers <joseph@codesourcery.com>
33812
33813 * math/libm-test.inc (max_valid_error): New variable.
33814 (init_max_error): Take new argument specifying whether function
33815 results are exactly determined. Set max_valid_error and bound
33816 other variables for errors based on this argument.
33817 (set_max_error): Do not record results above max_valid_error.
33818 (check_float_internal): Only accept errors of up to 0.5ulps if
33819 also at most max_valid_error.
33820 (START): Take new argument EXACT and pass it to init_max_error.
33821 (acos_test): Update call to START.
33822 (acos_test_tonearest): Likewise.
33823 (acos_test_towardzero): Likewise.
33824 (acos_test_downward): Likewise.
33825 (acos_test_upward): Likewise.
33826 (acosh_test): Likewise.
33827 (asin_test): Likewise.
33828 (asin_test_tonearest): Likewise.
33829 (asin_test_towardzero): Likewise.
33830 (asin_test_downward): Likewise.
33831 (asin_test_upward): Likewise.
33832 (asinh_test): Likewise.
33833 (atan_test): Likewise.
33834 (atanh_test): Likewise.
33835 (atan2_test): Likewise.
33836 (cabs_test): Likewise.
33837 (cacos_test): Likewise.
33838 (cacosh_test): Likewise.
33839 (carg_test): Likewise.
33840 (casin_test): Likewise.
33841 (casinh_test): Likewise.
33842 (catan_test): Likewise.
33843 (catanh_test): Likewise.
33844 (cbrt_test): Likewise.
33845 (ccos_test): Likewise.
33846 (ccosh_test): Likewise.
33847 (ceil_test): Likewise.
33848 (cexp_test): Likewise.
33849 (cimag_test): Likewise.
33850 (clog_test): Likewise.
33851 (clog10_test): Likewise.
33852 (conj_test): Likewise.
33853 (copysign_test): Likewise.
33854 (cos_test): Likewise.
33855 (cos_test_tonearest): Likewise.
33856 (cos_test_towardzero): Likewise.
33857 (cos_test_downward): Likewise.
33858 (cos_test_upward): Likewise.
33859 (cosh_test): Likewise.
33860 (cosh_test_tonearest): Likewise.
33861 (cosh_test_towardzero): Likewise.
33862 (cosh_test_downward): Likewise.
33863 (cosh_test_upward): Likewise.
33864 (cpow_test): Likewise.
33865 (cproj_test): Likewise.
33866 (creal_test): Likewise.
33867 (csin_test): Likewise.
33868 (csinh_test): Likewise.
33869 (csqrt_test): Likewise.
33870 (ctan_test): Likewise.
33871 (ctan_test_tonearest): Likewise.
33872 (ctan_test_towardzero): Likewise.
33873 (ctan_test_downward): Likewise.
33874 (ctan_test_upward): Likewise.
33875 (ctanh_test): Likewise.
33876 (ctanh_test_tonearest): Likewise.
33877 (ctanh_test_towardzero): Likewise.
33878 (ctanh_test_downward): Likewise.
33879 (ctanh_test_upward): Likewise.
33880 (erf_test): Likewise.
33881 (erfc_test): Likewise.
33882 (exp_test): Likewise.
33883 (exp_test_tonearest): Likewise.
33884 (exp_test_towardzero): Likewise.
33885 (exp_test_downward): Likewise.
33886 (exp_test_upward): Likewise.
33887 (exp10_test): Likewise.
33888 (exp10_test_tonearest): Likewise.
33889 (exp10_test_towardzero): Likewise.
33890 (exp10_test_downward): Likewise.
33891 (exp10_test_upward): Likewise.
33892 (pow10_test): Likewise.
33893 (exp2_test): Likewise.
33894 (expm1_test): Likewise.
33895 (expm1_test_tonearest): Likewise.
33896 (expm1_test_towardzero): Likewise.
33897 (expm1_test_downward): Likewise.
33898 (expm1_test_upward): Likewise.
33899 (fabs_test): Likewise.
33900 (fdim_test): Likewise.
33901 (floor_test): Likewise.
33902 (fma_test): Likewise.
33903 (fma_test_towardzero): Likewise.
33904 (fma_test_downward): Likewise.
33905 (fma_test_upward): Likewise.
33906 (fmax_test): Likewise.
33907 (fmin_test): Likewise.
33908 (fmod_test): Likewise.
33909 (fpclassify_test): Likewise.
33910 (frexp_test): Likewise.
33911 (hypot_test): Likewise.
33912 (ilogb_test): Likewise.
33913 (isfinite_test): Likewise.
33914 (finite_test): Likewise.
33915 (isgreater_test): Likewise.
33916 (isgreaterequal_test): Likewise.
33917 (isinf_test): Likewise.
33918 (isless_test): Likewise.
33919 (islessequal_test): Likewise.
33920 (islessgreater_test): Likewise.
33921 (isnan_test): Likewise.
33922 (isnormal_test): Likewise.
33923 (issignaling_test): Likewise.
33924 (isunordered_test): Likewise.
33925 (j0_test): Likewise.
33926 (j1_test): Likewise.
33927 (jn_test): Likewise.
33928 (ldexp_test): Likewise.
33929 (lgamma_test): Likewise.
33930 (gamma_test): Likewise.
33931 (lrint_test): Likewise.
33932 (lrint_test_tonearest): Likewise.
33933 (lrint_test_towardzero): Likewise.
33934 (lrint_test_downward): Likewise.
33935 (lrint_test_upward): Likewise.
33936 (llrint_test): Likewise.
33937 (llrint_test_tonearest): Likewise.
33938 (llrint_test_towardzero): Likewise.
33939 (llrint_test_downward): Likewise.
33940 (llrint_test_upward): Likewise.
33941 (log_test): Likewise.
33942 (log10_test): Likewise.
33943 (log1p_test): Likewise.
33944 (log2_test): Likewise.
33945 (logb_test): Likewise.
33946 (logb_test_downward): Likewise.
33947 (lround_test): Likewise.
33948 (llround_test): Likewise.
33949 (modf_test): Likewise.
33950 (nearbyint_test): Likewise.
33951 (nextafter_test): Likewise.
33952 (nexttoward_test): Likewise.
33953 (pow_test): Likewise.
33954 (pow_test_tonearest): Likewise.
33955 (pow_test_towardzero): Likewise.
33956 (pow_test_downward): Likewise.
33957 (pow_test_upward): Likewise.
33958 (remainder_test): Likewise.
33959 (drem_test): Likewise.
33960 (remainder_test_tonearest): Likewise.
33961 (drem_test_tonearest): Likewise.
33962 (remainder_test_towardzero): Likewise.
33963 (drem_test_towardzero): Likewise.
33964 (remainder_test_downward): Likewise.
33965 (drem_test_downward): Likewise.
33966 (remainder_test_upward): Likewise.
33967 (drem_test_upward): Likewise.
33968 (remquo_test): Likewise.
33969 (rint_test): Likewise.
33970 (rint_test_tonearest): Likewise.
33971 (rint_test_towardzero): Likewise.
33972 (rint_test_downward): Likewise.
33973 (rint_test_upward): Likewise.
33974 (round_test): Likewise.
33975 (scalb_test): Likewise.
33976 (scalbn_test): Likewise.
33977 (scalbln_test): Likewise.
33978 (signbit_test): Likewise.
33979 (sin_test): Likewise.
33980 (sin_test_tonearest): Likewise.
33981 (sin_test_towardzero): Likewise.
33982 (sin_test_downward): Likewise.
33983 (sin_test_upward): Likewise.
33984 (sincos_test): Likewise.
33985 (sinh_test): Likewise.
33986 (sinh_test_tonearest): Likewise.
33987 (sinh_test_towardzero): Likewise.
33988 (sinh_test_downward): Likewise.
33989 (sinh_test_upward): Likewise.
33990 (sqrt_test): Likewise.
33991 (sqrt_test_tonearest): Likewise.
33992 (sqrt_test_towardzero): Likewise.
33993 (sqrt_test_downward): Likewise.
33994 (sqrt_test_upward): Likewise.
33995 (tan_test): Likewise.
33996 (tan_test_tonearest): Likewise.
33997 (tan_test_towardzero): Likewise.
33998 (tan_test_downward): Likewise.
33999 (tan_test_upward): Likewise.
34000 (tanh_test): Likewise.
34001 (tgamma_test): Likewise.
34002 (trunc_test): Likewise.
34003 (y0_test): Likewise.
34004 (y1_test): Likewise.
34005 (yn_test): Likewise.
34006 (significand_test): Likewise.
34007
34008 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34009 individual tests in comment.
34010 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34011 (prev_max_error): New variable.
34012 (prev_real_max_error): Likewise.
34013 (prev_imag_max_error): Likewise.
34014 (compare_ulp_data): Don't refer to test names in comment.
34015 (find_test_ulps): Remove function.
34016 (find_function_ulps): Likewise.
34017 (find_complex_function_ulps): Likewise.
34018 (init_max_error): Take function name as argument. Look up ulps
34019 for that function.
34020 (print_ulps): Remove function.
34021 (print_max_error): Use prev_max_error instead of calling
34022 find_function_ulps.
34023 (print_complex_max_error): Use prev_real_max_error and
34024 prev_imag_max_error instead of calling find_complex_function_ulps.
34025 (check_float_internal): Take max_ulp parameter instead of calling
34026 find_test_ulps. Don't call print_ulps.
34027 (check_float): Update call to check_float_internal.
34028 (check_complex): Update calls to check_float_internal.
34029 (START): Pass argument to init_max_error.
34030 * math/gen-libm-test.pl (%results): Don't include "kind"
34031 information.
34032 (parse_ulps): Don't handle ulps of individual tests.
34033 (print_ulps_file): Likewise.
34034 (output_ulps): Likewise.
34035 * math/README.libm-test: Update.
34036 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34037 individual tests.
34038 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34039 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34040 * sysdeps/arm/libm-test-ulps: Likewise.
34041 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34042 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34043 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34044 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34045 * sysdeps/microblaze/libm-test-ulps: Likewise.
34046 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34047 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34048 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34049 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34050 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34051 * sysdeps/sh/libm-test-ulps: Likewise.
34052 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34053 * sysdeps/tile/libm-test-ulps: Likewise.
34054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34055
34056 2014-03-04 Joseph Myers <joseph@codesourcery.com>
34057
34058 * math/libm-test.inc (print_complex_max_error): Check separately
34059 whether real and imaginary errors are within allowed range and
34060 pass 0 to print_complex_function_ulps instead of value within
34061 allowed range.
34062
34063 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34064
34065 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34066 formatting.
34067 (get_handles_fopen): Likewise.
34068 (do_write_test): Likewise.
34069
34070 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34071
34072 * libio/fileops.c (do_ftell): Use cached offset when
34073 available.
34074 * libio/iofwide.c (do_ftell_wide): Likewise.
34075 * libio/iofdopen.c (_IO_new_fdopen): Don't use
34076 _IO_file_attach.
34077 * libio/wfileops.c (_IO_fwide): Don't cache offset.
34078
34079 [BZ #16532]
34080 * libio/libioP.h (get_file_offset): New function.
34081 * libio/fileops.c (get_file_offset): Likewise.
34082 (do_ftell): Likewise.
34083 (_IO_new_file_seekoff): Split out ftell logic.
34084 * libio/wfileops.c (do_ftell_wide): Likewise.
34085 (_IO_wfile_seekoff): Split out ftell logic.
34086 * libio/tst-ftell-active-handler.c: New test case.
34087 * libio/Makefile (tests): Add it.
34088
34089 2014-03-03 Roland McGrath <roland@hack.frob.com>
34090
34091 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34092 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34093
34094 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34095
34096 [BZ #16639]
34097 * nscd/connections.c (nscd_init): Call do_exit.
34098 (start_threads): Call do_exit and notify_parent.
34099 (begin_drop_privileges): Call do_exit.
34100 (finish_drop_privileges): Likewise.
34101 * nscd/selinux.c (preserve_capabilities): Likewise.
34102 (install_real_capabilities): Likewise.
34103 (nscd_selinux_enabled): Likewise.
34104 (avc_create_thread): Likewise.
34105 (avc_alloc_lock): Likewise.
34106 (nscd_avc_init): Likewise.
34107 * nscd/nscd.c (parent_fd): New static variable.
34108 (main): Create a pipe between parent and child processes.
34109 Skip closing parent_fd.
34110 (monitor_child): New function.
34111 (do_exit): Likewise.
34112 (notify_parent): Likewise.
34113 * nscd/nscd.h (notify_parent): Likewise.
34114 (do_exit): Likewise.
34115
34116 2014-03-03 Carlos O'Donell <carlos@redhat.com>
34117
34118 * malloc/malloc.c (__libc_calloc): Revert last change.
34119
34120 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34121
34122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34123
34124 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34125
34126 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34128 implementation.
34129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34130 (__libc_ifunc_impl_list): Likewise.
34131 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34132 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34133 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34134 * string/strrchr.c: Define STRRCHR.
34135
34136 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
34137
34138 * benchtest/bench-strtok.c (simple_strtok): Delete.
34139 (strtok_string): Use as benchmark.
34140 * string/strtok (STRTOK): New macro.
34141
34142 2014-02-28 Carlos O'Donell <carlos@redhat.com>
34143
34144 * manual/threads.texi: Add header and standard comments to all
34145 functions.
34146
34147 * elf/dl-lookup.c (check_match): New function.
34148 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34149 (do_lookup_x): Remove nested function check_match. Use non-nested
34150 function check_match.
34151
34152 2014-02-28 Roland McGrath <roland@hack.frob.com>
34153
34154 * csu/Makefile (generated, before-compile): Use += rather than =.
34155 * catgets/Makefile (generated, generated-dirs): Likewise.
34156 * debug/Makefile (generated): Likewise.
34157 * dlfcn/Makefile (generated): Likewise.
34158 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34159 * iconvdata/Makefile (before-compile, generated): Likewise.
34160 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34161 * libio/Makefile (generated): Likewise.
34162 * malloc/Makefile (generated): Likewise.
34163 * manual/Makefile (generated, generated-dirs): Likewise.
34164 * misc/Makefile (generated): Likewise.
34165 * posix/Makefile (generated): Likewise.
34166 * resolv/Makefile (generated): Likewise.
34167 * sunrpc/Makefile (generated, generated-dirs): Likewise.
34168 * timezone/Makefile (generated, generated-dirs): Likewise.
34169
34170 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34171
34172 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34173
34174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34175 power8 implementation.
34176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34177 file: POWER8 llround ifunc implementation.
34178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34179 (__lllround): Add POWER8 implementation.
34180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34181 POWER8 llround implementation.
34182
34183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34184 power8 implementation.
34185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34186 file: POWER8 llrint ifunc implementation.
34187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34188 Add POWER8 implementation.
34189 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34190 POWER8 llrint implementation.
34191
34192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34193 power8 implementation.
34194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34195 file: POWER8 finite ifunc implementation.
34196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34197 Add POWER8 implementation.
34198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34199 Likewise.
34200 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34201 POWER8 finite implementation.
34202 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34203
34204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34205 power8 implementation.
34206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34207 file: POWER8 isinf ifunc implementation.
34208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34209 POWER8 implementation.
34210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34211 Likewise.
34212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34213 isinf implementation.
34214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34215
34216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34217 (INIT_ARCH): Add hwcap2 initialization.
34218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34219 power8 implementation.
34220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34221 file: POWER8 isnan ifunc implementation.
34222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34223 POWER8 implementation.
34224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34225 Likewise.
34226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34227 isnan implementation.
34228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34229
34230 2014-02-27 Joey Ye <joey.ye@arm.com>
34231
34232 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34233 (_FP_NANFRAC_Q): Set to zero.
34234
34235 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34236
34237 [BZ #16623]
34238 * math/auto-libm-test-in: New test inputs.
34239 * math/auto-libm-test-out: Regenerate.
34240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34241 and DA.
34242 (__cos): Likewise.
34243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34244
34245 2014-02-27 Joseph Myers <joseph@codesourcery.com>
34246
34247 * scripts/evaluate-test.sh: Take new argument indicating whether
34248 failure is expected.
34249 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34250 indicating whether failure is expected.
34251 * conform/Makefile (test-xfail-run-conformtest): New variable.
34252 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34253 level.
34254 * posix/Makefile (test-xfail-annexc): New variable.
34255 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34256
34257 2014-02-26 Joseph Myers <joseph@codesourcery.com>
34258
34259 * argp/Makefile: Include Makeconfig immediately after defining
34260 subdir.
34261 * assert/Makefile: Likewise.
34262 * benchtests/Makefile: Likewise.
34263 * catgets/Makefile: Likewise.
34264 * conform/Makefile: Likewise.
34265 * crypt/Makefile: Likewise.
34266 * csu/Makefile: Likewise.
34267 (all): Remove target.
34268 * ctype/Makefile: Include Makeconfig immediately after defining
34269 subdir.
34270 * debug/Makefile: Likewise.
34271 * dirent/Makefile: Likewise.
34272 * dlfcn/Makefile: Likewise.
34273 * gmon/Makefile: Likewise.
34274 * gnulib/Makefile: Likewise.
34275 * grp/Makefile: Likewise.
34276 * gshadow/Makefile: Likewise.
34277 * hesiod/Makefile: Likewise.
34278 * hurd/Makefile: Likewise.
34279 (all): Remove target.
34280 * iconvdata/Makefile: Include Makeconfig immediately after
34281 defining subdir.
34282 * inet/Makefile: Likewise.
34283 * intl/Makefile: Likewise.
34284 * io/Makefile: Likewise.
34285 * libio/Makefile: Likewise.
34286 (all): Remove target.
34287 * locale/Makefile: Include Makeconfig immediately after defining
34288 subdir.
34289 * login/Makefile: Likewise.
34290 * mach/Makefile: Likewise.
34291 (all): Remove target.
34292 * malloc/Makefile: Include Makeconfig immediately after defining
34293 subdir.
34294 (all): Remove target.
34295 * manual/Makefile: Include Makeconfig immediately after defining
34296 subdir.
34297 * math/Makefile: Likewise.
34298 * misc/Makefile: Likewise.
34299 * nis/Makefile: Likewise.
34300 * nss/Makefile: Likewise.
34301 * po/Makefile: Likewise.
34302 (all): Remove target.
34303 * posix/Makefile: Include Makeconfig immediately after defining
34304 subdir.
34305 * pwd/Makefile: Likewise.
34306 * resolv/Makefile: Likewise.
34307 * resource/Makefile: Likewise.
34308 * rt/Makefile: Likewise.
34309 * setjmp/Makefile: Likewise.
34310 * shadow/Makefile: Likewise.
34311 * signal/Makefile: Likewise.
34312 * socket/Makefile: Likewise.
34313 * soft-fp/Makefile: Likewise.
34314 * stdio-common/Makefile: Likewise.
34315 * stdlib/Makefile: Likewise.
34316 * streams/Makefile: Likewise.
34317 * string/Makefile: Likewise.
34318 * sunrpc/Makefile: Likewise.
34319 (all): Remove target.
34320 * sysvipc/Makefile: Include Makeconfig immediately after defining
34321 subdir.
34322 * termios/Makefile: Likewise.
34323 * time/Makefile: Likewise.
34324 * timezone/Makefile: Likewise.
34325 (all): Remove target.
34326 * wcsmbs/Makefile: Include Makeconfig immediately after defining
34327 subdir.
34328 * wctype/Makefile: Likewise.
34329
34330 2014-02-26 Steve Ellcey <sellcey@mips.com>
34331
34332 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34333 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34334 (libc_feholdexcept_setround_mips): Ditto.
34335 (libc_feholdsetround): New.
34336 (libc_feholdsetroundf): New.
34337 (libc_feholdsetroundl): New.
34338 (libc_feupdateenv_test_mips): New.
34339 (libc_feupdateenv_test): New.
34340 (libc_feupdateenv_testf): New.
34341 (libc_feupdateenv_testl): New.
34342 (libc_feresetround): New.
34343 (libc_feresetroundf): New.
34344 (libc_feresetroundl): New.
34345 (libc_fetestexcept_mips): New.
34346 (libc_fetestexcept): New.
34347 (libc_fetestexceptf): New.
34348 (libc_fetestexceptl): New.
34349 (HAVE_RM_CTX): New.
34350 (libc_feholdexcept_setround_mips_ctx): New.
34351 (libc_feholdexcept_setround_ctx): New.
34352 (libc_feholdexcept_setroundf_ctx): New.
34353 (libc_feholdexcept_setroundl_ctx): New.
34354 (libc_fesetenv_mips_ctx): New.
34355 (libc_fesetenv_ctx): New.
34356 (libc_fesetenv_ctxf): New.
34357 (libc_fesetenv_ctxl): New.
34358 (libc_feupdateenv_mips_ctx): New.
34359 (libc_feupdateenv_ctx): New.
34360 (libc_feupdateenvf_ctx): New.
34361 (libc_feupdateenvl_ctx): New.
34362 (libc_feholdsetround_mips_ctx): New.
34363 (libc_feholdsetround_ctx): New.
34364 (libc_feholdsetroundf_ctx): New.
34365 (libc_feholdsetroundl_ctx): New.
34366 (libc_feresetround_mips_ctx): New.
34367 (libc_feresetround_ctx): New.
34368 (libc_feresetroundf_ctx): New.
34369 (libc_feresetroundl_ctx): New.
34370
34371 2014-02-26 Carlos O'Donell <carlos@redhat.com>
34372
34373 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34374
34375 * manual/ipc.texi: New file.
34376 * manual/Makefile (chapters): Add ipc.
34377 * manual/job.texi: Add "Inter-Process Communication" to next.
34378 * manual/process.texi: Add "Inter-Process Communication" to prev.
34379
34380 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34381
34382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34383
34384 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
34385
34386 * malloc/malloc.c (__libc_calloc): Simplify implementation.
34387
34388 * manual/arith.texi: Fix spaces after sentences.
34389 * manual/charset.texi: Likewise.
34390 * manual/errno.texi: Likewise.
34391 * manual/install.texi: Likewise.
34392 * manual/llio.texi: Likewise.
34393 * manual/locale.texi: Likewise.
34394 * manual/maint.texi: Likewise.
34395 * manual/math.texi: Likewise.
34396 * manual/memory.texi: Likewise.
34397 * manual/message.texi: Likewise.
34398 * manual/probes.texi: Likewise.
34399 * manual/resource.texi: Likewise.
34400 * manual/signal.texi: Likewise.
34401 * manual/socket.texi: Likewise.
34402 * manual/stdio.texi: Likewise.
34403 * manual/string.texi: Likewise.
34404 * manual/time.texi: Likewise.
34405 * manual/users.texi: Likewise.
34406
34407 2014-02-25 Carlos O'Donell <carlos@redhat.com>
34408
34409 [BZ #16632]
34410 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34411 _DEFAULT_SOURCE is defined.
34412
34413 2014-02-25 Ulrich Drepper <drepper@gmail.com>
34414 Carlos O'Donell <carlos@redhat.com>
34415
34416 [BZ #16613]
34417 * elf/dl-tls.c (_dl_count_modids): New function.
34418 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34419 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34420 audit library and increment generation counter.
34421 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34422 * elf/tst-audit9.c: New file.
34423 * elf/tst-auditmod9a.c: New file.
34424 * elf/tst-auditmod9b.c: New file.
34425 * elf/Makefile: Add rules to build and run tst-audit9.
34426
34427 2014-02-25 Florian Weimer <fweimer@redhat.com>
34428
34429 [BZ #15347]
34430 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34431
34432 2014-02-25 Will Newton <will.newton@linaro.org>
34433
34434 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34435 (__longjmp): Restore sp and lr before restoring callee
34436 saved registers. Add longjmp and longjmp_target
34437 SystemTap probe point.
34438 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34439 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34440 Define to zero to match jmpbuf layout.
34441 * sysdeps/arm/setjmp.S: Include stap-probe.h.
34442 (__sigsetjmp): Save sp and lr before saving callee
34443 saved registers. Add setjmp SystemTap probe point.
34444
34445 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34446
34447 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34448
34449 2014-02-24 Andreas Schwab <schwab@suse.de>
34450
34451 [BZ #15804]
34452 * elf/pldd.c (wait_for_ptrace_stop): New function.
34453 (main): Call it after attaching.
34454
34455 2014-02-22 Roland McGrath <roland@hack.frob.com>
34456
34457 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34458 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34459 Versions files is now verboten.
34460 * hurd/Versions (libc: GLIBC_2.0):
34461 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34462 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34463 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34464 * mach/Versions: Likewise.
34465
34466 * csu/Versions: Remove unused %include.
34467 * resolv/Versions: Likewise.
34468
34469 2014-02-21 Joseph Myers <joseph@codesourcery.com>
34470
34471 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34472 ($(objpfx)check-local-headers.out): Likewise.
34473 ($(objpfx)begin-end-check.out): Likewise.
34474 * Makerules (check-abi-%.out): Likewise.
34475 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34476 ($(objpfx)test2.cat): Likewise.
34477 ($(objpfx)de/libc.cat): Likewise.
34478 ($(objpfx)test-gencat.out): Likewise.
34479 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34480 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34481 ($(objpfx)noload-mem): Likewise.
34482 ($(objpfx)tst-pathopt.out): Likewise.
34483 ($(objpfx)tst-rtld-load-self.out): Likewise.
34484 ($(objpfx)tst-array1-cmp.out): Likewise.
34485 ($(objpfx)tst-array1-static-cmp.out): Likewise.
34486 ($(objpfx)tst-array2-cmp.out): Likewise.
34487 ($(objpfx)tst-array3-cmp.out): Likewise.
34488 ($(objpfx)tst-array4-cmp.out): Likewise.
34489 ($(objpfx)tst-array5-cmp.out): Likewise.
34490 ($(objpfx)tst-array5-static-cmp.out): Likewise.
34491 ($(objpfx)check-textrel.out): Likewise.
34492 ($(objpfx)check-execstack.out): Likewise.
34493 ($(objpfx)check-localplt.out): Likewise.
34494 ($(objpfx)order2-cmp.out): Likewise.
34495 ($(objpfx)tst-leaks1-mem): Likewise.
34496 ($(objpfx)tst-leaks1-static-mem): Likewise.
34497 ($(objpfx)tst-initorder-cmp.out): Likewise.
34498 ($(objpfx)tst-initorder2-cmp.out): Likewise.
34499 ($(objpfx)tst-unused-dep.out): Likewise.
34500 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34501 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34502 * iconv/Makefile (test-iconvconfig): Likewise.
34503 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34504 ($(objpfx)iconv-test.out): Likewise.
34505 ($(objpfx)tst-tables.out): Likewise.
34506 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34507 ($(objpfx)tst-gettext.out): Likewise.
34508 ($(objpfx)tst-translit.out): Likewise.
34509 ($(objpfx)tst-gettext2.out): Likewise.
34510 ($(objpfx)tst-gettext4.out): Likewise.
34511 ($(objpfx)tst-gettext6.out): Likewise.
34512 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34513 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34514 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34515 ($(objpfx)tst-fopenloc-mem.out): Likewise.
34516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34517 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34518 * posix/Makefile ($(objpfx)globtest.out): Likewise.
34519 ($(objpfx)wordexp-tst.out): Likewise.
34520 ($(objpfx)annexc.out): Likewise.
34521 ($(objpfx)tst-fnmatch-mem): Likewise.
34522 ($(objpfx)bug-regex2-mem): Likewise.
34523 ($(objpfx)bug-regex14-mem): Likewise.
34524 ($(objpfx)bug-regex21-mem): Likewise.
34525 ($(objpfx)bug-regex31-mem): Likewise.
34526 ($(objpfx)tst-vfork3-mem): Likewise.
34527 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34528 ($(objpfx)tst-pcre-mem): Likewise.
34529 ($(objpfx)tst-boost-mem): Likewise.
34530 ($(objpfx)tst-getconf.out): Likewise.
34531 ($(objpfx)bug-ga2-mem): Likewise.
34532 ($(objpfx)bug-glob2-mem): Likewise.
34533 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34534 ($(objpfx)mtrace-tst-leaks2): Likewise.
34535 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34536 ($(objpfx)tst-printf.out): Likewise.
34537 ($(objpfx)tst-setvbuf1.out): Likewise.
34538 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34539 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34540 ($(objpfx)tst-fmtmsg.out): Likewise.
34541 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34542 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34543
34544 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34545 * bits/sigaction.h [__USE_MISC]: Likewise.
34546 * bits/waitstatus.h: Update #endif comments.
34547 * ctype/ctype.h: Likewise.
34548 * dirent/dirent.h: Likewise.
34549 [__USE_MISC]: Remove redundant conditionals.
34550 * grp/grp.h: Update #endif comments.
34551 [__USE_GNU]: Remove redundant conditionals.
34552 [__USE_MISC]: Likewise.
34553 * inet/netinet/in.h [__USE_GNU]: Likewise.
34554 * io/sys/stat.h [__USE_MISC]: Likewise.
34555 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34556 * libio/bits/stdio.h: Update #endif comments.
34557 [__USE_MISC]: Remove redundant conditionals.
34558 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34559 * libio/stdio.h: Update #endif comments.
34560 [__USE_MISC]: Remove redundant conditionals.
34561 * math/bits/math-finite.h [__USE_MISC]: Likewise.
34562 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34563 * math/math.h: Update #else and #endif comments.
34564 [__USE_MISC]: Remove redundant conditionals.
34565 * misc/sys/uio.h: Update #endif comments.
34566 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34567 * posix/glob.h [__USE_MISC]: Likewise.
34568 * posix/sys/types.h: Update #endif comments.
34569 [__USE_MISC]: Remove redundant conditionals.
34570 * posix/sys/wait.h: Update #endif comments.
34571 [__USE_MISC]: Remove redundant conditionals.
34572 * posix/unistd.h: Update #endif comments.
34573 [__USE_MISC]: Remove redundant conditionals.
34574 * pwd/pwd.h [__USE_GNU]: Likewise.
34575 [__USE_MISC]: Likewise.
34576 * resolv/netdb.h [__USE_GNU]: Likewise.
34577 * signal/signal.h: Update #endif comments.
34578 [__USE_MISC]: Remove redundant conditionals.
34579 * stdlib/stdlib.h: Update #else and #endif comments.
34580 [__USE_MISC]: Remove redundant conditionals.
34581 [__USE_GNU]: Likewise.
34582 * string/bits/string2.h [__USE_MISC]: Likewise.
34583 * string/string.h: Update #endif comments.
34584 [__USE_MISC]: Remove redundant conditionals.
34585 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34586 Likewise.
34587 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34588 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34589 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34590 Likewise.
34591 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34592 Likewise.
34593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34594 comments.
34595 [__USE_MISC]: Remove redundant conditionals.
34596 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34597 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34598 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34599 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34600 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34601 Likewise.
34602 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34603 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34604 Likewise.
34605 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34606 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34607 Likewise.
34608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34609 Likewise.
34610 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34611 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34612 Likewise.
34613 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34614 Likewise.
34615 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34616 * sysdeps/x86/bits/string.h: Update #endif comments.
34617 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34618 conditionals.
34619 * time/sys/time.h: Update #endif comments.
34620 * time/time.h: Likewise.
34621 [__USE_MISC]: Remove redundant conditionals.
34622
34623 2014-02-21 Yury Gribov <y.gribov@samsung.com>
34624
34625 [BZ #16600]
34626 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34627
34628 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
34629
34630 * Versions.def (librt): Add GLIBC_2.17.
34631
34632 2014-02-21 Adam Conrad <adconrad@0c3.net>
34633
34634 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34635 synonym for _SYS_AUXV_H to allow direct inclusion.
34636 * sysdeps/sparc/bits/hwcap.h: Likewise.
34637 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34638 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34639 * sysdeps/sparc/sysdep.h: Likewise.
34640
34641 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34642
34643 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34644
34645 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34646
34647 * benchtests/bench-strrchr.c: Print length instead of position.
34648
34649 2014-02-20 Joseph Myers <joseph@codesourcery.com>
34650
34651 [BZ #16611]
34652 * sysdeps/unix/sysv/linux/kernel-features.h
34653 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34654 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34655 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34656 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34657 Likewise.
34658 [__i386__ || __powerpc__ || __sh__ || __sparc__]
34659 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34660 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34661 (__ASSUME_SENDMMSG): Define instead of using previous
34662 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34663 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34664 (__ASSUME_SENDMMSG_SYSCALL): Define.
34665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34666 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34667 Likewise.
34668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34669 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34670 Likewise.
34671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34673 Likewise.
34674 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34675 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34676 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34677 [__ASSUME_SENDMMSG]: Change conditionals to
34678 [__ASSUME_SENDMMSG_SOCKETCALL].
34679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34680 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34681 Define.
34682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34683 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34684 Likewise.
34685 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34686 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34687 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34688 [!__ASSUME_SENDMMSG]: Change conditional to
34689 [!__ASSUME_SENDMMSG_SOCKETCALL].
34690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34692 Define.
34693
34694 [BZ #16610]
34695 * sysdeps/unix/sysv/linux/kernel-features.h
34696 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34697 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34698 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34699 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34700 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34701 [__i386__ || __sparc__]
34702 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34703 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34704 (__ASSUME_RECVMMSG): Define instead of using previous
34705 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34707 (__ASSUME_RECVMMSG_SYSCALL): Define.
34708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34710 Likewise.
34711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34713 Likewise.
34714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34716 Likewise.
34717 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34718 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34719 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34720 [__ASSUME_RECVMMSG]: Change condition to
34721 [__ASSUME_RECVMMSG_SOCKETCALL].
34722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34724 Define.
34725 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34726 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34728 Likewise.
34729 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34730 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34731 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34732 [!__ASSUME_RECVMMSG]: Change condition to
34733 [!__ASSUME_RECVMMSG_SOCKETCALL].
34734 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34735 (__ASSUME_RECVMMSG_SYSCALL): Define.
34736
34737 [BZ #16609]
34738 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34739 __powerpc__ || __s390__ || __sh__ || __sparc__]
34740 (__ASSUME_SOCKETCALL): Define.
34741 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34742 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34743 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34744 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34745 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34746 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34747 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34748 (__ASSUME_ACCEPT4): Define instead of using previous
34749 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34750 __powerpc__ || __sparc__ || __s390__)] condition.
34751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34753 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34754 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34755 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34756 [!__ASSUME_ACCEPT4]: Change condition to
34757 [!__ASSUME_ACCEPT4_SOCKETCALL].
34758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34759 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
34760 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34761 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34762 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34763 __ASSUME_ACCEPT4_SYSCALL.
34764 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34765 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34766 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34767 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34768 __ASSUME_ACCEPT4_SYSCALL.
34769 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34770 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34771 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34772 [__ASSUME_ACCEPT4]: Change condition to
34773 [__ASSUME_ACCEPT4_SOCKETCALL].
34774 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34775 (__ASSUME_SOCKETCALL): Define.
34776 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34778 (__ASSUME_SOCKETCALL): Define.
34779 (__ASSUME_ACCEPT4): Remove.
34780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34781 Define.
34782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34783 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34784 Likewise.
34785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34786 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34787
34788 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34789 macro.
34790 (HWCAP_ARM_LPAE): Likewise.
34791 (HWCAP_ARM_EVTSTRM): Likewise.
34792 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34793 Add vpfd32, lpae and evtstrm.
34794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34795 Increase to 22.
34796
34797 2014-02-19 Joseph Myers <joseph@codesourcery.com>
34798
34799 * math/auto-libm-test-in: Add tests of clog10.
34800 * math/auto-libm-test-out: Regenerated.
34801 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34802 * sysdeps/i386/fpu/libm-test-ulps: Update.
34803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34804
34805 2014-02-18 Andreas Schwab <schwab@suse.de>
34806
34807 [BZ #16574]
34808 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34809 Store non-zero if the second buffer was newly allocated.
34810 (send_dg): Likewise.
34811 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34812 to send_vc and send_dg.
34813 (res_nsend): Pass NULL for ansp2_malloced.
34814 * resolv/res_query.c (__libc_res_nquery): Add parameter
34815 answerp2_malloced and pass it down to __libc_res_nsend.
34816 (res_nquery): Pass additional NULL to __libc_res_nquery.
34817 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34818 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
34819 second answer buffer if answerp2_malloced was set.
34820 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34821 (__libc_res_nquerydomain): Add parameter
34822 answerp2_malloced and pass it down to __libc_res_nquery.
34823 (res_nquerydomain): Pass additional NULL to
34824 __libc_res_nquerydomain.
34825 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34826 additional NULL to __libc_res_nsend and __libc_res_nquery.
34827 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34828 additional NULL to __libc_res_nsearch.
34829 (_nss_dns_gethostbyname4_r): Revert last change. Use new
34830 parameter of __libc_res_nsearch to check for separately allocated
34831 second buffer.
34832 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34833 __libc_res_nquery.
34834 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34835 additional NULL to __libc_res_nquery.
34836 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34837 __libc_res_nsearch.
34838 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34839 * include/resolv.h: Update prototypes of __libc_res_nquery,
34840 __libc_res_nsearch, __libc_res_nsend.
34841
34842 2014-02-18 Joseph Myers <joseph@codesourcery.com>
34843
34844 * math/auto-libm-test-in: Add tests of fma.
34845 * math/auto-libm-test-out: Regenerated.
34846 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34847 (fma_towardzero_test_data): Likewise.
34848 (fma_downward_test_data): Likewise.
34849 (fma_upward_test_data): Likewise.
34850 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34851 mpc_mode.
34852 (rounding_modes): Add values for new field.
34853 (func_calc_method): Add value mpfr_fff_f.
34854 (func_calc_desc): Add mpfr_fff_f union field.
34855 (test_function): Add field exact_args.
34856 (FUNC): Add macro argument EXACT_ARGS.
34857 (FUNC_mpfr_f_f): Update call to FUNC.
34858 (FUNC_mpfr_f_f): Likewise.
34859 (FUNC_mpfr_ff_f): Likewise.
34860 (FUNC_mpfr_if_f): Likewise.
34861 (FUNC_mpc_c_f): Likewise.
34862 (FUNC_mpc_c_c): Likewise.
34863 (test_functions): Add fma. Update calls to FUNC.
34864 (handle_input_arg): Add argument exact_args.
34865 (add_test): Update call to handle_input_arg.
34866 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
34867 (output_for_one_input_case): Update call to calc_generic_results.
34868 Recalculate exact zero results in each rounding mode.
34869
34870 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34871 non-negative before setting low bit.
34872 * math/auto-libm-test-in: Mark one asin test possibly having
34873 spurious underflow.
34874 * math/auto-libm-test-out: Regenerated.
34875 * sysdeps/i386/fpu/libm-test-ulps: Update.
34876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34877
34878 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
34879
34880 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34881 * sysdeps/unix/sysv/linux/microblaze: Move directory from
34882 ports/sysdeps/unix/sysv/linux/microblaze.
34883 * README: Add missing listing for microblaze*-*-linux-gnu.
34884
34885 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
34886
34887 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34888 duplicate code
34889
34890 2014-02-16 Mike Frysinger <vapier@gentoo.org>
34891
34892 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34893 * sysdeps/unix/sysv/linux/ia64: Move directory from
34894 ports/sysdeps/unix/sysv/linux/ia64.
34895 * README: Update listing for ia64-*-linux-gnu.
34896
34897 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
34898 Joseph Myers <joseph@codesourcery.com>
34899
34900 * Makeconfig (test-name): New variable.
34901 (evaluate-test): Likewise.
34902 * Makerules (do-test-clean): Remove .test-result files.
34903 (common-mostlyclean): Likewise.
34904 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34905 * scripts/evaluate-test.sh: New file.
34906
34907 2014-02-14 Joseph Myers <joseph@codesourcery.com>
34908
34909 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34910 separate $(objpfx)tst-fopenloc-cmp.out and
34911 $(objpfx)tst-fopenloc-mem.out targets.
34912 (tests): Update dependencies.
34913 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34914 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34915 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34916 (tst-rxspencer-no-utf8-ARGS): New variable.
34917 (tst-rxspencer-no-utf8-ENV): Likewise.
34918 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34919 instead of $(objpfx)tst-rxspencer-mem.
34920 ($(objpfx)tst-rxspencer-mem): Change target to
34921 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
34922 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34923 * posix/tst-rxspencer-no-utf8.c: New file.
34924
34925 * elf/Makefile ($(objpfx)order.out): Remove rule.
34926 [$(run-built-tests) = yes] (tests): Depend on
34927 $(objpfx)order-cmp.out.
34928 ($(objpfx)order-cmp.out): New rule.
34929 [$(run-built-tests) = yes] (tests): Depend on
34930 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34931 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34932 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34933 $(objpfx)tst-array5-static-cmp.out.
34934 ($(objpfx)tst-array1.out): Remove rule.
34935 ($(objpfx)tst-array1-cmp.out): New rule.
34936 ($(objpfx)tst-array1-static.out): Remove rule.
34937 ($(objpfx)tst-array1-static-cmp.out): New rule.
34938 ($(objpfx)tst-array2.out): Remove rule.
34939 ($(objpfx)tst-array2-cmp.out): New rule.
34940 ($(objpfx)tst-array3.out): Remove rule.
34941 ($(objpfx)tst-array3-cmp.out): New rule.
34942 ($(objpfx)tst-array4.out): Remove rule.
34943 ($(objpfx)tst-array4-cmp.out): New rule.
34944 ($(objpfx)tst-array5.out): Remove rule.
34945 ($(objpfx)tst-array5-cmp.out): New rule.
34946 ($(objpfx)tst-array5-static.out): Remove rule.
34947 ($(objpfx)tst-array5-static-cmp.out): New rule.
34948 [$(run-built-tests) = yes] (tests): Depend on
34949 $(objpfx)order2-cmp.out.
34950 ($(objpfx)order2.out): Remove rule.
34951 ($(objpfx)order2-cmp.out): New rule.
34952 ($(objpfx)tst-initorder.out): Remove rule.
34953 [$(run-built-tests) = yes] (tests): Depend on
34954 $(objpfx)tst-initorder-cmp.out.
34955 ($(objpfx)tst-initorder-cmp.out): New rule.
34956 ($(objpfx)tst-initorder2.out): Remove rule.
34957 [$(run-built-tests) = yes] (tests): Depend on
34958 $(objpfx)tst-initorder2-cmp.out.
34959 ($(objpfx)tst-initorder2-cmp.out): New rule.
34960 [$(run-built-tests) = yes] (tests): Depend on
34961 $(objpfx)tst-unused-dep-cmp.out.
34962 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34963 ($(objpfx)tst-unused-dep-cmp.out): New rule.
34964 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34965 on $(objpfx)tst-setvbuf1-cmp.out.
34966 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34967 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34968 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34969 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34970 ($(objpfx)tst-svc.out): Remove rule.
34971 ($(objpfx)tst-svc-cmp.out): New rule.
34972
34973 2014-02-13 Joseph Myers <joseph@codesourcery.com>
34974
34975 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34976 * ctype/ctype.h [__USE_MISC]: Likewise.
34977 * dirent/dirent.h [__USE_MISC]: Likewise.
34978 * grp/grp.h [__USE_MISC]: Likewise.
34979 * io/fcntl.h [__USE_MISC]: Likewise.
34980 * io/sys/stat.h [__USE_MISC]: Likewise.
34981 * libio/stdio.h [__USE_MISC]: Likewise.
34982 * posix/unistd.h [__USE_MISC]: Likewise.
34983 * pwd/pwd.h [__USE_MISC]: Likewise.
34984 * stdlib.h [__USE_MISC]: Likewise.
34985 * string/bits/string2.h [__USE_MISC]: Likewise.
34986 * string/string.h [__USE_MISC]: Likewise.
34987 * time/time.h [__USE_MISC]: Likewise.
34988
34989 2014-02-13 Andreas Schwab <schwab@suse.de>
34990
34991 [BZ #16574]
34992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34993 second answer buffer if it was separately allocated.
34994
34995 2014-02-12 Joseph Myers <joseph@codesourcery.com>
34996
34997 * sysdeps/mips/math-tests.h: Include <features.h>.
34998 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34999 (ROUNDING_TESTS_long_double): Do not define.
35000 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35001 (EXCEPTION_TESTS_long_double): Likewise.
35002 * sysdeps/mips/mips64/libm-test-ulps: Update.
35003
35004 * include/features.h (__USE_BSD): Remove macro definitions.
35005 (__USE_SVID): Likewise.
35006 (_BSD_SOURCE): Likewise.
35007 (_SVID_SOURCE): Likewise.
35008 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35009 from definition of _DEFAULT_SOURCE.
35010 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35011 [_DEFAULT_SOURCE].
35012 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35013 * bits/mman.h [__USE_BSD]: Likewise.
35014 * bits/termios.h [__USE_BSD]: Likewise.
35015 * bits/waitstatus.h [__USE_BSD]: Likewise.
35016 * ctype/ctype.h [__USE_SVID]: Likewise.
35017 * dirent/dirent.h [__USE_BSD]: Likewise.
35018 * grp/grp.h [__USE_SVID]: Likewise.
35019 [__USE_BSD]: Likewise.
35020 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35021 * io/fcntl.h [__USE_BSD]: Likewise.
35022 * io/ftw.h [__USE_BSD]: Likewise.
35023 * io/sys/stat.h [__USE_BSD]: Likewise.
35024 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35025 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35026 * libio/stdio.h [__USE_SVID]: Likewise.
35027 [__USE_BSD]: Likewise.
35028 * math/math.h [__USE_SVID]: Likewise.
35029 [__USE_BSD]: Likewise.
35030 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35031 * misc/bits/syslog.h [__USE_BSD]: Likewise.
35032 * misc/search.h [__USE_SVID]: Likewise.
35033 * misc/sys/mman.h [__USE_BSD]: Likewise.
35034 * misc/sys/syslog.h [__USE_BSD]: Likewise.
35035 * misc/sys/uio.h [__USE_BSD]: Likewise.
35036 * posix/bits/unistd.h [__USE_BSD]: Likewise.
35037 * posix/glob.h [__USE_BSD]: Likewise.
35038 * posix/regex.h [__USE_BSD]: Likewise.
35039 * posix/sys/types.h [__USE_BSD]: Likewise.
35040 [__USE_SVID]: Likewise.
35041 * posix/sys/utsname.h [__USE_SVID]: Likewise.
35042 * posix/sys/wait.h [__USE_BSD]: Likewise.
35043 [__USE_SVID]: Likewise.
35044 * posix/unistd.h [__USE_BSD]: Likewise.
35045 [__USE_SVID]: Likewise.
35046 * pwd/pwd.h [__USE_SVID]: Likewise.
35047 * resolv/netdb.h [__USE_BSD]: Likewise.
35048 * setjmp/setjmp.h [__USE_BSD]: Likewise.
35049 * signal/signal.h [__USE_BSD]: Likewise.
35050 [__USE_SVID]: Likewise.
35051 * socket/sys/socket.h [__USE_BSD]: Likewise.
35052 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35053 * stdlib/stdlib.h [__USE_BSD]: Likewise.
35054 [__USE_SVID]: Likewise.
35055 * string/bits/string2.h [__USE_BSD]: Likewise.
35056 [__USE_SVID]: Likewise.
35057 * string/bits/string3.h [__USE_BSD]: Likewise.
35058 * string/endian.h [__USE_BSD]: Likewise.
35059 * string/string.h [__USE_SVID]: Likewise.
35060 [__USE_BSD]: Likewise.
35061 * string/strings.h [__USE_BSD]: Likewise.
35062 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35063 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35064 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35065 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35066 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35067 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35068 Likewise.
35069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35070 Likewise.
35071 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35072 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35073 Likewise.
35074 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35075 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35076 Likewise.
35077 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35078 Likewise.
35079 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35080 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35082 Likewise.
35083 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35084 Likewise.
35085 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35086 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35087 * termios/termios.h [__USE_BSD]: Likewise.
35088 * time/sys/time.h [__USE_BSD]: Likewise.
35089 * time/time.h [__USE_BSD]: Likewise.
35090 [__USE_SVID]: Likewise.
35091
35092 * Makefile (subdir_targets): Remove subdir_lint.out.
35093
35094 * stdio-common/Makefile (do-tst-unbputc): Remove target.
35095 (do-tst-printf): Likewise.
35096 (tests): Depend directly on $(objpfx)tst-unbputc.out and
35097 $(objpfx)tst-printf.out.
35098
35099 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35100
35101 * Makerules (check-abi-%): Change target to
35102 $(objpfx)check-abi-%.out.
35103 (check-abi target): Update dependencies.
35104 (check-abi-pattern variable): Redirect output of diff to $@.
35105 (check-abi variable): Likewise.
35106 * elf/Makefile (check-abi): Update dependencies.
35107
35108 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35109 unused.
35110 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35111 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35112 subnormal range.
35113 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35114 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35115 value has largest subnormal exponent.
35116 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35117 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35118 * sysdeps/aarch64/soft-fp/sfp-machine.h
35119 (_FP_TININESS_AFTER_ROUNDING): New macro.
35120 * sysdeps/alpha/soft-fp/sfp-machine.h
35121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35122 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35123 Likewise.
35124 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35125 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35126 * sysdeps/mips/soft-fp/sfp-machine.h
35127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35128 * sysdeps/powerpc/soft-fp/sfp-machine.h
35129 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35130 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35131 Likewise.
35132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35133 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
35136 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35137 Likewise.
35138
35139 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
35140
35141 [BZ #16545]
35142 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35143 model 1.
35144
35145 2014-02-12 Richard Henderson <rth@redhat.com>
35146
35147 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35148 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35149 * sysdeps/unix/sysv/linux/alpha: Move directory from
35150 ports/sysdeps/unix/sysv/linux/alpha.
35151 * README: Update listing for alpha-*-linux-gnu.
35152
35153 2014-02-11 Joseph Myers <joseph@codesourcery.com>
35154
35155 * include/features.h: Update comment documenting feature test
35156 macros.
35157 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
35158 _DEFAULT_SOURCE.
35159 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35160 (_SVID_SOURCE): Likewise.
35161 (_DEFAULT_SOURCE): Update description of default features.
35162 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35163 with _GNU_SOURCE.
35164 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35165 (S_ISVTX): Likewise.
35166 * manual/math.texi (Mathematical Constants): Likewise.
35167 * manual/signal.texi (Interrupted Primitives): Likewise.
35168 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35169 * math/test-matherr.c (_SVID_SOURCE): Do not define.
35170 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35171 Don't refer to _SVID_SOURCE in warning text.
35172
35173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35174
35175 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35176 already defined.
35177 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35178 * sysdeps/mips/dl-lookup.c: Remove.
35179 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35180
35181 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35182
35183 [BZ #16447]
35184 * math/auto-libm-test-in: Add testcase for expl.
35185 * math/auto-libm-test-out: Regenerate.
35186 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35187 calculation of unsafe.
35188 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35189
35190 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
35191
35192 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35193 * sysdeps/unix/sysv/linux/aarch64: Move directory from
35194 ports/sysdeps/unix/sysv/linux/aarch64.
35195 * README: Update listing for aarch64*-*-linux-gnu.
35196
35197 2014-02-11 Will Newton <will.newton@linaro.org>
35198
35199 * manual/probes.texi (Mathematical Function Probes): Use
35200 "triggered" instead of "hit".
35201
35202 * manual/probes.texi (Internal Probes): Add documentation
35203 of setjmp, longjmp and longjmp_target probes.
35204
35205 * include/stap-probe.h: Add comment about probe argument
35206 format.
35207
35208 * malloc/mtrace.c (attribute_hidden): Remove unused macro
35209 definition. (tr_where, tr_freehook, tr_mallochook,
35210 tr_reallochook, tr_memalignhook): Use ANSI protoype.
35211
35212 2014-02-11 David S. Miller <davem@davemloft.net>
35213
35214 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35215 processing int_tests.
35216
35217 2014-02-10 Joseph Myers <joseph@codesourcery.com>
35218
35219 * sysdeps/mips: Move directory from ports/sysdeps/mips.
35220 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35221 * sysdeps/unix/sysv/linux/mips: Move directory from
35222 ports/sysdeps/unix/sysv/linux/mips.
35223 * README: Update listing for mips-*-linux-gnu and
35224 mips64-*-linux-gnu.
35225
35226 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
35227
35228 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35229 * sysdeps/unix/sysv/linux/m68k: Move directory from
35230 ports/sysdeps/unix/sysv/linux/m68k.
35231 * README: Update listing for m68k-*-linux-gnu.
35232
35233 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
35234
35235 * sysdeps/tile: Move directory from ports/sysdeps/tile.
35236 * sysdeps/unix/sysv/linux/generic: Move directory from
35237 ports/sysdeps/unix/sysv/linux/generic.
35238 * sysdeps/unix/sysv/linux/tile: Move directory from
35239 ports/sysdeps/unix/sysv/linux/tile.
35240 * README: Update listing for tile*-*-linux-gnu.
35241
35242 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
35243
35244 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35245 __builtin_expect.
35246 * benchtests/bench-memmem.c (simple_memmem): Likewise.
35247 * catgets/open_catalog.c (__open_catalog): Likewise.
35248 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35249 * debug/confstr_chk.c: Likewise.
35250 * debug/fread_chk.c (__fread_chk): Likewise.
35251 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35252 * debug/getgroups_chk.c: Likewise.
35253 * debug/mbsnrtowcs_chk.c: Likewise.
35254 * debug/mbsrtowcs_chk.c: Likewise.
35255 * debug/mbstowcs_chk.c: Likewise.
35256 * debug/memcpy_chk.c: Likewise.
35257 * debug/memmove_chk.c: Likewise.
35258 * debug/mempcpy_chk.c: Likewise.
35259 * debug/memset_chk.c: Likewise.
35260 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35261 * debug/strcat_chk.c (__strcat_chk): Likewise.
35262 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35263 * debug/strncat_chk.c (__strncat_chk): Likewise.
35264 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35265 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35266 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35267 * debug/wcpncpy_chk.c: Likewise.
35268 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35269 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35270 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35271 * debug/wcsncpy_chk.c: Likewise.
35272 * debug/wcsnrtombs_chk.c: Likewise.
35273 * debug/wcsrtombs_chk.c: Likewise.
35274 * debug/wcstombs_chk.c: Likewise.
35275 * debug/wmemcpy_chk.c: Likewise.
35276 * debug/wmemmove_chk.c: Likewise.
35277 * debug/wmempcpy_chk.c: Likewise.
35278 * debug/wmemset_chk.c: Likewise.
35279 * dirent/scandirat.c (SCANDIRAT): Likewise.
35280 * dlfcn/dladdr1.c (dladdr1): Likewise.
35281 * dlfcn/dladdr.c (dladdr): Likewise.
35282 * dlfcn/dlclose.c (dlclose_doit): Likewise.
35283 * dlfcn/dlerror.c (__dlerror): Likewise.
35284 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35285 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35286 * dlfcn/dlopen.c (dlopen_doit): Likewise.
35287 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35288 * dlfcn/dlsym.c (dlsym_doit): Likewise.
35289 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35290 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35291 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35292 Likewise.
35293 * elf/dl-conflict.c: Likewise.
35294 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35295 * elf/dl-dst.h: Likewise.
35296 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35297 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35299 * elf/dl-init.c (call_init, _dl_init): Likewise.
35300 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35301 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35302 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35303 Likewise.
35304 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35305 Likewise.
35306 * elf/dl-minimal.c (__libc_memalign): Likewise.
35307 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35308 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35309 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35310 * elf/dl-sym.c (do_sym): Likewise.
35311 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35312 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35313 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35314 * elf/dl-writev.h (_dl_writev): Likewise.
35315 * elf/ldconfig.c (search_dir): Likewise.
35316 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35317 (dl_main): Likewise.
35318 * elf/setup-vdso.h (setup_vdso): Likewise.
35319 * grp/compat-initgroups.c (compat_call): Likewise.
35320 * grp/fgetgrent.c (fgetgrent): Likewise.
35321 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35322 * grp/putgrent.c (putgrent): Likewise.
35323 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35324 Likewise.
35325 * hurd/hurdinit.c: Likewise.
35326 * iconvdata/8bit-gap.c (struct): Likewise.
35327 * iconvdata/ansi_x3.110.c : Likewise.
35328 * iconvdata/big5.c : Likewise.
35329 * iconvdata/big5hkscs.c : Likewise.
35330 * iconvdata/cp1255.c: Likewise.
35331 * iconvdata/cp1258.c : Likewise.
35332 * iconvdata/cp932.c : Likewise.
35333 * iconvdata/euc-cn.c: Likewise.
35334 * iconvdata/euc-jisx0213.c : Likewise.
35335 * iconvdata/euc-jp.c: Likewise.
35336 * iconvdata/euc-jp-ms.c : Likewise.
35337 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35338 * iconvdata/gb18030.c : Likewise.
35339 * iconvdata/gbbig5.c (const): Likewise.
35340 * iconvdata/gbgbk.c: Likewise.
35341 * iconvdata/gbk.c : Likewise.
35342 * iconvdata/ibm1364.c : Likewise.
35343 * iconvdata/ibm930.c : Likewise.
35344 * iconvdata/ibm932.c: Likewise.
35345 * iconvdata/ibm933.c : Likewise.
35346 * iconvdata/ibm935.c : Likewise.
35347 * iconvdata/ibm937.c : Likewise.
35348 * iconvdata/ibm939.c : Likewise.
35349 * iconvdata/ibm943.c: Likewise.
35350 * iconvdata/iso_11548-1.c: Likewise.
35351 * iconvdata/iso-2022-cn.c : Likewise.
35352 * iconvdata/iso-2022-cn-ext.c : Likewise.
35353 * iconvdata/iso-2022-jp-3.c: Likewise.
35354 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35355 * iconvdata/iso-2022-kr.c : Likewise.
35356 * iconvdata/iso646.c (gconv_end): Likewise.
35357 * iconvdata/iso_6937-2.c : Likewise.
35358 * iconvdata/iso_6937.c : Likewise.
35359 * iconvdata/iso8859-1.c: Likewise.
35360 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35361 * iconvdata/shift_jisx0213.c : Likewise.
35362 * iconvdata/sjis.c : Likewise.
35363 * iconvdata/t.61.c : Likewise.
35364 * iconvdata/tcvn5712-1.c : Likewise.
35365 * iconvdata/tscii.c: Likewise.
35366 * iconvdata/uhc.c : Likewise.
35367 * iconvdata/unicode.c (gconv_end): Likewise.
35368 * iconvdata/utf-16.c (gconv_end): Likewise.
35369 * iconvdata/utf-32.c (gconv_end): Likewise.
35370 * iconvdata/utf-7.c (base64): Likewise.
35371 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35372 * iconv/gconv_close.c (__gconv_close): Likewise.
35373 * iconv/gconv_open.c (__gconv_open): Likewise.
35374 * iconv/gconv_simple.c (internal_ucs4_loop_single)
35375 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35376 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35377 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35378 (ucs4le_internal_loop_single): Likewise.
35379 * iconv/iconv.c (iconv): Likewise.
35380 * iconv/iconv_close.c: Likewise.
35381 * iconv/loop.c (SINGLE): Likewise.
35382 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35383 * include/atomic.h: Likewise.
35384 * inet/inet6_option.c (option_alloc): Likewise.
35385 * intl/bindtextdom.c (set_binding_values): Likewise.
35386 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35387 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35388 * intl/localealias.c (read_alias_file): Likewise.
35389 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35390 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35391 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35392 * libio/fmemopen.c (fmemopen): Likewise.
35393 * libio/iofgets.c (_IO_fgets): Likewise.
35394 * libio/iofgets_u.c (fgets_unlocked): Likewise.
35395 * libio/iofgetws.c (fgetws): Likewise.
35396 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35397 * libio/iogetdelim.c (_IO_getdelim): Likewise.
35398 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35399 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35400 * locale/findlocale.c (_nl_find_locale): Likewise.
35401 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35402 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35403 Likewise.
35404 * locale/setlocale.c (setlocale): Likewise.
35405 * login/programs/pt_chown.c (main): Likewise.
35406 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35407 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35408 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35409 (mmap, mmap64, mremap, munmap): Likewise.
35410 * math/e_exp2l.c: Likewise.
35411 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35412 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35413 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35414 * math/s_catan.c (__catan): Likewise.
35415 * math/s_catanf.c (__catanf): Likewise.
35416 * math/s_catanh.c (__catanh): Likewise.
35417 * math/s_catanhf.c (__catanhf): Likewise.
35418 * math/s_catanhl.c (__catanhl): Likewise.
35419 * math/s_catanl.c (__catanl): Likewise.
35420 * math/s_ccosh.c (__ccosh): Likewise.
35421 * math/s_ccoshf.c (__ccoshf): Likewise.
35422 * math/s_ccoshl.c (__ccoshl): Likewise.
35423 * math/s_cexp.c (__cexp): Likewise.
35424 * math/s_cexpf.c (__cexpf): Likewise.
35425 * math/s_cexpl.c (__cexpl): Likewise.
35426 * math/s_clog10.c (__clog10): Likewise.
35427 * math/s_clog10f.c (__clog10f): Likewise.
35428 * math/s_clog10l.c (__clog10l): Likewise.
35429 * math/s_clog.c (__clog): Likewise.
35430 * math/s_clogf.c (__clogf): Likewise.
35431 * math/s_clogl.c (__clogl): Likewise.
35432 * math/s_csin.c (__csin): Likewise.
35433 * math/s_csinf.c (__csinf): Likewise.
35434 * math/s_csinh.c (__csinh): Likewise.
35435 * math/s_csinhf.c (__csinhf): Likewise.
35436 * math/s_csinhl.c (__csinhl): Likewise.
35437 * math/s_csinl.c (__csinl): Likewise.
35438 * math/s_csqrt.c (__csqrt): Likewise.
35439 * math/s_csqrtf.c (__csqrtf): Likewise.
35440 * math/s_csqrtl.c (__csqrtl): Likewise.
35441 * math/s_ctan.c (__ctan): Likewise.
35442 * math/s_ctanf.c (__ctanf): Likewise.
35443 * math/s_ctanh.c (__ctanh): Likewise.
35444 * math/s_ctanhf.c (__ctanhf): Likewise.
35445 * math/s_ctanhl.c (__ctanhl): Likewise.
35446 * math/s_ctanl.c (__ctanl): Likewise.
35447 * math/w_pow.c: Likewise.
35448 * math/w_powf.c: Likewise.
35449 * math/w_powl.c: Likewise.
35450 * math/w_scalb.c (sysv_scalb): Likewise.
35451 * math/w_scalbf.c (sysv_scalbf): Likewise.
35452 * math/w_scalbl.c (sysv_scalbl): Likewise.
35453 * misc/error.c (error_tail): Likewise.
35454 * misc/pselect.c (__pselect): Likewise.
35455 * nis/nis_callback.c (__nis_create_callback): Likewise.
35456 * nis/nis_call.c (__nisfind_server): Likewise.
35457 * nis/nis_creategroup.c (nis_creategroup): Likewise.
35458 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35459 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35460 * nis/nis_getservlist.c (nis_getservlist): Likewise.
35461 * nis/nis_lookup.c (nis_lookup): Likewise.
35462 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35463 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35464 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35465 * nis/nis_xdr.c (xdr_endpoint): Likewise.
35466 * nis/nss_compat/compat-grp.c (getgrent_next_file)
35467 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35468 * nis/nss_compat/compat-initgroups.c (add_group)
35469 (internal_getgrent_r): Likewise.
35470 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35471 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35472 * nis/nss_compat/compat-spwd.c (getspent_next_file)
35473 (internal_getspnam_r): Likewise.
35474 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35475 (_nss_nis_getaliasbyname_r): Likewise.
35476 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35477 (_nss_nis_getntohost_r): Likewise.
35478 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35479 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35480 (_nss_nis_getgrgid_r): Likewise.
35481 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35482 (internal_nis_gethostent_r, internal_gethostbyname2_r)
35483 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35484 (_nss_nis_gethostbyname4_r): Likewise.
35485 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35486 (initgroups_netid): Likewise.
35487 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35488 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35489 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35490 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35491 (_nss_nis_getprotobynumber_r): Likewise.
35492 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35493 (_nss_nis_getsecretkey): Likewise.
35494 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35495 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35496 (_nss_nis_getpwuid_r): Likewise.
35497 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35498 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35499 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35500 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35501 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35502 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35503 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35504 Likewise.
35505 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35506 (_nss_nisplus_getntohost_r): Likewise.
35507 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35508 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35509 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35510 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35511 Likewise.
35512 * nis/nss_nisplus/nisplus-initgroups.c
35513 (_nss_nisplus_initgroups_dyn): Likewise.
35514 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35515 (_nss_nisplus_getnetbyaddr_r): Likewise.
35516 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35517 (_nss_nisplus_getprotobynumber_r): Likewise.
35518 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35519 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35520 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35521 Likewise.
35522 * nis/nss_nisplus/nisplus-service.c
35523 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35524 (_nss_nisplus_getservbyport_r): Likewise.
35525 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35526 (_nss_nisplus_getspnam_r): Likewise.
35527 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35528 Likewise.
35529 * nscd/aicache.c (addhstaiX): Likewise.
35530 * nscd/cache.c (cache_search, prune_cache): Likewise.
35531 * nscd/connections.c (register_traced_file, send_ro_fd)
35532 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35533 (main_loop_epoll): Likewise.
35534 * nscd/grpcache.c (addgrbyX): Likewise.
35535 * nscd/hstcache.c (addhstbyX): Likewise.
35536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35537 * nscd/mem.c (gc, mempool_alloc): Likewise.
35538 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35539 (addinnetgrX): Likewise.
35540 * nscd/nscd-client.h (__nscd_acquire_maplock)
35541 (__nscd_drop_map_ref): Likewise.
35542 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35543 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35544 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35545 Likewise.
35546 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35548 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35549 (__nscd_get_map_ref): Likewise.
35550 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35551 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35552 Likewise.
35553 * nscd/pwdcache.c (addpwbyX): Likewise.
35554 * nscd/selinux.c (preserve_capabilities): Likewise.
35555 * nscd/servicescache.c (addservbyX): Likewise.
35556 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35557 * posix/fnmatch.c (fnmatch): Likewise.
35558 * posix/getopt.c (_getopt_internal_r): Likewise.
35559 * posix/glob.c (glob, glob_in_dir): Likewise.
35560 * posix/wordexp.c (exec_comm_child): Likewise.
35561 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35562 (getanswer_r, gaih_getanswer_slice): Likewise.
35563 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35564 * resolv/res_init.c: Likewise.
35565 * resolv/res_mkquery.c (res_nmkquery): Likewise.
35566 * resolv/res_query.c (__libc_res_nquery): Likewise.
35567 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35568 Likewise.
35569 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35570 * stdio-common/perror.c (perror): Likewise.
35571 * stdio-common/printf_fp.c (___printf_fp): Likewise.
35572 * stdio-common/tmpnam.c (tmpnam): Likewise.
35573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35574 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35575 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35576 Likewise.
35577 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35578 * stdlib/putenv.c (putenv): Likewise.
35579 * stdlib/setenv.c (__add_to_environ): Likewise.
35580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35581 * stdlib/strtol_l.c (INTERNAL): Likewise.
35582 * string/memmem.c (memmem): Likewise.
35583 * string/strerror.c (strerror): Likewise.
35584 * string/strnlen.c (__strnlen): Likewise.
35585 * string/test-memmem.c (simple_memmem): Likewise.
35586 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35587 * sunrpc/pm_getport.c (__get_socket): Likewise.
35588 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35589 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35590 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35591 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35592 Likewise.
35593 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35595 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35596 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35597 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35598 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35599 Likewise.
35600 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35601 Likewise.
35602 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35603 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35605 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35606 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35608 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35609 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35610 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35611 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35612 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35613 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35614 Likewise.
35615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35616 Likewise.
35617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35618 Likewise.
35619 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35623 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35624 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35635 Likewise.
35636 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35637 Likewise.
35638 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35639 Likewise.
35640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35641 Likewise.
35642 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35644 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35645 Likewise.
35646 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35647 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35648 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35649 * sysdeps/posix/sleep.c: Likewise.
35650 * sysdeps/posix/tempname.c: Likewise.
35651 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35652 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35653 Likewise.
35654 * sysdeps/powerpc/powerpc32/dl-machine.h
35655 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35656 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35658 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35659 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35660 Likewise.
35661 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35663 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35665 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35666 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35667 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35668 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35669 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35670 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35672 (elf_machine_lazy_rel): Likewise.
35673 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35675 (elf_machine_lazy_rel): Likewise.
35676 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35677 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35678 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35679 * sysdeps/unix/grantpt.c (grantpt): Likewise.
35680 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35681 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35682 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35684 Likewise.
35685 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35686 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35687 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35688 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35689 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35690 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35691 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35692 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35693 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35694 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35695 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35696 Likewise.
35697 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35698 (__posix_fallocate64_l64): Likewise.
35699 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35700 (posix_fallocate): Likewise.
35701 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35702 Likewise.
35703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35704 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35705 (getifaddrs_internal): Likewise.
35706 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35707 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35708 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35709 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35710 * sysdeps/unix/sysv/linux/posix_fallocate64.c
35711 (__posix_fallocate64_l64): Likewise.
35712 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35713 Likewise.
35714 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35715 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35716 (__get_clockfreq): Likewise.
35717 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35718 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35719 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35722 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35723 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35724 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35725 Likewise.
35726 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35727 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35728 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35731 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35732 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35733 Likewise.
35734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35735 (posix_fallocate): Likewise.
35736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35737 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35738 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35739 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35740 (elf_machine_rela, elf_machine_rela_relative)
35741 (elf_machine_lazy_rel): Likewise.
35742 * time/asctime.c (asctime_internal): Likewise.
35743 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35744 * time/tzset.c (__tzset_parse_tz): Likewise.
35745 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35746 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35747 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35748 * wcsmbs/wcsmbsload.h: Likewise.
35749
35750 [BZ #15894]
35751 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35752
35753 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35754 (arena_get2): Remove THREAD_STATS conditionals.
35755 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35756 (__malloc_stats, int): Likewise.
35757
35758 2014-02-08 Mike Frysinger <vapier@gentoo.org>
35759
35760 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35761 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
35762
35763 * manual/setjmp.texi: Fix typos/grammar errors.
35764
35765 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35766 Only return early when n is <= 0. Delete unused return statement.
35767
35768 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35769 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35770 * debug/tst-longjmp_chk3.c: New file.
35771
35772 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35773 (test_main): Replace code with set_fortify_handler call.
35774 * debug/test-strcpy_chk.c: Likewise.
35775 * debug/tst-chk1.c: Likewise.
35776 * debug/tst-longjmp_chk.c: Likewise.
35777 * test-skeleton.c: Include fcntl.h & paths.h
35778 (set_fortify_handler): Define.
35779
35780 * debug/tst-longjmp_chk.c: Add header comment and include
35781 ../test-skeleton.c.
35782 (do_test): Mark static.
35783 (TEST_FUNCTION): Define.
35784
35785 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35786 (IP_PMTUDISC_INTERFACE): Likewise.
35787 (IP_MULTICAST_IF): Likewise.
35788 (IP_MULTICAST_TTL): Likewise.
35789 (IP_MULTICAST_LOOP): Likewise.
35790 (IP_ADD_MEMBERSHIP): Likewise.
35791 (IP_DROP_MEMBERSHIP): Likewise.
35792 (IP_UNBLOCK_SOURCE): Likewise.
35793 (IP_BLOCK_SOURCE): Likewise.
35794 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35795 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35796 (IP_MSFILTER): Likewise.
35797 (MCAST_JOIN_GROUP): Likewise.
35798 (MCAST_BLOCK_SOURCE): Likewise.
35799 (MCAST_UNBLOCK_SOURCE): Likewise.
35800 (MCAST_LEAVE_GROUP): Likewise.
35801 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35802 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35803 (MCAST_MSFILTER): Likewise.
35804 (IP_MULTICAST_ALL): Likewise.
35805 (IP_UNICAST_IF): Likewise.
35806
35807 * timezone/Makefile: Delete $(have-ksh) check.
35808 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35809 * timezone/tzselect.ksh: Add +x mode bits.
35810
35811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35812 (ANON_INODE_FS_MAGIC): Likewise.
35813 (BDEVFS_MAGIC): Likewise.
35814 (BINFMTFS_MAGIC): Likewise.
35815 (BTRFS_TEST_MAGIC): Likewise.
35816 (CRAMFS_MAGIC_WEND): Likewise.
35817 (DEBUGFS_MAGIC): Likewise.
35818 (ECRYPTFS_SUPER_MAGIC): Likewise.
35819 (EXT3_SUPER_MAGIC): Likewise.
35820 (EXT4_SUPER_MAGIC): Likewise.
35821 (FUTEXFS_SUPER_MAGIC): Likewise.
35822 (HOSTFS_SUPER_MAGIC): Likewise.
35823 (HUGETLBFS_MAGIC): Likewise.
35824 (MINIX3_SUPER_MAGIC): Likewise.
35825 (MTD_INODE_FS_MAGIC): Likewise.
35826 (NILFS_SUPER_MAGIC): Likewise.
35827 (OPENPROM_SUPER_MAGIC): Likewise.
35828 (PIPEFS_MAGIC): Likewise.
35829 (PSTOREFS_MAGIC): Likewise.
35830 (QNX6_SUPER_MAGIC): Likewise.
35831 (RAMFS_MAGIC): Likewise.
35832 (REISERFS_SUPER_MAGIC_STRING): Likewise.
35833 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35834 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35835 (SECURITYFS_MAGIC): Likewise.
35836 (SELINUX_MAGIC): Likewise.
35837 (SMACK_MAGIC): Likewise.
35838 (SOCKFS_MAGIC): Likewise.
35839 (SQUASHFS_MAGIC): Likewise.
35840 (STACK_END_MAGIC): Likewise.
35841 (TMPFS_MAGIC): Likewise.
35842 (USBDEVICE_SUPER_MAGIC): Likewise.
35843 (V9FS_MAGIC): Likewise.
35844 (XENFS_SUPER_MAGIC): Likewise.
35845 (CRAMFS_MAGIC): Fix typo in comment.
35846 (EXT2_SUPER_MAGIC): Update comment.
35847 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35848
35849 2014-02-08 Joseph Myers <joseph@codesourcery.com>
35850
35851 * sysdeps/arm: Move directory from ports/sysdeps/arm.
35852 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35853 * sysdeps/unix/sysv/linux/arm: Move directory from
35854 ports/sysdeps/unix/sysv/linux/arm.
35855 * README: Update listing for arm-*-linux-gnueabi.
35856
35857 * README: Remove mention of am33.
35858
35859 2014-02-07 Roland McGrath <roland@hack.frob.com>
35860
35861 * bits/sigset.h (__sigemptyset): Use a statement expression rather
35862 than the comma operator, to avoid "rhs of comma has no effect"
35863 compiler warnings.
35864 (__sigfillset, __sigandset, __sigorset): Likewise.
35865 * include/signal.h (__sigemptyset): Likewise.
35866 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35867
35868 2014-02-07 Allan McRae <allan@archlinux.org>
35869
35870 * version.h (RELEASE): Set to "development".
35871 (VERSION): Set to "2.19.90"
35872 * NEWS: Add 2.20 section.
35873
35874 2014-02-06 Carlos O'Donell <carlos@redhat.com>
35875
35876 [BZ #16529]
35877 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35878
35879 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35880
35881 * manual/contrib.texi: Update entry for Carlos O'Donell,
35882 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35883
35884 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
35885
35886 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35887
35888 * sysdeps/unix/sysv/linux/kernel-features.h
35889 [__LINUX_KERNEL_VERSION >= 0x020621]
35890 (__ASSUME_PROC_PID_TASK_COMM): Define.
35891
35892 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35893
35894 [BZ #16398]
35895 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35896 conversion when destination buffer does not have enough space.
35897 * libio/tst-ftell-partial-wide.c: New test case.
35898 * libio/Makefile (tests): Add tst-ftell-partial-wide.
35899
35900 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35901 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
35902 Leonard and Allan McRae.
35903
35904 2014-02-04 David S. Miller <davem@davemloft.net>
35905
35906 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35907 32-bit.
35908
35909 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35910
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35912 New file
35913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35914 New file
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35916 New file.
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35918 New file.
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35920 New file.
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35922 New file.
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35924 New file.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35926 New file.
35927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35928 New file.
35929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35930 New file.
35931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35932 New file.
35933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35934 New file.
35935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35936 New file.
35937
35938 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35939
35940 * nptl/shlib-versions: Change powerpc*le start to 2.17.
35941 * shlib-versions: Likewise.
35942
35943 2014-02-04 Roland McGrath <roland@hack.frob.com>
35944 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35945
35946 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35947 (abilist-pattern): New variable, set to %-le.abilist.
35948
35949 * Makerules (abilist-pattern): New variable.
35950 (vpath): Use $(abilist-pattern) in place of %.abilist.
35951 (check-abi-% pattern rule): Likewise.
35952 (check-abi, update-abi): Likewise.
35953
35954 2014-02-04 Eric Wong <normalperson@yhbt.net>
35955
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35957
35958 2014-02-03 Carlos O'Donell <carlos@redhat.com>
35959
35960 * manual/startup.texi: Add next, previous, and top entries for
35961 the `Program Arguments' and `Environment Variables' nodes.
35962
35963 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
35964
35965 * manual/macros.texi: Add comments before MTASC-safety macros.
35966
35967 * manual/users.texi: Document MTASC-safety properties.
35968
35969 * manual/threads.texi (pthread_key_create, pthread_key_delete)
35970 (pthread_getspecific, pthread_setspecific): Format with
35971 @deftypefun, and add @safety note.
35972 * manual/signal.texi: Move comments that analyze the above
35973 functions to their home place.
35974
35975 2014-02-03 Allan McRae <allan@archlinux.org>
35976
35977 * po/sl.po: Update Slovenian translation from translation project.
35978
35979 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
35980
35981 * manual/time.texi (timegm): Add missing blank after @c.
35982 Reported by Joseph Myers <joseph@codesourcery.com>.
35983
35984 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
35985
35986 * manual/check-safety.sh: New.
35987 * manual/Makefile ($(objpfx)stamp-summary): Run it.
35988
35989 * manual/terminal.texi: Document MTASC-safety properties.
35990
35991 * manual/filesys.texi: Document MTASC-safety properties.
35992
35993 * manual/errno.texi: Document MTASC-safety properties.
35994
35995 * manual/intro.texi: Document safety identifiers and
35996 conditionals.
35997
35998 * manual/string.texi (wcstok): Fix prototype.
35999 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36000
36001 * manual/time.texi: Document MTASC-safety properties.
36002
36003 * manual/string.texi: Document MTASC-safety properties.
36004
36005 * manual/threads.texi: Document MTASC-safety properties.
36006
36007 * manual/stdio.texi: Document MTASC-safety properties.
36008
36009 * manual/syslog.texi: Document MTASC-safety properties.
36010
36011 * manual/sysinfo.texi: Document MTASC-safety properties.
36012
36013 * manual/startup.texi: Document MTASC-safety properties.
36014
36015 * manual/socket.texi: Document MTASC-safety properties.
36016
36017 * manual/signal.texi: Document MTASC-safety properties.
36018
36019 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
36020
36021 * manual/setjmp.texi: Document MTASC-safety properties.
36022
36023 * manual/search.texi: Document MTASC-safety properties.
36024
36025 * manual/resource.texi: Document MTASC-safety properties.
36026
36027 * manual/process.texi: Document MTASC-safety properties.
36028
36029 * manual/platform.texi: Document MTASC-safety properties.
36030
36031 * manual/pipe.texi: Document MTASC-safety properties.
36032
36033 * manual/pattern.texi: Document MTASC-safety properties.
36034
36035 * manual/message.texi: Document MTASC-safety properties.
36036
36037 [BZ #12751]
36038 * manual/memory.texi: Document MTASC-safety properties.
36039
36040 * manual/math.texi: Document MTASC-safety properties.
36041
36042 * manual/locale.texi: Document MTASC-safety properties.
36043
36044 * manual/llio.texi: Document MTASC-safety properties.
36045
36046 * manual/libdl.texi: New.
36047
36048 * manual/lang.texi: Document MTASC-safety properties.
36049
36050 * manual/job.texi: Document MTASC-safety properties.
36051
36052 * manual/getopt.texi: Document MTASC-safety properties.
36053
36054 * manual/ctype.texi: Document MTASC-safety properties.
36055
36056 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
36057
36058 [BZ #16046]
36059 * csu/libc-tls.c (static_map): Remove variable.
36060 (__libc_setup_tls): Use main executable's link map for TLS data.
36061 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36062 casing for LM_ID_BASE and GL(dl_nns).
36063 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36064 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
36065 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36066 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36067 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36068 member.
36069 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36070 l_phnum members.
36071
36072 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
36073
36074 * manual/debug.texi: Document MTASC-safety properties.
36075
36076 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
36077
36078 [BZ #16510]
36079 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36080 of __x86_64__ when disabling x87 inline functions.
36081
36082 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
36083
36084 * manual/charset.texi: Document MTASC-safety properties.
36085
36086 * manual/crypt.texi: Document MTASC-safety properties.
36087
36088 * manual/conf.texi: Document MTASC-safety properties.
36089
36090 * manual/arith.texi: Document MTASC-safety properties.
36091
36092 * manual/argp.texi: Document MTASC-safety properties.
36093
36094 * manual/macros.texi: Introduce macros to document multi
36095 thread, asynchronous signal and asynchronous cancellation
36096 safety properties.
36097 * manual/intro.texi: Introduce the properties themselves.
36098
36099 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36100
36101 * sysdeps/sh/sh4/Makefile: New file.
36102
36103 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
36104
36105 * math/gen-libm-test.pl ($srcdir): New variable.
36106 ($auto_input): Use it.
36107
36108 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36109
36110 [BZ #16506]
36111 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36112 access beyond array bounds when parsing netgroups file.
36113
36114 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36115 the old buffer before realloc.
36116
36117 2014-01-27 Allan McRae <allan@archlinux.org>
36118
36119 * po/fr.po: Update French translation from translation project.
36120
36121 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36122
36123 * sysdeps/sh/libm-test-ulps: Regenerate.
36124
36125 2014-01-24 David S. Miller <davem@davemloft.net>
36126
36127 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36128
36129 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36130
36131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36132 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36133
36134 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36135
36136 [BZ #16474]
36137 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36138 string pointers after reallocation.
36139
36140 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36141
36142 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36143 __SH4A__ instead of __SH_FPU_ANY__.
36144
36145 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36146
36147 * sysdeps/sh/fpu_control.h: New file.
36148 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36149 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36150 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36151 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36152 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36153 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36154 * sysdeps/sh/sys/ucontext.h: Remove.
36155 * sysdeps/sh/sys: Remove directory.
36156
36157 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36158
36159 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36160 s390/sys/ucontext.h.
36161 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36163
36164 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
36165
36166 [BZ #15605]
36167 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36168
36169 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36170
36171 [BZ#16431]
36172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36173 Adjust the vDSO correctly for internal calls.
36174 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36175
36176 2014-01-20 Allan McRae <allan@archlinux.org>
36177
36178 * po/ca.po: Update Catalan translation from translation project.
36179
36180 2014-01-16 Mike Frysinger <vapier@gentoo.org>
36181
36182 * sysdeps/s390/sotruss-lib.c: New file.
36183
36184 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36185
36186 [BZ#16430]
36187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36188 (__GI___gettimeofday): Alias for a different internal symbol to avoid
36189 local calls issues by not having a PLT stub required for IFUNC calls.
36190 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36191
36192 2014-01-16 Joseph Myers <joseph@codesourcery.com>
36193
36194 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36195 * math/test-fpucw-static.c: Likewise.
36196
36197 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36198
36199 [BZ #16453]
36200 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36201
36202 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36203
36204 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36205 implementation for powerpc.
36206
36207 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
36208
36209 [BZ #14782]
36210 * sysdeps/posix/system.c (__libc_system): Do not enable
36211 asynchronous cancellation.
36212
36213 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36214
36215 [BZ #16427]
36216 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36217 handling only for numbers special also in the IEEE case.
36218
36219 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36220
36221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36222
36223 2014-01-11 Allan McRae <allan@archlinux.org>
36224
36225 * po/bg.po: Update Bulgarian translation from translation project.
36226
36227 * po/de.po: Update German translation from translation project.
36228
36229 2014-01-10 Roland McGrath <roland@hack.frob.com>
36230
36231 * sysdeps/generic/gcc-compat.h: New file.
36232
36233 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36234
36235 * benchtests/asin-inputs: Correct slow inputs.
36236 * benchtests/acos-inputs: Likewise.
36237
36238 2014-01-10 Allan McRae <allan@archlinux.org>
36239
36240 * po:sv.po: Update Swedish translation from translation project.
36241
36242 * po/vi.po: Update Vietnamese translation from translation project.
36243
36244 * po/eo.po: Update Esperanto translation from translation project.
36245
36246 * po/cs.po: Update Czech translation from translation project.
36247
36248 * po/nl.po: Update Dutch translation from translation project.
36249
36250 * po/pl.po: Update Polish translation from translation project.
36251
36252 * po/ru.po: Update Russian translation from translation project.
36253
36254 * po/uk.po: Update Ukrainian translation from translation project.
36255
36256 2014-01-08 Brooks Moses <bmoses@google.com>
36257
36258 * elf/dl-load.c: Fix comment typo.
36259
36260 2014-01-08 Carlos O'Donell <carlos@redhat.com>
36261
36262 * po/header.pot: Rename to...
36263 * po/pot.header: ... this.
36264 * po/Makefile: Use pot.header.
36265
36266 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
36267 Maxim Kuvyrkov <maxim@kugelworks.com>
36268
36269 [BZ #16394]
36270 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36271 SRC and DEST against LEN.
36272
36273 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36274
36275 [BZ #16414]
36276 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36277 implementation.
36278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36279
36280 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36281
36282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36283
36284 2014-01-08 Joseph Myers <joseph@codesourcery.com>
36285
36286 [BZ #16408]
36287 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36288 for large positive arguments.
36289
36290 2014-01-07 Joseph Myers <joseph@codesourcery.com>
36291
36292 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36293
36294 * math/auto-libm-test-in: Mark various tests with
36295 xfail-rounding:ldbl-128ibm.
36296 * math/auto-libm-test-out: Regenerated.
36297
36298 [BZ #16407]
36299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36300 Increase overflow threshold.
36301
36302 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
36303
36304 [BZ #14286]
36305 * stdio-common/vfprintf.c: Check for integer overflow.
36306
36307 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36308
36309 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36310 the first argument and return value of __tls_get_addr_internal.
36311
36312 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36313
36314 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36315 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36316
36317 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36318
36319 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36320 * sysdeps/s390/rtld-global-offsets.sym: New file.
36321 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36322 GLIBC_2.19 symbol.
36323 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36324 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36326 ... this.
36327 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36328 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36329 ... this.
36330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36331 Regenerate.
36332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36333 Regenerate.
36334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36335 halfs of GPRs for high_gprs contexts.
36336 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36337 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
36338 field.
36339 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36340 uc_flags field.
36341 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36342 64 bit versions:
36343 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36344 for high GPRs (uc_high_gprs) and for future extensions
36345 (__reserved).
36346 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36347 for future extensions (__reserved).
36348 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36349 64 bit versions:
36350 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36351 SC_HIGHGPRS offset definition.
36352 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36353 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36354
36355 * Versions.def: Add GLIBC_2.19 for libpthread.
36356 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36357 siglongjmp for libpthread with GLIBC_2.19 symver.
36358 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36359 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36360 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36361 * sysdeps/s390/__longjmp.c: New file.
36362 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36363 * sysdeps/s390/longjmp.c: New file.
36364 * sysdeps/s390/setjmp.S: New file.
36365 * sysdeps/s390/sigjmp.S: New file.
36366 * sysdeps/s390/v1-longjmp.c: New file.
36367 * sysdeps/s390/v1-setjmp.h: New file.
36368 * sysdeps/s390/v1-sigjmp.c: New file.
36369 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36370 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36371 GLIBC_2.19 version.
36372 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36373 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36374 versioned symbols for ____longjmp_chk.
36375 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36376 Likewise.
36377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36378 Regenerate.
36379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36380 Regenerate.
36381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36382 Regenerate.
36383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36384 Regenerate.
36385 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36386 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36387 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36388 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36389 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36390 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36391 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36392 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36393 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36394 * sysdeps/s390/rtld-__longjmp.c: New file.
36395 * sysdeps/s390/rtld-setjmp.S: New file.
36396
36397 2014-01-06 Joseph Myers <joseph@codesourcery.com>
36398
36399 [BZ #16400]
36400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36401 Return -__logl (x) for small positive arguments without evaluating
36402 a polynomial.
36403
36404 2014-01-06 Mike Frysinger <vapier@gentoo.org>
36405
36406 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36407 Rename to ...
36408 (__ptrace_peeksiginfo_args): ... this.
36409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36412
36413 2014-01-06 Allan McRae <allan@archlinux.org>
36414
36415 * inet/netinet/in.h: Fix typo in comment.
36416
36417 2014-01-05 Andreas Jaeger <aj@suse.de>
36418
36419 * sysdeps/i386/fpu/libm-test-ulps: Update.
36420
36421 2014-01-05 Allan McRae <allan@archlinux.org>
36422
36423 * po/libc.pot: Regenerated.
36424
36425 * malloc/memusagestat.c: Fix gettext call formatting.
36426
36427 2014-01-04 Sami Kerola <kerolasa@iki.fi>
36428
36429 * nscd/nscd.c: Improve usage() output.
36430
36431 2014-01-04 Mike Frysinger <vapier@gentoo.org>
36432
36433 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36434 * sysdeps/unix/sysv/linux/configure: Regenerated.
36435 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36436 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36437
36438 2014-01-03 Joseph Myers <joseph@codesourcery.com>
36439
36440 [BZ #16390]
36441 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36442 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36443
36444 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36445
36446 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36447 extra tokens at end of #undef directive.
36448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36449 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36450 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36451
36452 2014-01-03 Joseph Myers <joseph@codesourcery.com>
36453
36454 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36455
36456 * math/auto-libm-test-in: Mark various tests with
36457 xfail-rounding:ldbl-128ibm.
36458 * math/auto-libm-test-out: Regenerated.
36459
36460 2014-01-02 Joseph Myers <joseph@codesourcery.com>
36461
36462 [BZ #16386]
36463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36464 numbers with subnormal high part when calculating exponent.
36465
36466 [BZ #16385]
36467 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36468 fabs.
36469
36470 [BZ #16384]
36471 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36472 M_LN2l.
36473 (__ieee754_acoshl): Use __log1pl not __log1p.
36474
36475 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
36476
36477 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36478 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36479 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36480 (grow_heap, heap_trim, _int_new_arena, get_free_list)
36481 (reused_arena, arena_get2): Convert to GNU style.
36482 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36483 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36484 (memalign_check, __malloc_set_state): Likewise.
36485 * malloc/mallocbug.c (main): Likewise.
36486 * malloc/malloc.c (__malloc_assert, malloc_init_state)
36487 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36488 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36489 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36490 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36491 (__posix_memalign, malloc_info): Likewise.
36492 * malloc/malloc.h: Likewise.
36493 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36494 (mallochook, memalignhook, reallochook, mabort): Likewise.
36495 * malloc/mcheck.h: Likewise.
36496 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36497 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36498 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36499 * malloc/morecore.c (__default_morecore): Likewise.
36500 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36501 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36502 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36503 (print_and_abort): Likewise.
36504 * malloc/obstack.h: Likewise.
36505 * malloc/set-freeres.c (__libc_freeres): Likewise.
36506 * malloc/tst-mallocstate.c (main): Likewise.
36507 * malloc/tst-mtrace.c (main): Likewise.
36508 * malloc/tst-realloc.c (do_test): Likewise.
36509
36510 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36511
36512 [BZ #16366]
36513 * nscd/netgroupcache.c (do_notfound): New function.
36514 (addgetnetgrentX): Use it.
36515
36516 [BZ # 16365]
36517 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36518 NSS_STATUS_NOTFOUND.
36519
36520 2014-01-01 Joseph Myers <joseph@codesourcery.com>
36521
36522 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524
36525 2014-01-01 Allan McRae <allan@archlinux.org>
36526
36527 * scripts/update-copyrights: Update configure input file suffix.
36528
36529 * NEWS: Update copyright year.
36530 * catgets/gencat.c: Likewise.
36531 * csu/version.c: Likewise.
36532 * debug/catchsegv.sh: Likewise.
36533 * debug/pcprofiledump.c: Likewise.
36534 * debug/xtrace.sh: Likewise.
36535 * elf/ldconfig.c: Likewise.
36536 * elf/ldd.bash.in: Likewise.
36537 * elf/pldd.c: Likewise.
36538 * elf/sotruss.ksh: Likewise.
36539 * elf/sprof.c: Likewise.
36540 * iconv/iconv_prog.c: Likewise.
36541 * iconv/iconvconfig.c: Likewise.
36542 * locale/programs/locale.c: Likewise.
36543 * locale/programs/localedef.c: Likewise.
36544 * login/programs/pt_chown.c: Likewise.
36545 * malloc/memusage.sh: Likewise.
36546 * malloc/memusagestat.c: Likewise.
36547 * malloc/mtrace.pl: Likewise.
36548 * manual/libc.texinfo: Likewise.
36549 * nscd/nscd.c: Likewise.
36550 * nss/getent.c: Likewise.
36551 * nss/makedb.c: Likewise.
36552 * posix/getconf.c: Likewise.
36553 * scripts/test-installation.pl: Likewise.
36554
36555 * All files with FSF copyright notices: Update copyright dates
36556 using scripts/update-copyrights.
36557 * intl/plural.c: Regenerated.
36558 * locale/programs/charmap-kw.h: Likewise.
36559 * locale/programs/locfile-kw.h: Likewise.
36560
36561 2013-12-31 Mike Frysinger <vapier@gentoo.org>
36562
36563 * sysdeps/unix/sysv/linux/configure: Regenerated.
36564 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36565 the linux/fanotify.h header.
36566 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36567 HAVE_LINUX_FANOTIFY_H is defined.
36568
36569 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36570
36571 * benchtests/cos-inputs: New inputs.
36572 * benchtests/sin-inputs: Likewise.
36573
36574 * benchtests/atan-inputs: New inputs. Fix name of multiple
36575 precision fallback inputs.
36576
36577 * benchtests/atanh-inputs: New inputs.
36578 * benchtests/tanh-inputs: Likewise.
36579
36580 * benchtests/acosh-inputs: New inputs.
36581 * benchtests/asinh-inputs: Likewise.
36582
36583 * benchtests/cosh-inputs: New inputs.
36584 * benchtests/sinh-inputs: Likewise.
36585
36586 * benchtests/acos-inputs: Add more inputs.
36587 * benchtests/asin-inputs: Likewise.
36588
36589 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
36590
36591 [BZ #16375]
36592 * manual/arith.texi: Fix spelling.
36593 * manual/charset.texi: Likewise.
36594 * manual/errno.texi: Likewise.
36595 * manual/filesys.texi: Likewise.
36596 * manual/lang.texi: Likewise.
36597 * manual/llio.texi: Likewise.
36598 * manual/locale.texi: Likewise.
36599 * manual/message.texi: Likewise.
36600 * manual/resource.texi: Likewise.
36601 * manual/search.texi: Likewise.
36602 * manual/setjmp.texi: Likewise.
36603 * manual/stdio.texi: Likewise.
36604 * manual/string.texi: Likewise.
36605 * manual/sysinfo.texi: Likewise.
36606 * manual/time.texi: Likewise.
36607
36608 2013-12-27 Carlos O'Donell <carlos@redhat.com>
36609
36610 * po/sl.po: New file.
36611
36612 2013-12-27 Mike Frysinger <vapier@gentoo.org>
36613
36614 * .gitignore: Add core/.gdbinit/.gdb_history.
36615
36616 2013-12-27 Allan McRae <allan@archlinux.org>
36617
36618 [BZ #16369]
36619 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36620 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36621
36622 2013-12-24 Brooks Moses <bmoses@google.com>
36623
36624 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36625 all compilers that claim C++98 compliance, not just GCC.
36626 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36627 Likewise.
36628
36629 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
36630
36631 * NEWS: Restore accidentally deleted bug-fix entries.
36632
36633 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
36634 Ondřej Bílka <neleai@seznam.cz>
36635
36636 [BZ #15073]
36637 * malloc/malloc.c (_int_free): Perform sanity check only if we
36638 have_lock.
36639
36640 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
36641
36642 [BZ #12986]
36643 * manual/stdio.texi (String Input Conversions): Clarify that character
36644 classes are not supported.
36645
36646 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36647
36648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36649
36650 2013-12-22 Joseph Myers <joseph@codesourcery.com>
36651
36652 [BZ #16337]
36653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36654 Calculate results for small negative arguments directly rather
36655 than using reflection formula with special underflow handling.
36656
36657 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36658 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36659 sysdeps/unix/bsd/bsd4.4/syscalls.list.
36660 (fchflags): Likewise.
36661 (revoke): Likewise.
36662 (setlogin): Likewise.
36663 (sigaltstack): Likewise.
36664 (wait4): Likewise.
36665 (sigblock): Remove.
36666 (sigsetmask): Likewise.
36667 (wait3): Likewise.
36668 (waitpid): Likewise.
36669 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36670 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36671 file.
36672 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36673 * sysdeps/unix/bsd/Makefile: ... here.
36674 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36675 * sysdeps/unix/bsd/Versions: ... here.
36676 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36677 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36678 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36679 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36680 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36681 * sysdeps/unix/bsd/sigblock.c: ... here.
36682 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36683 * sysdeps/unix/bsd/sigsetmask.c: ... here.
36684 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36685 * sysdeps/unix/bsd/sigvec.c: ... here.
36686 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36687 * sysdeps/unix/bsd/tcdrain.c: ... here.
36688 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36689 * sysdeps/unix/bsd/tcgetattr.c: ... here.
36690 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36691 * sysdeps/unix/bsd/tcsetattr.c: ... here.
36692 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36693 * sysdeps/unix/bsd/wait.c: ... here.
36694 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36695 * sysdeps/unix/bsd/wait3.c: ... here.
36696 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36697 * sysdeps/unix/bsd/waitpid.c: ... here.
36698
36699 2013-12-21 Joseph Myers <joseph@codesourcery.com>
36700
36701 [BZ #16356]
36702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36703 round-to-nearest for [!USE_AS_EXPM1L].
36704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36705 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
36706 more tests of exp and exp10. Expect some exp10 tests to miss
36707 exceptions or fail in directed rounding modes.
36708 * math/auto-libm-test-out: Regenerated.
36709 * math/libm-test.inc (exp10_tonearest_test_data): New array.
36710 (exp10_test_tonearest): New function.
36711 (exp10_towardzero_test_data): New array.
36712 (exp10_test_towardzero): New function.
36713 (exp10_downward_test_data): New array.
36714 (exp10_test_downward): New function.
36715 (exp10_upward_test_data): New array.
36716 (exp10_test_upward): New function.
36717 (main): Call the new functions.
36718 * sysdeps/i386/fpu/libm-test-ulps: Update.
36719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36720
36721 2013-12-20 Joseph Myers <joseph@codesourcery.com>
36722
36723 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36724 asinh, atan, atan2, atanh, cbrt, cos and cosh.
36725 * math/auto-libm-test-out: Regenerated.
36726 * math/libm-test.inc (acosh_test_data): Add more tests.
36727 (atanh_test_data): Likewise.
36728 (ceil_test_data): Likewise.
36729 (copysign_test_data): Likewise.
36730 * sysdeps/i386/fpu/libm-test-ulps: Update.
36731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36732
36733 * timezone/checktab.awk: Update from tzcode 2013i.
36734 * timezone/private.h: Likewise.
36735 * timezone/scheck.c: Likewise.
36736 * timezone/tzfile.h: Likewise.
36737 * timezone/tzselect.ksh: Likewise.
36738 * timezone/zdump.c: Likewise.
36739 * timezone/zic.c: Likewise.
36740
36741 * math/auto-libm-test-in: Add tests of cpow.
36742 * math/auto-libm-test-out: Regenerated.
36743 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36745 mpc_cc_c.
36746 (func_calc_desc): Add mpc_cc_c union field.
36747 (test_functions): Add cpow.
36748 (special_fill_2pi): New function.
36749 (special_real_inputs): Add 2pi.
36750 (calc_generic_results): Handle mpc_cc_c.
36751 * sysdeps/i386/fpu/libm-test-ulps: Update.
36752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36753
36754 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36755 csqrt, ctan and ctanh.
36756 * math/auto-libm-test-out: Regenerated.
36757 * math/libm-test.inc (TEST_COND_x86_64): New macro.
36758 (TEST_COND_x86): Likewise.
36759 (ccos_test_data): Use AUTO_TESTS_c_c.
36760 (ccosh_test_data): Likewise.
36761 (cexp_test_data): Likewise.
36762 (clog_test_data): Likewise.
36763 (csqrt_test_data): Likewise.
36764 (ctan_test_data): Likewise.
36765 (ctan_tonearest_test_data): Likewise.
36766 (ctan_towardzero_test_data): Likewise.
36767 (ctan_downward_test_data): Likewise.
36768 (ctan_upward_test_data): Likewise.
36769 (ctanh_test_data): Likewise.
36770 (ctanh_tonearest_test_data): Likewise.
36771 (ctanh_towardzero_test_data): Likewise.
36772 (ctanh_downward_test_data): Likewise.
36773 (ctanh_upward_test_data): Likewise.
36774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36775 mpc_c_c.
36776 (func_calc_desc): Add mpc_c_c union field.
36777 (FUNC_mpc_c_c): New macro.
36778 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36779 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36780 ctanh.
36781 (special_fill_min_subnorm_p120): New function.
36782 (special_real_inputs): Add min_subnorm_p120.
36783 (calc_generic_results): Handle mpc_c_c.
36784 * sysdeps/i386/fpu/libm-test-ulps: Update.
36785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36786
36787 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36788
36789 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36790 (do_sin_slow): New functions.
36791 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36792 (cslow2, csloww1, csloww2): Use the new functions.
36793
36794 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36795 Use M to change sign of result instead of X. Assume X is
36796 positive.
36797 (csloww1): Likewise.
36798 (__sin): Adjust.
36799 (__cos): Adjust.
36800
36801 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36802 arguments A and DA.
36803 (__sin): Adjust.
36804 (__cos): Likewise.
36805
36806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36807 (__cos): Likewise.
36808 (sloww1): Don't adjust sign of DX.
36809 (csloww1): Likewise.
36810 (sloww2): Use X directly and don't adjust sign of DX.
36811 (csloww2): Likewise.
36812
36813 2013-12-19 Joseph Myers <joseph@codesourcery.com>
36814
36815 * math/auto-libm-test-in: Add tests of cabs and carg.
36816 * math/auto-libm-test-out: Regenerated.
36817 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36818 (carg_test_data): Likewise.
36819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36820 mpc_c_f.
36821 (func_calc_desc): Add mpc_c_f union field.
36822 (test_functions): Add cabs and carg.
36823 (calc_generic_results): Handle mpc_c_f.
36824
36825 * sysdeps/powerpc/powerpc32/libgcc-compat.S
36826 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36827 as a macro and a compat symbol.
36828 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36829 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36830 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36831 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36832 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36833 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36834 not use .hidden.
36835 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36836 Likewise.
36837 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36838 Likewise.
36839 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36840 Likewise.
36841 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36842 Likewise.
36843 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36844 Likewise.
36845 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36846 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36847 from GLIBC_2.3.2.
36848
36849 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36850
36851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36852
36853 2013-12-19 Joseph Myers <joseph@codesourcery.com>
36854
36855 * manual/texinfo.tex: Update to version 2013-11-26.10 with
36856 trailing whitespace removed.
36857 * scripts/config.guess: Update to version 2013-11-29.
36858 * scripts/config.sub: Update to version 2013-10-01.
36859
36860 * math/auto-libm-test-in: Add tests of sincos.
36861 * math/auto-libm-test-out: Regenerated.
36862 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36864 mpfr_f_11.
36865 (func_calc_desc): Add mpfr_f_11 union field.
36866 (test_functions): Add sincos.
36867 (calc_generic_results): Handle mpfr_f_11.
36868 * sysdeps/i386/fpu/libm-test-ulps: Update.
36869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36870
36871 2013-12-19 Andreas Schwab <schwab@suse.de>
36872
36873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36874 CALL_MCOUNT.
36875 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36877 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36878
36879 2013-12-19 Joseph Myers <joseph@codesourcery.com>
36880
36881 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36882 * sysdeps/i386/fpu/libm-test-ulps: Update.
36883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36884
36885 [BZ #16293]
36886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36887 round-to-nearest mode when using frndint.
36888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36889 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36891 Likewise.
36892 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
36893 sinh test to fail.
36894 * math/auto-libm-test-out: Regenerated.
36895 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36896 (TEST_COND_x86): Likewise.
36897 (expm1_tonearest_test_data): New array.
36898 (expm1_test_tonearest): New function.
36899 (expm1_towardzero_test_data): New array.
36900 (expm1_test_towardzero): New function.
36901 (expm1_downward_test_data): New array.
36902 (expm1_test_downward): New function.
36903 (expm1_upward_test_data): New array.
36904 (expm1_test_upward): New function.
36905 (main): Run the new test functions.
36906 * sysdeps/i386/fpu/libm-test-ulps: Update.
36907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36908
36909 * include/features.h: Update comment documenting feature test
36910 macros. Mention _DEFAULT_SOURCE in comment.
36911 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36912 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36913 _BSD_SOURCE and _SVID_SOURCE.
36914 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36915 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36916 !_SVID_SOURCE]: Likewise.
36917 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36918 (__USE_POSIX_IMPLICITLY): Define.
36919 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36920 (_POSIX_SOURCE): Undefine and redefine.
36921 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36922 (_POSIX_C_SOURCE): Likewise.
36923 * manual/creature.texi (_DEFAULT_SOURCE): Document.
36924 (Feature Test Macros): Update documentation of default features.
36925
36926 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36927
36928 * benchtests/Makefile: Add bench-strtok.
36929 * benchtests/bench-strtok.c: New file: strtok benchtest.
36930
36931 2013-12-19 Allan McRae <allan@archlinux.org>
36932
36933 * manual/install.texi: Suppress menu for plain text output.
36934 * INSTALL: Regenerated.
36935
36936 2013-12-18 Brooks Moses <bmoses@google.com>
36937
36938 [BZ #15846]
36939 * misc/getauxval.c: Include errno.h.
36940 (__getauxval): Set errno to ENOENT if the requested type is not
36941 found.
36942 * misc/sys/auxv.h (getauxval): Document that it may set errno;
36943 don't declare with __attribute_const__.
36944 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36945 * manual/startup.texi: Document that getauxval sets errno.
36946
36947 2013-12-18 Joseph Myers <joseph@codesourcery.com>
36948
36949 * math/auto-libm-test-in: Add tests of jn and yn.
36950 * math/auto-libm-test-out: Regenerated.
36951 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36952 (yn_test_data): Likewise.
36953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36954 mpfr_if_f.
36955 (func_calc_desc): Add mpfr_if_f union field.
36956 (FUNC_mpfr_if_f): New macro.
36957 (test_functions): Add jn and yn.
36958 (calc_generic_results): Assert type of second input for
36959 mpfr_ff_f. Handle mpfr_if_f.
36960 (output_for_one_input_case): Disable all checking for arguments
36961 fitting floating-point types in case of an integer argument.
36962 * sysdeps/i386/fpu/libm-test-ulps: Update.
36963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36964
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36966 Don't expect fegetround reference in libm.so.
36967
36968 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36969
36970 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36971 $(config-cflags-nofma).
36972
36973 2013-12-18 Joseph Myers <joseph@codesourcery.com>
36974
36975 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36976 * math/auto-libm-test-out: Regenerated.
36977
36978 [BZ #16338]
36979 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36980 to determine exponent and adjust argument to have exponent of -1.
36981 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36982 log2.
36983 * math/auto-libm-test-out: Regenerated.
36984 * sysdeps/i386/fpu/libm-test-ulps: Update.
36985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36986
36987 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
36988
36989 * manual/probes.texi: Remove cases when per-thread arenas are
36990 disabled.
36991
36992 2013-12-18 Andreas Schwab <schwab@suse.de>
36993
36994 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36995 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36996 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36997 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36998 * sysdeps/i386/i686/multiarch/Makefile: Update.
36999 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37000
37001 2013-12-17 Joseph Myers <joseph@codesourcery.com>
37002
37003 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37004 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37005
37006 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
37007
37008 [BZ #15968]
37009 Support TZ transition times < 00:00:00.
37010 This is needed for version-3 tz-format files; it supports time
37011 stamps past 2037 for America/Godthab (the only entry in the tz
37012 database for which this change is relevant).
37013 * manual/time.texi (TZ Variable): Document transition times
37014 from -167:59:59 through -00:00:01.
37015 * time/tzset.c (tz_rule): Time of day is now signed.
37016 (__tzset_parse_tz): Parse negative time of day.
37017
37018 Document TZ transition times >= 25:00:00.
37019 * manual/time.texi (TZ Variable): Document transition times from
37020 25:00:00 through 167:59:59. These are already supported, and this
37021 support will help with version-3 tz-format files.
37022
37023 * manual/time.texi (TZ Variable): Modernize North America example
37024 to reflect current (i.e., 2007-and-later) daylight saving rules.
37025
37026 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37027
37028 2013-12-17 Joseph Myers <joseph@codesourcery.com>
37029
37030 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37031 * sysdeps/unix/bsd/bits/stat.h: Likewise.
37032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37034 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37035 * sysdeps/unix/bsd/bsdstat.h: Likewise.
37036 * sysdeps/unix/bsd/clock.c: Likewise.
37037 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37038 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37039 * sysdeps/unix/bsd/init-posix.c: Likewise.
37040 * sysdeps/unix/bsd/poll.c: Likewise.
37041 * sysdeps/unix/bsd/ptsname.c: Likewise.
37042 * sysdeps/unix/bsd/seekdir.c: Likewise.
37043 * sysdeps/unix/bsd/setegid.c: Likewise.
37044 * sysdeps/unix/bsd/seteuid.c: Likewise.
37045 * sysdeps/unix/bsd/setgid.c: Likewise.
37046 * sysdeps/unix/bsd/setrgid.c: Likewise.
37047 * sysdeps/unix/bsd/setruid.c: Likewise.
37048 * sysdeps/unix/bsd/setsid.c: Likewise.
37049 * sysdeps/unix/bsd/setuid.c: Likewise.
37050 * sysdeps/unix/bsd/sigaction.c: Likewise.
37051 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37052 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37053 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37054 * sysdeps/unix/bsd/telldir.c: Likewise.
37055 * sysdeps/unix/bsd/times.c: Likewise.
37056 * sysdeps/unix/bsd/usleep.c: Likewise.
37057
37058 * misc/Makefile (install-lib): Remove libbsd-compat.a.
37059 ($(objpfx)libbsd-compat.a): Remove rule.
37060
37061 * include/features.h (__FAVOR_BSD): Do not define.
37062 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37063 features conflicting with POSIX.
37064 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37065 (_BSD_SOURCE): Remove description of not being a subset of other
37066 feature test macros.
37067 * manual/job.texi (getpgrp): Do not document BSD version.
37068 (getpgid): Do not document by reference to BSD getpgrp.
37069 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37070 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37071 * signal/signal.h [__FAVOR_BSD]: Likewise.
37072 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37073 instead of making contents conditional on [__FAVOR_BSD].
37074 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37075
37076 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37077
37078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37079
37080 2013-12-17 Joseph Myers <joseph@codesourcery.com>
37081
37082 [BZ #16314]
37083 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37084 values below 2**-450, not 2**-500.
37085 * math/auto-libm-test-in: Don't allow spurious underflow from
37086 hypot.
37087 * math/auto-libm-test-out: Regenerated.
37088
37089 [BZ #16316]
37090 [BZ #16330]
37091 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37092 values of ha and hb and sort them after adjusting subnormal
37093 arguments.
37094 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37095 Likewise.
37096 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37097 values of ea and eb and sort them after adjusting subnormal
37098 arguments.
37099 * math/auto-libm-test-in: Do not expect some hypot tests of
37100 subnormals to fail. Add more hypot tests.
37101 * math/auto-libm-test-out: Regenerated.
37102
37103 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37104
37105 [BZ #13304]
37106 * sysdeps/sh/s_fma.c: New file.
37107 * sysdeps/sh/s_fmaf.c: New file.
37108 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
37109 version.
37110 * sysdeps/sh/Implies: Add sh/soft-fp.
37111
37112 2013-12-16 Roland McGrath <roland@hack.frob.com>
37113
37114 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
37115 level of indirection to members `objname', `errstring', `malloced'.
37116 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37117 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
37118 it as the __longjmp argument (just pass 1 instead).
37119 (_dl_catch_error): Initialize C with argument pointers and address of
37120 volatile local ERRCODE rather than copying values out of C at return.
37121
37122 2013-12-16 Joseph Myers <joseph@codesourcery.com>
37123
37124 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37125 * math/auto-libm-test-out: Regenerated.
37126 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37127 (hypot_test_data): Likewise.
37128 (pow_test_data): Likewise.
37129 (pow_tonearest_test_data): Likewise.
37130 * math/gen-auto-libm-tests.c (func_calc_method): Add value
37131 mpfr_ff_f.
37132 (func_calc_desc): Add mpfr_ff_f union field.
37133 (FUNC_mpfr_ff_f): New macro.
37134 (test_functions): Add atan2, hypot and pow.
37135 (special_fill_min): New function.
37136 (special_fill_minus_min): Likewise.
37137 (special_fill_min_subnorm): Likewise.
37138 (special_fill_minus_min_subnorm): Likewise.
37139 (special_real_inputs): Add min, -min, min_subnorm and
37140 -min_subnorm.
37141 (calc_generic_results): Handle mpfr_ff_f.
37142 * sysdeps/i386/fpu/libm-test-ulps: Update.
37143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37144
37145 2013-12-16 Will Newton <will.newton@linaro.org>
37146
37147 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37148 (Aligned Memory Blocks): Add documentation for aligned_alloc
37149 and suggest it as an alternative to posix_memalign.
37150 (Hooks for Malloc): Document __memalign_hook is also called
37151 for aligned_alloc. (Summary of Malloc): Add summary for
37152 aligned alloc. Document __memalign_hook is also called
37153 for aligned_alloc.
37154
37155 2013-12-16 Will Newton <will.newton@linaro.org>
37156
37157 * manual/memory.texi (Malloc Examples): Clarify default
37158 alignment documentation. Suggest posix_memalign rather
37159 than memalign or valloc.
37160 (Aligned Memory Blocks): Remove suggestion to use memalign
37161 or valloc. Remove obsolete comment about BSD.
37162 Document memalign errno values and mark the function obsolete.
37163 Document posix_memalign returned error codes. Mark valloc
37164 as obsolete. (Hooks for Malloc): __memalign_hook is also
37165 called for posix_memalign and valloc.
37166 (Summary of Malloc): Add posix_memalign to function summary.
37167 __memalign_hook is also called for posix_memalign and valloc.
37168
37169 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37170
37171 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37172 TAYLOR_SIN.
37173 (__sin): Adjust.
37174 (__cos): Likewise.
37175 (sloww): Use mynumber union. Expand ternary operator into
37176 if-else statements.
37177 (cslow): use mynumber union.
37178
37179 2013-12-16 Allan McRae <allan@archlinux.org>
37180
37181 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37182 * configure: Regenerated.
37183
37184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37185
37186 [BZ #14120]
37187 * configure.ac: Added --enable-maintainer-mode. Check for
37188 autoconf when enabled.
37189 * configure: Regenerated.
37190
37191 * nscd/nscd.service: New file.
37192 * nscd/nscd.tmpfiles: New file.
37193
37194 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
37195
37196 [BZ #12100]
37197 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37198 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37199 * sysdeps/x86_64/multiarch/strstr.c: ... here.
37200 (strstr): Add __strstr_sse2_unaligned ifunc.
37201 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37202 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37203 (strcasestr): Remove __strcasestr_sse42 ifunc.
37204 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37207
37208 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37209
37210 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37211 * sysdeps/sh/bits/fenv.h: ... here.
37212 * sysdeps/sh/sh4/fpu/bits: Remove directory.
37213
37214 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37215
37216 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37217
37218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37219 hypotf multiarch implementations.
37220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37221 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37222 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37223 multiarch hypot for PPC64.
37224 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37227 multiarch hypotf for PPC64.
37228
37229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37230 modff multiarch implementations.
37231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37234 multiarch modf for PPC64.
37235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37238 multiarch modff for PPC64.
37239
37240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37241 and logl multiarch implementations.
37242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37245 multiarch logb for PPC64.
37246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37249 multiarch logb for PPC64.
37250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37253 multiarch logb for PPC64.
37254
37255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37256 isinff multiarch implementation.
37257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37258 file.
37259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37261 multiarch isinf for PPC64.
37262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37263 file.
37264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37265 multiarch isinff for PPC64.
37266
37267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37268 finitef multiarch implementation.
37269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37270 file.
37271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37273 multiarch finite for PPC64.
37274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37275 file.
37276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37277 multiarch finitef for PPC64.
37278
37279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37280 lrint multiarch implementation.
37281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37282 file.
37283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37285 multiarch llrint for PPC64.
37286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37287 multiarch lrint for PPC64.
37288
37289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37290 copysignf multiarch implementation.
37291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37292 file.
37293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37294 file.
37295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37296 multiarch copysign for PPC64.
37297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37298 multiarch copysignf for PPC64.
37299
37300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37301 multiarch implementation.
37302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37303 file.
37304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37305 file.
37306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37307 file.
37308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37309 file.
37310 multiarch llround for PPC64.
37311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37312 multiarch trunc for PPC64.
37313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37314 multiarch truncf for PPC64.
37315
37316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37317 multiarch implementation.
37318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37319 file.
37320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37321 file.
37322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37323 file.
37324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37325 file.
37326 multiarch llround for PPC64.
37327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37328 multiarch round for PPC64.
37329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37330 multiarch roundf for PPC64.
37331
37332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37333 multiarch implementation.
37334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37335 file.
37336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37337 file.
37338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37339 file.
37340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37341 file.
37342 multiarch llround for PPC64.
37343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37344 multiarch floor for PPC64.
37345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37346 multiarch floorf for PPC64.
37347
37348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37349 multiarch implementation.
37350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37351 file.
37352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37353 file.
37354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37355 file.
37356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37357 file.
37358 multiarch llround for PPC64.
37359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37360 multiarch ceil for PPC64.
37361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37362 multiarch ceilf for PPC64.
37363
37364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37365 multiarch implementation.
37366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37367 file.
37368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37369 file.
37370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37371 file.
37372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37373 multiarch llround for PPC64.
37374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37375 multiarch lround for PPC64.
37376
37377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37378 multiarch implementation.
37379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37382 file.
37383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37386 multiarch isnan for PPC64.
37387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37388 multiarch isnanf for PPC64.
37389
37390 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37391 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37392 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37393 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37394 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37396
37397 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37398 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37401
37402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37403 multiarch implementations.
37404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37405 (__libc_ifunc_impl_list): Likewise.
37406 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37407 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37408 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37409 multiarch stpcpy for PPC64.
37410
37411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37412 multiarch implementations.
37413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37414 (__libc_ifunc_impl_list): Likewise.
37415 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37416 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37417 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37418 multiarch strcpy for PPC64.
37419
37420 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37421 redefine function name.
37422 (_wordcopy_fwd_dest_aligned): Likewise.
37423 (_wordcopy_bwd_aligned): Likewise.
37424 (_wordcopy_bwd_dest_aligned): Likewise.
37425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37426 multiarch implementations.
37427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37428 (__libc_ifunc_impl_list): Likewise.
37429 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37430 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37431 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37432 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37433 multiarch wcscpy for PPC64.
37434
37435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37436 multiarch implementations.
37437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37438 (__libc_ifunc_impl_list): Likewise.
37439 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37440 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37441 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37442 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37443 multiarch wcscpy for PPC64.
37444
37445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37446 multiarch implementations.
37447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37448 (__libc_ifunc_impl_list): Likewise.
37449 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37450 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37451 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37452 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37453 multiarch wcsrchr for PPC64.
37454
37455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37456 multiarch implementations.
37457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37458 (__libc_ifunc_impl_list): Likewise.
37459 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37460 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37461 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37462 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37463 multiarch wcschr for PPC64.
37464
37465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37466 multiarch implementations.
37467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37468 (__libc_ifunc_impl_list): Likewise.
37469 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37470 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37471 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37472 multiarch strchrnul for PPC64.
37473
37474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37475 implementations.
37476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37477 (__libc_ifunc_impl_list): Likewise.
37478 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37479 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37480 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37481 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37482 strchr for PPC64.
37483
37484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37485 implementations.
37486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37487 (__libc_ifunc_impl_list): Likewise.
37488 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37489 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37490 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37491 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37492 strncmp for PPC64.
37493
37494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37495 multiarch implementations.
37496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37497 (__libc_ifunc_impl_list): Likewise.
37498 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37499 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37500 strncasecmp for PPC64.
37501 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37502 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37503 multiarch strncasecmp_l for PPC64.
37504
37505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37506 multiarch implementations.
37507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37508 (__libc_ifunc_impl_list): Likewise.
37509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37511 multiarch strcasecmp for PPC64.
37512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37513 file.
37514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37515 multiarch strcasecmp_l for PPC64.
37516
37517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37518 implementations.
37519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37520 (__libc_ifunc_impl_list): Likewise.
37521 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37522 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37523 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37524 strnlen for PPC64.
37525
37526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37527 implementations.
37528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37529 (__libc_ifunc_impl_list): Likewise.
37530 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37531 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37532 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37533 strlen for PPC64.
37534
37535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37536 implementations.
37537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37538 (__libc_ifunc_impl_list): Likewise.
37539 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37540 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37541 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37542 rawmemrchr for PPC64.
37543
37544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37545 implementation.
37546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37547 (__libc_ifunc_impl_list): Likewise.
37548 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37549 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37550 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37551 memrchr for PPC64.
37552
37553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37554 implementation.
37555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37556 (__libc_ifunc_impl_list): Likewise.
37557 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37558 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37559 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37560 memchr for PPC64.
37561
37562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37563 implementation.
37564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37565 (__libc_ifunc_impl_list): Likewise.
37566 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37567 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37568 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37569 mempcpy for PPC64.
37570
37571 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37572 avoid cretion of __bzero symbol.
37573 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37574 Likewise.
37575 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37576 Likewise.
37577 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37578 Likewise.
37579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37580 multiarch implementations.
37581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37582 (__libc_ifunc_impl_list): Likewise.
37583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37585 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37586 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37587 bzero for PPC32.
37588 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37589 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37590 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37592 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37593 memset for PPC64.
37594 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37595
37596 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37598 implementations.
37599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37600 (__libc_ifunc_impl_list): Likewise.
37601 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37602 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37603 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37604 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37605 memcmp for PPC64.
37606
37607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37608 multiarch for POWER/PPC64.
37609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37610 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37611 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37612 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37613 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37614 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37615 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37616 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37617 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37618 memcpy for PPC64.
37619
37620 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37621 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37622 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37623 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37624 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37625 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37626 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37627 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37628 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37629 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37630 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37631 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37632 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37633 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37634 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37642
37643 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37644
37645 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37646
37647 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37648
37649 * benchtests/Makefile (bench): Add exp2 and log2.
37650 (LDLIBS-bench-exp2): Add -lm.
37651 (LDLIBS-bench-log2): Likewise.
37652 * benchtests/exp2-inputs: New inputs file.
37653 * benchtests/log2-inputs: New inputs file.
37654 * benchtests/log-inputs: Add new inputs.
37655 * benchtests/tan-inputs: Likewise.
37656
37657 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37658
37659 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37660 definition...
37661 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37662 (csloww2): ... from here.
37663
37664 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37665 instead of structures.
37666 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37667 (POLYNOMIAL): Likewise.
37668 (TAYLOR_SLOW): Likewise.
37669 (__sin): Likewise.
37670 (__cos): Likewise.
37671 (slow1): Likewise.
37672 (slow2): Likewise.
37673 (sloww): Likewise.
37674 (sloww1); Likewise.
37675 (sloww2): Likewise.
37676 (bsloww1): Likewise.
37677 (bsloww2): Likewise.
37678 (cslow2): Likewise.
37679 (csloww): Likewise.
37680 (csloww1): Likewise.
37681 (csloww2): Likewise.
37682
37683 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
37684
37685 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37686 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37687 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37688 * malloc/hooks.c (realloc_check): Likewise.
37689
37690 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37691 * malloc/arena.c: Remove PER_THREAD conditional.
37692 [!PER_THREAD]: Remove code.
37693 (ptmalloc_unlock_all2): Likewise.
37694 (ptmalloc_init): Likewise.
37695 (_int_new_arena): Likewise.
37696 (arena_get2): Likewise.
37697 * malloc/hooks.c (__malloc_get_state): Likewise.
37698 (__malloc_set_state): Likewise.
37699 * malloc/malloc.c: Likewise.
37700 (struct malloc_state): Likewise.
37701 (struct malloc_par): Likewise.
37702 (__libc_realloc): Likewise.
37703 (__libc_mallopt): Likewise.
37704
37705 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37706
37707 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37708
37709 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
37710
37711 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37712 macro to a function. Check for zero perturb_byte.
37713 (_int_malloc, _int_free): Remove zero perturb_byte checks.
37714
37715 * malloc/malloc.c: (force_reg): Remove.
37716 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37717 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37718 force_reg by atomic_forced_read.
37719 * malloc/arena.c (ptmalloc_init): Likewise.
37720 * malloc/hooks.c (top_check): Likewise.
37721
37722 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37723
37724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37725
37726 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
37727
37728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37729
37730 2013-12-08 Joseph Myers <joseph@codesourcery.com>
37731
37732 * math/auto-libm-test-in: Add tests of lgamma.
37733 * math/auto-libm-test-out: Regenerated.
37734 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37735 (M_LOG_2_SQRT_PIl): Likewise.
37736 (lgamma_test_data): Use AUTO_TESTS_f_f1.
37737 * math/gen-auto-libm-tests.c (func_calc_method): Add value
37738 mpfr_f_f1.
37739 (func_calc_desc): Add mpfr_f_f1 union field.
37740 (ARGS1): New macro.
37741 (ARGS2): Likewise.
37742 (ARGS3): Likewise.
37743 (ARGS4): Likewise.
37744 (RET1): Likewise.
37745 (RET2): Likewise.
37746 (CALC): Likewise.
37747 (FUNC): Likewise.
37748 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37749 (test_functions): Add lgamma.
37750 (calc_generic_results): Handle mpfr_f_f1.
37751 * sysdeps/i386/fpu/libm-test-ulps: Update.
37752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37753
37754 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37755
37756 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37757 __mpn_add_n for PowerPC64/POWER7.
37758 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37759 __mpn_sub_n for PowerPC64/POWER7.
37760
37761 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37762 __mpn_addmul_1 for PowerPC64.
37763 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37764 __mpn_submul_1 for PowerPC64.
37765 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37766 for PowerPC64.
37767 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37768 for PowerPC64.
37769
37770 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
37771
37772 [BZ #15089]
37773 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37774
37775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37776
37777 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37778
37779 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37780 add multiarch folders.
37781 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37782 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37783 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37784 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37785 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37786 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37787 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37788 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37789 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37790 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37791 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37798
37799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37800 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37802 New file.
37803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37804 New file.
37805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37806 multiarch __ieee754_hypot for PowerPC32.
37807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37808 New file.
37809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37810 New file.
37811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37812 multiarch __ieee754_hypotf for PowerPC32.
37813
37814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37815 long_double_symbol only if __logbl is defined.
37816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37817 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37819 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37821 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37823 path for implementation.
37824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37825 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37827 logb, and logbl multiarch implementations for PowerPC32.
37828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37829 file.
37830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37831 file.
37832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37833 multiarch logb for PowerPC32.
37834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37835 file.
37836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37837 file.
37838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37839 multiarch logbf for PowerPC32.
37840 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37842 file.
37843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37844 multiarch logbl implementation for PowerPC32.
37845
37846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37847 and modff multiarch implementations.
37848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37849 New file.
37850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37851 New file.
37852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37853 multiarch modf for PowerPC32.
37854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37855 New file.
37856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37857 New file.
37858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37859 multiarch modff for PowerPC32.
37860
37861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37862 and lrintf multiarch implementations.
37863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37864 New file.
37865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37866 New file.
37867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37868 multiarch lrint for PowerPC32.
37869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37870 file: multiarch lrintf for PowerPC32.
37871
37872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37873 and lroundf multiarch implementations.
37874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37875 New file.
37876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37877 New file.
37878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37879 New file.
37880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37881 multiarch lround for PowerPC32.
37882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37883 file: multiarch lroundf for PowerPC32.
37884
37885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37886 copysign and copysignf multiarch implementations.
37887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37888 New file.
37889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37890 New file.
37891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37892 file: multiarch copysign for PowerPC32.
37893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37894 file: multiarch copysignf for PowerPC32.
37895
37896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37897 and truncf multiarch implementations.
37898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37899 New file.
37900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37901 file.
37902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37903 multiarch trunc for PowerPC32.
37904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37905 New file.
37906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37907 New file.
37908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37909 multiarch truncf for PowerPC32.
37910
37911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37912 and roundf multiarch implementations.
37913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37914 New file.
37915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37916 file.
37917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37918 multiarch round for PowerPC32.
37919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37920 New file.
37921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37922 New file.
37923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37924 multiarch roundf for PowerPC32.
37925
37926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37927 and floorf multiarch implementations.
37928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37929 New file.
37930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37931 file.
37932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37933 multiarch floor for PowerPC32.
37934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37935 New file.
37936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37937 New file.
37938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37939 multiarch floorf for PowerPC32.
37940
37941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37942 and ceilf multiarch implementations.
37943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37944 New file.
37945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37946 file.
37947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37948 multiarch ceil for PowerPC32.
37949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37950 New file.
37951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37952 file.
37953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37954 multiarch ceilf for PowerPC32.
37955
37956 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37957 is defined.
37958 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37959 FINITEF is defined.
37960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37961 and finitef multiarch implementations.
37962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37963 New file.
37964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37965 file.
37966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37967 multiarch finite for PowerPC32.
37968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37969 New file.
37970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37971 file: multiarch finitef for PowerPC32.
37972
37973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37974 and isinff multiarch implementations.
37975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37976 file.
37977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37978 file.
37979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37980 multiarch isinf for PowerPC32.
37981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37982 New file.
37983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37984 multiarch isinff for PowerPC32.
37985
37986 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37987 alias when __isnan is defined.
37988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37989 and isnanf multiarch implementations.
37990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37991 file.
37992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37993 file.
37994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37995 file.
37996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37997 file.
37998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37999 multiarch isnan for PowerPC32.
38000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38001 New file.
38002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38003 New file.
38004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38005 multiarch isnanf for PowerPC32.
38006
38007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38008 and sqrtf multiarch implementations.
38009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38010 file.
38011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38012 file.
38013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38014 multiarch sqrt for PowerPC32.
38015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38016 file.
38017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38018 file.
38019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38020 multiarch sqrtf for PowerPC32.
38021
38022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38023 and llroundf multiarch implementations.
38024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38025 New file.
38026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38027 New file.
38028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38029 New file.
38030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38031 file: multiarch llround for PowerPC32.
38032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38033 file: multiarch llroundf for PowerPC32.
38034
38035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38036 multiarch PowerPC32 fpu implementations.
38037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38038 New file.
38039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38040 New file.
38041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38042 multiarch llrint for PowerPC32.
38043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38044 New file.
38045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38046 New file.
38047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38048 file.
38049
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38051
38052 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38053 file.
38054 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38055 file.
38056 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38057 file.
38058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38059 multiarch wordcopy for PPC32.
38060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38061 wordcopy objects.
38062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38063 (__libc_ifunc_impl_list): Likewise.
38064 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38065 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38067 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38069 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38070
38071 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38073 file.
38074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38075 file.
38076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38077 file.
38078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38079 multiarch wcscpy for PPC32.
38080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38081 multiarch objects.
38082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38083 (__libc_ifunc_impl_list): Likewise.
38084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38085 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38086 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38087 sysdeps/powerpc/power6/wcscpy.c.
38088
38089 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38091 file.
38092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38093 file.
38094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38095 file.
38096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38097 multiarch wcsrchr for PPC32.
38098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38099 multiarch objects.
38100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38101 (__libc_ifunc_impl_list): Likewise.
38102 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38103 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38104 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38105 sysdeps/powerpc/power6/wcsrchr.c.
38106
38107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38108 file.
38109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38110 file.
38111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38113 multiarch wcschr for PPc32.
38114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38115 multiarch objects.
38116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38117 (__libc_ifunc_impl_list): Likewise.
38118 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38119 * sysdeps/powerpc/power6/wcschr.c: ... to here.
38120 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38121 sysdeps/powerpc/power6/wcschr.c.
38122
38123 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38124 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38125 file.
38126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38127 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38128 file: multiarch strchr for PPC32.
38129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38130 multiarch objects.
38131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38132 (__libc_ifunc_impl_list): Likewise.
38133
38134 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38135 name.
38136 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38137 file.
38138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38139 file.
38140 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38141 multiarch strchrnul for PPC32.
38142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38143 multiarch objects.
38144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38145 (__libc_ifunc_impl_list): Likewise.
38146
38147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38148 file.
38149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38150 multiarch strncasecmp for PPC32.
38151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38152 file.
38153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38154 multiarch strncasecmp_l for PPC32.
38155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38156 strncasecmp multiarch objects.
38157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38158 (__libc_ifunc_impl_list): Likewise.
38159
38160 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38161 file.
38162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38163 multiarch strncasecmp for PPC32.
38164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38165 New file.
38166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38167 multiarch strcasecmp_l for PPC32.
38168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38169 multiarch objects.
38170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38171 (__libc_ifunc_impl_list): Likewise.
38172
38173 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38174 file.
38175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38176 file.
38177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38178 multiarch strncmp for PPC32.
38179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38180 multiarch objects.
38181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38182 (__libc_ifunc_impl_list): Likewise.
38183
38184 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38185 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38186 file.
38187 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38188 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38190 multiarch objects.
38191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38192 (__libc_ifunc_impl_list): Likewise.
38193
38194 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38195 file.
38196 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38197 file.
38198 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38200 multiarch objects.
38201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38202 (__libc_ifunc_impl_list): Likewise.
38203
38204 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38205 file.
38206 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38207 file.
38208 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38209 multiarch rawmemchr for PPC32.
38210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38211 multiarch objects.
38212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38213 (__libc_ifunc_impl_list): Likewise.
38214
38215 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38216 file.
38217 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38218 file.
38219 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38220 file: memrchr multiarch for PPC32.
38221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38222 multiarch objects.
38223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38224 (__libc_ifunc_impl_list): Likewise.
38225
38226 * string/memchr.c (__memchr): Using macro to redefine symbol name.
38227 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38228 file.
38229 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38230 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38231 multiarch memchr for PPC32.
38232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38233 multiarch objects.
38234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38235 (__libc_ifunc_impl_list): Likewise.
38236
38237 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38238 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38239 file.
38240 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38241 file.
38242 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38243 file: multiarch mempcpy for PPC32.
38244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38245 multiarch objects.
38246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38247 (__libc_ifunc_impl_list): Likewise.
38248
38249 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38250 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38251 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38252 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38253 multiarch bzero for PPC32.
38254 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38255 file.
38256 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38257 file.
38258 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38259 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38260 file: multiarch memset for PPC32.
38261 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38263 memset multiarch objects.
38264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38265 (__libc_ifunc_impl_list): Likewise.
38266
38267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38268 file.
38269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38271 memcmp for PPC32.
38272 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38274 multiarch objects.
38275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38276 (__libc_ifunc_impl_list): Likewise.
38277
38278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38281 file.
38282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38283 file.
38284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38285 file.
38286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38287 multiarch memcpy for PPC32.
38288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38289 multiarch objects.
38290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38291 (__libc_ifunc_impl_list): Likewise.
38292
38293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38294 support multiarch for POWER/PPC32.
38295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38296 Likewise.
38297 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38299 Implies file to make multiarch folder appers before the fpu and
38300 default folder for power4 configuration.
38301
38302 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38303
38304 * scripts/bench.pl: Append volatile keyword to type.
38305
38306 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38307
38308 * sysdeps/sh/sotruss-lib.c: New file.
38309 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38310
38311 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38312
38313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38314
38315 2013-12-05 Joseph Myers <joseph@codesourcery.com>
38316
38317 [BZ #6810]
38318 * math/w_tgamma.c: Include <errno.h>.
38319 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
38320 * math/w_tgammaf.c: Include <errno.h>.
38321 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
38322 * math/w_tgammal.c: Include <errno.h>.
38323 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
38324 * math/auto-libm-test-in: Do not allow missing errno on tgamma
38325 underflow. Add more tgamma tests.
38326 * math/auto-libm-test-out: Regenerated.
38327 * sysdeps/i386/fpu/libm-test-ulps: Update.
38328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38329
38330 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38331 sin, sinh, tan, tanh, tgamma, y0 and y1.
38332 * math/auto-libm-test-out: Regenerated.
38333 * math/libm-test.inc (TEST_COND_x86_64): New macro.
38334 (TEST_COND_x86): Likewise.
38335 (M_E2l): Remove macro.
38336 (M_E3l): Likewise.
38337 (M_2_SQRT_PIl): Likewise.
38338 (M_SQRT_PIl): Likewise.
38339 (M_1_DIV_El): Likewise.
38340 (log_test_data): Use AUTO_TESTS_f_f.
38341 (log10_test_data): Likewise.
38342 (log1p_test_data): Likewise.
38343 (log2_test_data): Likewise.
38344 (sin_test_data): Likewise.
38345 (sin_tonearest_test_data): Likewise.
38346 (sin_towardzero_test_data): Likewise.
38347 (sin_downward_test_data): Likewise.
38348 (sin_upward_test_data): Likewise.
38349 (sinh_test_data): Likewise.
38350 (sinh_tonearest_test_data): Likewise.
38351 (sinh_towardzero_test_data): Likewise.
38352 (sinh_downward_test_data): Likewise.
38353 (sinh_upward_test_data): Likewise.
38354 (tan_test_data): Likewise.
38355 (tan_tonearest_test_data): Likewise.
38356 (tan_towardzero_test_data): Likewise.
38357 (tan_downward_test_data): Likewise.
38358 (tan_upward_test_data): Likewise.
38359 (tanh_test_data): Likewise.
38360 (tgamma_test_data): Likewise.
38361 (y0_test_data): Likewise.
38362 (y1_test_data): Likewise.
38363 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38364 (special_real_inputs): Add pi/4.
38365 * sysdeps/i386/fpu/libm-test-ulps: Update.
38366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38367
38368 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38369
38370 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38371 "longjmp_target" static probes.
38372 (__longjmp): Rename to __longjmp_symbol.
38373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38374 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38375 on which longjmp to generate.
38376 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38377 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38378 probe.
38379 (__sigsetjmp): Rename to __sigsetjmp_symbol.
38380 (__sigjmp_save): Rename to __sigjmp_save_symbol.
38381 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38382 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38383 and __sigjmp_save_symbol based on which sigsetjmp to generated.
38384 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38386 __longjmp_symbol based on which __longjmp to generate.
38387 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38388 probe.
38389 (setjmp): Rename to setjmp_symbol.
38390 (__sigsetjmp): Rename to __sigsetjmp_symbol.
38391 (_setjmp): Rename to _setjmp_symbol.
38392 (__sigsetjmp): Rename to __sigsetjmp_symbol.
38393 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38394 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38395 which setjmp to generate.
38396 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38397 "longjmp_target" static probes.
38398
38399 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38400
38401 * benchtests/README: Add note about output arguments.
38402 * benchtests/bench-sincos.c: Remove file.
38403 * benchtests/sincos-inputs: New file.
38404 * scripts/bench.pl: Identify output arguments and define
38405 static variables for them.
38406
38407 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38408
38409 [BZ #15941]
38410 * Makefile (INSTALL): Add install-plain.texi as the primary
38411 dependency.
38412 * manual/install-plain.texi: New file.
38413 * manual/install.texi: Include node directive only for
38414 non-plaintext output.
38415
38416 2013-12-04 Joseph Myers <joseph@codesourcery.com>
38417
38418 * stdlib/longlong.h: Update from GCC.
38419
38420 [BZ #6807]
38421 [BZ #15901]
38422 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38423 * math/w_j0f.c (y0f): Likewise.
38424 * math/w_j0l.c (__y0l): Likewise.
38425 * math/w_j1.c (y1): Likewise.
38426 * math/w_j1f.c (y1f): Likewise.
38427 * math/w_j1l.c (__y1l): Likewise.
38428 * math/w_jn.c (yn): Likewise.
38429 * math/w_jnf.c (ynf): Likewise.
38430 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38431 Bessel function pole errors in _POSIX_ mode. Use NAN as return
38432 value for Bessel function domain errors outside _SVID_ mode.
38433 Adjust sign of return value for yn (negative integer, 0).
38434 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38435 by zero in return for negative x and set sign appropriately for
38436 negative n.
38437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38439 * math/libm-test.inc (y0_test_data): Add more tests and adjust
38440 expectations in error cases.
38441 (y1_test_data): Likewise.
38442 (yn_test_data): Likewise.
38443 * sysdeps/i386/fpu/libm-test-ulps: Update.
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38445
38446 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38447
38448 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38449 "64" to "64-v1". Add "64-v2".
38450 (abi-64-options): Rename to ...
38451 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
38452 (abi-64-condition): Rename to ...
38453 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
38454 (abi-64-ld-soname): Rename to ...
38455 (abi-64-v1-ld-soname): ... this.
38456 (abi-64-v2-options): Define.
38457 (abi-64-v2-condition): Likewise.
38458 (abi-64-v2-ld-soname): Likewise.
38459 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38460 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38464
38465 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38466 Alan Modra <amodra@gmail.com>
38467
38468 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38469 New versions for use with the ELFv2 ABI.
38470 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38471 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38472 declaration.
38473 (struct La_ppc64v2_retval): Likewise.
38474 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38475 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38476 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38477 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38478 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38479 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38480 Do not save or restore CR.
38481 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38482 (_dl_profile_resolve): Do no save or restore CR. Support extended
38483 return values for ELFv2 ABI. Fix location of FPR return registers.
38484 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38485 updated values for _CALL_ELF == 2.
38486 (La_regs, La_retval, int_retval): Likewise.
38487
38488 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38489
38490 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38491 (FRAME_MIN_SIZE_PARM): Likewise.
38492 (FRAME_BACKCHAIN): Likewise.
38493 (FRAME_CR_SAVE): Likewise.
38494 (FRAME_LR_SAVE): Likewise.
38495 (FRAME_TOC_SAVE): Likewise.
38496 (FRAME_PARM_SAVE): Likewise.
38497 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38498 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38499 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38500 (call_mcount_parm_offset): New macro.
38501 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38502 (PROF): Use symbolic stack frame offsets.
38503 (TAIL_CALL_SYSCALL_ERROR): Likewise.
38504 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38505 Redefine in terms of FRAME_MIN_SIZE.
38506 (_dl_runtime_resolve): Use symbolic stack frame offsets.
38507 (_dl_profile_resolve): Likewise. Update comment.
38508 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38509 symbols stack frame offsets.
38510 (__sigsetjmp): Likewise.
38511 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38512 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38513 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38514 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38515
38516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38517 (FRAME_BACKCHAIN): Remove.
38518 (FRAME_CR_SAVE): Likewise.
38519 (FRAME_LR_SAVE): Likewise.
38520 (FRAME_COMPILER_DW): Likewise.
38521 (FRAME_LINKER_DW): Likewise.
38522 (FRAME_TOC_SAVE): Likewise.
38523 (FRAME_PARM_SAVE): Likewise.
38524 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38525 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38526 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38528 (CHECK_SP): Use symbolic stack frame offsets.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38530 zone" instead of caller's parameter save area for temp storage.
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38532 Likewise. Also, use symbolic stack frame offsets.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38534 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38535 our own stack frame instead of the caller's.
38536 (__socket): Use symbolic stack frame offsets.
38537
38538 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38539 Alan Modra <amodra@gmail.com>
38540
38541 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38542 Define.
38543 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38544 (PPC64_LOCAL_ENTRY_OFFSET): Define.
38545 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38546 New function.
38547 (elf_machine_fixup_plt): Call it.
38548 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
38549 reloc arguments.
38550 (elf_machine_rela): Update call to elf_machine_plt_conflict.
38551 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38552 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38553 r2 before calling target.
38554
38555 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38556 Alan Modra <amodra@gmail.com>
38557
38558 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38559 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38560 versions of macros to support ELFv2 ABI.
38561 (LOCALENTRY): New macro.
38562 (ENTRY, EALIGN): Use it.
38563 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38565 fall through into ENTRY entry point.
38566 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38567 Only define if _CALL_ELF != 2.
38568
38569 (elf_machine_matches_host): Verify ABI version matches.
38570 (RTLD_START): Use LOCALENTRY.
38571 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38572 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38573 (PLT_ENTRY_WORDS): New macro.
38574 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38575 (elf_machine_runtime_setup): Support ELFv2 ABI.
38576 (elf_machine_fixup_plt): Likewise.
38577 (elf_machine_plt_conflict): Likewise.
38578 (resolve_ifunc): Likewise.
38579 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38581 Likewise.
38582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38583 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38585 (makecontext): Support ELFv2 ABI.
38586 * elf/elf.h (EF_PPC64_ABI): Define.
38587
38588 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38589
38590 * sysdeps/powerpc/powerpc64/sysdep.h
38591 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38592 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38593 (ENTRY) [ASSEMBLER]: ... but instead here ...
38594 (EALIGN) [ASSEMBLER]: ... and here.
38595 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38596 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38597 (ENTRY_2) [!ASSEMBLER]: Use it.
38598 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38599 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
38600 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38601 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38602 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38604 Use PPC64_LOAD_FUNCPTR.
38605
38606 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38607
38608 2013-12-04 Alan Modra <amodra@gmail.com>
38609
38610 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38611 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38612 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38613 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38614
38615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38616 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38617 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38618 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38619 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38620 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38621
38622 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
38623
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38625 (__makecontext): Fix incorrect CFI when backtracing out of
38626 context created via makecontext.
38627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38628 (__setcontext): Fix incorrect CFI during switch to new context.
38629 (__novec_setcontext): Likewise.
38630
38631 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
38632
38633 [BZ #4772]
38634 * time/strptime_l.c (__strptime_internal): Allow modifiers
38635 in strptime.
38636 * time/tst-strptime.c (day_tests): Add testcase.
38637
38638 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38639
38640 * scripts/bench.pl: Skip over blank lines.
38641
38642 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
38643
38644 [BZ #926]
38645 * manual/time.texi (Calendar Time): Clarify what timezone functions
38646 use.
38647
38648 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38649
38650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38651
38652 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
38653
38654 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38655 implementation.
38656 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38657 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38658 * debug/memset_chk.c (__memset_chk): Likewise.
38659 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38660 * debug/strncpy_chk.c: Likewise.
38661
38662 2013-12-03 Joseph Myers <joseph@codesourcery.com>
38663
38664 [BZ #15268]
38665 [BZ #15425]
38666 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38667 (__ieee754_exp): For possibly underflowing results, check size of
38668 result and force underflow exception if required.
38669 * math/auto-libm-test-in: Add more tests of exp.
38670 * math/auto-libm-test-out: Regenerated.
38671 * sysdeps/i386/fpu/libm-test-ulps: Update.
38672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38673
38674 [BZ #16283]
38675 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38676 * math/w_exp2f.c (__exp2f): Likewise.
38677 * math/w_exp2l.c (__exp2l): Likewise.
38678 * math/auto-libm-test-in: Do not allow missing errno on exp2
38679 underflow.
38680 * math/auto-libm-test-out: Regenerated.
38681
38682 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
38683
38684 [BZ #16274]
38685 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38686 handle filename validation.
38687 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38688 (do_open): Delete.
38689
38690 2013-12-03 Joseph Myers <joseph@codesourcery.com>
38691
38692 [BZ #6786]
38693 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38694 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38695 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38696 <float.h>.
38697 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38699 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38701 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38702 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38703 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38704 * math/auto-libm-test-in: Don't allow missing errno from erfc.
38705 Add more erfc tests.
38706 * math/auto-libm-test-out: Regenerated.
38707 * sysdeps/i386/fpu/libm-test-ulps: Update.
38708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38709
38710 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38711 exp2, expm1, j0 and j1.
38712 * math/auto-libm-test-out: Regenerated.
38713 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38714 (erfc_test_data): Likewise.
38715 (exp_test_data): Likewise.
38716 (exp_tonearest_test_data): Likewise.
38717 (exp_towardzero_test_data): Likewise.
38718 (exp_downward_test_data): Likewise.
38719 (exp_upward_test_data): Likewise.
38720 (exp10_test_data): Likewise.
38721 (exp2_test_data): Likewise.
38722 (expm1_test_data): Likewise.
38723 (j0_test_data): Likewise.
38724 (j1_test_data): Likewise.
38725 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38726 (input_flag_type): Add flag_xfail_rounding.
38727 (input_flags): Add xfail-rounding.
38728 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38729 (output_for_one_input_case): Handle flag_xfail_rounding.
38730 * sysdeps/i386/fpu/libm-test-ulps: Update.
38731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38732
38733 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
38734
38735 [BZ #16289]
38736 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38737 division by 0.
38738
38739 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38740
38741 [BZ #16195]
38742 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38743 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38744 (STAP_PROBE0): New macro.
38745 (STAP_PROBE1): Likewise.
38746 (STAP_PROBE2): Likewise.
38747 (STAP_PROBE3): Likewise.
38748 (STAP_PROBE4): Likewise.
38749
38750 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
38751
38752 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38753
38754 2013-12-02 Steve Ellcey <sellcey@mips.com>
38755
38756 * benchtests/Makefile (bench): Add sqrt.
38757 (LDLIBS-bench-sqrt): New.
38758 * benchtests/sqrt-input: New.
38759
38760 2013-12-02 Pavel Simerda <psimerda@redhat.com>
38761
38762 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38763 (GAIH_EAI): Likewise.
38764 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38765 (gaih_inet): Likewise.
38766 (getaddrinfo): Don't use GAIH_EAI.
38767
38768 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38769 (struct gaih): Remove definition.
38770
38771 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38772
38773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38774 Use HERRNOP directly.
38775
38776 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38777
38778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38779
38780 2013-11-30 Joseph Myers <joseph@codesourcery.com>
38781
38782 * math/gen-auto-libm-tests.c (test_functions): Add more
38783 single-argument functions.
38784 (special_fill_pi_2): New function.
38785 (special_fill_minus_pi_2): Likewise.
38786 (special_fill_pi_6): Likewise.
38787 (special_fill_minus_pi_6): Likewise.
38788 (special_fill_pi_3): Likewise.
38789 (special_fill_2pi_3): Likewise.
38790 (special_fill_e): Likewise.
38791 (special_fill_1_e): Likewise.
38792 (special_fill_e_minus_1): Likewise.
38793 (special_real_inputs): Add more special inputs.
38794 (output_for_one_input_case): Do not require ERANGE on underflow to
38795 zero if round-to-nearest result does not underflow to zero, unless
38796 exact results required.
38797 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38798 atan, atanh, cbrt, cos and cosh.
38799 * math/auto-libm-test-out: Regenerated.
38800 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38801 (acos_tonearest_test_data): Likewise.
38802 (acos_towardzero_test_data): Likewise.
38803 (acos_downward_test_data): Likewise.
38804 (acos_upward_test_data): Likewise.
38805 (acosh_test_data): Likewise.
38806 (asin_test_data): Likewise.
38807 (asin_tonearest_test_data): Likewise.
38808 (asin_towardzero_test_data): Likewise.
38809 (asin_upward_test_data): Likewise.
38810 (asinh_test_data): Likewise.
38811 (atan_test_data): Likewise.
38812 (atanh_test_data): Likewise.
38813 (cbrt_test_data): Likewise.
38814 (cos_test_data): Likewise.
38815 (cos_tonearest_test_data): Likewise.
38816 (cos_towardzero_test_data): Likewise.
38817 (cos_downward_test_data): Likewise.
38818 (cos_upward_test_data): Likewise.
38819 (cosh_test_data): Likewise.
38820 (cosh_tonearest_test_data): Likewise.
38821 (cosh_towardzero_test_data): Likewise.
38822 (cosh_downward_test_data): Likewise.
38823 (cosh_upward_test_data): Likewise.
38824 * sysdeps/i386/fpu/libm-test-ulps: Update.
38825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38826
38827 2013-11-29 Joseph Myers <joseph@codesourcery.com>
38828
38829 [BZ #6787]
38830 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38831 * math/w_exp10f.c (__exp10f): Likewise.
38832 * math/w_exp10l.c (__exp10l): Likewise.
38833 * math/libm-test.inc (exp10_test_data): Add more tests and expect
38834 errno settings in existing tests.
38835
38836 [BZ #14032]
38837 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38838 precision control set to double precision.
38839 * sysdeps/i386/fpu/w_sqrt.c: New file.
38840 * math/auto-libm-test-in: Add more tests.
38841 * math/auto-libm-test-out: Update.
38842
38843 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38844 (sqrt_test_tonearest): New function.
38845 (sqrt_towardzero_test_data): New variable.
38846 (sqrt_test_towardzero): New function.
38847 (sqrt_downward_test_data): New variable.
38848 (sqrt_test_downward): New function.
38849 (sqrt_upward_test_data): New variable.
38850 (sqrt_test_upward): New function.
38851 (main): Call the new functions.
38852
38853 * math/gen-auto-libm-tests.c: New file.
38854 * math/auto-libm-test-in: Likewise.
38855 * math/auto-libm-test-out: New generated file.
38856 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38857 variables.
38858 (%beautify): Add generated representations of zero.
38859 (top level): Set $auto_input and call parse_auto_input.
38860 (beautify): Remove trailing "f" from hex float constants.
38861 (parse_args): Handle XFAIL_TEST.
38862 (convert_condition): New function.
38863 (or_value): Likewise.
38864 (or_cond_value): Likewise.
38865 (generate_testfile): Handle AUTO_TESTS_* lines.
38866 (parse_auto_input): New function.
38867 * math/libm-test.inc (XFAIL_TEST): New macro.
38868 (ERRNO_UNCHANGED): Update value.
38869 (ERRNO_EDOM): Likewise.
38870 (ERRNO_ERANGE): Likewise.
38871 (IGNORE_RESULT): Likewise.
38872 (TEST_COND_flt_32): New macro.
38873 (TEST_COND_dbl_64): Likewise.
38874 (TEST_COND_ldbl_96_intel): Likewise.
38875 (TEST_COND_ldbl_96_m68k): Likewise.
38876 (TEST_COND_ldbl_128): Likewise.
38877 (TEST_COND_ldbl_128ibm): Likewise.
38878 (TEST_COND_long32): Likewise.
38879 (TEST_COND_long64): Likewise.
38880 (TEST_COND_before_rounding): Likewise.
38881 (TEST_COND_after_rounding): Likewise.
38882 (enable_test): Handle XFAIL_TEST flag.
38883 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38884 with finite results.
38885 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38886 auto-libm-test-out.
38887
38888 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38889 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38890
38891 [BZ #16214]
38892 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38893 __tls_get_addr_internal instead of __tls_get_offset in order to
38894 avoid GOT pointer dependency. Make rtld export
38895 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38896 __tls_get_addr since we are a __tls_get_offset platform.
38897 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38898 GOT pointer being set up before.
38899 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38900
38901 2013-11-28 Joseph Myers <joseph@codesourcery.com>
38902
38903 * manual/math.texi (Errors in Math Functions): Document accuracy
38904 goals.
38905
38906 [BZ #15004]
38907 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38908 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38923
38924 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38925 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38926 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38927 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38928 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38929 Likewise.
38930 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38931 Likewise.
38932 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38933 Likewise.
38934 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38935 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38936 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38937 atomic-feupdateenv and flt-rounds.
38938 * sysdeps/powerpc/nofpu/Versions (libc): Add
38939 __atomic_feholdexcept, __atomic_feclearexcept,
38940 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38942 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38943 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38944 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38945 here.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38947 Update.
38948
38949 * manual/arith.texi (FP Exceptions): Document that exceptions may
38950 not be raised when matherr is used.
38951 (Math Error Reporting): Document overflow in directed rounding
38952 modes. Document that errno may not be set when finite values are
38953 returned on overflow. Document intent to set errno on underflow
38954 only for underflow to zero.
38955
38956 [BZ #16271]
38957 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38958 round-to-nearest then adjust result for other rounding modes.
38959 * include/fenv.h (fegetround): Use libm_hidden_proto.
38960 * math/fegetround.c (fegetround): Use libm_hidden_def.
38961 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38962 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38963 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38964 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38965 Likewise.
38966 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38967 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38968 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38969 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38970
38971 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38972
38973 [BZ #16077]
38974 * nss/Versions (libnss_files): Add
38975 _nss_files_gethostbyname3_r.
38976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38977 New function.
38978 (HOST_DB_LOOKUP): Remove macro.
38979 (_nss_files_gethostbyname_r): Implement function without the
38980 HOST_DB_LOOKUP macro.
38981 (_nss_files_gethostbyname2_r): Likewise.
38982
38983 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
38984
38985 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38986
38987 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
38988
38989 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38990 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38991 warning.
38992
38993 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38994
38995 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38996 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38997 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38998 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38999 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39000 __fe_nomask_env_priv and attribute_hidden.
39001 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39002 (libc_feupdateenv_test_ppc): Likewise.
39003 (libc_feresetround_ppc): Likewise.
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39005 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39006 compat_symbol macro.
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39008 (__fe_nomask_env): Likewise.
39009 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39010
39011 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
39012
39013 * string/Makefile: Remove ifunc tests.
39014 * string/test-string.h: Define TEST_IFUNC.
39015 * string/test-bcopy-ifunc.c: Remove.
39016 * string/test-bzero-ifunc.c: Likewise.
39017 * string/test-memccpy-ifunc.c: Likewise.
39018 * string/test-memchr-ifunc.c: Likewise.
39019 * string/test-memcmp-ifunc.c: Likewise.
39020 * string/test-memcpy-ifunc.c: Likewise.
39021 * string/test-memmem-ifunc.c: Likewise.
39022 * string/test-memmove-ifunc.c: Likewise.
39023 * string/test-mempcpy-ifunc.c: Likewise.
39024 * string/test-memrchr-ifunc.c: Likewise.
39025 * string/test-memset-ifunc.c: Likewise.
39026 * string/test-rawmemchr-ifunc.c: Likewise.
39027 * string/test-stpcpy-ifunc.c: Likewise.
39028 * string/test-stpncpy-ifunc.c: Likewise.
39029 * string/test-strcasecmp-ifunc.c: Likewise.
39030 * string/test-strcasestr-ifunc.c: Likewise.
39031 * string/test-strcat-ifunc.c: Likewise.
39032 * string/test-strchr-ifunc.c: Likewise.
39033 * string/test-strchrnul-ifunc.c: Likewise.
39034 * string/test-strcmp-ifunc.c: Likewise.
39035 * string/test-strcpy-ifunc.c: Likewise.
39036 * string/test-strcspn-ifunc.c: Likewise.
39037 * string/test-strlen-ifunc.c: Likewise.
39038 * string/test-strncasecmp-ifunc.c: Likewise.
39039 * string/test-strncat-ifunc.c: Likewise.
39040 * string/test-strncmp-ifunc.c: Likewise.
39041 * string/test-strncpy-ifunc.c: Likewise.
39042 * string/test-strnlen-ifunc.c: Likewise.
39043 * string/test-strpbrk-ifunc.c: Likewise.
39044 * string/test-strrchr-ifunc.c: Likewise.
39045 * string/test-strspn-ifunc.c: Likewise.
39046 * string/test-strstr-ifunc.c: Likewise.
39047
39048 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
39049
39050 * benchtests/Makefile: Remove ifunc tests.
39051 * benchtests/bench-string.h: Define TEST_IFUNC.
39052 * benchtests/bench-bcopy-ifunc.c: Remove.
39053 * benchtests/bench-bzero-ifunc.c: Likewise.
39054 * benchtests/bench-memccpy-ifunc.c: Likewise.
39055 * benchtests/bench-memchr-ifunc.c: Likewise.
39056 * benchtests/bench-memcmp-ifunc.c: Likewise.
39057 * benchtests/bench-memcpy-ifunc.c: Likewise.
39058 * benchtests/bench-memmem-ifunc.c: Likewise.
39059 * benchtests/bench-memmove-ifunc.c: Likewise.
39060 * benchtests/bench-mempcpy-ifunc.c: Likewise.
39061 * benchtests/bench-memrchr-ifunc.c: Likewise.
39062 * benchtests/bench-memset-ifunc.c: Likewise.
39063 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39064 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39065 * benchtests/bench-stpcpy-ifunc.c: Likewise.
39066 * benchtests/bench-stpncpy-ifunc.c: Likewise.
39067 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39068 * benchtests/bench-strcasestr-ifunc.c: Likewise.
39069 * benchtests/bench-strcat-ifunc.c: Likewise.
39070 * benchtests/bench-strchr-ifunc.c: Likewise.
39071 * benchtests/bench-strchrnul-ifunc.c: Likewise.
39072 * benchtests/bench-strcmp-ifunc.c: Likewise.
39073 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39074 * benchtests/bench-strcpy-ifunc.c: Likewise.
39075 * benchtests/bench-strcspn-ifunc.c: Likewise.
39076 * benchtests/bench-strlen-ifunc.c: Likewise.
39077 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39078 * benchtests/bench-strncat-ifunc.c: Likewise.
39079 * benchtests/bench-strncmp-ifunc.c: Likewise.
39080 * benchtests/bench-strncpy-ifunc.c: Likewise.
39081 * benchtests/bench-strnlen-ifunc.c: Likewise.
39082 * benchtests/bench-strpbrk-ifunc.c: Likewise.
39083 * benchtests/bench-strrchr-ifunc.c: Likewise.
39084 * benchtests/bench-strsep-ifunc.c: Likewise.
39085 * benchtests/bench-strspn-ifunc.c: Likewise.
39086 * benchtests/bench-strstr-ifunc.c: Likewise.
39087
39088 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
39089
39090 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39091
39092 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
39093
39094 * resolv/netdb.h: Use __glibc_reserved instead __unused.
39095 * rt/aio.h: Likewise.
39096 * sysdeps/gnu/bits/utmp.h: Likewise.
39097 * sysdeps/gnu/bits/utmpx.h: Likewise.
39098 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39099 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39100 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39101 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39102 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39103 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39104 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39105 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39106 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39107 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39108 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39109 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39110 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39113 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39114 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39115 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39116 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39117 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39118 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39119 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39120 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39121 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39122 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39124 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39125 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39126 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39127 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39128 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39129 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39130 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39131 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39132 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39134 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39135 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39136 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39137 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39138 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39139 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39140
39141 2013-11-25 Carlos O'Donell <carlos@redhat.com>
39142
39143 [BZ #16245]
39144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39145 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39146
39147 2013-11-25 Joseph Myers <joseph@codesourcery.com>
39148
39149 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39150 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39151 Likewise.
39152
39153 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39154
39155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39156 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39157 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39158 (__fesetround): Remove define.
39159 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39160 rounding and exceptions handling.
39161 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39162 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39163 (__fe_nomask_env): Likewise.
39164 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39165 __fegetround instead of fegetround.
39166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39167 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39168
39169 2013-11-21 Roland McGrath <roland@hack.frob.com>
39170
39171 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39172 it's there.
39173
39174 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39175
39176 2013-11-21 Meador Inge <meadori@codesourcery.com>
39177
39178 [BZ #11157]
39179 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39180 (encrypt_r): Likewise.
39181 * malloc/obstack.h (obstack_free): Likewise.
39182 * posix/unistd.h (encrypt): Likewise.
39183
39184 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
39185
39186 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39187 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39188 DL_CALL_DT_FINI() that call the functions directly.
39189 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39190 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39191 * elf/dl-fini.c: Likewise.
39192
39193 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
39194
39195 * malloc/hooks.c (memalign_check): Add alignment rounding.
39196 * malloc/malloc.c (_mid_memalign): New function.
39197 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39198 Implement by calling _mid_memalign.
39199 * manual/probes.texi (Memory Allocation Probes): Remove
39200 memory_valloc_retry and memory_pvalloc_retry.
39201
39202 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39203
39204 * locale/programs/locarchive.c (open_archive): Add const
39205 qualifier to ARCHIVEFNAME and copy default fname to
39206 DEFAULT_FNAME.
39207
39208 [BZ #15601]
39209 * libio/tst-widetext.input: Rename Oriya to Odia.
39210 * locale/iso-639.def: Likewise.
39211
39212 * manual/probes.texi (Mathematical Function Probes): Add
39213 documentation for sin, cos, asin and acos probes.
39214 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39215 (__sin32): Add slowasin probe.
39216 (__cos32): Add slowacos probe.
39217 (__mpsin): Add slowsin probe.
39218 (__mpcos): Add slowcos probe.
39219
39220 2013-11-19 Joseph Myers <joseph@codesourcery.com>
39221
39222 [BZ #15483]
39223 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39224 thread-local __sim_exceptions_thread and global
39225 __sim_exceptions_global.
39226 (__sim_disabled_exceptions): Change to thread-local
39227 __sim_disabled_exceptions_thread and global
39228 __sim_disabled_exceptions_global.
39229 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39230 and global __sim_round_mode_global.
39231 (__simulate_exceptions): Use thread-local floating-point state and
39232 set global state from it as needed.
39233 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39234 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39235 __sim_round_mode_thread.
39236 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39237 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39238 and global __sim_exceptions_global.
39239 (__sim_disabled_exceptions): Change to thread-local
39240 __sim_disabled_exceptions_thread and global
39241 __sim_disabled_exceptions_global.
39242 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39243 and global __sim_round_mode_global.
39244 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39245 (SIM_SET_GLOBAL): Likewise.
39246 * sysdeps/powerpc/soft-fp/sfp-machine.h
39247 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39248 __sim_round_mode_thread.
39249 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39250 __sim_disabled_exceptions_thread.
39251 (__sim_exceptions): Change to __sim_exceptions_thread.
39252 (__sim_disabled_exceptions): Change to
39253 __sim_disabled_exceptions_thread.
39254 (__sim_round_mode): Change to __sim_round_mode_thread.
39255 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39256 thread-local floating-point state and set global state from it as
39257 needed.
39258 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39259 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39260 (__sim_disabled_exceptions): Remove extern declaration.
39261 (feenableexcept): Use thread-local floating-point state and set
39262 global state from it as needed.
39263 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39264 extern declaration.
39265 (__sim_disabled_exceptions): Likewise.
39266 (__sim_round_mode): Likewise.
39267 (__fegetenv): Use thread-local floating-point state.
39268 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39269 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39270 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39271 floating-point state and set global state from it as needed.
39272 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39273 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39274 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39275 Likewise.
39276 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39277 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39278 Likewise.
39279 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39280 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39281 Use __sim_round_mode_thread.
39282 * math/test-fenv-tls.c: New file.
39283 * math/Makefile (tests): Add test-fenv-tls.
39284 ($(objpfx)test-fenv-tls): Depend on
39285 $(common-objpfx)nptl/libpthread.so.
39286
39287 2013-11-19 Andreas Schwab <schwab@suse.de>
39288
39289 * locale/programs/locale.c (show_info): Decode wordarray elements.
39290 * locale/categories.def (LC_MONETARY): Add element for
39291 _NL_MONETARY_CRNCYSTR.
39292 * locale/C-monetary.c (conversion_rate): New variable.
39293 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39294 element.
39295
39296 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
39297
39298 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39299 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39300
39301 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39302
39303 * elf/Makefile (tst-auxv): New test.
39304 * elf/tst-auxv.c: New
39305 * elf/rtld.c (dl_main): Adjust AT_EXECFN
39306
39307 2013-11-18 Joseph Myers <joseph@codesourcery.com>
39308
39309 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39310 (hidden_proto): Caller changed.
39311 (hidden_tls_proto): New macro.
39312 (libc_hidden_tls_proto): Likewise.
39313 (rtld_hidden_tls_proto): Likewise.
39314 (libm_hidden_tls_proto): Likewise.
39315 (libresolv_hidden_tls_proto): Likewise.
39316 (librt_hidden_tls_proto): Likewise.
39317 (libdl_hidden_tls_proto): Likewise.
39318 (libnss_files_hidden_tls_proto): Likewise.
39319 (libnsl_hidden_tls_proto): Likewise.
39320 (libnss_nisplus_hidden_tls_proto): Likewise.
39321 (libutil_hidden_tls_proto): Likewise.
39322
39323 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
39324
39325 [BZ #10253]
39326 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39327 (decompose_rpath): Defer expansion to fillin_rpath.
39328 (_dl_init_paths): Pass linkmap to fillin_rpath.
39329
39330 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39331
39332 * benchtests/Makefile: Add strsep.
39333 * benchtests/bench-strsep.c: New file: strsep benchtest.
39334 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39335
39336 2013-11-18 Andreas Schwab <schwab@suse.de>
39337
39338 * locale/programs/locale.c (show_info) [case byte]: Check for
39339 '\377' instead of '\177'.
39340 * locale/C-monetary.c (not_available): Always use "\377".
39341 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39342 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
39343 detect unavailable sign_posn locale elements.
39344 * locale/localeconv.c (__localeconv): For grouping and
39345 mon_grouping handle "\177" and "\377" like no grouping.
39346 (INT_ELEM): New macro. Use it to set all numeric members.
39347 * locale/programs/ld-monetary.c (monetary_read)
39348 <tok_mon_grouping>: Normalize single -1 to the empty string.
39349 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39350 Likewise.
39351
39352 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
39353
39354 [BZ #16055]
39355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39356 when we match (nil).
39357 * stdio-common/tst-sscanf.c (struct test): Add testcase.
39358
39359 2013-11-16 Joseph Myers <joseph@codesourcery.com>
39360
39361 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39362 (NO_TEST_INLINE): Update value.
39363 (ERRNO_UNCHANGED): Likewise.
39364 (ERRNO_EDOM): Likewise.
39365 (ERRNO_ERANGE): Likewise.
39366 (IGNORE_RESULT): Likewise.
39367 (check_float_internal): Check signs of NaN results if
39368 TEST_NAN_SIGN used.
39369 (check_complex): Pass TEST_NAN_SIGN flag through to second
39370 check_float_internal call.
39371 (copysign_test_data): Add tests with quiet NaNs as second
39372 argument. Use TEST_NAN_SIGN.
39373 (fabs_test_data): Add test of negative quiet NaN argument. Use
39374 TEST_NAN_SIGN.
39375 (signbit_test_data): Add tests of quiet NaN argument.
39376 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39377
39378 * math/gen-libm-test.pl (show_exceptions): Take extra argument
39379 $ignore_result.
39380 (parse_args): Handle function results specified as IGNORE.
39381 * math/libm-test.inc (IGNORE_RESULT): New macro.
39382 (check_float_internal): Do not check numerical result if flag
39383 IGNORE_RESULT set.
39384 (check_complex): Pass through IGNORE_RESULT to second
39385 check_float_internal call.
39386 (check_int): Do not check numerical result if flag IGNORE_RESULT
39387 set.
39388 (check_long): Likewise.
39389 (check_bool): Likewise.
39390 (check_longlong): Likewise.
39391 (lrint_test_data): Add tests of infinite and NaN arguments.
39392 (lrint_tonearest_test_data): Likewise.
39393 (lrint_towardzero_test_data): Likewise.
39394 (lrint_downward_test_data): Likewise.
39395 (lrint_upward_test_data): Likewise.
39396 (llrint_test_data): Likewise.
39397 (llrint_tonearest_test_data): Likewise.
39398 (llrint_towardzero_test_data): Likewise.
39399 (llrint_downward_test_data): Likewise.
39400 (llrint_upward_test_data): Likewise.
39401 (lround_test_data): Likewise.
39402 (llround_test_data): Likewise.
39403
39404 * math/libm-test.inc (NO_TEST_INLINE): New macro.
39405 (ERRNO_UNCHANGED): Update value.
39406 (ERRNO_EDOM): Likewise.
39407 (ERRNO_ERANGE): Likewise.
39408 (NO_TEST_INLINE_FLOAT): New macro.
39409 (NO_TEST_INLINE_DOUBLE): Likewise.
39410 (enable_test): New function.
39411 (RUN_TEST_f_f): Check enable_test before running test.
39412 (RUN_TEST_2_f): Likewise.
39413 (RUN_TEST_fff_f): Likewise.
39414 (RUN_TEST_c_f): Likewise.
39415 (RUN_TEST_f_f1): Likewise.
39416 (RUN_TEST_fF_f1): Likewise.
39417 (RUN_TEST_fI_f1): Likewise.
39418 (RUN_TEST_ffI_f1): Likewise.
39419 (RUN_TEST_c_c): Likewise.
39420 (RUN_TEST_cc_c): Likewise.
39421 (RUN_TEST_f_i): Likewise.
39422 (RUN_TEST_f_i_tg): Likewise.
39423 (RUN_TEST_ff_i_tg): Likewise.
39424 (RUN_TEST_f_b): Likewise.
39425 (RUN_TEST_f_b_tg): Likewise.
39426 (RUN_TEST_f_l): Likewise.
39427 (RUN_TEST_f_L): Likewise.
39428 (RUN_TEST_fFF_11): Likewise.
39429 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39430 conditionals.
39431 (cosh_test_data): Likewise.
39432 (exp_test_data): Likewise.
39433 (expm1_test_data): Likewise.
39434 (hypot_test_data): Likewise.
39435 (pow_test_data): Likewise.
39436 (sinh_test_data): Likewise.
39437 (tanh_test_data): Likewise.
39438 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39439 flags argument.
39440
39441 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39442 tests with quiet NaN input and output.
39443 (acosh_test_data): Likewise.
39444 (asin_test_data): Likewise.
39445 (asinh_test_data): Likewise.
39446 (atan_test_data): Likewise.
39447 (atanh_test_data): Likewise.
39448 (atan2_test_data): Likewise.
39449 (cbrt_test_data): Likewise.
39450 (cos_test_data): Likewise.
39451 (cosh_test_data): Likewise.
39452 (erf_test_data): Likewise.
39453 (erfc_test_data): Likewise.
39454 (exp_test_data): Likewise.
39455 (exp10_test_data): Likewise.
39456 (exp2_test_data): Likewise.
39457 (expm1_test_data): Likewise.
39458 (hypot_test_data): Likewise.
39459 (j0_test_data): Likewise.
39460 (j1_test_data): Likewise.
39461 (jn_test_data): Likewise.
39462 (lgamma_test_data): Likewise.
39463 (log_test_data): Likewise.
39464 (log10_test_data): Likewise.
39465 (log1p_test_data): Likewise.
39466 (log2_test_data): Likewise.
39467 (pow_test_data): Likewise.
39468 (scalb_test_data): Likewise.
39469 (sin_test_data): Likewise.
39470 (sincos_test_data): Likewise.
39471 (sinh_test_data): Likewise.
39472 (tan_test_data): Likewise.
39473 (tanh_test_data): Likewise.
39474 (tgamma_test_data): Likewise.
39475 (y0_test_data): Likewise.
39476 (y1_test_data): Likewise.
39477 (yn_test_data): Likewise.
39478
39479 [BZ #16167]
39480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39481 argument being NaN and avoid computations with second argument in
39482 that case.
39483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39484 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39485 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39486
39487 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
39488
39489 * locale/iso-639.def: Add Chitwani Tharu (the).
39490
39491 2013-11-14 Andreas Schwab <schwab@suse.de>
39492
39493 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39494 word instead of empty string.
39495
39496 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39497
39498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39499 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39501 (__fe_nomask_env): Likewise.
39502
39503 2013-11-13 Steve Ellcey <sellcey@mips.com>
39504
39505 * benchtests/bench-timing.h: Include time.h.
39506
39507 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
39508
39509 [BZ #15997]
39510 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39511 to 3.4.0 for x32.
39512 * sysdeps/unix/sysv/linux/configure: Regenerated.
39513
39514 2013-11-13 Joseph Myers <joseph@codesourcery.com>
39515
39516 [BZ #16151]
39517 * stdlib/strtod_l.c (round_and_return): Do not consider
39518 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39519 exponent one less than half the least subnormal exponent.
39520 * stdlib/test-strtod-round-data: Add more tests.
39521 * stdlib/tst-strtod-round.c (tests): Regenerated.
39522
39523 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39524
39525 [BZ #14143]
39526 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39527 (__fe_mask_env): Likewise.
39528 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39529 libm_hidden_proto and add function prototype.
39530 (__fe_mask_env): Add function prototype.
39531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39532 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39534 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39536 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39537
39538 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39539
39540 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39541 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39542
39543 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39544
39545 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39546 of htab_find_slot().
39547
39548 2013-11-11 David S. Miller <davem@davemloft.net>
39549
39550 [BZ #16150]
39551 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39552 symbol in the non-vis3 case in static builds.
39553 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39554 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39555 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39556 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39557
39558 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
39559
39560 [BZ #387]
39561 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39562 it is empty.
39563
39564 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39565
39566 * benchtests/Makefile: Add bench-strtod.
39567 * benchtests/bench-strtod.c: New file: strtod benchtest
39568
39569 2013-11-11 Andreas Schwab <schwab@suse.de>
39570
39571 [BZ #16153]
39572 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39573 terminating NUL in key length.
39574
39575 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39576
39577 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39578 Add artificial ODP entry for vDSO symbol for PPC64.
39579 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39580 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39581
39582 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
39583
39584 [BZ #15374]
39585 * nss/getent.c (services_keys): Recognize services starting with digit.
39586
39587 2013-11-06 David S. Miller <davem@davemloft.net>
39588
39589 [BZ #15985]
39590 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39591 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39592
39593 2013-11-06 Will Newton <will.newton@linaro.org>
39594
39595 * manual/memory.texi (Malloc Examples): Remove register
39596 keyword from examples.
39597
39598 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
39599
39600 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39601
39602 2013-11-04 Joseph Myers <joseph@codesourcery.com>
39603
39604 [BZ #6981]
39605 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39606 depending on [__GCC_IEC_559 > 0].
39607 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39608 depending on [__GCC_IEC_559_COMPLEX > 0].
39609
39610 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
39611
39612 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39613 to iso-639.def.
39614
39615 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
39616
39617 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39618
39619 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
39620
39621 [BZ #16112]
39622 * malloc/malloc (malloc_info): Do not handle first bin as
39623 special case.
39624
39625 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
39626
39627 * locale/iso-639.def: Add Central Nahuatl (nhn).
39628
39629 2013-11-01 Bruno Haible <bruno@clisp.org>
39630
39631 [BZ #7003]
39632 * manual/math.texi (BSD Random): Specify range upper bound as
39633 in POSIX.
39634
39635 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
39636
39637 * locale/iso-639.def: Add Meadow Mari (mhr).
39638
39639 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
39640
39641 [BZ #14752], [BZ #15763]
39642 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39643 Validate name.
39644 * rt/tst_shm.c: Add test for escaping directory.
39645
39646 2013-10-31 Andreas Schwab <schwab@suse.de>
39647
39648 [BZ #15917]
39649 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39650 followed by 'x' as part of digit sequence.
39651 * stdio-common/tst-sscanf.c (double_tests2): New tests.
39652
39653 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39654
39655 [BZ #16037]
39656 * configure.ac: allow GNU Make 4.0 and greater.
39657 * configure: Regenerated.
39658
39659 2013-10-30 Will Newton <will.newton@linaro.org>
39660
39661 [BZ #16038]
39662 * malloc/hooks.c (memalign_check): Limit alignment to the
39663 maximum representable power of two.
39664 * malloc/malloc.c (__libc_memalign): Likewise.
39665 * malloc/tst-memalign.c (do_test): Add test for very
39666 large alignment values.
39667 * malloc/tst-posix_memalign.c (do_test): Likewise.
39668
39669 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
39670
39671 [BZ #11087]
39672 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39673 (munmap_chunk): Likewise.
39674 (mremap_chunk): Likewise.
39675
39676 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
39677
39678 [BZ #15799]
39679 * stdlib/div.c (div): Remove obsolete code.
39680 * stdlib/ldiv.c (ldiv): Likewise.
39681 * stdlib/lldiv.c (lldiv): Likewise.
39682
39683 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39684
39685 [BZ #16071]
39686 * nss/nss_files/files-XXX.c (get_contents_ret): New
39687 enumerator.
39688 (get_contents): New function.
39689 (internal_getent): Use it. Expand size of LINEBUFLEN.
39690
39691 2013-10-30 Mike Frysinger <vapier@gentoo.org>
39692
39693 * configure.in: Moved to ...
39694 * configure.ac: ... here. Change reference to configure.in
39695 to configure.ac.
39696 * sysdeps/arm/preconfigure.ac: ... here.
39697 configure.in to configure.ac.
39698 * sysdeps/gnu/configure.in: Moved to ...
39699 * sysdeps/gnu/configure.ac: ... here.
39700 * sysdeps/i386/configure.in: Moved to ...
39701 * sysdeps/i386/configure.ac: ... here.
39702 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39703 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39704 * sysdeps/mach/configure.in: Moved to ...
39705 * sysdeps/mach/configure.ac: ... here.
39706 * sysdeps/mach/hurd/configure.in: Moved to ...
39707 * sysdeps/mach/hurd/configure.ac: ... here.
39708 * sysdeps/powerpc/configure.in: Moved to ...
39709 * sysdeps/powerpc/configure.ac: ... here.
39710 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39711 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39712 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39713 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39714 * sysdeps/s390/s390-32/configure.in: Moved to ...
39715 * sysdeps/s390/s390-32/configure.ac: ... here.
39716 * sysdeps/s390/s390-64/configure.in: Moved to ...
39717 * sysdeps/s390/s390-64/configure.ac: ... here.
39718 * sysdeps/sh/configure.in: Moved to ...
39719 * sysdeps/sh/configure.ac: ... here.
39720 * sysdeps/sparc/configure.in: Moved to ...
39721 * sysdeps/sparc/configure.ac: ... here.
39722 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39723 * sysdeps/unix/sysv/linux/configure.ac: ... here.
39724 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39725 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39726 * sysdeps/x86_64/configure.in: Moved to ...
39727 * sysdeps/x86_64/configure.ac: ... here.
39728 * sysdeps/x86_64/preconfigure.in: Moved to ...
39729 * sysdeps/x86_64/preconfigure.ac: ... here.
39730 * aclocal.m4: Change reference to configure.in to configure.ac.
39731 * config.h.in: Likewise.
39732 * manual/install.texi: Likewise.
39733 * manual/maint.texi: Likewise.
39734 * Makefile: Likewise.
39735 * malloc/Makefile: Likewise.
39736 * nscd/Makefile: Likewise.
39737 * Makeconfig: Change reference to configure.in and
39738 preconfigure.in to configure.ac and preconfigure.ac
39739 respectively.
39740 * INSTALL: Regenerated.
39741 * configure: Likewise.
39742 * sysdeps/gnu/configure: Likewise.
39743 * sysdeps/i386/configure: Likewise.
39744 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39745 * sysdeps/mach/configure: Likewise.
39746 * sysdeps/mach/hurd/configure: Likewise.
39747 * sysdeps/powerpc/configure: Likewise.
39748 * sysdeps/powerpc/powerpc32/configure: Likewise.
39749 * sysdeps/powerpc/powerpc64/configure: Likewise.
39750 * sysdeps/s390/s390-32/configure: Likewise.
39751 * sysdeps/s390/s390-64/configure: Likewise.
39752 * sysdeps/sh/configure: Likewise.
39753 * sysdeps/sparc/configure: Likewise.
39754 * sysdeps/unix/sysv/linux/configure: Likewise.
39755 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39756 * sysdeps/x86_64/configure: Likewise.
39757 * sysdeps/x86_64/preconfigure: Likewise.
39758
39759 2013-10-29 Andreas Schwab <schwab@suse.de>
39760
39761 * stdio-common/Makefile (tst-swscanf-ENV): Define.
39762
39763 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39764
39765 * benchtests/pow-inputs: Add new inputs.
39766
39767 * benchtests/exp-inputs: Add new inputs.
39768
39769 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39770 conditional check for return value.
39771 (__cos32): Likewise.
39772
39773 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39774
39775 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39776 to provide a boost for large inputs with word alignment.
39777 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39778 implementation based on optimized PPC64 strcpy.
39779 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39780 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39781 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39782 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39783
39784 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
39785
39786 [BZ #2801]
39787 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39788
39789 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
39790
39791 [BZ #14876]
39792 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39793 * time/tst-strptime.c (day_tests): Add testcase.
39794
39795 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
39796
39797 [BZ #14029]
39798 * manual/pattern.texi: Acknowledge that fnmatch can fail.
39799
39800 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
39801
39802 [BZ #16074]
39803 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39804 MAP_FAILED on error.
39805
39806 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39807
39808 [BZ #16072]
39809 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39810 heap for large requests.
39811
39812 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
39813
39814 [BZ #9954]
39815 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39816 result if the result has no associated interface.
39817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39818 interface for all 127.X.Y.Z addresses.
39819
39820 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
39821
39822 * locale/iso-639.def: Add Ligurian (lij)
39823
39824 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
39825
39826 [BZ #15825]
39827 * sunrpc/rpc_main.c: Document rpcgen -5.
39828
39829 2013-10-19 Michael Stahl <mstahl@redhat.com>
39830
39831 * elf/rtld.c (do_preload): Print the reason why preloading failed.
39832
39833 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
39834
39835 [BZ #10278]
39836 * posix/glob.c: Match only directories when trailing slash is present.
39837 * posix/tst-gnuglob.c (my_opendir): Do not open files.
39838 (main): Add testcase.
39839
39840 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
39841
39842 [BZ #15670]
39843 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39844
39845 2013-10-18 Carlos O'Donell <carlos@redhat.com>
39846
39847 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39848 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39849 AUTH_DES and cindex for FIPS 140-2.
39850 (DES Encryption): Add cindex FIPS 46-3.
39851
39852 * locale/locarchive.h (struct locarhandle): Add fname.
39853 * locale/programs/localedef.c (main): Pass ARGV[remaining]
39854 if an optional argument was specified to --list-archive,
39855 otherwise NULL.
39856 * locale/programs/locarchive.c (show_archive_content): Take new
39857 argument fname and pass it via ah.fname to open_archive.
39858 * locale/programs/localedef.h: Update decl.
39859 (open_archive): If AH->fname is non-null, open that file
39860 rather than the default file name, and don't ignore ENOENT.
39861 (create_archive): Set AH.fname to NULL.
39862 (delete_locales_from_archive): Likewise.
39863 (add_locales_to_archive): Likewise.
39864 * locale/programs/locfile.c (write_all_categories): Likewise.
39865
39866 2013-10-18 Joseph Myers <joseph@codesourcery.com>
39867 Aldy Hernandez <aldyh@redhat.com>
39868
39869 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39870 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39871 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39872 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39873 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39876 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39877 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39878 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39880 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39882 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39883 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39884 Likewise.
39885 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39886 Likewise.
39887 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39888 Likewise.
39889 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39890 Likewise.
39891 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39892 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39893 Likewise.
39894 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39895 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39896 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39897 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39898 Likewise.
39899 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39900 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39901 * sysdeps/powerpc/preconfigure: Likewise.
39902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39903 Likewise.
39904 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39905 Replace contents of file by #include of <fenv_libc.h>.
39906 * sysdeps/powerpc/soft-fp/sfp-machine.h
39907 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39908 and <sys/prctl.h>.
39909 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39922 Allow copysignl PLT reference to be missing.
39923
39924 2013-10-18 Richard Sandiford <richard@codesourcery.com>
39925 Joseph Myers <joseph@codesourcery.com
39926
39927 [BZ #15948]
39928 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39929 single character.
39930 (add_to_tablewc): Assert sequence of wide characters is nonempty.
39931
39932 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39933
39934 * elf/tst-tls-dlinfo.c: Don't include tls.h.
39935 * elf/tst-tls1.c: Likewise.
39936 * elf/tst-tls10.h: Likewise.
39937 * elf/tst-tls14.c: Likewise.
39938 * elf/tst-tls2.c: Likewise.
39939 * elf/tst-tls3.c: Likewise.
39940 * elf/tst-tls4.c: Likewise.
39941 * elf/tst-tls5.c: Likewise.
39942 * elf/tst-tls6.c: Likewise.
39943 * elf/tst-tls7.c: Likewise.
39944 * elf/tst-tls8.c: Likewise.
39945 * elf/tst-tls9.c: Likewise.
39946 * elf/tst-tlsmod1.c: Likewise.
39947 * elf/tst-tlsmod13.c: Likewise.
39948 * elf/tst-tlsmod13a.c: Likewise.
39949 * elf/tst-tlsmod14a.c: Likewise.
39950 * elf/tst-tlsmod16a.c: Likewise.
39951 * elf/tst-tlsmod16b.c: Likewise.
39952 * elf/tst-tlsmod2.c: Likewise.
39953 * elf/tst-tlsmod3.c: Likewise.
39954 * elf/tst-tlsmod4.c: Likewise.
39955 * elf/tst-tlsmod5.c: Likewise.
39956 * elf/tst-tlsmod6.c: Likewise.
39957
39958 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
39959
39960 [BZ #12486]
39961 * malloc/malloc.c: remove checks for statistics.
39962
39963 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
39964
39965 [BZ #15277]
39966 * inet/inet_net.c (inet_network): Detect additional invalid strings.
39967 * inet/tst-network.c: Add testcase.
39968
39969 2013-10-17 Andreas Schwab <schwab@suse.de>
39970
39971 [BZ #15218]
39972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39973 to determine canonical name.
39974
39975 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
39976
39977 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39978 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40001 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40035
40036 2013-10-17 Joseph Myers <joseph@codesourcery.com>
40037
40038 [BZ #16041]
40039 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40040 make result into a quiet NaN.
40041
40042 2013-10-16 Joseph Myers <joseph@codesourcery.com>
40043
40044 * soft-fp/adddf3.c: Fix horizontal whitespace.
40045 * soft-fp/addsf3.c: Likewise.
40046 * soft-fp/addtf3.c: Likewise.
40047 * soft-fp/divdf3.c: Likewise.
40048 * soft-fp/divsf3.c: Likewise.
40049 * soft-fp/divtf3.c: Likewise.
40050 * soft-fp/double.h: Likewise.
40051 * soft-fp/eqdf2.c: Likewise.
40052 * soft-fp/eqsf2.c: Likewise.
40053 * soft-fp/eqtf2.c: Likewise.
40054 * soft-fp/extenddftf2.c: Likewise.
40055 * soft-fp/extended.h: Likewise.
40056 * soft-fp/extendsfdf2.c: Likewise.
40057 * soft-fp/extendsftf2.c: Likewise.
40058 * soft-fp/extendxftf2.c: Likewise.
40059 * soft-fp/fixdfdi.c: Likewise.
40060 * soft-fp/fixdfsi.c: Likewise.
40061 * soft-fp/fixdfti.c: Likewise.
40062 * soft-fp/fixsfdi.c: Likewise.
40063 * soft-fp/fixsfsi.c: Likewise.
40064 * soft-fp/fixsfti.c: Likewise.
40065 * soft-fp/fixtfdi.c: Likewise.
40066 * soft-fp/fixtfsi.c: Likewise.
40067 * soft-fp/fixtfti.c: Likewise.
40068 * soft-fp/fixunsdfdi.c: Likewise.
40069 * soft-fp/fixunsdfsi.c: Likewise.
40070 * soft-fp/fixunsdfti.c: Likewise.
40071 * soft-fp/fixunssfdi.c: Likewise.
40072 * soft-fp/fixunssfsi.c: Likewise.
40073 * soft-fp/fixunssfti.c: Likewise.
40074 * soft-fp/fixunstfdi.c: Likewise.
40075 * soft-fp/fixunstfsi.c: Likewise.
40076 * soft-fp/fixunstfti.c: Likewise.
40077 * soft-fp/floatdidf.c: Likewise.
40078 * soft-fp/floatdisf.c: Likewise.
40079 * soft-fp/floatditf.c: Likewise.
40080 * soft-fp/floatsidf.c: Likewise.
40081 * soft-fp/floatsisf.c: Likewise.
40082 * soft-fp/floatsitf.c: Likewise.
40083 * soft-fp/floattidf.c: Likewise.
40084 * soft-fp/floattisf.c: Likewise.
40085 * soft-fp/floattitf.c: Likewise.
40086 * soft-fp/floatundidf.c: Likewise.
40087 * soft-fp/floatundisf.c: Likewise.
40088 * soft-fp/floatunditf.c: Likewise.
40089 * soft-fp/floatunsidf.c: Likewise.
40090 * soft-fp/floatunsisf.c: Likewise.
40091 * soft-fp/floatunsitf.c: Likewise.
40092 * soft-fp/floatuntidf.c: Likewise.
40093 * soft-fp/floatuntisf.c: Likewise.
40094 * soft-fp/floatuntitf.c: Likewise.
40095 * soft-fp/fmadf4.c: Likewise.
40096 * soft-fp/fmasf4.c: Likewise.
40097 * soft-fp/fmatf4.c: Likewise.
40098 * soft-fp/gedf2.c: Likewise.
40099 * soft-fp/gesf2.c: Likewise.
40100 * soft-fp/getf2.c: Likewise.
40101 * soft-fp/ledf2.c: Likewise.
40102 * soft-fp/lesf2.c: Likewise.
40103 * soft-fp/letf2.c: Likewise.
40104 * soft-fp/muldf3.c: Likewise.
40105 * soft-fp/mulsf3.c: Likewise.
40106 * soft-fp/multf3.c: Likewise.
40107 * soft-fp/negdf2.c: Likewise.
40108 * soft-fp/negsf2.c: Likewise.
40109 * soft-fp/negtf2.c: Likewise.
40110 * soft-fp/op-1.h: Likewise.
40111 * soft-fp/op-2.h: Likewise.
40112 * soft-fp/op-4.h: Likewise.
40113 * soft-fp/op-8.h: Likewise.
40114 * soft-fp/op-common.h: Likewise.
40115 * soft-fp/quad.h: Likewise.
40116 * soft-fp/single.h: Likewise.
40117 * soft-fp/soft-fp.h: Likewise.
40118 * soft-fp/sqrtdf2.c: Likewise.
40119 * soft-fp/sqrtsf2.c: Likewise.
40120 * soft-fp/sqrttf2.c: Likewise.
40121 * soft-fp/subdf3.c: Likewise.
40122 * soft-fp/subsf3.c: Likewise.
40123 * soft-fp/subtf3.c: Likewise.
40124 * soft-fp/truncdfsf2.c: Likewise.
40125 * soft-fp/trunctfdf2.c: Likewise.
40126 * soft-fp/trunctfsf2.c: Likewise.
40127 * soft-fp/trunctfxf2.c: Likewise.
40128 * soft-fp/unorddf2.c: Likewise.
40129 * soft-fp/unordsf2.c: Likewise.
40130 * soft-fp/unordtf2.c: Likewise.
40131
40132 2013-10-15 Joseph Myers <joseph@codesourcery.com>
40133
40134 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40135 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40136
40137 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
40138
40139 * elf/dl-libc.c: Clear initfini list after freeing.
40140
40141 2013-10-14 Joseph Myers <joseph@codesourcery.com>
40142
40143 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40144 * soft-fp/addsf3.c: Likewise.
40145 * soft-fp/addtf3.c: Likewise.
40146 * soft-fp/divdf3.c: Likewise.
40147 * soft-fp/divsf3.c: Likewise.
40148 * soft-fp/divtf3.c: Likewise.
40149 * soft-fp/double.h: Likewise.
40150 * soft-fp/eqdf2.c: Likewise.
40151 * soft-fp/eqsf2.c: Likewise.
40152 * soft-fp/eqtf2.c: Likewise.
40153 * soft-fp/extenddftf2.c: Likewise.
40154 * soft-fp/extended.h: Likewise.
40155 * soft-fp/extendsfdf2.c: Likewise.
40156 * soft-fp/extendsftf2.c: Likewise.
40157 * soft-fp/extendxftf2.c: Likewise.
40158 * soft-fp/fixdfdi.c: Likewise.
40159 * soft-fp/fixdfsi.c: Likewise.
40160 * soft-fp/fixdfti.c: Likewise.
40161 * soft-fp/fixsfdi.c: Likewise.
40162 * soft-fp/fixsfsi.c: Likewise.
40163 * soft-fp/fixsfti.c: Likewise.
40164 * soft-fp/fixtfdi.c: Likewise.
40165 * soft-fp/fixtfsi.c: Likewise.
40166 * soft-fp/fixtfti.c: Likewise.
40167 * soft-fp/fixunsdfdi.c: Likewise.
40168 * soft-fp/fixunsdfsi.c: Likewise.
40169 * soft-fp/fixunsdfti.c: Likewise.
40170 * soft-fp/fixunssfdi.c: Likewise.
40171 * soft-fp/fixunssfsi.c: Likewise.
40172 * soft-fp/fixunssfti.c: Likewise.
40173 * soft-fp/fixunstfdi.c: Likewise.
40174 * soft-fp/fixunstfsi.c: Likewise.
40175 * soft-fp/fixunstfti.c: Likewise.
40176 * soft-fp/floatdidf.c: Likewise.
40177 * soft-fp/floatdisf.c: Likewise.
40178 * soft-fp/floatditf.c: Likewise.
40179 * soft-fp/floatsidf.c: Likewise.
40180 * soft-fp/floatsisf.c: Likewise.
40181 * soft-fp/floatsitf.c: Likewise.
40182 * soft-fp/floattidf.c: Likewise.
40183 * soft-fp/floattisf.c: Likewise.
40184 * soft-fp/floattitf.c: Likewise.
40185 * soft-fp/floatundidf.c: Likewise.
40186 * soft-fp/floatundisf.c: Likewise.
40187 * soft-fp/floatunsidf.c: Likewise.
40188 * soft-fp/floatunsisf.c: Likewise.
40189 * soft-fp/floatuntidf.c: Likewise.
40190 * soft-fp/floatuntisf.c: Likewise.
40191 * soft-fp/floatuntitf.c: Likewise.
40192 * soft-fp/fmadf4.c: Likewise.
40193 * soft-fp/fmasf4.c: Likewise.
40194 * soft-fp/fmatf4.c: Likewise.
40195 * soft-fp/gedf2.c: Likewise.
40196 * soft-fp/gesf2.c: Likewise.
40197 * soft-fp/getf2.c: Likewise.
40198 * soft-fp/ledf2.c: Likewise.
40199 * soft-fp/lesf2.c: Likewise.
40200 * soft-fp/letf2.c: Likewise.
40201 * soft-fp/muldf3.c: Likewise.
40202 * soft-fp/mulsf3.c: Likewise.
40203 * soft-fp/multf3.c: Likewise.
40204 * soft-fp/negdf2.c: Likewise.
40205 * soft-fp/negsf2.c: Likewise.
40206 * soft-fp/negtf2.c: Likewise.
40207 * soft-fp/op-1.h: Likewise.
40208 * soft-fp/op-2.h: Likewise.
40209 * soft-fp/op-4.h: Likewise.
40210 * soft-fp/op-8.h: Likewise.
40211 * soft-fp/op-common.h: Likewise.
40212 * soft-fp/quad.h: Likewise.
40213 * soft-fp/single.h: Likewise.
40214 * soft-fp/soft-fp.h: Likewise.
40215 * soft-fp/sqrtdf2.c: Likewise.
40216 * soft-fp/sqrtsf2.c: Likewise.
40217 * soft-fp/sqrttf2.c: Likewise.
40218 * soft-fp/subdf3.c: Likewise.
40219 * soft-fp/subsf3.c: Likewise.
40220 * soft-fp/subtf3.c: Likewise.
40221 * soft-fp/truncdfsf2.c: Likewise.
40222 * soft-fp/trunctfdf2.c: Likewise.
40223 * soft-fp/trunctfsf2.c: Likewise.
40224 * soft-fp/trunctfxf2.c: Likewise.
40225 * soft-fp/unorddf2.c: Likewise.
40226 * soft-fp/unordsf2.c: Likewise.
40227 * soft-fp/unordtf2.c: Likewise.
40228
40229 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
40230
40231 [BZ #15672]
40232 * misc/error.c (error_tail): Fix possible buffer overflow.
40233
40234 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
40235
40236 [BZ #13028]
40237 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40238 address.
40239
40240 2013-10-14 P. J. McDermott <pj@pehjota.net>
40241
40242 [BZ #832]
40243 * elf/ldd.bash.in (try_trace): New function. Delete previous code
40244 testing pipefail option.
40245
40246 2013-10-12 Joseph Myers <joseph@codesourcery.com>
40247
40248 * soft-fp/double.h: Indent preprocessor directives inside #if.
40249 * soft-fp/extended.h: Likewise.
40250 * soft-fp/op-2.h: Likewise.
40251 * soft-fp/op-4.h: Likewise.
40252 * soft-fp/op-common.h: Likewise.
40253 * soft-fp/quad.h: Likewise.
40254 * soft-fp/single.h: Likewise.
40255 * soft-fp/soft-fp.h: Likewise.
40256
40257 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
40258
40259 * iconv/iconv_prog.c: Fix typos.
40260 * stdio-common/psiginfo-data.h: Likewise.
40261
40262 2013-10-12 Reuben Thomas <rrt@sc3d.org>
40263
40264 [BZ #15764]
40265 * locale/setlocale.c: Fix typo.
40266
40267 2013-10-12 Joseph Myers <joseph@codesourcery.com>
40268
40269 [BZ #16036]
40270 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40271 signaling NaN arguments.
40272 * soft-fp/unordsf2.c (__unordsf2): Likewise.
40273 * soft-fp/unordtf2.c (__unordtf2): Likewise.
40274
40275 [BZ #14910]
40276 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40277 unordered operands.
40278 * soft-fp/gesf2.c (__gesf2): Likewise.
40279 * soft-fp/getf2.c (__getf2): Likewise.
40280 * soft-fp/ledf2.c (__ledf2): Likewise.
40281 * soft-fp/lesf2.c (__lesf2): Likewise.
40282 * soft-fp/letf2.c (__letf2): Likewise.
40283
40284 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40285 * soft-fp/eqsf2.c (__eqsf2): Likewise.
40286 * soft-fp/eqtf2.c (__eqtf2): Likewise.
40287 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40288 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40289 * soft-fp/fixdfti.c (__fixdfti): Likewise.
40290 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40291 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40292 * soft-fp/fixsfti.c (__fixsfti): Likewise.
40293 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40294 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40295 * soft-fp/fixtfti.c (__fixtfti): Likewise.
40296 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40297 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40298 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40299 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40300 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40301 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40302 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40303 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40304 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40305 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40306 * soft-fp/floatdisf.c (__floatdisf): Likewise.
40307 * soft-fp/floatsisf.c (__floatsisf): Likewise.
40308 * soft-fp/floattidf.c (__floattidf): Likewise.
40309 * soft-fp/floattisf.c (__floattisf): Likewise.
40310 * soft-fp/floattitf.c (__floattitf): Likewise.
40311 * soft-fp/floatundidf.c (__floatundidf): Likewise.
40312 * soft-fp/floatundisf.c (__floatundisf): Likewise.
40313 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40314 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40315 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40316 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40317 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40318 * soft-fp/gesf2.c (__gesf2): Likewise.
40319 * soft-fp/getf2.c (__getf2): Likewise.
40320 * soft-fp/ledf2.c (__ledf2): Likewise.
40321 * soft-fp/lesf2.c (__lesf2): Likewise.
40322 * soft-fp/letf2.c (__letf2): Likewise.
40323
40324 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40325 Undefine and redefine.
40326 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40327 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40328 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40329 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40330 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40331 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40332 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40333 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40334 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40335 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40336 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40337 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40338 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40339 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40340 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40341
40342 [BZ #16032]
40343 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40344 without decrementing exponent if mantissa >= that for the
40345 denominator, not >.
40346 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40347 denominator, not >. Decrement exponent in < case instead of
40348 incrementing in >= case.
40349 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40350 without decrementing exponent if mantissa >= that for the
40351 denominator, not >.
40352
40353 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40354 computing saturated result for unsigned overflow.
40355
40356 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40357 Jeff Law <law@redhat.com>
40358
40359 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40360 (atan2Mp): Add systemtap probe marker.
40361 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40362 (__ieee754_log): Add systemtap probe marker.
40363 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40364 (atanMp): Add systemtap probe marker.
40365 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40366 (tanMp): Add systemtap probe marker.
40367 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40368 (__slowexp): Add systemtap probe marker.
40369 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40370 (__slowpow): Add systemtap probe marker.
40371 * manual/probes.texi: Document probes.
40372
40373 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
40374
40375 [BZ #15362]
40376 * libio/fileops.c (_IO_new_file_write): Return count of bytes
40377 written.
40378 (_IO_new_file_xsputn): Don't return EOF if nothing has been
40379 written.
40380 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40381 written to buffer but not flushed.
40382 * libio/iofwrite_u.c: Likewise.
40383 * libio/iopadn.c: Return bytes returned even if EOF was
40384 encountered.
40385 * libio/iowpadn.c: Likewise.
40386 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40387 if _IO_padn does not write the whole buffer.
40388 [!COMPILE_WPRINTF] (PAD): Likewise.
40389
40390 2013-10-10 David S. Miller <davem@davemloft.net>
40391
40392 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40393 directory block.
40394
40395 2013-10-10 Joseph Myers <joseph@codesourcery.com>
40396
40397 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
40398 instead of FSF address.
40399 * soft-fp/fixdfti.c: Likewise.
40400 * soft-fp/fixsfti.c: Likewise.
40401 * soft-fp/fixtfti.c: Likewise.
40402 * soft-fp/fixunsdfti.c: Likewise.
40403 * soft-fp/fixunssfti.c: Likewise.
40404 * soft-fp/fixunstfti.c: Likewise.
40405 * soft-fp/floattidf.c: Likewise.
40406 * soft-fp/floattisf.c: Likewise.
40407 * soft-fp/floattitf.c: Likewise.
40408 * soft-fp/floatuntidf.c: Likewise.
40409 * soft-fp/floatuntisf.c: Likewise.
40410 * soft-fp/floatuntitf.c: Likewise.
40411 * soft-fp/trunctfxf2.c: Likewise.
40412
40413 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
40414 * soft-fp/fixdfti.c: Likewise.
40415 * soft-fp/fixsfti.c: Likewise.
40416 * soft-fp/fixtfti.c: Likewise.
40417 * soft-fp/fixunsdfti.c: Likewise.
40418 * soft-fp/fixunssfti.c: Likewise.
40419 * soft-fp/fixunstfti.c: Likewise.
40420 * soft-fp/floattidf.c: Likewise.
40421 * soft-fp/floattisf.c: Likewise.
40422 * soft-fp/floattitf.c: Likewise.
40423 * soft-fp/floatuntidf.c: Likewise.
40424 * soft-fp/floatuntisf.c: Likewise.
40425 * soft-fp/floatuntitf.c: Likewise.
40426 * soft-fp/trunctfxf2.c: Likewise.
40427
40428 2013-10-10 David S. Miller <davem@davemloft.net>
40429
40430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40431
40432 2013-10-10 Joseph Myers <joseph@codsourcery.com>
40433
40434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40435 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40436 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40437 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40438 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40439 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40440 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40441
40442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40443 for NaNs before doing comparisons on argument.
40444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40445 Likewise.
40446
40447 2013-10-10 Will Newton <will.newton@linaro.org>
40448
40449 * malloc/hooks.c (memalign_check): Ensure the value of bytes
40450 passed to _int_memalign does not overflow.
40451
40452 2013-10-10 Torvald Riegel <triegel@redhat.com>
40453
40454 * scripts/bench.pl: Add include-sources directive.
40455 * benchtests/README: Update documentation.
40456
40457 2013-10-10 Joseph Myers <joseph@codesourcery.com>
40458
40459 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40460 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40461 instead of FP_INIT_ROUNDMODE.
40462 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40463 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40464
40465 [BZ #16034]
40466 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
40467 copy class of input value.
40468 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
40469 not handle exceptions.
40470 * soft-fp/negsf2.c (__negsf2): Likewise.
40471 * soft-fp/negtf2.c (__negtf2): Likewise.
40472 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40473
40474 2013-10-09 Joseph Myers <joseph@codesourcery.com>
40475
40476 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40477 semicolon. From Linux kernel.
40478
40479 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
40480
40481 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40482
40483 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
40484
40485 [BZ #156]
40486 * manual/socket.texi: Added statement about buffer
40487 for gethostbyname2_r.
40488
40489 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
40490
40491 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40492 Use .p2align directive instead, throughout.
40493 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40494 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40498 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40499 * sysdeps/x86_64/strchr.S: Likewise.
40500 * sysdeps/x86_64/strrchr.S: Likewise.
40501
40502 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40503
40504 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40505
40506 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40507
40508 * sysdeps/generic/math_private.h (__mpsin1): Remove
40509 declaration.
40510 (__mpcos1): Likewise.
40511 (__mpsin): New argument __range_reduce.
40512 (__mpcos): Likewise.
40513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40514 (slow): Use __mpsin and __mpcos.
40515 (slow1): Likewise.
40516 (slow2): Likewise.
40517 (sloww): Likewise.
40518 (sloww1): Likewise.
40519 (sloww2): Likewise.
40520 (bsloww): Likewise.
40521 (bsloww1): Likewise.
40522 (bsloww2): Likewise.
40523 (cslow2): Likewise.
40524 (csloww): Likewise.
40525 (csloww1): Likewise.
40526 (csloww2): Likewise.
40527 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40528 range_reduce. Merge in __mpsin1.
40529 (__mpcos): Likewise.
40530 (__mpsin1): Remove.
40531 (__mpcos1): Likewise.
40532
40533 2013-10-07 Joseph Myers <joseph@codesourcery.com>
40534
40535 * locale/loadlocale.c (_nl_intern_locale_data): Use
40536 LOCFILE_ALIGNED_P.
40537 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40538 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40539 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40540 obstack data is appropriately aligned.
40541 (obstack_int32_grow_fast): Likewise.
40542 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40543 * locale/programs/locfile.c (add_locale_uint32): Likewise.
40544 (add_locale_uint32_array): Likewise.
40545
40546 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40547
40548 * benchtests/Makefile: Remove ARGLIST and RET variables.
40549 ($(objpfx)bench-%.c): Pass only function name to the script.
40550 * benchtests/README: Update documentation.
40551 * benchtests/acos-inputs: Add new directives.
40552 * benchtests/acosh-inputs: Likewise.
40553 * benchtests/asin-inputs: Likewise.
40554 * benchtests/asinh-inputs: Likewise.
40555 * benchtests/atan-inputs: Likewise.
40556 * benchtests/atanh-inputs: Likewise.
40557 * benchtests/cos-inputs: Likewise.
40558 * benchtests/cosh-inputs: Likewise.
40559 * benchtests/exp-inputs: Likewise.
40560 * benchtests/log-inputs: Likewise.
40561 * benchtests/pow-inputs: Likewise.
40562 * benchtests/rint-inputs: Likewise.
40563 * benchtests/sin-inputs: Likewise.
40564 * benchtests/sinh-inputs: Likewise.
40565 * benchtests/tan-inputs: Likewise.
40566 * benchtests/tanh-inputs: Likewise.
40567 * scripts/bench.pl: Add support for new directives.
40568
40569 2013-10-07 Alan Modra <amodra@gmail.com>
40570
40571 * README: Fix careless merge.
40572
40573 2013-10-05 Alan Modra <amodra@gmail.com>
40574
40575 * NEWS: Mention powerpc64le support and bugs fixed.
40576 * README: Both big-endian and little-endian powerpc64 supported.
40577
40578 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40579
40580 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40581 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40582 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40583 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40584
40585 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
40586
40587 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40588 match prototype.
40589
40590 2013-10-04 Joseph Myers <joseph@codesourcery.com>
40591
40592 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40593 Move -mhard-float appending from
40594 ports/sysdeps/powerpc/powerpc32/Makefile.
40595 [$(with-fp) = yes] (ASFLAGS): Likewise.
40596 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40597 * sysdeps/powerpc/nofpu: Move directory from
40598 ports/sysdeps/powerpc/nofpu.
40599 * sysdeps/powerpc/soft-fp: Move directory from
40600 ports/sysdeps/powerpc/soft-fp.
40601 * sysdeps/powerpc/powerpc32/405: Move directory from
40602 ports/sysdeps/powerpc/powerpc32/405.
40603 * sysdeps/powerpc/powerpc32/440: Move directory from
40604 ports/sysdeps/powerpc/powerpc32/440.
40605 * sysdeps/powerpc/powerpc32/464: Move directory from
40606 ports/sysdeps/powerpc/powerpc32/464.
40607 * sysdeps/powerpc/powerpc32/476: Move directory from
40608 ports/sysdeps/powerpc/powerpc32/476.
40609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40610 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40612 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40614 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40616 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40618 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40619 * README: Update for powerpc-*-linux-gnu software floating point
40620 support in libc.
40621
40622 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40623 case to powerpc/powerpc32*.
40624 * sysdeps/unix/sysv/linux/configure: Regenerated.
40625
40626 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40627 (_FPU_MASK_OM): Define as 0x04.
40628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40630 0x00c10080.
40631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40632 0x0000003c.
40633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40634
40635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40636 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40637 getcontext_e500.
40638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40639 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40640 setcontext_e500.
40641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40642 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40643 and setcontext_e500.
40644
40645 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
40646
40647 * locale/iso-3166.def: Update iso-1366.def and related occurrences
40648
40649 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40650
40651 * manual/threads.texi (Default Thread Attributes): Fix typo.
40652
40653 2013-10-04 Will Newton <will.newton@linaro.org>
40654
40655 * malloc/Makefile: Add tst-memalign.
40656 * malloc/tst-memalign.c: New file.
40657
40658 * malloc/tst-posix_memalign.c: Add comments.
40659 (do_test): Add comments and call free on all potentially
40660 allocated pointers. Add space after cast.
40661
40662 * malloc/tst-pvalloc.c: Add comments.
40663 (do_test): Add comments and call free on all potentially
40664 allocated pointers. Remove duplicate check for NULL pointer.
40665 Add space after cast.
40666
40667 * malloc/tst-valloc.c: Add comments.
40668 (do_test): Add comments and call free on all potentially
40669 allocated pointers. Remove duplicate check for NULL pointer.
40670 Add space after cast.
40671
40672 2013-10-04 Alan Modra <amodra@gmail.com>
40673
40674 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40675 Use stdint types in rather than __attribute__((mode())).
40676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40677
40678 2013-10-04 Alan Modra <amodra@gmail.com>
40679
40680 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40681 Correct handling of unaligned relocs for little-endian.
40682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40683
40684 2013-10-04 Alan Modra <amodra@gmail.com>
40685
40686 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40687 * configure: Regenerate.
40688 * nptl/shlib-versions: Powerpc*le starts at 2.18.
40689 * shlib-versions: Likewise.
40690
40691 2013-10-04 Alan Modra <amodra@gmail.com>
40692
40693 * string/tester.c (test_memrchr): Increment reported test cycle.
40694
40695 2013-10-04 Alan Modra <amodra@gmail.com>
40696
40697 * string/test-memcpy.c (do_one_test): When reporting errors, print
40698 string address and don't overrun end of string.
40699
40700 2013-10-04 Alan Modra <amodra@gmail.com>
40701
40702 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40703 insrdi. Make better use of reg selection to speed exit slightly.
40704 Schedule entry path a little better. Remove useless "are we done"
40705 checks on entry to main loop. Handle wrapping around zero address.
40706 Correct main loop count. Handle single left-over word from main
40707 loop inline rather than by using loop_small. Remove extra word
40708 case in loop_small caused by wrong loop count. Add little-endian
40709 support.
40710 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
40712 cache hint.
40713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40714 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40715 support. Avoid rlwimi.
40716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40717
40718 2013-10-04 Alan Modra <amodra@gmail.com>
40719
40720 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40721 insrdi. Formatting.
40722 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40723 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40724 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40725 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40726 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40727 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40728
40729 2013-10-04 Alan Modra <amodra@gmail.com>
40730
40731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40734 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40739 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
40740 use of regs. Use power7 mtocrf. Tidy function tails.
40741
40742 2013-10-04 Alan Modra <amodra@gmail.com>
40743
40744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40745 Formatting. Consistently use rXXX register defines or rN defines.
40746 Use early exit labels that avoid restoring unused non-volatile regs.
40747 Make cr field use more consistent with rWORDn compares. Rename
40748 regs used as shift registers for unaligned loop, using rN defines
40749 for short lifetime/multiple use regs.
40750 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40751 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
40752 addi 1,1,64 to pop stack frame. Simplify return value code.
40753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40754
40755 2013-10-04 Alan Modra <amodra@gmail.com>
40756
40757 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40758 support. Correct typos, formatting. Optimize tail. Use insrdi
40759 rather than rlwimi.
40760 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40761 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40762 little-endian support. Correct typos.
40763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
40764 rather than rlwimi.
40765 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
40766 in loop and entry code to keep "and." results.
40767 (strchr): Add little-endian support. Comment. Move cntlzd
40768 earlier in tail.
40769 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40770
40771 2013-10-04 Alan Modra <amodra@gmail.com>
40772
40773 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40774 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40775 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40776 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40777
40778 2013-10-04 Alan Modra <amodra@gmail.com>
40779
40780 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40781 (rTMP): Define as r11.
40782 (strcmp): Add little-endian support. Optimise tail.
40783 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40784 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40785 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40790
40791 2013-10-04 Alan Modra <amodra@gmail.com>
40792
40793 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40794 little-endian support. Remove unnecessary "are we done" tests.
40795 Handle "s" wrapping around zero and extremely large "size".
40796 Correct main loop count. Handle single left-over word from main
40797 loop inline rather than by using small_loop. Correct comments.
40798 Delete "zero" tail, use "end_max" instead.
40799 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40800
40801 2013-10-04 Alan Modra <amodra@gmail.com>
40802
40803 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40804 support. Don't branch over align.
40805 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40806 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40807 support. Rearrange tmp reg use to suit. Comment.
40808 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40809
40810 2013-10-04 Alan Modra <amodra@gmail.com>
40811
40812 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40813
40814 2013-10-04 Alan Modra <amodra@gmail.com>
40815
40816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40817 conditional form of branch and link when obtaining pc.
40818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40819
40820 2013-10-04 Alan Modra <amodra@gmail.com>
40821
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40823 HIWORD/LOWORD.
40824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40826
40827 2013-10-04 Alan Modra <amodra@gmail.com>
40828
40829 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40830 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40831 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40832 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40833 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40834 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40835 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40836 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40837 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40838 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40839
40840 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
40841 Alistair Popple <alistair@ozlabs.au.ibm.com>
40842 Alan Modra <amodra@gmail.com>
40843
40844 [BZ #15723]
40845 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40846 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40847 _dl_hwcap access for little-endian.
40848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
40849 destroy vmx regs when saving unaligned.
40850 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
40852 destroy vmx regs when saving unaligned.
40853
40854 2013-10-04 Alan Modra <amodra@gmail.com>
40855
40856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40857 Don't use a union to pack hi/low value.
40858
40859 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
40860
40861 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40862 for little-endian.
40863 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40866 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40867 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40868
40869 2013-10-04 Alan Modra <amodra@gmail.com>
40870
40871 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40872 constants to usual value for .cst8 section, and remove redundant
40873 high address load.
40874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40875 constant for 0x1p52. Load little-endian words of double from
40876 correct stack offsets.
40877
40878 2013-10-04 Alan Modra <amodra@gmail.com>
40879
40880 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40881 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40882 words of double from correct stack offsets.
40883 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40884 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40890 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40895 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40896 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40897 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40898 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40899 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40900
40901 2013-10-04 Alan Modra <amodra@gmail.com>
40902
40903 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40904 64-bit int/double union.
40905 (_FPU_SETCW): Likewise.
40906 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40907 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40908
40909 2013-10-04 Alan Modra <amodra@gmail.com>
40910
40911 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40912 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40913
40914 2013-10-04 Alan Modra <amodra@gmail.com>
40915
40916 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40917 use vector int constants.
40918 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40919
40920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
40921
40922 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40923 array with long long.
40924 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40925 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40926 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40927 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40928 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40929 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40930 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40931 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40932 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40933 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40934 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40935 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40936 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40937
40938 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
40939
40940 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40941 (__signbit): Likewise. Correct for little-endian.
40942 (__signbitl): Call __signbit.
40943 (lrint): Correct for little-endian.
40944 (lrintf): Call lrint.
40945
40946 2013-10-04 Alan Modra <amodra@gmail.com>
40947
40948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40949 union 32-bit int array member with 64-bit int array.
40950 (t515, tm256): Double rather than long double.
40951 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40952
40953 2013-10-04 Alan Modra <amodra@gmail.com>
40954
40955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40956 Delete.
40957 (IEEE854_LONG_DOUBLE_BIAS): Delete.
40958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40959 version of math_ldbl.h.
40960
40961 2013-10-04 Alan Modra <amodra@gmail.com>
40962
40963 [BZ #15734], [BZ #15735]
40964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40965 all uses of ieee875 long double macros and unions. Simplify test
40966 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
40967 ldbl_extract_mantissa value for ix,iy exponents. Properly
40968 normalize after ldbl_extract_mantissa, and don't add hidden bit
40969 already handled. Don't treat low word of ieee854 mantissa like
40970 low word of IBM long double and mask off bit when testing for
40971 zero.
40972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40973 all uses of ieee875 long double macros and unions. Simplify tests
40974 for 0.0L and inf. Correct double adjustment of k. Delete dead code
40975 adjusting ha,hb. Simplify code setting kld. Delete two600 and
40976 two1022, instead use their values. Recognise that tests for large
40977 "a" and small "b" are mutually exclusive. Rename vars. Comment.
40978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40979 Rewrite all uses of ieee875 long double macros and unions. Simplify
40980 test for 0.0L and nan. Correct negation.
40981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40982 ieee875 long double macros and unions. Correct output for large
40983 magnitude x. Correct absolute value calculation.
40984 (__erfcl): Likewise.
40985 * math/libm-test.inc: Add tests for errors discovered in IBM long
40986 double versions of fmodl, remainderl, erfl and erfcl.
40987
40988 2013-10-04 Alan Modra <amodra@gmail.com>
40989
40990 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40991 all uses of ieee854 long double macros and unions. Simplify tests
40992 for long doubles that are fully specified by the high double.
40993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40994 Likewise.
40995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40996 Remove dead code too.
40997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40998 (__ieee754_ynl): Likewise.
40999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41002 Remove dead code too.
41003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41004 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41005 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41006 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41007 Simplify.
41008 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41009 Simplify.
41010 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41013 Comment on variable precision.
41014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41016 Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41022
41023 2013-10-04 Alan Modra <amodra@gmail.com>
41024
41025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41027 all uses of ieee854 long double macros and unions.
41028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41030 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41034 Likewise.
41035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41038 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41041 Simplify sign and nan test too.
41042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41046 Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41049 Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41056
41057 2013-10-04 Alan Modra <amodra@gmail.com>
41058
41059 * stdio-common/printf_size.c (__printf_size): Don't use
41060 union ieee854_long_double in fpnum union.
41061 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
41062 signbit macro to retrieve sign from long double.
41063 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41064 retrieve sign from long double.
41065 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41066 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41068 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41069 * math/test-misc.c (main): Don't use union ieee854_long_double.
41070
41071 2013-10-04 Alan Modra <amodra@gmail.com>
41072
41073 [BZ #15680]
41074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41076 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41077 calculation. Remove unnecessary test for denormal exponent.
41078 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41079 Correct handling of denormals. Avoid undefined shift behaviour.
41080 Correct normalisation of low mantissa when low double is denormal.
41081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41082 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
41083 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41084 Correct normalisation of low mantissa. Test for overflow of high
41085 mantissa and normalise.
41086 (ldbl_nearbyint): Use more readable constant for two52.
41087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41088 (__mpn_construct_long_double): Fix test for overflow of high
41089 mantissa and correct normalisation. Avoid undefined shift.
41090
41091 2013-10-04 Alan Modra <amodra@gmail.com>
41092
41093 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41094 (union ibm_extended_long_double): Define as an array of ieee754_double.
41095 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41097 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41106
41107 2013-10-03 Joseph Myers <joseph@codesourcery.com>
41108
41109 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41110 page size instead of calling getpagesize.
41111
41112 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41113 (LOCFILE_ALIGN_MASK): Likewise.
41114 (LOCFILE_ALIGN_UP): Likewise.
41115 (LOCFILE_ALIGNED_P): Likewise.
41116 * locale/programs/ld-collate.c (collate_output): Use the new
41117 macros instead of __alignof__ (int32_t).
41118 * locale/weight.h (findidx): Likewise.
41119
41120 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
41121
41122 [BZ #431]
41123 * manual/string.texi: Fix strncat and wcsncat.
41124
41125 2013-10-03 Brooks Moses <bmoses@google.com>
41126
41127 [BZ #15915]
41128 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41129 * Makerules: ...here, and adjust associated comments.
41130
41131 2013-10-02 Will Newton <will.newton@linaro.org>
41132
41133 * malloc/Makefile: Add tst-pvalloc.
41134 * malloc/tst-pvalloc.c: New file.
41135
41136 2013-10-02 Will Newton <will.newton@linaro.org>
41137
41138 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41139 improve test coverage.
41140
41141 2013-10-02 Will Newton <will.newton@linaro.org>
41142
41143 * malloc/Makefile: Add tst-posix_memalign.
41144 * malloc/tst-posix_memalign.c: New file.
41145
41146 2013-10-01 Eric Blake <eblake@redhat.com>
41147
41148 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41149 Use __THROWNL rather than __THROW on static functions.
41150
41151 2013-09-30 Petr Machata <pmachata@redhat.com>
41152
41153 * elf/elf.h (R_AARCH64_ABS16): New macro.
41154 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41155 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41156 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41157 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41158 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41159 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41160 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41161 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41162 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41163 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41164 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41165 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41166 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41167 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41168 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41169 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41170 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41171 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41172 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41173 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41174 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41175 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41176 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41177 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41178 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41179 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41180 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41181 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41182 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41183 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41184 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41185 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41186 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41187 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41188 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41189 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41190 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41191 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41192 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41193 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41194 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41195 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41196 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41197 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41198 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41199 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41200 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41201 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41202 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41203 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41204 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41205 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41206 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41207 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41208 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41209 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41210 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41211 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41212 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41213 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41214 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41215 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41216 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41217 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41218 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41219 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41220 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41221 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41222 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41223 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41224 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41225 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41226 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41227 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41228 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41229 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41230 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41231 (R_AARCH64_TLSDESC_LDR): Likewise.
41232 (R_AARCH64_TLSDESC_ADD): Likewise.
41233 (R_AARCH64_TLSDESC_CALL): Likewise.
41234
41235 2013-09-30 Andreas Schwab <schwab@suse.de>
41236
41237 [BZ #15048]
41238 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41239 the nss database lookup.
41240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41242
41243 2013-09-28 Mike Frysinger <vapier@gentoo.org>
41244
41245 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41246
41247 2013-09-28 P. J. McDermott <pj@pehjota.net>
41248
41249 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41250 ${Bash-specific parameter/pattern/string} parameter expansion.
41251 * sysdeps/unix/make-syscalls.sh: Likewise.
41252
41253 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41254
41255 * sysdeps/sh/stackguard-macros.h: New file.
41256
41257 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
41258
41259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41261 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41263 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41264 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41265
41266 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41267
41268 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41269 Fix thread ID register.
41270
41271 2013-09-25 Joseph Myers <joseph@codesourcery.com>
41272
41273 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41274 [POSIX || UNIX98]: Require rather than permitting all symbols from
41275 <time.h>.
41276 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41277 element of struct sched_param.
41278 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41279 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41280 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41281 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41282 constant.
41283
41284 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
41285
41286 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41287 argument calculation.
41288
41289 2013-09-24 Joseph Myers <joseph@codesourcery.com>
41290
41291 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41292 Expect macro.
41293 [POSIX] (pthread_attr_t): Do not require type.
41294 [POSIX] (pthread_cond_t): Likewise.
41295 [POSIX] (pthread_condattr_t): Likewise.
41296 [POSIX] (pthread_key_t): Likewise.
41297 [POSIX] (pthread_mutex_t): Likewise.
41298 [POSIX] (pthread_mutexattr_t): Likewise.
41299 [POSIX] (pthread_once_t): Likewise.
41300 [POSIX] (pthread_t): Likewise.
41301 [POSIX-based standards] (pthread_atfork): Expect function.
41302
41303 2013-09-24 Joseph Myers <joseph@codesourcery.com>
41304 Richard Sandiford <richard@codesourcery.com>
41305
41306 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41307 (swap_endianness_p): New extern variable.
41308 (set_big_endian): New inline function.
41309 (maybe_swap_uint32): Likewise.
41310 (maybe_swap_uint32_array): Likewise.
41311 (maybe_swap_uint32_obstack): Likewise.
41312 * locale/programs/locfile.c: Include <stdbool.h>.
41313 (swap_endianness_p): New variable.
41314 (add_locale_uint32): Call maybe_swap_uint32.
41315 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41316 (write_locale_data): Call maybe_swap_uint32_array.
41317 * locale/programs/ld-collate.c (obstack_int32_grow): Call
41318 maybe_swap_uint32.
41319 (obstack_int32_grow_fast): Likewise.
41320 (output_weightwc): Call maybe_swap_uint32_obstack.
41321 (collate_output): Likewise.
41322 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41323 (OPT_LITTLE_ENDIAN): Likewise.
41324 (options): Add --little-endian and --big-endian options.
41325 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41326 * locale/programs/locarchive.c: Include "locfile.h".
41327 (GET): New macro.
41328 (SET): Likewise.
41329 (INC): Likewise.
41330 (create_archive): Use the new macros to access fields of
41331 structures directly mapped from or written to locale archives.
41332 (oldlocrecentcmp): Likewise.
41333 (enlarge_archive): Likewise.
41334 (insert_name): Likewise.
41335 (add_alias): Likewise.
41336 (add_locale): Likewise.
41337 (delete_locales_from_archive): Likewise.
41338 (show_archive_content): Likewise.
41339 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
41340 locale data.
41341
41342 2013-09-24 Roland McGrath <roland@hack.frob.com>
41343
41344 * manual/freemanuals.texi: Updated from (newly) canonical copy at
41345 http://www.gnu.org/doc/freemanuals.texi.
41346 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41347
41348 2013-09-24 Will Newton <will.newton@linaro.org>
41349
41350 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41351 macro.
41352
41353 2013-09-23 Joseph Myers <joseph@codesourcery.com>
41354
41355 * locale/hashval.h (compute_hashval): Interpret bytes of key as
41356 unsigned char.
41357
41358 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
41359
41360 * manual/threads.texi (POSIX Threads): Fix a typo.
41361
41362 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
41363
41364 [BZ #14547]
41365 * string/tst-strcoll-overflow.c: New test case.
41366 * string/Makefile (xtests): Add tst-strcoll-overflow.
41367 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41368 cache if string sizes may cause integer overflow.
41369
41370 [BZ #14547]
41371 * string/strcoll_l.c (coll_seq): New members rule, idx,
41372 save_idx and back_us.
41373 (get_next_seq_nocache): New function.
41374 (do_compare_nocache): New function.
41375 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41376 when malloc fails.
41377
41378 2013-09-23 Carlos O'Donell <carlos@redhat.com>
41379
41380 [BZ #15754]
41381 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41382 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41383 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41384
41385 [BZ #15754]
41386 * elf/Makefile (tests): Add tst-ptrguard1.
41387 (tests-static): Add tst-ptrguard1-static.
41388 (tst-ptrguard1-ARGS): Define.
41389 (tst-ptrguard1-static-ARGS): Define.
41390 * elf/tst-ptrguard1.c: New file.
41391 * elf/tst-ptrguard1-static.c: New file.
41392 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41393 * sysdeps/i386/stackguard-macros.h: Likewise.
41394 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41395 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41396 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41397 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41398 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41399 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41400
41401 2013-09-23 Hector Marco <hecmargi@upv.es>
41402 Ismael Ripoll <iripoll@disca.upv.es>
41403 Carlos O'Donell <carlos@redhat.com>
41404
41405 [BZ #15754]
41406 * sysdeps/generic/stackguard-macros.h: Define
41407 __pointer_chk_guard_local and POINTER_CHK_GUARD.
41408 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41409 Define __pointer_chk_guard_local.
41410 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41411 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41412
41413 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
41414
41415 [BZ #15859]
41416 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41417
41418 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
41419
41420 * include/string.h (__ffs): Declare as hidden.
41421 * string/ffs.c (__ffs): Define as hidden.
41422 * sysdeps/i386/ffs.c (__ffs): Likewise.
41423 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41424 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41425 * sysdeps/s390/ffs.c (__ffs): Likewise.
41426 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41427
41428 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
41429
41430 * NEWS: Mention malloc probes.
41431
41432 * malloc/arena.c (new_heap): New memory_heap_new probe.
41433 (grow_heap): New memory_heap_more probe.
41434 (shrink_heap): New memory_heap_less probe.
41435 (heap_trim): New memory_heap_free probe.
41436 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41437 (systrim): New memory_sbrk_less probe.
41438 * manual/probes.texi: Document them.
41439
41440 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41441 * manual/probes.texi: Document it.
41442
41443 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41444 (__libc_realloc): Add memory_realloc_retry probe.
41445 (__libc_memalign): Add memory_memalign_retry probe.
41446 (__libc_valloc): Add memory_valloc_retry probe.
41447 (__libc_pvalloc): Add memory_pvalloc_retry probe.
41448 (__libc_calloc): Add memory_calloc_retry probe.
41449 * manual/probes.texi: Document them.
41450
41451 * malloc/arena.c (get_free_list): Add probe
41452 memory_arena_reuse_free_list.
41453 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41454 and memory_arena_reuse.
41455 (arena_get2) [!PER_THREAD]: Likewise.
41456 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41457 memory_arena_reuse_realloc.
41458 * manual/probes.texi: Document them.
41459
41460 * malloc/malloc.c (__libc_free): Add
41461 memory_mallopt_free_dyn_thresholds probe.
41462 (__libc_mallopt): Add multiple memory_mallopt probes.
41463 * manual/probes.texi: Document them.
41464
41465 * malloc/malloc.c: Include stap-probe.h.
41466 (__libc_mallopt): Add memory_mallopt probe.
41467 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41468 * manual/probes.texi: New.
41469 * manual/Makefile (chapters): Add probes.
41470 * manual/threads.texi: Set next node.
41471
41472 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
41473
41474 [BZ #15963, #13985]
41475 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41476 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41477 Add `Chinese' to `nan' entry name.
41478
41479 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41480
41481 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41482 (POLYNOMIAL): Likewise.
41483 (TAYLOR_SINCOS): Likewise.
41484 (TAYLOR_SLOW): Likewise.
41485 (__sin): Use TAYLOR_SINCOS.
41486 (__cos): Likewise.
41487 (slow): Use TAYLOR_SLOW.
41488 (sloww): Likewise.
41489 (bsloww): Likewise.
41490 (csloww): Likewise.
41491
41492 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41493
41494 * stdlib/strtod_l.c: Fix buffer overrun.
41495
41496 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41497
41498 * benchtests/Makefile (bench): Add sincos.
41499 * benchtests/bench-sincos.c: New file.
41500
41501 * math/libm-test.inc (cos_test_data): New test inputs.
41502 (sin_test_data): Likewise.
41503
41504 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41505 macro.
41506 (__sin): Use it.
41507 (__cos): Likewise.
41508 (slow1): Likewise.
41509 (slow2): Likewise.
41510 (sloww1): Likewise.
41511 (sloww2): Likewise.
41512 (bsloww1): Likewise.
41513 (bsloww2): Likewise.
41514 (cslow2): Likewise.
41515 (csloww1): Likewise.
41516 (csloww2): Likewise.
41517
41518 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41519 function.
41520 (__sin): Use it.
41521 (__cos): Likewise.
41522
41523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41524 gotos.
41525 (__cos): Likewise.
41526
41527 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
41528
41529 * config.h.in (HAVE_MIPS_NAN2008): New macro.
41530 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41531 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41532 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41533 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41534 * elf/cache.c (print_entry): Handle the new cache flags.
41535
41536 2013-09-18 Joseph Myers <joseph@codesourcery.com>
41537 Aldy Hernandez <aldyh@redhat.com>
41538
41539 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41540 Change condition to [_SOFT_FLOAT].
41541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41553 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41556 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41557 declaration.
41558
41559 2013-09-18 Joseph Myers <joseph@codesourcery.com>
41560
41561 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41562 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41563 (__longjmp): Use LOAD_GP to load saved GPRs.
41564 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41565 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41566 (__sigsetjmp): Use SAVE_GP to save GPRs.
41567
41568 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41569 Do not append -msoft-float.
41570 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41571
41572 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41573
41574 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41575
41576 2013-09-17 Joseph Myers <joseph@codesourcery.com>
41577
41578 [BZ #15966]
41579 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41580 (_FPU_GETCW): Use initial "__" on variable and field names but not
41581 on macro parameter name.
41582 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
41583 parentheses around reference to macro parameter.
41584
41585 2013-09-13 Richard Sandiford <richard@codesourcery.com>
41586
41587 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41588 prototype.
41589 (ctype_startup): Use uint32_t in cast and sizeof for
41590 ctype->charnames.
41591
41592 2013-09-11 Jia Liu <proljc@gmail.com>
41593
41594 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41595 __daddr_t_defined.
41596 [__FreeBSD__]: Likewise.
41597
41598 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
41599
41600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41601 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41602 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41603 (strchr): Remove __strchr_sse42 ifunc selection.
41604 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41605 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41606
41607 2013-09-11 Will Newton <will.newton@linaro.org>
41608
41609 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41610 parameter to RES. Remove hardcoded 1000 value.
41611 * benchtests/bench-skeleton.c (main): Pass RES parameter
41612 to TIMING_INIT and multiply result by 1000.
41613
41614 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41615
41616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41617
41618 2013-09-11 Andreas Schwab <schwab@suse.de>
41619
41620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41621 if not defined.
41622 (O_TMPFILE) [__USE_GNU]: Define.
41623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41624 Define.
41625
41626 2013-09-11 Will Newton <will.newton@linaro.org>
41627
41628 [BZ #15857]
41629 * malloc/malloc.c (__libc_memalign): Check the value of bytes
41630 does not overflow.
41631
41632 2013-09-11 Will Newton <will.newton@linaro.org>
41633
41634 [BZ #15856]
41635 * malloc/malloc.c (__libc_valloc): Check the value of bytes
41636 does not overflow.
41637
41638 2013-09-11 Will Newton <will.newton@linaro.org>
41639
41640 [BZ #15855]
41641 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41642 does not overflow.
41643
41644 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
41645
41646 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41651
41652 2013-09-10 Allan McRae <allan@archlinux.org>
41653
41654 [BZ #15748]
41655 * manual/arith.texi (Parsing of Floats): Clarify
41656 cross-reference.
41657
41658 [BZ #15849]
41659 * manual/install.texi (Running make install): Mention
41660 --enable-pt-chown.
41661 * INSTALL: Regenerated.
41662
41663 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
41664
41665 * csu/init-first.c (_init): Remove the !SHARED condition around
41666 FPU control word initialization.
41667 * elf/dl-support.c (_dl_fpu_control): New variable.
41668 (_dl_aux_init) <AT_FPUCW>: Initialize it.
41669 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41670 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41671 * math/test-fpucw-static.c: New file.
41672 * math/test-fpucw-ieee.c: New file.
41673 * math/test-fpucw-ieee-static.c: New file.
41674 * math/Makefile (tests): Add `test-fpucw-ieee' and
41675 `$(tests-static)'.
41676 (tests-static): New variable.
41677 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41678 dependency to...
41679 [($(build-shared),yes)]
41680 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41681 ... this.
41682 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41683 New dependency.
41684
41685 2013-09-09 Allan McRae <allan@archlinux.org>
41686
41687 [BZ #15939]
41688 * manual/string.texi (Collation Functions): Fix typo in
41689 strcoll example.
41690 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41691
41692 [BZ #15893]
41693 * stdlib/isomac.c (get_null_defines): Fix memory leak.
41694
41695 [BZ #15892]
41696 * libio/memstream.c (open_memstream): Fix memory leak.
41697 * libio/wmemstream.c (open_wmemstream): Likewise.
41698
41699 [BZ #15895]
41700 * nscd/netgroupcache.c: Fix nesting of ifdefs.
41701
41702 2013-09-09 Will Newton <will.newton@linaro.org>
41703
41704 * malloc/Makefile: Add tst-realloc to tests.
41705 * malloc/tst-realloc.c: New file.
41706
41707 2013-09-09 Allan McRae <allan@archlinux.org>
41708
41709 [BZ #15844]
41710 * COPYING: Update from GNU website to fix FSF address.
41711 * COPYING.LIB: Likewise.
41712
41713 2013-09-06 David S. Miller <davem@davemloft.net>
41714
41715 * po/zh_TW.po: Update Chinese (traditional) translation from
41716 translation project.
41717
41718 2013-09-06 Richard Sandiford <richard@codesourcery.com>
41719 Joseph Myers <joseph@codesourcery.com>
41720
41721 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41722 "localeinfo.h".
41723 (obstack_chunk_alloc): New macro.
41724 (obstack_chunk_free): Likewise.
41725 (record_offset): New function.
41726 (init_locale_data): Likewise.
41727 (align_locale_data): Likewise.
41728 (add_locale_empty): Likewise.
41729 (add_locale_raw_data): Likewise.
41730 (add_locale_raw_obstack): Likewise.
41731 (add_locale_string): Likewise.
41732 (add_locale_wstring): Likewise.
41733 (add_locale_uint32): Likewise.
41734 (add_locale_uint32_array): Likewise.
41735 (add_locale_char): Likewise.
41736 (start_locale_structure): Likewise.
41737 (end_locale_structure): Likewise.
41738 (start_locale_prelude): Likewise.
41739 (end_locale_prelude): Likewise.
41740 (write_locale_data): Take locale_file structure rather than an
41741 iovec.
41742 * locale/programs/locfile.h: Include "obstack.h".
41743 (struct locale_file): Change to store locale file contents instead
41744 of header.
41745 (init_locale_data): New prototype.
41746 (align_locale_data): Likewise.
41747 (add_locale_empty): Likewise.
41748 (add_locale_raw_data): Likewise.
41749 (add_locale_raw_obstack): Likewise.
41750 (add_locale_string): Likewise.
41751 (add_locale_wstring): Likewise.
41752 (add_locale_uint32): Likewise.
41753 (add_locale_uint32_array): Likewise.
41754 (add_locale_char): Likewise.
41755 (start_locale_structure): Likewise.
41756 (end_locale_structure): Likewise.
41757 (start_locale_prelude): Likewise.
41758 (end_locale_prelude): Likewise.
41759 (write_locale_data): Update prototype.
41760 * locale/programs/3level.h (struct TABLE): Remove result field.
41761 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41762 Use new locale_file interface.
41763 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41764 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41765 * locale/programs/ld-address.c (address_output): Use new
41766 locale_file interface.
41767 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41768 NO_ADD_LOCALE.
41769 (collate_finish): Don't call collseq_table_finalize.
41770 (collate_output): Use new locale_file interface.
41771 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41772 in file.
41773 (NO_FINALIZE): Change to NO_ADD_LOCALE.
41774 (TABLE): Move defines earlier in file.
41775 (ELEMENT): Likewise.
41776 (DEFAULT): Likewise.
41777 (wctrans_table_add): Move macro and inline function earlier in
41778 file.
41779 (struct wctype_table): Move type earlier in file.
41780 (add_locale_wctype_table): New static prototype.
41781 (struct locale_ctype_t): Use logical types instead of struct iovec
41782 pointers for members.
41783 (ctype_output): Use new locale_file interface.
41784 (wctype_table_finalize): Change to add_locale_wctype_table. Use
41785 new locale_file interface.
41786 (allocate_arrays): Update for use of new locale_file interface.
41787 * locale/programs/ld-identification.c (identification_output): Use
41788 new locale_file interface.
41789 * locale/programs/ld-measurement.c (measurement_output): Likewise.
41790 * locale/programs/ld-messages.c (messages_output): Likewise.
41791 * locale/programs/ld-monetary.c (monetary_output): Likewise.
41792 * locale/programs/ld-name.c (name_output): Likewise.
41793 * locale/programs/ld-numeric.c (numeric_output): Likewise.
41794 * locale/programs/ld-paper.c (paper_output): Likewise.
41795 * locale/programs/ld-telephone.c (telephone_output): Likewise.
41796 * locale/programs/ld-time.c (time_output): Likewise.
41797
41798 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41799
41800 * benchtests/Makefile: Add memrchr benchmark.
41801 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41802 benchmark as memrchr.
41803 * benchtests/bench-memrchr-ifunc.c: New file.
41804 * benchtests/bench-memrchr.c: New file.
41805
41806 2013-09-06 Will Newton <will.newton@linaro.org>
41807
41808 * benchtests/Makefile (string-bench): Add memcpy.
41809
41810 2013-09-05 Carlos O'Donell <carlos@redhat.com>
41811 Cong Wang <amwang@redhat.com>
41812
41813 [BZ #15850]
41814 * sysdeps/unix/sysv/linux/bits/in.h
41815 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41816 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41817 before __USE_KERNEL_IPV6_DEFS uses.
41818 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41819 IPPROTO_BEETPH.
41820 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41821 sockaddr_in6, or ipv6_mreq.
41822
41823 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41824
41825 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41826 memory access for final bytes in some large inputs.
41827 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41828
41829 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41830
41831 * string/test-memrchr.c: New file.
41832 * string/test-memrchr-ifunc.c: New file.
41833 * string/Makefile: Add new memrchr testcase.
41834
41835 2013-09-05 Mike Frysinger <vapier@gentoo.org>
41836
41837 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41838 fanotify_init returns EPERM.
41839
41840 2013-09-04 Joseph Myers <joseph@codesourcery.com>
41841
41842 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41843 errors.
41844 (top level): Treat second token from macro or constant entries for
41845 allowed headers as allowed.
41846 * include/complex.h: Condition internal declarations on
41847 [!_ISOMAC].
41848 * include/fenv.h: Condition include of <stdbool.h> and internal
41849 declarations on [!_ISOMAC].
41850
41851 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
41852
41853 [BZ #15923]
41854 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41855
41856 2013-09-04 Joseph Myers <joseph@codesourcery.com>
41857
41858 * configure.in (--enable-versioning): Remove configure option.
41859 (libc_cv_asm_symver_directive): Remove configure test.
41860 (libc_cv_ld_version_script_option): Likewise.
41861 (VERSIONING): Remove variable and AC_SUBST.
41862 (DO_VERSIONING): Remove AC_DEFINE.
41863 * configure: Regenerated.
41864 * config.h.in (DO_VERSIONING): Remove macro.
41865 * Makerules [$(versioning) = yes]: Change conditionals to
41866 [$(build-shared) = yes].
41867 * config.make.in (versioning): Remove variable.
41868 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41869 [$(build-shared) = yes].
41870 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41871 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41872 * elf/Makefile [$(versioning) = yes]: Change conditionals to
41873 [$(build-shared) = yes].
41874 * extra-lib.mk [$(versioning) = yes]: Likewise.
41875 * hurd/Makefile [$(versioning) = yes]: Likewise.
41876 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41877 [SHARED].
41878 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41879 [SHARED].
41880 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41881 [SHARED && !NO_HIDDEN].
41882 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41883 [SHARED].
41884 [SHARED && DO_VERSIONING]: Likewise..
41885 * libio/Makefile [$(versioning) = yes]: Change conditionals to
41886 [$(build-shared) = yes].
41887 * manual/install.texi (--disable-versioning): Remove
41888 documentation.
41889 * INSTALL: Regenerated.
41890 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41891 to [SHARED].
41892 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41893 [$(build-shared) = yes].
41894 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41895 * sysdeps/i386/i686/multiarch/strstr-c.c
41896 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41897 [SHARED && !NO_HIDDEN].
41898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41899 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41900 * sysdeps/powerpc/powerpc32/dl-machine.c
41901 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41902 * sysdeps/powerpc/powerpc32/sysdep.h
41903 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41904 to [SHARED && PIC && !NO_HIDDEN].
41905 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41906 conditional to [SHARED].
41907
41908 2013-09-04 Will Newton <will.newton@linaro.org>
41909
41910 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41911 * benchtests/bench-string.h: Include bench-timing.h instead
41912 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41913 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41914 call to HP_TIMING_DIFF_INIT.
41915 * benchtests/bench-memccpy.c: Use bench-timing.h macros
41916 instead of hp-timing.h macros.
41917 * benchtests/bench-memchr.c: Likewise.
41918 * benchtests/bench-memcmp.c: Likewise.
41919 * benchtests/bench-memcpy.c: Likewise.
41920 * benchtests/bench-memmem.c: Likewise.
41921 * benchtests/bench-memmove.c: Likewise.
41922 * benchtests/bench-memset.c: Likewise.
41923 * benchtests/bench-rawmemchr.c: Likewise.
41924 * benchtests/bench-strcasecmp.c: Likewise.
41925 * benchtests/bench-strcasestr.c: Likewise.
41926 * benchtests/bench-strcat.c: Likewise.
41927 * benchtests/bench-strchr.c: Likewise.
41928 * benchtests/bench-strcmp.c: Likewise.
41929 * benchtests/bench-strcpy.c: Likewise.
41930 * benchtests/bench-strcpy_chk.c: Likewise.
41931 * benchtests/bench-strlen.c: Likewise.
41932 * benchtests/bench-strncasecmp.c: Likewise.
41933 * benchtests/bench-strncat.c: Likewise.
41934 * benchtests/bench-strncmp.c: Likewise.
41935 * benchtests/bench-strncpy.c: Likewise.
41936 * benchtests/bench-strnlen.c: Likewise.
41937 * benchtests/bench-strpbrk.c: Likewise.
41938 * benchtests/bench-strrchr.c: Likewise.
41939 * benchtests/bench-strspn.c: Likewise.
41940 * benchtests/bench-strstr.c: Likewise.
41941
41942 2013-09-04 Will Newton <will.newton@linaro.org>
41943
41944 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41945
41946 2013-09-03 Joseph Myers <joseph@codesourcery.com>
41947
41948 [BZ #15427]
41949 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41950 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41951 * math/libm-test.inc (lgamma_test_data): Add more tests.
41952 * sysdeps/i386/fpu/libm-test-ulps: Update.
41953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41954
41955 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
41956
41957 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41959 Add ifunc.
41960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41961 Add strcmp-sse2-unaligned
41962 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41963
41964 2013-09-02 Mike Frysinger <vapier@gentoo.org>
41965
41966 * Versions.def (libc): Add GLIBC_2.19.
41967
41968 2013-09-02 Mike Frysinger <vapier@gentoo.org>
41969
41970 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41971 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41972
41973 2013-09-02 Joseph Myers <joseph@codesourcery.com>
41974
41975 [BZ #14155]
41976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41977 intermediate calculations in recurrence.
41978 (__ieee754_ynf): Likewise.
41979 * math/libm-test.inc (jn_test_data): Do not allow spurious
41980 underflow exception. Add more tests.
41981 (yn_test_data): Add more tests.
41982 * sysdeps/i386/fpu/libm-test-ulps: Update.
41983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41984
41985 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
41986
41987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41988
41989 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
41990
41991 * csu/init-first.c: Fix then/than typos.
41992 * locale/programs/ld-collate.c: Likewise.
41993 * locale/programs/linereader.h: Likewise.
41994 * manual/charset.texi: Likewise.
41995 * manual/filesys.texi: Likewise.
41996 * manual/stdio.texi: Likewise.
41997 * manual/string.texi: Likewise.
41998 * stdlib/fmtmsg.c: Likewise.
41999 * sysdeps/i386/stpncpy.S: Likewise.
42000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42003 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42004
42005 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
42006
42007 * elf/dl-open.c: Fix typos.
42008 * iconvdata/gbbig5.c: Likewise.
42009 * iconvdata/iso-2022-jp.c: Likewise.
42010 * iconv/gconv_int.h: Likewise.
42011 * iconv/loop.c: Likewise.
42012 * nis/rpcsvc/nis.h: Likewise.
42013 * resolv/ns_name.c: Likewise.
42014 * stdio-common/vfscanf.c: Likewise.
42015 * streams/stropts.h: Likewise.
42016 * sunrpc/rpc_thread.c: Likewise.
42017 * sysdeps/i386/strpbrk.S: Likewise.
42018 * sysdeps/ieee754/k_standard.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42021 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42022 * sysdeps/mach/hurd/profil.c: Likewise.
42023 * sysdeps/s390/dl-procinfo.h: Likewise.
42024 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42026 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42027 * sysdeps/x86_64/dl-trampoline.S: Likewise.
42028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42029
42030 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
42031
42032 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42034
42035 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
42036
42037 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42038 aix specific files.
42039 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42041 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42042 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42043 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42044 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42045 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42046 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42047
42048 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
42049 Roland McGrath <roland@hack.frob.com>
42050
42051 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42052 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42053
42054 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
42055
42056 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42057 __executable_start symbol instead of _start.
42058
42059 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
42060
42061 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42062 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42063 Move macros to...
42064 * sysdeps/gnu/ldsodefs.h: ... this new file.
42065
42066 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42067 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42068 instead of ELFOSABI_LINUX.
42069
42070 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42071 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42072 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42073 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42074 Likewise.
42075 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42076 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42078 Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42080 (ibm_extended_long_double): Add ieee_nan member.
42081 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42082 (do_test): New function.
42083
42084 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42085 TEST_TRUNC.
42086 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42087 functions, renamed from truncdfsf_test, trunctfsf_test,
42088 trunctfdf_test.
42089 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42090 functions.
42091 (do_test): Run all these.
42092
42093 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
42094
42095 * argp/argp-help.c: Fix typos.
42096 * argp/argp-parse.c: Likewise.
42097 * debug/backtracesyms.c: Likewise.
42098 * elf/elf.h: Likewise.
42099 * malloc/malloc.c: Likewise.
42100 * nis/nis_print.c: Likewise.
42101 * resolv/res_comp.c: Likewise.
42102 * stdlib/stdlib.h: Likewise.
42103 * sunrpc/clnt_tcp.c: Likewise.
42104 * sunrpc/clnt_udp.c: Likewise.
42105 * sunrpc/clnt_unix.c: Likewise.
42106 * sysdeps/unix/bsd/ptsname.c: Likewise.
42107 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42110 Likewise.
42111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42112 Likewise.
42113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42114 Likewise.
42115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42116
42117 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42118
42119 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42121
42122 2013-08-27 Mike Frysinger <vapier@gentoo.org>
42123
42124 [BZ #15897]
42125 * dlfcn/Makefile (tests): Add bug-dl-leaf.
42126 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42127 ($(objpfx)bug-dl-leaf): New rule.
42128 ($(objpfx)bug-dl-leaf.so): Likewise.
42129 ($(objpfx)bug-dl-leaf.out): Likewise.
42130 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42131 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42132 * dlfcn/bug-dl-leaf.c: New test.
42133 * dlfcn/bug-dl-leaf-lib.c: Likewise.
42134 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42135 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42136 (dlclose): Likewise.
42137 (dlmopen): Likewise.
42138
42139 2013-08-27 Roland McGrath <roland@hack.frob.com>
42140
42141 * include/netdb.h [!_ISOMAC]:
42142 Don't include <tls.h>.
42143 (h_errno, __libc_h_errno): Move declaration and macros out of
42144 [_LIBC_REENTRANT].
42145
42146 * include/resolv.h [_RESOLV_H_]:
42147 Don't include <tls.h>.
42148 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42149 * resolv/res_libc.c: Don't include <tls.h>.
42150 (_res): Use __attribute__ ((nocommon)) in place of
42151 __attribute__ ((section (".bss"))).
42152
42153 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42154 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42155
42156 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42157
42158 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42159 only under [SIOCGIFCONF && SIOCGIFNETMASK].
42160
42161 * resolv/res_mkquery.c: Include <sys/time.h>.
42162
42163 * inet/ifreq.c: Moved to ...
42164 * sysdeps/unix/ifreq.c: ... here.
42165 * inet/ifreq.c: New file, true stub version.
42166
42167 * socket/sa_len.c: New file.
42168 * socket/Makefile (aux): Add it.
42169 * sysdeps/unix/sysv/linux/Makefile
42170 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42171 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42172 and #include <socket/sa_len.c>.
42173 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42174 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42175
42176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42177 * bits/socket.h: ... here.
42178
42179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42180 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42181 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42182
42183 2013-08-27 Andreas Schwab <schwab@suse.de>
42184
42185 [BZ #15736]
42186 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42187 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42188 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42189 * string/test-strcasecmp.c (test_main): Run tests in several
42190 locales.
42191 * string/test-strncasecmp.c (test_main): Likewise.
42192
42193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42194 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42195 to __strcasecmp_nonascii and __strncasecmp_nonascii.
42196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42197 (__strncasecmp_ssse3) [PIC]: Likewise.
42198
42199 2013-08-26 Roland McGrath <roland@hack.frob.com>
42200
42201 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42202
42203 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42204 instead of explicitly declaring xdecrypt.
42205 * nis/nss_nis/nis-publickey.c: Likewise.
42206
42207 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42208
42209 [BZ #15890]
42210 * nscd/aicache.c: Include res_hconf.h.
42211 (addhstaiX): Initialize res_hconf.
42212
42213 2013-08-26 Andreas Schwab <schwab@suse.de>
42214
42215 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42216 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42217
42218 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42219
42220 * nscd/aicache.c (addhstaiX): Fix indentation.
42221
42222 2013-08-25 Mike Frysinger <vapier@gentoo.org>
42223
42224 * configure.ac: Quote $build_pt_chown test.
42225 * configure: Regenerated.
42226
42227 2013-08-23 Joseph Myers <joseph@codesourcery.com>
42228
42229 [BZ #15532]
42230 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42231 * math/s_cexpf.c (__cexpf): Likewise.
42232 * math/s_cexpl.c (__cexpl): Likewise.
42233 * math/libm-test.inc (cexp_test_data): Correct expected return
42234 value for NaN + i0. Add another test.
42235
42236 2013-08-22 David S. Miller <davem@davemloft.net>
42237
42238 * po/ca.po: Update Catalan translation from translation project.
42239 * po/uk.po: Add Ukrainian translations from translation project.
42240
42241 2013-08-21 Joseph Myers <joseph@codesourcery.com>
42242
42243 [BZ #15797]
42244 * math/s_fdim.c (__fdim): Check for infinite arguments if result
42245 is infinite, not alongside NaN test.
42246 * math/s_fdimf.c (__fdimf): Likewise.
42247 * math/s_fdiml.c (__fdiml): Likewise.
42248 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
42249 errno is unchanged.
42250
42251 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
42252
42253 * argp/argp-help.c: Fix typos.
42254 * crypt/speeds.c: Likewise.
42255 * csu/check_fds.c: Likewise.
42256 * elf/dl-load.c: Likewise.
42257 * elf/dl-open.c: Likewise.
42258 * elf/reldep3.c: Likewise.
42259 * elf/reldep.c: Likewise.
42260 * elf/sprof.c: Likewise.
42261 * iconv/iconv_charmap.c: Likewise.
42262 * iconv/skeleton.c: Likewise.
42263 * iconv/strtab.c: Likewise.
42264 * io/lockf64.c: Likewise.
42265 * libio/libioP.h: Likewise.
42266 * resolv/gai_notify.c: Likewise.
42267 * resolv/ns_name.c: Likewise.
42268 * resolv/ns_samedomain.c: Likewise.
42269 * resolv/res_send.c: Likewise.
42270 * stdlib/random.c: Likewise.
42271 * sunrpc/rpc/xdr.h: Likewise.
42272 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42276 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42280 * sysdeps/mach/hurd/check_fds.c: Likewise.
42281 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42282 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42285 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42286 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42287 * sysdeps/pthread/aio_notify.c: Likewise.
42288 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42289 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42292 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42293
42294 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42295
42296 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42297 version if bit_Slow_SSE4_2 is set.
42298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42300
42301 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42302
42303 [BZ #15867]
42304 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42305 trampoline stack frame information.
42306 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42308 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42309 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42310 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42311 * sysdeps/unix/sysv/linux/powerpc/init-first.c
42312 (_libc_vdso_platform_setup): Initialize the signal trampolines.
42313 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42314 sa_flags value.
42315 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42316 interrupting a syscall and set with option SA_SIGINFO.
42317
42318 2013-08-20 Joseph Myers <joseph@codesourcery.com>
42319
42320 [BZ #15531]
42321 * math/s_cproj.c (__cproj): Only return an infinity if one part of
42322 argument is infinite.
42323 * math/s_cprojf.c (__cprojf): Likewise.
42324 * math/s_cprojl.c (__cprojl): Likewise.
42325 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42326 * math/libm-test.inc (cproj_test_data): Add more tests.
42327
42328 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42329
42330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42331 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42332 size. Use __ffs to determine corresponding shift.
42333
42334 2013-08-20 Joseph Myers <joseph@codesourcery.com>
42335 Roland McGrath <roland@hack.frob.com>
42336
42337 * Makefile (INSTALL): Remove trailing blank lines from output of
42338 makeinfo.
42339
42340 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42341
42342 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42343 Align 32 bit compat elf_greg to 8 bytes.
42344
42345 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
42346
42347 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42348
42349 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42350
42351 * string/strcoll_l.c (coll_seq): New structure.
42352 (get_next_seq_cached): New function.
42353 (get_next_seq): New function.
42354 (do_compare): New function.
42355 (STRCOLL): Use GNU style definition. Simplify implementation
42356 by using get_next_seq, get_next_seq_cached and do_compare.
42357
42358 2013-08-16 Florian Weimer <fweimer@redhat.com>
42359
42360 [BZ #14699]
42361 CVE-2013-4237
42362 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42363 member.
42364 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42365 member.
42366 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42367 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42368 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
42369 conditional.
42370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42371 GETDENTS_64BIT_ALIGNED.
42372 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42373 * manual/filesys.texi (Reading/Closing Directory): Document
42374 ENAMETOOLONG return value of readdir_r. Recommend readdir more
42375 strongly.
42376 * manual/conf.texi (Limits for Files): Add portability note to
42377 NAME_MAX, PATH_MAX.
42378 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42379
42380 2013-08-13 Andreas Schwab <schwab@suse.de>
42381
42382 [BZ #15749]
42383 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42384 of fabs.
42385 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42386 LDBL_MAX_EXP >= 16384]: Add tests for it.
42387
42388 2013-08-12 David S. Miller <davem@davemloft.net>
42389
42390 * version.h (RELEASE): Set to "development".
42391 (VERSION): Set to "2.18.90".
42392 * NEWS: Add 2.19 section.
42393
42394 2013-08-03 David S. Miller <davem@davemloft.net>
42395
42396 * po/ko.po: Update Korean translation from translation project.
42397
42398 2013-08-01 David S. Miller <davem@davemloft.net>
42399
42400 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
42401 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42402 Bilka.
42403
42404 2013-07-30 David S. Miller <davem@davemloft.net>
42405
42406 * po/fr.po: Update French translation from translation project.
42407
42408 2013-07-28 David S. Miller <davem@davemloft.net>
42409
42410 * po/cs.po: Update Czech translation from translation project.
42411
42412 * po/sv.po: Update Swedish translation from translation project.
42413
42414 2013-07-27 David S. Miller <davem@davemloft.net>
42415
42416 * po/eo.po: Update Esperanto translation from translation project.
42417
42418 * po/vi.po: Update Vietnamese translation from translation project.
42419
42420 * po/de.po: Update German translation from translation project.
42421
42422 2013-07-26 David S. Miller <davem@davemloft.net>
42423
42424 * po/bg.po: Update Bulgarian translation from translation project.
42425
42426 * po/nl.po: Update Dutch translation from translation project.
42427 * po/pl.po: Update Polish translation from translation project.
42428 * po/ru.po: Update Russian translation from translation project.
42429
42430 2013-07-24 David S. Miller <davem@davemloft.net>
42431
42432 * po/libc.pot: Update.
42433
42434 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42435
42436 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42437 variable page size.
42438 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42439 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42441
42442 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42443
42444 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42445
42446 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42447 Andreas Schwab <schwab@suse.de>
42448 Roland McGrath <roland@hack.frob.com>
42449 Joseph Myers <joseph@codesourcery.com>
42450 Carlos O'Donell <carlos@redhat.com>
42451
42452 [BZ #15755]
42453 * config.h.in: Define HAVE_PT_CHOWN.
42454 * config.make.in (build-pt-chown): New variable.
42455 * configure.in (--enable-pt_chown): New configure option.
42456 * configure: Regenerate.
42457 * login/Makefile: Include Makeconfig. Build pt_chown only if
42458 build-pt-chown is enabled.
42459 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42460 pt_chown to fix pty ownership.
42461 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42462 CLOSE_ALL_FDS.
42463 * manual/install.texi (Configuring and compiling): Mention
42464 --enable-pt_chown. Add @findex for grantpt.
42465 * INSTALL: Regenerate.
42466
42467 2013-07-20 David S. Miller <davem@davemloft.net>
42468
42469 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42470 difference between 32-bit and 64-bit.
42471
42472 2013-07-15 Carlos O'Donell <carlos@redhat.com>
42473
42474 [BZ #15711]
42475 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42476 Avoid system header dependency with -ffreestanding.
42477 ($(objpfx)bits/syscall%d): Likewise.
42478
42479 2013-07-13 David S. Miller <davem@davemloft.net>
42480
42481 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42482 underflows from atanl/atan2l due to bug 15319.
42483 (casinh_test_data): Likewise.
42484
42485 2013-07-07 David S. Miller <davem@davemloft.net>
42486
42487 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42488
42489 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
42490
42491 * sysdeps/i386/fpu/libm-test-ulps: Update.
42492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42493
42494 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42495
42496 * configure.in (--enable-lock-elision): Fix message text.
42497 * INSTALL: Regenerate.
42498 * configure: Regenerate.
42499
42500 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42501
42502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42503
42504 2013-07-03 Andreas Jaeger <aj@suse.de>
42505
42506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42507 define.
42508 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42509 (ptrace_peeksiginfo_args): Add.
42510 (__ptrace_peeksiginfo_flags): Add.
42511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42514
42515 2013-07-03 Allan McRae <allan@archlinux.org>
42516
42517 * sysdeps/i386/fpu/libm-test-ulps: Update.
42518
42519 2013-07-02 David S. Miller <davem@davemloft.net>
42520
42521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42522
42523 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
42524
42525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42526
42527 2013-07-02 Joseph Myers <joseph@codesourcery.com>
42528
42529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42531
42532 2013-07-02 Andi Kleen <ak@linux.intel.com>
42533
42534 * config.h.in (ENABLE_LOCK_ELISION): Add.
42535 * configure.in (--enable-lock-elision): Add option.
42536 * manual/install.texi: Document --enable lock elision.
42537 * configure: Regenerate
42538 * INSTALL: Regenerate.
42539
42540 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
42541
42542 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42543 SSE4.2 strcasecmp for libc.a.
42544 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42545
42546 2013-07-02 Joseph Myers <joseph@codesourcery.com>
42547
42548 [BZ #13304]
42549 * soft-fp/op-common.h (_FP_FMA): New macro.
42550 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42551 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
42552 (_FP_MUL_MEAT_1_imm): ... here.
42553 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
42554 (_FP_MUL_MEAT_1_wide): ... here.
42555 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
42556 (_FP_MUL_MEAT_1_hard): ... here.
42557 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42558 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
42559 (_FP_MUL_MEAT_2_wide): ... here.
42560 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
42561 (_FP_MUL_MEAT_2_wide_3mul): ... here.
42562 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
42563 (_FP_MUL_MEAT_2_gmp): ... here.
42564 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42565 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
42566 (_FP_MUL_MEAT_4_wide): ... here.
42567 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
42568 (_FP_MUL_MEAT_4_gmp): ... here.
42569 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42570 (_FP_WFRACBITS_DW_S): Likewise.
42571 (_FP_WFRACXBITS_DW_S): Likewise.
42572 (_FP_HIGHBIT_DW_S): Likewise.
42573 (FP_FMA_S): Likewise.
42574 (_FP_FRAC_HIGH_DW_S): Likewise.
42575 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42576 (_FP_WFRACBITS_DW_D): Likewise.
42577 (_FP_WFRACXBITS_DW_D): Likewise.
42578 (_FP_HIGHBIT_DW_D): Likewise.
42579 (FP_FMA_D): Likewise.
42580 (_FP_FRAC_HIGH_DW_D): Likewise.
42581 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42582 (_FP_WFRACBITS_DW_E): Likewise.
42583 (_FP_WFRACXBITS_DW_E): Likewise.
42584 (_FP_HIGHBIT_DW_E): Likewise.
42585 (FP_FMA_E): Likewise.
42586 (_FP_FRAC_HIGH_DW_E): Likewise.
42587 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42588 (_FP_WFRACBITS_DW_Q): Likewise.
42589 (_FP_WFRACXBITS_DW_Q): Likewise.
42590 (_FP_HIGHBIT_DW_Q): Likewise.
42591 (FP_FMA_Q): Likewise.
42592 (_FP_FRAC_HIGH_DW_Q): Likewise.
42593 * soft-fp/fmasf4.c: New file.
42594 * soft-fp/fmadf4.c: Likewise.
42595 * soft-fp/fmatf4.c: Likewise.
42596
42597 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42598
42599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42600 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42601 Silvermont.
42602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42603 macro.
42604 (index_Slow_SSE4_2): Likewise.
42605 (index_Prefer_PMINUB_for_stringop): Likewise.
42606 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42607 bit_Slow_SSE4_2 is set.
42608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42610
42611 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42612
42613 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42614 rtld_global._dl_hwcap2.
42615 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42616 POWER8.
42617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42618 POWER8 feature descriptions defined in _dl_hwcap2.
42619 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42620 string handling for POWER8 feature bits.
42621 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42622 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42623 _dl_powerpc_cap_flags.
42624 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42625 * sysdeps/powerpc/rtld-global-offsets.sym
42626 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42627 _dl_hwcap2 in the rtld_global_ro structure.
42628
42629 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42630
42631 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42632 hardware capabilities in support of AT_HWCAP2.
42633 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42634 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42635 GLRO(dl_hwcap2).
42636 (_dl_show_auxv): Add support for calling _dl_procinfo to display
42637 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
42638 explicitly the unknown a_type display mechanism is used.
42639 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42640 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42641 struct member.
42642 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42643 to macro prototype for AT_HWCAP2 support.
42644 * sysdeps/i386/dl-procinfo.h: Likewise.
42645 * sysdeps/s390/dl-procinfo.h: Likewise.
42646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42647 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
42648 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
42649 return -1 for unknown a_type display fallback.
42650 * sysdeps/sparc/dl-procinfo.h: Likewise.
42651 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42652 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42653
42654 2013-06-28 Joseph Myers <joseph@codesourcery.com>
42655
42656 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42657 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42658
42659 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
42660
42661 [BZ #12492]
42662 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42663 mprotect making __stack_prot writable.
42664
42665 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
42666 Joseph Myers <joseph@codesourcery.com>
42667
42668 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42669 as being properly aligned.
42670
42671 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
42672
42673 * dlfcn/modstatic5.c: New file.
42674 * dlfcn/tststatic5.c: New file.
42675 * dlfcn/Makefile (tests): Add tststatic5.
42676 (tests-static): Likewise.
42677 (modules-names): Add modstatic5.
42678 (tststatic5-ENV): New variable.
42679 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42680
42681 [BZ #15022]
42682 * elf/dl-support.c (_dl_main_map): New variable.
42683 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42684 (_dl_nns, _dl_load_adds): Set to 1.
42685 (_dl_initial_searchlist): Refer to _dl_main_map.
42686 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42687 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42688 call to _dl_get_origin.
42689 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42690 around call_map.
42691 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42692 * dlfcn/modstatic3.c: New file.
42693 * dlfcn/tststatic3.c: New file.
42694 * dlfcn/tststatic4.c: New file.
42695 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42696 (tests-static): Likewise.
42697 (modules-names): Add modstatic3.
42698 (tststatic3-ENV, tststatic4-ENV): New variables.
42699 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42700 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42701
42702 2013-06-26 Joseph Myers <joseph@codesourcery.com>
42703
42704 * configure.in (CC): Require GCC version 4.4 or later.
42705 * configure: Regenerated.
42706 * manual/install.texi (Tools for Compilation): Update GCC version
42707 requirement.
42708 * INSTALL: Regenerated.
42709
42710 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42711
42712 [BZ #15674]
42713 * string/test-memcmp.c (check2): New.
42714 (main): Call check2.
42715
42716 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42717
42718 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
42719
42720 [BZ #15022]
42721 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42722 over to...
42723 (dl_open_worker) [!SHARED]: ... here.
42724
42725 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42726
42727 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42728
42729 2013-06-25 Richard Henderson <rth@redhat.com>
42730
42731 * locale/programs/locarchive.c: Include <libc-internal.h>
42732
42733 2013-06-25 Joseph Myers <joseph@codesourcery.com>
42734
42735 * manual/texinfo.tex: Update to version 2013-06-21.17, with
42736 trailing whitespace removed.
42737
42738 2013-06-24 Mike Frysinger <vapier@gentoo.org>
42739
42740 [BZ #10283]
42741 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42742 * locale/programs/locarchive.c: Include libc-mmap.h.
42743 (prepare_address_space): Take two new outputs (the mmap base and len).
42744 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
42745 values.
42746 (create_archive): Declare new mmap base and len values for
42747 prepare_address_space, and store the result in ah.
42748 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42749 (enlarge_archive): If ah->mmap_base is not NULL, use that and
42750 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42751 Declare new mmap base and len values for
42752 prepare_address_space, and store the result in new_ah.
42753 (open_archive): Declare new mmap base and len values for
42754 prepare_address_space, and store the result in ah.
42755 (close_archive): If ah->mmap_base is not NULL, use that and
42756 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42757 * sysdeps/generic/libc-mmap.h: New file.
42758
42759 2013-06-24 Mike Frysinger <vapier@gentoo.org>
42760
42761 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42762 (ALIGN_UP): Likewise.
42763 (PTR_ALIGN_DOWN): Likewise.
42764 (PTR_ALIGN_UP): Likewise.
42765
42766 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42767
42768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42769 entry mapped to PPC_PLATFORM_POWER8.
42770 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42771 POWER8.
42772 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42773 (_dl_string_platform): Add case for exporting platform position for
42774 POWER8.
42775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42776 search path to sysdeps/powerpc/powerpc32/power8 directory.
42777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42778 search path to sysdeps/powerpc/powerpc64/power8 directory.
42779 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42780 power7 directories.
42781 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42782 power7 directories.
42783
42784 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42785
42786 * INSTALL: Regenerate.
42787
42788 * nscd/connections.c (nscd_init): Fix comment.
42789
42790 2013-06-22 Joseph Myers <joseph@codesourcery.com>
42791
42792 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42793
42794 [BZ #15667]
42795 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42796 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42797
42798 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
42799
42800 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42801 DL_DST_REQ_STATIC.
42802 (DL_DST_REQ_STATIC): Remove macro.
42803
42804 2013-06-21 Joseph Myers <joseph@codesourcery.com>
42805
42806 [BZ #7006]
42807 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42808 with a shift of 0 bits.
42809
42810 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
42811
42812 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42813 $(tststatic-ENV).
42814
42815 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42816
42817 [BZ #15655]
42818 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42819
42820 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42821
42822 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42823 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42824 accepts -fno-tree-loop-distribute-patterns.
42825 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42826 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42827 recursive call.
42828 * string/memset.c (memset): Likewise.
42829 * string/test-memmove.c (simple_memmove): Disable loop transformation
42830 to library calls.
42831 * string/test-memset.c (simple_memset): Likewise.
42832 * benchtests/bench-memmove.c (simple_memmove): Likewise.
42833 * benchtests/bench-memset.c (simple_memset): Likewise.
42834 * configure: Regenerated.
42835
42836 2013-06-20 Joseph Myers <joseph@codesourcery.com>
42837
42838 * math/test-misc.c (main): Ignore fesetround failure when failures
42839 of subsequent rounding tests would be ignored.
42840
42841 [BZ #15654]
42842 * math/fedisblxcpt.c (fedisableexcept): Return 0.
42843 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42844 * math/fegetenv.c (__fegetenv): Return 0.
42845 * math/fegetexcept.c (fegetexcept): Return 0.
42846 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42847 FE_TONEAREST.
42848 * math/feholdexcpt.c (feholdexcept): Return 0.
42849 * math/fesetenv.c (__fesetenv): Return 0.
42850 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42851 argument FE_TONEAREST.
42852 * math/feupdateenv.c (__feupdateenv): Return 0.
42853 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42854
42855 2013-06-18 Roland McGrath <roland@hack.frob.com>
42856
42857 * elf/rtld-Rules (rtld-compile-command.S): New variable.
42858 (rtld-compile-command.s, rtld-compile-command.c): New variables.
42859 ($(objpfx)rtld-%.os rules): Use them.
42860
42861 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42862
42863 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42864 fields.
42865
42866 2013-06-17 Roland McGrath <roland@hack.frob.com>
42867
42868 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42869 length of target pattern, then descending length of dependency pattern.
42870 * configure.in (AWK): Require gawk 3.1.2 or newer.
42871 * manual/install.texi (Tools for Compilation): Say that we do.
42872 * configure: Regenerated.
42873
42874 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42875 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42876 * scripts/sysd-rules.awk: ... this new script.
42877 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42878 than a glob-style pattern.
42879
42880 2013-06-17 Joseph Myers <joseph@codesourcery.com>
42881
42882 * math/test-misc.c (main): Do not treat incorrectly rounded
42883 conversions as failure unless ROUNDING_TESTS passes.
42884
42885 2013-06-15 Joseph Myers <joseph@codesourcery.com>
42886
42887 [BZ #15631]
42888 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42889 restore exception state around main square root computation, then
42890 check for inexactness explicitly.
42891
42892 * math/libm-test.inc (fma_test_data): Add another test.
42893
42894 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42895
42896 * manual/threads.texi (Non-POSIX Extensions): New document
42897 node. Document pthread_getattr_default_np and
42898 pthread_setattr_default_np.
42899
42900 * Versions.def (libpthread): Add GLIBC_2.18.
42901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42903 Likewise.
42904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42905 Likewise.
42906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42907 Likewise.
42908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42909 Likewise.
42910 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42911 Likewise.
42912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42913 Likewise.
42914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42915 Likewise.
42916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42917 Likewise.
42918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42919 Likewise.
42920
42921 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42922
42923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42924 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42925
42926 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42927 H.J. Lu <hjl.tools@gmail.com>
42928
42929 [BZ #15627]
42930 * sysdeps/x86_64/rtld-memset.c: Remove file.
42931 * sysdeps/x86_64/rtld-memset.S: New file.
42932
42933 2013-06-14 Joseph Myers <joseph@codesourcery.com>
42934
42935 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42936 (test_in_one_mode): Take arguments for whether the rounding mode
42937 is supported for each floating-point type.
42938 (do_test): Pass new arguments to test_in_one_mode using
42939 ROUNDING_TESTS.
42940
42941 2013-06-13 Roland McGrath <roland@hack.frob.com>
42942
42943 * posix/tst-waitid.c (do_test): Distinguish different instances of
42944 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
42945 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42946 before entering the kernel for waitpid.
42947
42948 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42949
42950 * NEWS: Fix note on clock function precision. Text by Roland
42951 McGrath.
42952
42953 2013-06-13 Roland McGrath <roland@hack.frob.com>
42954
42955 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42956 it into place only when and if the sanity check passes.
42957
42958 2013-06-13 Joseph Myers <joseph@codesourcery.com>
42959
42960 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42961 output for whether conversion result is exact. Take argument
42962 indicating whether type is IBM long double.
42963 (round_for_all): Change need_exact field to ibm_ld.
42964 * stdlib/tst-strtod-round.c (struct exactness): New type.
42965 (struct test): Change bool ld_ok field to struct exactness exact.
42966 (TEST): Update all definitions for change to field.
42967 (tests): Regenerate array contents.
42968 (test_in_one_mode): Take pointer to new field instead of old ld_ok
42969 field value. Check for IBM long double here.
42970 (do_test): Update calls to test_in_one_mode.
42971
42972 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42973
42974 [BZ #12515]
42975 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42976 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42977
42978 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42979
42980 [BZ #15605]
42981 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42982 generated by the compiler on loop optimizations.
42983 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42984 general definitions.
42985
42986 2013-06-12 Joseph Myers <joseph@codesourcery.com>
42987
42988 * math/bug-nextafter.c: Include <math-tests.h>.
42989 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42990 the relevant type.
42991 * math/bug-nexttoward.c: Include <math-tests.h>.
42992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42993 the relevant type.
42994 * math/test-misc.c: Include <math-tests.h>.
42995 (main): Only test for exceptions if EXCEPTION_TESTS is true for
42996 the relevant type.
42997
42998 2013-06-12 Andreas Jaeger <aj@suse.de>
42999
43000 * po/ia.po: Update Interlingua translation from translation
43001 project.
43002
43003 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43004
43005 * include/fenv.h: Include stdbool.h.
43006 (struct rm_ctx): New structure.
43007 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43008 Define macro.
43009 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43010 (SET_RESTORE_ROUNDF): Likewise.
43011 (SET_RESTORE_ROUNDL): Likewise.
43012 (SET_RESTORE_ROUND_NOEX): Likewise.
43013 (SET_RESTORE_ROUND_NOEXF): Likewise.
43014 (SET_RESTORE_ROUND_NOEXL): Likewise.
43015 (SET_RESTORE_ROUND_53BIT): Likewise.
43016 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43017 (libc_feresetround_noexf_ctx): Likewise.
43018 (libc_feresetround_noexl_ctx): Likewise.
43019 (libc_feholdsetround_53bit_ctx): Likewise.
43020 (libc_feresetround_53bit_ctx): Likewise.
43021 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43022 (libc_feholdexcept_setround_sse_ctx): New function.
43023 (libc_fesetenv_sse_ctx): Likewise.
43024 (libc_feupdateenv_sse_ctx): Likewise.
43025 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43026 (libc_feholdexcept_setround_387_ctx): Likewise.
43027 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43028 (libc_feholdsetround_387_prec_ctx): Likewise.
43029 (libc_feholdsetround_387_ctx): Likewise.
43030 (libc_feholdsetround_387_53bit_ctx): Likewise.
43031 (libc_feholdsetround_sse_ctx): Likewise.
43032 (libc_feresetround_sse_ctx): Likewise.
43033 (libc_feresetround_387_ctx): Likewise.
43034 (libc_feupdateenv_387_ctx): Likewise.
43035 (libc_feholdexcept_setroundf_ctx): Define macro.
43036 (libc_fesetenvf_ctx): Likewise.
43037 (libc_feupdateenvf_ctx): Likewise.
43038 (libc_feholdsetroundf_ctx): Likewise.
43039 (libc_feresetroundf_ctx): Likewise.
43040 (libc_feholdexcept_setround_ctx): Likewise.
43041 (libc_fesetenv_ctx): Likewise.
43042 (libc_feupdateenv_ctx): Likewise.
43043 (libc_feholdsetround_ctx): Likewise.
43044 (libc_feresetround_ctx): Likewise.
43045 (libc_feholdexcept_setroundl_ctx): Likewise.
43046 (libc_feupdateenvl_ctx): Likewise.
43047 (libc_feholdsetroundl_ctx): Likewise.
43048 (libc_feresetroundl_ctx): Likewise.
43049 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43050 (libc_feresetround_53bit_ctx): Likewise.
43051
43052 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43053
43054 * locale/iso-639.def: Convert to UTF-8.
43055
43056 2013-06-11 Joseph Myers <joseph@codesourcery.com>
43057
43058 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43059 (EXCEPTION_TESTS_double): Likewise.
43060 (EXCEPTION_TESTS_long_double): Likewise.
43061 (EXCEPTION_TESTS): Likewise.
43062 * math/libm-test.inc (test_exceptions): Only test exceptions if
43063 EXCEPTION_TESTS (FLOAT).
43064
43065 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43066
43067 * benchtests/Makefile (string-bench): Add strcpy_chk and
43068 stpcpy_chk.
43069 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43070 * benchtests/bench-stpcpy_chk.c: New file.
43071 * benchtests/bench-strcpy_chk-ifunc.c: New file.
43072 * benchtests/bench-strcpy_chk.c: New file.
43073 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43074 code.
43075 (do_test): Likewise.
43076
43077 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43078
43079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43080 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43081 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43082 with tabs where appropriate.
43083 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43084 dl-procinfo.h.
43085 [PPC_PLATFORM_PPC440]: Likewise.
43086 [PPC_PLATFORM_PPC464]: Likewise.
43087 [PPC_PLATFORM_PPC476]: Likewise.
43088 (_dl_string_platform): Add support for detecting ppc405, ppc440,
43089 ppc464, and ppc476 platform strings merging from ports/
43090 dl-procinfo.h.
43091
43092 2013-06-11 Andreas Schwab <schwab@suse.de>
43093
43094 [BZ #14991]
43095 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43096 (from_ucs4_idx): Regenerate.
43097 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43098 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43099 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43100 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43101 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43102 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43103 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43104 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43105 from FROM_LOOP and TO_LOOP specific macros.
43106 (BODY): Handle combining characters.
43107 * iconvdata/BIG5HKSCS.irreversible: Update.
43108 * iconvdata/BIG5HKSCS.precomposed: New file.
43109 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43110 characters.
43111 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43112
43113 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43114
43115 * include/sys/time.h: Fix indentation and add copyright header.
43116
43117 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43118 (do_test): Likewise.
43119 * string/test-memchr.c (do_one_test): Likewise.
43120 (do_test): Likewise.
43121 * string/test-memcmp.c (do_one_test): Likewise.
43122 (do_test): Likewise.
43123 * string/test-memcpy.c (do_one_test): Likewise.
43124 (do_test): Likewise.
43125 * string/test-memmem.c (do_one_test): Likewise.
43126 (do_test): Likewise.
43127 (do_random_tests): Likewise.
43128 * string/test-memmove.c (do_one_test): Likewise.
43129 (do_test): Likewise.
43130 * string/test-memset.c (do_one_test): Likewise.
43131 (do_test): Likewise.
43132 * string/test-rawmemchr.c (do_one_test): Likewise.
43133 (do_test): Likewise.
43134 * string/test-strcasecmp.c (do_one_test): Likewise.
43135 (do_test): Likewise.
43136 * string/test-strcasestr.c (do_one_test): Likewise.
43137 (do_test): Likewise.
43138 * string/test-strcat.c (do_one_test): Likewise.
43139 (do_test): Likewise.
43140 * string/test-strchr.c (do_one_test): Likewise.
43141 (do_test): Likewise.
43142 * string/test-strcmp.c (do_one_test): Likewise.
43143 (do_test): Likewise.
43144 * string/test-strcpy.c (do_one_test): Likewise.
43145 (do_test): Likewise.
43146 * string/test-string.h: Likewise.
43147 (test_init): Likewise.
43148 * string/test-strlen.c (do_one_test): Likewise.
43149 (do_test): Likewise.
43150 * string/test-strncasecmp.c (do_one_test): Likewise.
43151 (do_test): Likewise.
43152 * string/test-strncat.c (do_one_test): Likewise.
43153 (do_test): Likewise.
43154 * string/test-strncmp.c (do_one_test): Likewise.
43155 (do_test_limit): Likewise.
43156 (do_test): Likewise.
43157 * string/test-strncpy.c (do_one_test): Likewise.
43158 (do_test): Likewise.
43159 * string/test-strnlen.c (do_one_test): Likewise.
43160 (do_test): Likewise.
43161 * string/test-strpbrk.c (do_one_test): Likewise.
43162 (do_test): Likewise.
43163 * string/test-strrchr.c (do_one_test): Likewise.
43164 (do_test): Likewise.
43165 * string/test-strspn.c (do_one_test): Likewise.
43166 (do_test): Likewise.
43167 * string/test-strstr.c (do_one_test): Likewise.
43168 (do_test): Likewise.
43169
43170 * benchtests/Makefile (string-bench): Add string benchmarks.
43171 * benchtests/bench-bcopy-ifunc.c: New file.
43172 * benchtests/bench-bcopy.c: New file.
43173 * benchtests/bench-bzero-ifunc.c: New file.
43174 * benchtests/bench-bzero.c: New file.
43175 * benchtests/bench-memccpy-ifunc.c: New file.
43176 * benchtests/bench-memccpy.c: New file.
43177 * benchtests/bench-memchr-ifunc.c: New file.
43178 * benchtests/bench-memchr.c: New file.
43179 * benchtests/bench-memcmp-ifunc.c: New file.
43180 * benchtests/bench-memcmp.c: New file.
43181 * benchtests/bench-memmem-ifunc.c: New file.
43182 * benchtests/bench-memmem.c: New file.
43183 * benchtests/bench-memmove-ifunc.c: New file.
43184 * benchtests/bench-memmove.c: New file.
43185 * benchtests/bench-mempcpy-ifunc.c: New file.
43186 * benchtests/bench-mempcpy.c: New file.
43187 * benchtests/bench-memset-ifunc.c: New file.
43188 * benchtests/bench-memset.c: New file.
43189 * benchtests/bench-rawmemchr-ifunc.c: New file.
43190 * benchtests/bench-rawmemchr.c: New file.
43191 * benchtests/bench-stpcpy-ifunc.c: New file.
43192 * benchtests/bench-stpcpy.c: New file.
43193 * benchtests/bench-stpncpy-ifunc.c: New file.
43194 * benchtests/bench-stpncpy.c: New file.
43195 * benchtests/bench-strcasecmp-ifunc.c: New file.
43196 * benchtests/bench-strcasecmp.c: New file.
43197 * benchtests/bench-strcasestr-ifunc.c: New file.
43198 * benchtests/bench-strcasestr.c: New file.
43199 * benchtests/bench-strcat-ifunc.c: New file.
43200 * benchtests/bench-strcat.c: New file.
43201 * benchtests/bench-strchr-ifunc.c: New file.
43202 * benchtests/bench-strchr.c: New file.
43203 * benchtests/bench-strchrnul-ifunc.c: New file.
43204 * benchtests/bench-strchrnul.c: New file.
43205 * benchtests/bench-strcmp-ifunc.c: New file.
43206 * benchtests/bench-strcmp.c: New file.
43207 * benchtests/bench-strcpy-ifunc.c: New file.
43208 * benchtests/bench-strcpy.c: New file.
43209 * benchtests/bench-strcspn-ifunc.c: New file.
43210 * benchtests/bench-strcspn.c: New file.
43211 * benchtests/bench-strlen-ifunc.c: New file.
43212 * benchtests/bench-strlen.c: New file.
43213 * benchtests/bench-strncasecmp-ifunc.c: New file.
43214 * benchtests/bench-strncasecmp.c: New file.
43215 * benchtests/bench-strncat-ifunc.c: New file.
43216 * benchtests/bench-strncat.c: New file.
43217 * benchtests/bench-strncmp-ifunc.c: New file.
43218 * benchtests/bench-strncmp.c: New file.
43219 * benchtests/bench-strncpy-ifunc.c: New file.
43220 * benchtests/bench-strncpy.c: New file.
43221 * benchtests/bench-strnlen-ifunc.c: New file.
43222 * benchtests/bench-strnlen.c: New file.
43223 * benchtests/bench-strpbrk-ifunc.c: New file.
43224 * benchtests/bench-strpbrk.c: New file.
43225 * benchtests/bench-strrchr-ifunc.c: New file.
43226 * benchtests/bench-strrchr.c: New file.
43227 * benchtests/bench-strspn-ifunc.c: New file.
43228 * benchtests/bench-strspn.c: New file.
43229 * benchtests/bench-strstr-ifunc.c: New file.
43230 * benchtests/bench-strstr.c: New file.
43231
43232 * benchtests/Makefile: Disable parallel execution of targets.
43233 (string-bench): Add memcpy.
43234 (benchset): New variable to store a list of benchmark sets.
43235 (bench-func): Renamed from bench.
43236 (bench-set): New target.
43237 (bench): Depend on bench-func and bench-set.
43238 * benchtests/README: Add section on benchmark sets.
43239 * benchtests/bench-memcpy-ifunc.c: New file.
43240 * benchtests/bench-memcpy.c: New file.
43241 * benchtests/bench-string.h: New file.
43242
43243 2013-06-11 Andreas Schwab <schwab@suse.de>
43244
43245 [BZ #15577]
43246 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43247 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43248 values in the triple.
43249 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43250 terminator in the group key.
43251
43252 2013-06-11 Andreas Jaeger <aj@suse.de>
43253
43254 * po/zh_TW.po: Update Chinese (traditional) translation from
43255 translation project.
43256
43257 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43258
43259 * include/time.h (__clock_gettime): Add libc_hidden_proto.
43260 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43261 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
43262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43263 (clock_getcpuclockid): Likewise.
43264 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43265 Add weak_alias and libc_hidden_def.
43266 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43267 * rt/clock_gettime.c (clock_gettime): Rename to
43268 __clock_gettime. Add weak_alias and libc_hidden_def.
43269 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43270 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43271 __clock_nanosleep. Add weak_alias and libc_hidden_def.
43272 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43273 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43274 Likewise.
43275 * rt/clock_settime.c (clock_settime): Rename to
43276 __clock_settime. Add weak_alias and libc_hidden_def.
43277 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43278
43279 2013-06-10 Joseph Myers <joseph@codesourcery.com>
43280
43281 * mach/err_boot.sub: Remove trailing whitespace.
43282 * mach/err_ipc.sub: Likewise.
43283 * mach/err_mach.sub: Likewise.
43284
43285 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43286 (ROUNDING_TESTS_double): Likewise.
43287 (ROUNDING_TESTS_long_double): Likewise.
43288 (ROUNDING_TESTS): Likewise.
43289 * math/libm-test.inc: Include <math-tests.h>.
43290 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43291 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43292 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43293 (IF_ROUND_INIT_FE_UPWARD): Likewise.
43294
43295 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43296
43297 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43298 of assigning.
43299
43300 2013-06-08 Joseph Myers <joseph@codesourcery.com>
43301
43302 * sysdeps/gnu/errlist.awk: Do not generate space at end of
43303 otherwise empty TRANS lines.
43304 * sysdeps/gnu/errlist.c: Regenerated.
43305
43306 * catgets/gencat.c (error_print): Use (void) in function
43307 definition.
43308 * crypt/crypt_util.c (__init_des): Likewise.
43309 * crypt/speeds.c (Stop): Likewise.
43310 (main): Likewise.
43311 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43312 * inet/ruserpass.c (token): Likewise.
43313 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43314 * intl/localealias.c (extend_alias_table): Likewise.
43315 * intl/plural-exp.c (init_germanic_plural): Likewise.
43316 * libio/fcloseall.c (__fcloseall): Likewise.
43317 * libio/genops.c (_IO_flush_all): Likewise.
43318 (_IO_flush_all_linebuffered): Likewise.
43319 (_IO_cleanup): Likewise.
43320 (_IO_iter_begin): Likewise.
43321 (_IO_iter_end): Likewise.
43322 (_IO_list_lock): Likewise.
43323 (_IO_list_unlock): Likewise.
43324 (_IO_list_resetlock): Likewise.
43325 * libio/getchar.c (getchar): Likewise.
43326 * libio/getchar_u.c (getchar_unlocked): Likewise.
43327 * libio/getwchar.c (getwchar): Likewise.
43328 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43329 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43330 * login/getpt.c (__getpt): Likewise.
43331 * login/tst-utmp.c (main): Likewise.
43332 * malloc/hooks.c (__malloc_check_init): Likewise.
43333 * malloc/malloc.c (__malloc_stats): Likewise.
43334 * malloc/mtrace.c (tr_break): Likewise.
43335 (mtrace): Likewise.
43336 (muntrace): Likewise.
43337 * misc/fstab.c (endfsent): Likewise.
43338 * misc/getclktck.c (__getclktck): Likewise.
43339 * misc/getdtsz.c (__getdtablesize): Likewise.
43340 * misc/gethostid.c (gethostid): Likewise.
43341 * misc/getpagesize.c (__getpagesize): Likewise.
43342 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43343 (__get_nprocs): Likewise.
43344 (__get_phys_pages): Likewise.
43345 (__get_avphys_pages): Likewise.
43346 * misc/getttyent.c (getttyent): Likewise.
43347 (setttyent): Likewise.
43348 (endttyent): Likewise.
43349 * misc/getusershell.c (getusershell): Likewise.
43350 (endusershell): Likewise.
43351 (setusershell): Likewise.
43352 (initshells): Likewise.
43353 * misc/hsearch.c (__hdestroy): Likewise.
43354 * misc/sync.c (sync): Likewise.
43355 * misc/syslog.c (closelog_internal): Likewise.
43356 (closelog): Likewise.
43357 * misc/ttyslot.c (ttyslot): Likewise.
43358 * misc/vhangup.c (vhangup): Likewise.
43359 * posix/fork.c (__fork): Likewise.
43360 * posix/getegid.c (__getegid): Likewise.
43361 * posix/geteuid.c (__geteuid): Likewise.
43362 * posix/getgid.c (__getgid): Likewise.
43363 * posix/getpid.c (__getpid): Likewise.
43364 * posix/getppid.c (__getppid): Likewise.
43365 * posix/getuid.c (__getuid): Likewise.
43366 * posix/pause.c (pause): Likewise.
43367 * posix/setpgrp.c (setpgrp): Likewise.
43368 * posix/setsid.c (__setsid): Likewise.
43369 * posix/test-vfork.c (noop): Likewise.
43370 * resolv/gethnamaddr.c (_endhtent): Likewise.
43371 (_gethtent): Likewise.
43372 (ht_endhostent): Likewise.
43373 (gethostent): Likewise.
43374 (dns_service): Likewise.
43375 * stdlib/drand48.c (drand48): Likewise.
43376 * stdlib/lrand48.c (lrand48): Likewise.
43377 * stdlib/mrand48.c (mrand48): Likewise.
43378 * stdlib/rand.c (rand): Likewise.
43379 * stdlib/random.c (__random): Likewise.
43380 * stdlib/setenv.c (clearenv): Likewise.
43381 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43382 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43383 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43384 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43385 (__get_nprocs): Likewise.
43386 (__get_phys_pages): Likewise.
43387 (__get_avphys_pages): Likewise.
43388 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43389 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43390 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43391 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43392 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43393 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43394 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43395 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43396 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43397 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43398 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43399 * sysdeps/mach/hurd/sync.c (sync): Likewise.
43400 * sysdeps/posix/clock.c (clock): Likewise.
43401 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43402 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43403 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43404 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43405 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43407 (__get_nprocs_conf): Likewise.
43408 (__get_phys_pages): Likewise.
43409 (__get_avphys_pages): Likewise.
43410 * time/clock.c (clock): Likewise.
43411 * time/tzset.c (__tzname_max): Likewise.
43412
43413 2013-06-07 Joseph Myers <joseph@codesourcery.com>
43414
43415 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43416 (__bswap_32): Do not use "register".
43417 * crypt/crypt.c (_ufc_doit_r): Likewise.
43418 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43420 * gmon/gmon.c (__monstartup): Likewise.
43421 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43422 * hurd/hurdmalloc.c (more_memory): Likewise.
43423 (malloc): Likewise.
43424 (free): Likewise.
43425 (realloc): Likewise.
43426 (malloc_fork_prepare): Likewise.
43427 (malloc_fork_parent): Likewise.
43428 (malloc_fork_child): Likewise.
43429 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43430 (_svcauth_des): Likewise.
43431 * inet/inet_lnaof.c (inet_lnaof): Likewise.
43432 * inet/inet_net.c (inet_network): Likewise.
43433 * inet/inet_netof.c (inet_netof): Likewise.
43434 * inet/rcmd.c (__validuser2_sa): Likewise.
43435 * io/fts.c (fts_open): Likewise.
43436 (fts_load): Likewise.
43437 (fts_close): Likewise.
43438 (fts_read): Likewise.
43439 (fts_children): Likewise.
43440 (fts_build): Likewise.
43441 (fts_stat): Likewise.
43442 (fts_sort): Likewise.
43443 (fts_alloc): Likewise.
43444 (fts_lfree): Likewise.
43445 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43446 (_IO_file_xsgetn): Likewise.
43447 (_IO_file_xsgetn_mmap): Likewise.
43448 * libio/iofopncook.c (_IO_cookie_read): Likewise.
43449 (_IO_cookie_write): Likewise.
43450 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43451 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43452 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43453 * malloc/obstack.c (_obstack_begin): Likewise.
43454 (_obstack_begin_1): Likewise.
43455 (_obstack_newchunk): Likewise.
43456 (_obstack_allocated_p): Likewise.
43457 (obstack_free): Likewise.
43458 (_obstack_memory_used): Likewise.
43459 * misc/getttyent.c (getttynam): Likewise.
43460 (getttyent): Likewise.
43461 (skip): Likewise.
43462 (value): Likewise.
43463 * misc/getusershell.c (initshells): Likewise.
43464 * misc/syslog.c (__vsyslog_chk): Likewise.
43465 * misc/ttyslot.c (ttyslot): Likewise.
43466 * nis/nis_hash.c (__nis_hash): Likewise.
43467 * posix/fnmatch_loop.c (FCT): Likewise.
43468 * posix/getconf.c (print_all): Likewise.
43469 (main): Likewise.
43470 * posix/getopt.c (exchange): Likewise.
43471 * posix/glob.c (globfree): Likewise.
43472 (prefix_array): Likewise.
43473 (__glob_pattern_type): Likewise.
43474 * resolv/arpa/nameser.h (NS_GET16): Likewise.
43475 (NS_GET32): Likewise.
43476 (NS_PUT16): Likewise.
43477 (NS_PUT32): Likewise.
43478 * resolv/gethnamaddr.c (getanswer): Likewise.
43479 (gethostbyname2): Likewise.
43480 (gethostbyaddr): Likewise.
43481 (_gethtent): Likewise.
43482 (_gethtbyname2): Likewise.
43483 (_gethtbyaddr): Likewise.
43484 * resolv/ns_print.c (dst_s_get_int16): Likewise.
43485 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43486 * resolv/res_init.c (__res_vinit): Likewise.
43487 (net_mask): Likewise.
43488 * resolv/res_mkquery.c (outchar): Likewise.
43489 (PRINT): Likewise.
43490 * stdio-common/printf_fp.c (outchar): Likewise.
43491 (PRINT): Likewise.
43492 * stdio-common/printf_fphex.c (outchar): Likewise.
43493 (PRINT): Likewise.
43494 * stdio-common/printf_size.c (outchar): Likewise.
43495 (PRINT): Likewise.
43496 * stdio-common/test_rdwr.c (main): Likewise.
43497 * stdio-common/tfformat.c (matches): Likewise.
43498 * stdio-common/vfprintf.c (outchar): Likewise.
43499 (printf_unknown): Likewise.
43500 (buffered_vfprintf): Likewise.
43501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43502 * stdio-common/xbug.c (AppendToBuffer): Likewise.
43503 (ReadFile): Likewise.
43504 * stdlib/qsort.c (SWAP): Likewise.
43505 (_quicksort): Likewise.
43506 * stdlib/setenv.c (__add_to_environ): Likewise.
43507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43508 * stdlib/strtol_l.c (__strtol_l): Likewise.
43509 * stdlib/tst-strtod.c (main): Likewise.
43510 * stdlib/tst-strtol.c (main): Likewise.
43511 * stdlib/tst-strtoll.c (main): Likewise.
43512 * string/bits/string2.h (__strcmp_cc): Likewise.
43513 (__strcmp_cg): Likewise.
43514 (__strcspn_c1): Likewise.
43515 (__strcspn_c2): Likewise.
43516 (__strcspn_c3): Likewise.
43517 (__strspn_c1): Likewise.
43518 (__strspn_c2): Likewise.
43519 (__strspn_c3): Likewise.
43520 (__strsep_1c): Likewise.
43521 (__strsep_2c): Likewise.
43522 (__strsep_3c): Likewise.
43523 * string/memccpy.c (__memccpy): Likewise.
43524 * string/stpcpy.c (__stpcpy): Likewise.
43525 * string/strcmp.c (strcmp): Likewise.
43526 * string/strrchr.c (strrchr): Likewise.
43527 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43528 Likewise.
43529 * sysdeps/mach/hurd/getcwd.c
43530 (_hurd_canonicalize_directory_name_internal): Likewise.
43531 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43532 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43534 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43535 Likewise, in both definitions.
43536 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43537 definitions.
43538 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43539 64] (__bswap_64): Likewise.
43540 * time/test_time.c (main): Likewise.
43541 * time/tzfile.c (__tzfile_read): Likewise.
43542 (__tzfile_compute): Likewise.
43543 * time/tzset.c (__tzset_parse_tz): Likewise.
43544 (tzset_internal): Likewise.
43545 (compute_change): Likewise.
43546 * wcsmbs/wcscat.c (__wcscat): Likewise.
43547 * wcsmbs/wcschr.c (wcschr): Likewise.
43548 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43549 * wcsmbs/wcscspn.c (wcscspn): Likewise.
43550 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43551 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43552 * wcsmbs/wcsspn.c (wcsspn): Likewise.
43553 * wcsmbs/wcsstr.c (wcsstr): Likewise.
43554 * wcsmbs/wmemchr.c (wmemchr): Likewise.
43555 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43556 * wcsmbs/wmemset.c (wmemset): Likewise.
43557
43558 2013-06-06 Joseph Myers <joseph@codesourcery.com>
43559
43560 * scripts/config.guess: Update to version 2013-05-16.
43561 * scripts/config.sub: Update to version 2013-04-24.
43562 * scripts/install-sh: Update to version 2011-11-20.07.
43563 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43564 * scripts/move-if-change: Update to version 2012-01-06 07:23.
43565
43566 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
43567
43568 * debug/fgetws_u_chk.c: Fix leading whitespaces.
43569 * elf/sln.c: Likewise.
43570 * hurd/hurd/ioctl.h: Likewise.
43571 * hurd/hurdmalloc.c: Likewise.
43572 * hurd/xattr.c: Likewise.
43573 * include/shlib-compat.h: Likewise.
43574 * inet/ruserpass.c: Likewise.
43575 * libio/iofgets_u.c: Likewise.
43576 * libio/iofgetws_u.c: Likewise.
43577 * locale/programs/ld-identification.c: Likewise.
43578 * locale/programs/ld-time.c: Likewise.
43579 * mach/msg-destroy.c: Likewise.
43580 * nss/nss_files/files-netgrp.c: Likewise.
43581 * resolv/res_data.c: Likewise.
43582 * soft-fp/op-1.h: Likewise.
43583 * soft-fp/op-2.h: Likewise.
43584 * soft-fp/op-4.h: Likewise.
43585 * soft-fp/op-common.h: Likewise.
43586 * stdio-common/printf_fphex.c: Likewise.
43587 * stdlib/strtod_l.c: Likewise.
43588 * sunrpc/rpc/clnt.h: Likewise.
43589 * sysdeps/generic/framestate.c: Likewise.
43590 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43591 * sysdeps/i386/bsd-setjmp.S: Likewise.
43592 * sysdeps/i386/__longjmp.S: Likewise.
43593 * sysdeps/i386/setjmp.S: Likewise.
43594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43612 * sysdeps/ieee754/support.c: Likewise.
43613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43614 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43615 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43616 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43617 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43618 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43619 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43624 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43627 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43628 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43629 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43631
43632 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
43633
43634 * posix/transbug.c: Remove executable mode.
43635
43636 2013-06-05 Joseph Myers <joseph@codesourcery.com>
43637
43638 * crypt/speeds.c: Remove trailing whitespace.
43639 * dlfcn/default.c: Likewise.
43640 * elf/ifuncdep2.c: Likewise.
43641 * elf/ifuncmain1.c: Likewise.
43642 * elf/ifuncmain1vis.c: Likewise.
43643 * elf/testobj.h: Likewise.
43644 * elf/tst-stackguard1.c: Likewise.
43645 * gmon/sys/gmon.h: Likewise.
43646 * hurd/hurdmsg.c: Likewise.
43647 * hurd/new-fd.c: Likewise.
43648 * hurd/ports-get.c: Likewise.
43649 * iconvdata/ibm1008_420.c: Likewise.
43650 * inet/tst-getni1.c: Likewise.
43651 * inet/tst-getni2.c: Likewise.
43652 * libio/ioungetc.c: Likewise.
43653 * libio/wfiledoalloc.c: Likewise.
43654 * manual/libm-err-tab.pl: Likewise.
43655 * math/w_dremf.c: Likewise.
43656 * misc/ftruncate.c: Likewise.
43657 * posix/bug-glob2.c: Likewise.
43658 * posix/tst-pcre.c: Likewise.
43659 * posix/wait4.c: Likewise.
43660 * resolv/README: Likewise.
43661 * resolv/res_debug.h: Likewise.
43662 * resolv/tst-inet_ntop.c: Likewise.
43663 * setjmp/bug269-setjmp.c: Likewise.
43664 * soft-fp/extended.h: Likewise.
43665 * soft-fp/op-1.h: Likewise.
43666 * soft-fp/op-2.h: Likewise.
43667 * soft-fp/op-4.h: Likewise.
43668 * soft-fp/op-8.h: Likewise.
43669 * soft-fp/testit.c: Likewise.
43670 * stdio-common/bug16.c: Likewise.
43671 * stdlib/random.c: Likewise.
43672 * sunrpc/rpcsvc/rquota.x: Likewise.
43673 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43682 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43684 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43687 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43688 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43695 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43702 * sysdeps/ieee754/s_lib_version.c: Likewise.
43703 * sysdeps/mach/hurd/check_fds.c: Likewise.
43704 * sysdeps/mach/hurd/getsockname.c: Likewise.
43705 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43706 * sysdeps/mach/hurd/recvfrom.c: Likewise.
43707 * sysdeps/powerpc/bits/link.h: Likewise.
43708 * sysdeps/powerpc/dl-procinfo.c: Likewise.
43709 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43710 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43711 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43712 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43713 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43714 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43715 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43716 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43717 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43720 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43721 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43722 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43723 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43729 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43731 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43732 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43742 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43744 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43745 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43746 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43748 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43749 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43750 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43751 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43752 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43753 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43754 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43756 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43757 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43763 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43764 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43768 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43770 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43772 * sysdeps/powerpc/sysdep.h: Likewise.
43773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43774 * sysdeps/s390/s390-64/sub_n.S: Likewise.
43775 * sysdeps/sh/dl-trampoline.S: Likewise.
43776 * sysdeps/sh/memset.S: Likewise.
43777 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43778 * sysdeps/sh/strlen.S: Likewise.
43779 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43780 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43781 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43782 * sysdeps/sparc/sparc32/rem.S: Likewise.
43783 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43784 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43785 * sysdeps/sparc/sparc32/strchr.S: Likewise.
43786 * sysdeps/sparc/sparc32/udiv.S: Likewise.
43787 * sysdeps/sparc/sparc32/urem.S: Likewise.
43788 * sysdeps/sparc/sparc64/add_n.S: Likewise.
43789 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43790 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43791 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43793 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43794 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43795 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43796 * sysdeps/unix/bsd/times.c: Likewise.
43797 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43798 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43802 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43803 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43804 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43808 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43809 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43811 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43812 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43813 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43814 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43815 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43816 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43817 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43818 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43819 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43822 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43823 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43825 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43826 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43827 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43828 * sysdeps/x86_64/strcspn.S: Likewise.
43829
43830 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43831
43832 * locale/C-translit.h: Revert #include <stdint.h> because this is a
43833 generated file. Regenerate properly from gen-translit.pl.
43834 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
43835 locale/C-translit.h.
43836
43837 2013-06-05 Andreas Schwab <schwab@suse.de>
43838
43839 [BZ #15100]
43840 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43841 week as 6 instead of -1.
43842 * time/tst-strptime.c (day_tests): Add test case.
43843
43844 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43845
43846 * sysdeps/generic/math_private.h
43847 (libc_feholdexcept_setround_53bit): Replace with
43848 libc_feholdsetround_53bit.
43849 (libc_feupdateenv_53bit): Replace with
43850 libc_feresetround_53bit.
43851 (SET_RESTORE_ROUND_53BIT): Adjust.
43852
43853 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
43854
43855 * string/test-strchrnul.c: Add copyright header.
43856
43857 * posix/tst-getaddrinfo4.c: Increase test timeout.
43858
43859 2013-06-03 Carlos O'Donell <carlos@redhat.com>
43860
43861 [BZ #15536]
43862 * math/libm-test.inc (MAX_EXP): Remove
43863 (MIN_EXP): Define.
43864 (ulp): Use MIN_EXP - MANT_DIG.
43865 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43866
43867 2013-05-31 Carlos O'Donell <carlos@redhat.com>
43868
43869 * po/be.po: Revert last change.
43870 * po/zh_CN.po: Likewise.
43871 * po/header.pot: Likewise.
43872
43873 2013-05-31 Joseph Myers <joseph@codesourcery.com>
43874
43875 * Makefile ($(common-objpfx)linkobj/libc.so): Define
43876 link-libc-deps to empty as target-specific variable.
43877 * Makerules (link-libc-args): New variable.
43878 (libc-for-link): Likewise.
43879 (link-libc-deps): Likewise.
43880 (lib%.so): Depend on $(link-libc-deps). Link with
43881 $(link-libc-args).
43882 (build-module): Link with $(link-libc-args).
43883 (build-module-asneeded): Likewise.
43884 (build-module-helper-objlist): Filter out $(link-libc-deps) from
43885 list of objects.
43886 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43887 target-specific variable.
43888 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43889 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43890 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43891 libc.
43892 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43893 libc and ld.so.
43894 ($(objpfx)libpcprofile.so): Likewise.
43895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43896 libc_nonshared.a.
43897 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43898 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43899 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43900 $(link-libc-deps).
43901 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43902 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43903 * login/Makefile ($(objpfx)libutil.so): Likewise.
43904 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43905 * math/Makefile ($(objpfx)libm.so): Likewise.
43906 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43907 $(objpfx)libnsl.so): Define libc-for-link as target-specific
43908 variable instead of depending directly on libc.
43909 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43910 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43911 $(link-libc-deps).
43912 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43913 libc.
43914 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43915 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43916 ($(objpfx)libanl.so): Likewise.
43917 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43918 ld.so.
43919 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43920 $(link-libc-deps).
43921 * sysdeps/i386/fpu/Makefile: Remove file.
43922 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43923 ($(objpfx)libm.so): Remove dependency on ld.so.
43924
43925 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
43926
43927 [BZ # 15553]
43928 * nis/yp_xdr.c (XDRMAXNAME): Define.
43929 (XDRMAXRECORD): Define.
43930 (xdr_domainname): Use XDRMAXNAME.
43931 (xdr_mapname): Likewise.
43932 (xdr_peername): Likewise.
43933 (xdr_keydat): Use XDRMAXRECORD.
43934 (xdr_valdat): Likewise.
43935
43936 2013-05-30 Jeff Law <law@redhat.com>
43937
43938 [BZ #14256]
43939 * manual/errno.texi (ESTALE): Update to account for more than
43940 just NFS file systems.
43941 * sysdeps/gnu/errlist.c: Regenerated.
43942
43943 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43944
43945 [BZ #15465]
43946 * elf/Makefile (tests): Add tst-null-argv.
43947 (modules-names): Add tst-null-argv-lib.
43948 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43949 (tst-null-argv-ENV): Set environment for tst-null-argv.
43950 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43951 (RTLD_PROGNAME): New macro.
43952 * elf/tst-null-argv.c: New test case.
43953 * elf/tst-null-argv-lib.c: Library for test case.
43954 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43955 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43956 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43957 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43958 * elf/dl-init.c (call_init): Likewise.
43959 (_dl_init): Likewise.
43960 * elf/dl-load.c (print_search_path): Likewise.
43961 (_dl_map_object): Likewise.
43962 * elf/dl-lookup.c (do_lookup_x): Likewise.
43963 (add_dependency): Likewise.
43964 (_dl_lookup_symbol_x): Likewise.
43965 (_dl_debug_bindings): Likewise.
43966 * elf/dl-open.c (_dl_show_scope): Likewise.
43967 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43968 * elf/dl-version.c (match_symbol): Likewise.
43969 (_dl_check_map_versions): Likewise.
43970 * elf/rtld.c (dl_main): Likewise.
43971 (print_unresolved): Use RTLD_PROGNAME.
43972 (print_missing_version): Likewise.
43973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43974 (elf_machine_rela): Likewise.
43975 * sysdeps/powerpc/powerpc32/dl-machine.c
43976 (__process_machine_rela): Likewise.
43977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43978 Likewise.
43979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43980 Likewise.
43981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43982 Likewise.
43983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43985 Likewise.
43986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43987 Likewise.
43988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43989
43990 2013-05-28 Carlos O'Donell <carlos@redhat.com>
43991
43992 * po/be.po: Add descriptive title.
43993 * po/zh_CN.po: Likewise.
43994 * po/header.pot: Likewise.
43995
43996 2013-05-28 Mike Frysinger <vapier@gentoo.org>
43997
43998 * locale/programs/locarchive.c (create_archive): Inlucde fname in
43999 error message.
44000 (enlarge_archive): Likewise.
44001
44002 2013-05-28 Ben North <ben@redfrontdoor.org>
44003
44004 * manual/arith.texi (frexp): It is the magnitude of the return
44005 value which lies in [0.5, 1), not the return value itself.
44006
44007 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44008
44009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44010
44011 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
44012
44013 * stdio-common/bug26.c (main): Correct fscanf template.
44014
44015 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44016 declare _dl_skip_args.
44017
44018 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44019 Don't declare.
44020
44021 * manual/platform.texi: Add missing @end deftypefun.
44022
44023 2013-05-24 Joseph Myers <joseph@codesourcery.com>
44024
44025 [BZ #15529]
44026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44027 bit of mantissa of 2^16382.
44028 * math/libm-test.inc (hypot_test_data): Add more tests.
44029
44030 * math/libm-test.inc: Add drem and pow10 to list of tested
44031 functions.
44032 (pow10_test): New function.
44033 (drem_test): Likewise.
44034 (drem_test_tonearest): Likewise.
44035 (drem_test_towardzero): Likewise.
44036 (drem_test_downward): Likewise.
44037 (drem_test_upward): Likewise.
44038 (main): Call the new functions.
44039
44040 * math/libm-test.inc (finite_test_data): Remove.
44041 (finite_test): Run tests from isfinite_test_data.
44042 (gamma_test_data): Remove.
44043 (gamma_test): Run tests from lgamma_test_data.
44044 * sysdeps/i386/fpu/libm-test-ulps: Update.
44045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44046
44047 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44048
44049 * manual/platform.texi: Add PowerPC PPR function set documentation.
44050 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44051 implementation.
44052
44053 2013-05-24 Carlos O'Donell <carlos@redhat.com>
44054
44055 * math/libm-test.inc (MAX_EXP): Define.
44056 (ULPDIFF): Define.
44057 (ulp): New function.
44058 (check_float_internal): Use ULPDIFF.
44059 (cpow_test): Disable failing test.
44060 (check_ulp): Test ulp() implemetnation.
44061 (main): Call check_ulp before starting tests.
44062
44063 2013-05-24 Joseph Myers <joseph@codesourcery.com>
44064
44065 * math/gen-libm-test.pl (generate_testfile): Do not handle
44066 START_DATA and END_DATA.
44067 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44068 END_DATA.
44069 (acos_tonearest_test_data): Likewise.
44070 (acos_towardzero_test_data): Likewise.
44071 (acos_downward_test_data): Likewise.
44072 (acos_upward_test_data): Likewise.
44073 (acosh_test_data): Likewise.
44074 (asin_test_data): Likewise.
44075 (asin_tonearest_test_data): Likewise.
44076 (asin_towardzero_test_data): Likewise.
44077 (asin_downward_test_data): Likewise.
44078 (asin_upward_test_data): Likewise.
44079 (asinh_test_data): Likewise.
44080 (atan_test_data): Likewise.
44081 (atanh_test_data): Likewise.
44082 (atan2_test_data): Likewise.
44083 (cabs_test_data): Likewise.
44084 (cacos_test_data): Likewise.
44085 (cacosh_test_data): Likewise.
44086 (carg_test_data): Likewise.
44087 (casin_test_data): Likewise.
44088 (casinh_test_data): Likewise.
44089 (catan_test_data): Likewise.
44090 (catanh_test_data): Likewise.
44091 (cbrt_test_data): Likewise.
44092 (ccos_test_data): Likewise.
44093 (ccosh_test_data): Likewise.
44094 (ceil_test_data): Likewise.
44095 (cexp_test_data): Likewise.
44096 (cimag_test_data): Likewise.
44097 (clog_test_data): Likewise.
44098 (clog10_test_data): Likewise.
44099 (conj_test_data): Likewise.
44100 (copysign_test_data): Likewise.
44101 (cos_test_data): Likewise.
44102 (cos_tonearest_test_data): Likewise.
44103 (cos_towardzero_test_data): Likewise.
44104 (cos_downward_test_data): Likewise.
44105 (cos_upward_test_data): Likewise.
44106 (cosh_test_data): Likewise.
44107 (cosh_tonearest_test_data): Likewise.
44108 (cosh_towardzero_test_data): Likewise.
44109 (cosh_downward_test_data): Likewise.
44110 (cosh_upward_test_data): Likewise.
44111 (cpow_test_data): Likewise.
44112 (cproj_test_data): Likewise.
44113 (creal_test_data): Likewise.
44114 (csin_test_data): Likewise.
44115 (csinh_test_data): Likewise.
44116 (csqrt_test_data): Likewise.
44117 (ctan_test_data): Likewise.
44118 (ctan_tonearest_test_data): Likewise.
44119 (ctan_towardzero_test_data): Likewise.
44120 (ctan_downward_test_data): Likewise.
44121 (ctan_upward_test_data): Likewise.
44122 (ctanh_test_data): Likewise.
44123 (ctanh_tonearest_test_data): Likewise.
44124 (ctanh_towardzero_test_data): Likewise.
44125 (ctanh_downward_test_data): Likewise.
44126 (ctanh_upward_test_data): Likewise.
44127 (erf_test_data): Likewise.
44128 (erfc_test_data): Likewise.
44129 (exp_test_data): Likewise.
44130 (exp_tonearest_test_data): Likewise.
44131 (exp_towardzero_test_data): Likewise.
44132 (exp_downward_test_data): Likewise.
44133 (exp_upward_test_data): Likewise.
44134 (exp10_test_data): Likewise.
44135 (exp2_test_data): Likewise.
44136 (expm1_test_data): Likewise.
44137 (fabs_test_data): Likewise.
44138 (fdim_test_data): Likewise.
44139 (finite_test_data): Likewise.
44140 (floor_test_data): Likewise.
44141 (fma_test_data): Likewise.
44142 (fma_towardzero_test_data): Likewise.
44143 (fma_downward_test_data): Likewise.
44144 (fma_upward_test_data): Likewise.
44145 (fmax_test_data): Likewise.
44146 (fmin_test_data): Likewise.
44147 (fmod_test_data): Likewise.
44148 (fpclassify_test_data): Likewise.
44149 (frexp_test_data): Likewise.
44150 (gamma_test_data): Likewise.
44151 (hypot_test_data): Likewise.
44152 (ilogb_test_data): Likewise.
44153 (isfinite_test_data): Likewise.
44154 (isgreater_test_data): Likewise.
44155 (isgreaterequal_test_data): Likewise.
44156 (isinf_test_data): Likewise.
44157 (isless_test_data): Likewise.
44158 (islessequal_test_data): Likewise.
44159 (islessgreater_test_data): Likewise.
44160 (isnan_test_data): Likewise.
44161 (isnormal_test_data): Likewise.
44162 (issignaling_test_data): Likewise.
44163 (isunordered_test_data): Likewise.
44164 (j0_test_data): Likewise.
44165 (j1_test_data): Likewise.
44166 (jn_test_data): Likewise.
44167 (ldexp_test_data): Likewise.
44168 (lgamma_test_data): Likewise.
44169 (lrint_test_data): Likewise.
44170 (lrint_tonearest_test_data): Likewise.
44171 (lrint_towardzero_test_data): Likewise.
44172 (lrint_downward_test_data): Likewise.
44173 (lrint_upward_test_data): Likewise.
44174 (llrint_test_data): Likewise.
44175 (llrint_tonearest_test_data): Likewise.
44176 (llrint_towardzero_test_data): Likewise.
44177 (llrint_downward_test_data): Likewise.
44178 (llrint_upward_test_data): Likewise.
44179 (log_test_data): Likewise.
44180 (log10_test_data): Likewise.
44181 (log1p_test_data): Likewise.
44182 (log2_test_data): Likewise.
44183 (logb_test_data): Likewise.
44184 (logb_downward_test_data): Likewise.
44185 (lround_test_data): Likewise.
44186 (llround_test_data): Likewise.
44187 (modf_test_data): Likewise.
44188 (nearbyint_test_data): Likewise.
44189 (nextafter_test_data): Likewise.
44190 (nexttoward_test_data): Likewise.
44191 (pow_test_data): Likewise.
44192 (pow_tonearest_test_data): Likewise.
44193 (pow_towardzero_test_data): Likewise.
44194 (pow_downward_test_data): Likewise.
44195 (pow_upward_test_data): Likewise.
44196 (remainder_test_data): Likewise.
44197 (remainder_tonearest_test_data): Likewise.
44198 (remainder_towardzero_test_data): Likewise.
44199 (remainder_downward_test_data): Likewise.
44200 (remainder_upward_test_data): Likewise.
44201 (remquo_test_data): Likewise.
44202 (rint_test_data): Likewise.
44203 (rint_tonearest_test_data): Likewise.
44204 (rint_towardzero_test_data): Likewise.
44205 (rint_downward_test_data): Likewise.
44206 (rint_upward_test_data): Likewise.
44207 (round_test_data): Likewise.
44208 (scalb_test_data): Likewise.
44209 (scalbn_test_data): Likewise.
44210 (scalbln_test_data): Likewise.
44211 (signbit_test_data): Likewise.
44212 (sin_test_data): Likewise.
44213 (sin_tonearest_test_data): Likewise.
44214 (sin_towardzero_test_data): Likewise.
44215 (sin_downward_test_data): Likewise.
44216 (sin_upward_test_data): Likewise.
44217 (sincos_test_data): Likewise.
44218 (sinh_test_data): Likewise.
44219 (sinh_tonearest_test_data): Likewise.
44220 (sinh_towardzero_test_data): Likewise.
44221 (sinh_downward_test_data): Likewise.
44222 (sinh_upward_test_data): Likewise.
44223 (sqrt_test_data): Likewise.
44224 (tan_test_data): Likewise.
44225 (tan_tonearest_test_data): Likewise.
44226 (tan_towardzero_test_data): Likewise.
44227 (tan_downward_test_data): Likewise.
44228 (tan_upward_test_data): Likewise.
44229 (tanh_test_data): Likewise.
44230 (tgamma_test_data): Likewise.
44231 (trunc_test_data): Likewise.
44232 (y0_test_data): Likewise.
44233 (y1_test_data): Likewise.
44234 (yn_test_data): Likewise.
44235 (significand_test_data): Likewise.
44236
44237 * math/gen-libm-test.pl (@functions): Remove variable.
44238 (generate_testfile): Don't handle START and END lines.
44239 * math/libm-test.inc (START): New macro.
44240 (END): Likewise.
44241 (END_COMPLEX): Likewise.
44242 (acos_test): Use END macro without arguments.
44243 (acos_test_tonearest): Likewise.
44244 (acos_test_towardzero): Likewise.
44245 (acos_test_downward): Likewise.
44246 (acos_test_upward): Likewise.
44247 (acosh_test): Likewise.
44248 (asin_test): Likewise.
44249 (asin_test_tonearest): Likewise.
44250 (asin_test_towardzero): Likewise.
44251 (asin_test_downward): Likewise.
44252 (asin_test_upward): Likewise.
44253 (asinh_test): Likewise.
44254 (atan_test): Likewise.
44255 (atanh_test): Likewise.
44256 (atan2_test): Likewise.
44257 (cabs_test): Likewise.
44258 (cacos_test): Use END_COMPLEX macro without arguments.
44259 (cacosh_test): Likewise.
44260 (carg_test): Use END macro without arguments.
44261 (casin_test): Use END_COMPLEX macro without arguments.
44262 (casinh_test): Likewise.
44263 (catan_test): Likewise.
44264 (catanh_test): Likewise.
44265 (cbrt_test): Use END macro without arguments.
44266 (ccos_test): Use END_COMPLEX macro without arguments.
44267 (ccosh_test): Likewise.
44268 (ceil_test): Use END macro without arguments.
44269 (cexp_test): Use END_COMPLEX macro without arguments.
44270 (cimag_test): Use END macro without arguments.
44271 (clog_test): Use END_COMPLEX macro without arguments.
44272 (clog10_test): Likewise.
44273 (conj_test): Likewise.
44274 (copysign_test): Use END macro without arguments.
44275 (cos_test): Likewise.
44276 (cos_test_tonearest): Likewise.
44277 (cos_test_towardzero): Likewise.
44278 (cos_test_downward): Likewise.
44279 (cos_test_upward): Likewise.
44280 (cosh_test): Likewise.
44281 (cosh_test_tonearest): Likewise.
44282 (cosh_test_towardzero): Likewise.
44283 (cosh_test_downward): Likewise.
44284 (cosh_test_upward): Likewise.
44285 (cpow_test): Use END_COMPLEX macro without arguments.
44286 (cproj_test): Likewise.
44287 (creal_test): Use END macro without arguments.
44288 (csin_test): Use END_COMPLEX macro without arguments.
44289 (csinh_test): Likewise.
44290 (csqrt_test): Likewise.
44291 (ctan_test): Likewise.
44292 (ctan_test_tonearest): Likewise.
44293 (ctan_test_towardzero): Likewise.
44294 (ctan_test_downward): Likewise.
44295 (ctan_test_upward): Likewise.
44296 (ctanh_test): Likewise.
44297 (ctanh_test_tonearest): Likewise.
44298 (ctanh_test_towardzero): Likewise.
44299 (ctanh_test_downward): Likewise.
44300 (ctanh_test_upward): Likewise.
44301 (erf_test): Use END macro without arguments.
44302 (erfc_test): Likewise.
44303 (exp_test): Likewise.
44304 (exp_test_tonearest): Likewise.
44305 (exp_test_towardzero): Likewise.
44306 (exp_test_downward): Likewise.
44307 (exp_test_upward): Likewise.
44308 (exp10_test): Likewise.
44309 (exp2_test): Likewise.
44310 (expm1_test): Likewise.
44311 (fabs_test): Likewise.
44312 (fdim_test): Likewise.
44313 (finite_test): Likewise.
44314 (floor_test): Likewise.
44315 (fma_test): Likewise.
44316 (fma_test_towardzero): Likewise.
44317 (fma_test_downward): Likewise.
44318 (fma_test_upward): Likewise.
44319 (fmax_test): Likewise.
44320 (fmin_test): Likewise.
44321 (fmod_test): Likewise.
44322 (fpclassify_test): Likewise.
44323 (frexp_test): Likewise.
44324 (gamma_test): Likewise.
44325 (hypot_test): Likewise.
44326 (ilogb_test): Likewise.
44327 (isfinite_test): Likewise.
44328 (isgreater_test): Likewise.
44329 (isgreaterequal_test): Likewise.
44330 (isinf_test): Likewise.
44331 (isless_test): Likewise.
44332 (islessequal_test): Likewise.
44333 (islessgreater_test): Likewise.
44334 (isnan_test): Likewise.
44335 (isnormal_test): Likewise.
44336 (issignaling_test): Likewise.
44337 (isunordered_test): Likewise.
44338 (j0_test): Likewise.
44339 (j1_test): Likewise.
44340 (jn_test): Likewise.
44341 (ldexp_test): Likewise.
44342 (lgamma_test): Likewise.
44343 (lrint_test): Likewise.
44344 (lrint_test_tonearest): Likewise.
44345 (lrint_test_towardzero): Likewise.
44346 (lrint_test_downward): Likewise.
44347 (lrint_test_upward): Likewise.
44348 (llrint_test): Likewise.
44349 (llrint_test_tonearest): Likewise.
44350 (llrint_test_towardzero): Likewise.
44351 (llrint_test_downward): Likewise.
44352 (llrint_test_upward): Likewise.
44353 (log_test): Likewise.
44354 (log10_test): Likewise.
44355 (log1p_test): Likewise.
44356 (log2_test): Likewise.
44357 (logb_test): Likewise.
44358 (logb_test_downward): Likewise.
44359 (lround_test): Likewise.
44360 (llround_test): Likewise.
44361 (modf_test): Likewise.
44362 (nearbyint_test): Likewise.
44363 (nextafter_test): Likewise.
44364 (nexttoward_test): Likewise.
44365 (pow_test): Likewise.
44366 (pow_test_tonearest): Likewise.
44367 (pow_test_towardzero): Likewise.
44368 (pow_test_downward): Likewise.
44369 (pow_test_upward): Likewise.
44370 (remainder_test): Likewise.
44371 (remainder_test_tonearest): Likewise.
44372 (remainder_test_towardzero): Likewise.
44373 (remainder_test_downward): Likewise.
44374 (remainder_test_upward): Likewise.
44375 (remquo_test): Likewise.
44376 (rint_test): Likewise.
44377 (rint_test_tonearest): Likewise.
44378 (rint_test_towardzero): Likewise.
44379 (rint_test_downward): Likewise.
44380 (rint_test_upward): Likewise.
44381 (round_test): Likewise.
44382 (scalb_test): Likewise.
44383 (scalbn_test): Likewise.
44384 (scalbln_test): Likewise.
44385 (signbit_test): Likewise.
44386 (sin_test): Likewise.
44387 (sin_test_tonearest): Likewise.
44388 (sin_test_towardzero): Likewise.
44389 (sin_test_downward): Likewise.
44390 (sin_test_upward): Likewise.
44391 (sincos_test): Likewise.
44392 (sinh_test): Likewise.
44393 (sinh_test_tonearest): Likewise.
44394 (sinh_test_towardzero): Likewise.
44395 (sinh_test_downward): Likewise.
44396 (sinh_test_upward): Likewise.
44397 (sqrt_test): Likewise.
44398 (tan_test): Likewise.
44399 (tan_test_tonearest): Likewise.
44400 (tan_test_towardzero): Likewise.
44401 (tan_test_downward): Likewise.
44402 (tan_test_upward): Likewise.
44403 (tanh_test): Likewise.
44404 (tgamma_test): Likewise.
44405 (trunc_test): Likewise.
44406 (y0_test): Likewise.
44407 (y1_test): Likewise.
44408 (yn_test): Likewise.
44409 (significand_test): Likewise.
44410
44411 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
44412
44413 [BZ #15381]
44414 * libio/genops.c (_IO_no_init): Initialize wide struct info.
44415
44416 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
44417
44418 [BZ #14894]
44419 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44420 __ppc_mdoio and __ppc_mdoom.
44421 * manual/platform.texi: Document new functions __ppc_yield,
44422 __ppc_mdoio and __ppc_mdoom.
44423
44424 2013-05-22 Carlos O'Donell <carlos@redhat.com>
44425
44426 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44427 (main): Mention "tls" pseudo-hwcap is legacy.
44428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44429
44430 2013-05-22 Joseph Myers <joseph@codesourcery.com>
44431
44432 * math/gen-libm-test.pl (parse_args): Output only string of
44433 arguments as text for test name, not full call or descriptions of
44434 tests for extra outputs.
44435 (generate_testfile): Do not pass function name to parse_args.
44436 Generate this_func variable from START.
44437 * math/libm-test.inc (struct test_f_f_data): Rename test_name
44438 field to arg_str.
44439 (struct test_ff_f_data): Likewise.
44440 (test_ff_f_data_nexttoward): Likewise.
44441 (struct test_fi_f_data): Likewise.
44442 (struct test_fl_f_data): Likewise.
44443 (struct test_if_f_data): Likewise.
44444 (struct test_fff_f_data): Likewise.
44445 (struct test_c_f_data): Likewise.
44446 (struct test_f_f1_data): Likewise. Remove field extra_name.
44447 (struct test_fF_f1_data): Likewise.
44448 (struct test_ffI_f1_data): Likewise.
44449 (struct test_c_c_data): Rename test_name field to arg_str.
44450 (struct test_cc_c_data): Likewise.
44451 (struct test_f_i_data): Likewise.
44452 (struct test_ff_i_data): Likewise.
44453 (struct test_f_l_data): Likewise.
44454 (struct test_f_L_data): Likewise.
44455 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
44456 and extra2_name.
44457 (COMMON_TEST_SETUP): New macro.
44458 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44459 (COMMON_TEST_CLEANUP): Likewise.
44460 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44461 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
44462 macros.
44463 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44464 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
44465 macros.
44466 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44467 (RUN_TEST_fff_f): Take argument string. Call new setup and
44468 cleanup macros.
44469 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44470 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
44471 macros.
44472 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44473 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
44474 macros.
44475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44476 (RUN_TEST_fF_f1): Take argument string. Call new setup and
44477 cleanup macros.
44478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44479 (RUN_TEST_fI_f1): Take argument string. Call new setup and
44480 cleanup macros.
44481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44482 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
44483 cleanup macros.
44484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44485 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
44486 macros.
44487 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44488 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
44489 macros.
44490 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44491 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
44492 macros.
44493 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44494 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
44495 cleanup macros.
44496 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44497 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
44498 cleanup macros.
44499 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44500 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
44501 macros.
44502 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44503 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
44504 cleanup macros.
44505 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44506 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
44507 macros.
44508 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44509 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
44510 macros.
44511 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44512 (RUN_TEST_fFF_11): Take argument string. Call new setup and
44513 cleanup macros.
44514 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44515
44516 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
44517
44518 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44519 to _sifields.sigfault.
44520 (si_addr_lsb): Define new macro.
44521 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44523 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44524
44525 2013-05-03 Carlos O'Donell <carlos at redhat.com>
44526
44527 [BZ #15441]
44528 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44529 returns -1.
44530 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44531 null return -1.
44532 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44533 loading the domain.
44534
44535 2013-05-22 Joseph Myers <joseph@codesourcery.com>
44536
44537 * math/gen-libm-test.pl (parse_args): Do not include expected
44538 result in test name.
44539 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44545
44546 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44547
44548 * benchtests/Makefile: Sort function entries.
44549
44550 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44551 tanh, asinh, acosh, atanh.
44552 * benchtests/acos-inputs: New file.
44553 * benchtests/acosh-inputs: New file.
44554 * benchtests/asin-inputs: New file.
44555 * benchtests/asinh-inputs: New file.
44556 * benchtests/atanh-inputs: New file.
44557 * benchtests/cosh-inputs: New file.
44558 * benchtests/log-inputs: New file.
44559 * benchtests/sinh-inputs: New file.
44560 * benchtests/tanh-inputs: New file.
44561
44562 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
44563
44564 [BZ #15339]
44565 * posix/tst-getaddrinfo4.c: New test.
44566 * posix/Makefile (tests): Add it.
44567
44568 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44569
44570 [BZ #15339]
44571 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44572 when no services were used.
44573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44574 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44575
44576 2013-05-21 Andreas Schwab <schwab@suse.de>
44577
44578 [BZ #15014]
44579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44580 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44581 successful.
44582 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44583 redundant variable declarations and reallocation of buffer when
44584 parsing as IPv6 address. Always set NSS status when called from
44585 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
44586 buffer too small. Correct computation of needed size.
44587 * nss/Makefile (tests): Add test-digits-dots.
44588 * nss/test-digits-dots.c: New test.
44589
44590 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44591
44592 * benchtests/Makefile: Remove instructions for adding
44593 benchmark tests.
44594 * benchtests/README: New file to explain how to execute and
44595 enhance the benchmark tests.
44596
44597 2013-05-21 Andreas Schwab <schwab@suse.de>
44598
44599 [BZ #15493]
44600 * setjmp/Makefile (tests): Add tst-sigsetjmp.
44601 * setjmp/tst-sigsetjmp.c: New test.
44602
44603 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
44604
44605 * sysdeps/x86_64/memset.S (memset): New implementation.
44606 (__bzero): Likewise.
44607 (__memset_tail): New function.
44608
44609 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
44610
44611 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44612 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44613 __memcpy_sse2_unaligned ifunc selection.
44614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44615 Add memcpy-sse2-unaligned.S.
44616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44617 Add: __memcpy_sse2_unaligned.
44618
44619 2013-05-19 Joseph Myers <joseph@codesourcery.com>
44620
44621 [BZ #15490]
44622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44623 math_force_eval before restoring floating-point envrionment.
44624 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44626 Likewise.
44627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44628 <math_private.h>.
44629 (__nearbyintl): Use math_force_eval before restoring
44630 floating-point environment.
44631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44632
44633 * math/gen-libm-test.pl (special_functions): Remove.
44634 (parse_args): Don't handle TEST_extra. Handle functions with no
44635 return value.
44636 * math/libm-test.inc (struct test_sincos_data): Replace with
44637 struct test_fFF_11_data.
44638 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44639 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44640 (sincos_test_data): Change element type to struct
44641 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
44642 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44643 RUN_TEST_LOOP_sincos.
44644 * math/README.libm-test: Don't mention special handling of
44645 individual functions.
44646 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44650 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44652
44653 * math/gen-libm-test.pl (get_variable): Remove function.
44654 (parse_args): Don't show pointer parameters to call in test
44655 names. Use "extra output N" in test names for extra outputs
44656 rather than naming variables.
44657
44658 2013-05-18 Joseph Myers <joseph@codesourcery.com>
44659
44660 [BZ #15488]
44661 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44662 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44663 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44664 double tests.
44665 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44666 disable.
44667 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44668 check_long_double.
44669
44670 * math/gen-libm-test.pl (@tests): Remove variable.
44671 ($count): Likewise.
44672 (new_test): Remove function.
44673 (show_exceptions): New function.
44674 (special_functions): Use show_exceptions instead of new_test.
44675 (parse_args): Likewise.
44676 (generate_testfile): Pass only function name in generated call to
44677 print_max_error or print_complex_max_error.
44678 (get_ulps): Do not handle complex tests specially.
44679 (output_test): Rename to ...
44680 (get_all_ulps_for_test): ... this. Return a string rather than
44681 printing to a file. Require ulps to be present.
44682 (output_ulps): Generate arrays rather than #defines.
44683 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44684 (struct ulp_data): New type.
44685 (BUILD_COMPLEX_ULP): Remove macro.
44686 (compare_ulp_data): New function.
44687 (find_ulps): Likewise.
44688 (find_test_ulps): Likewise.
44689 (find_function_ulps): Likewise.
44690 (find_complex_function_ulps): Likewise.
44691 (print_max_error): Determine allowed ulps using
44692 find_function_ulps.
44693 (print_complex_max_error): Determine allowed ulps using
44694 find_complex_function_ulps.
44695 (check_float_internal): Determine max ulps using find_test_ulps.
44696 (check_float): Do not take max_ulp parameter. Update call to
44697 check_float_internal.
44698 (check_complex): Likewise.
44699 (check_int): Do not take max_ulp parameter.
44700 (check_long): Likewise.
44701 (check_bool): Likewise.
44702 (check_longlong): Likewise.
44703 (struct test_f_f_data): Remove max_ulp field.
44704 (struct test_ff_f_data): Likewise.
44705 (struct test_ff_f_data_nexttoward): Likewise.
44706 (struct test_fi_f_data): Likewise.
44707 (struct test_fl_f_data): Likewise.
44708 (struct test_if_f_data): Likewise.
44709 (struct test_fff_f_data): Likewise.
44710 (struct test_c_f_data): Likewise.
44711 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44712 (struct test_fF_f1_data): Likewise.
44713 (struct test_ffI_f1_data): Likewise.
44714 (struct test_c_c_data): Remove max_ulp field.
44715 (struct test_cc_c_data): Likewise.
44716 (struct test_f_i_data): Likewise.
44717 (struct test_ff_i_data): Likewise.
44718 (struct test_f_l_data): Likewise.
44719 (struct test_f_L_data): Likewise.
44720 (struct test_sincos_data): Likewise.
44721 (RUN_TEST_f_f): Do not handle ulps.
44722 (RUN_TEST_LOOP_f_f): Likewise.
44723 (RUN_TEST_2_f): Likewise.
44724 (RUN_TEST_LOOP_2_f): Likewise.
44725 (RUN_TEST_fff_f): Likewise.
44726 (RUN_TEST_LOOP_fff_f): Likewise.
44727 (RUN_TEST_c_f): Likewise.
44728 (RUN_TEST_LOOP_c_f): Likewise.
44729 (RUN_TEST_f_f1): Likewise.
44730 (RUN_TEST_LOOP_f_f1): Likewise.
44731 (RUN_TEST_fF_f1): Likewise.
44732 (RUN_TEST_LOOP_fF_f1): Likewise.
44733 (RUN_TEST_fI_f1): Likewise.
44734 (RUN_TEST_LOOP_fI_f1): Likewise.
44735 (RUN_TEST_ffI_f1): Likewise.
44736 (RUN_TEST_LOOP_ffI_f1): Likewise.
44737 (RUN_TEST_c_c): Likewise.
44738 (RUN_TEST_LOOP_c_c): Likewise.
44739 (RUN_TEST_cc_c): Likewise.
44740 (RUN_TEST_LOOP_cc_c): Likewise.
44741 (RUN_TEST_f_i): Likewise.
44742 (RUN_TEST_LOOP_f_i): Likewise.
44743 (RUN_TEST_f_i_tg): Likewise.
44744 (RUN_TEST_LOOP_f_i_tg): Likewise.
44745 (RUN_TEST_ff_i_tg): Likewise.
44746 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44747 (RUN_TEST_f_b): Likewise.
44748 (RUN_TEST_LOOP_f_b): Likewise.
44749 (RUN_TEST_f_b_tg): Likewise.
44750 (RUN_TEST_LOOP_f_b_tg): Likewise.
44751 (RUN_TEST_f_l): Likewise.
44752 (RUN_TEST_LOOP_f_l): Likewise.
44753 (RUN_TEST_f_L): Likewise.
44754 (RUN_TEST_LOOP_f_L): Likewise.
44755 (RUN_TEST_sincos): Likewise.
44756 (RUN_TEST_LOOP_sincos): Likewise.
44757
44758 2013-05-17 Joseph Myers <joseph@codesourcery.com>
44759
44760 [BZ #15480]
44761 [BZ #15485]
44762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44763 main case of finite arguments, set rounding mode to FE_TONEAREST
44764 and discard exceptions.
44765 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44766 exceptions.
44767 (remainder_tonearest_test_data): New variable.
44768 (remainder_test_tonearest): New function.
44769 (remainder_towardzero_test_data): New variable.
44770 (remainder_test_towardzero): New function.
44771 (remainder_downward_test_data): New variable.
44772 (remainder_test_downward): New function.
44773 (remainder_upward_test_data): New variable.
44774 (remainder_test_upward): New function.
44775 (main): Call the new test functions.
44776
44777 * math/libm-test.inc (struct test_f_f1_data): Remove field
44778 extra_init.
44779 (struct test_fF_f1_data): Likewise.
44780 (struct test_ffI_f1_data): Likewise.
44781 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
44782 based on value of EXTRA_EXPECTED.
44783 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44784 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
44785 EXTRA_VAR based on value of EXTRA_EXPECTED.
44786 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44787 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
44788 EXTRA_VAR based on value of EXTRA_EXPECTED.
44789 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44790 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
44791 EXTRA_VAR based on value of EXTRA_EXPECTED.
44792 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44793 * math/gen-libm-test.pl (parse_args): Don't output initializers
44794 for extra output values.
44795
44796 * math/libm-test.inc (check_int): Expect result to be exactly
44797 equal to expected value and do not handle ulps.
44798 (check_long): Likewise.
44799 (check_longlong): Likewise.
44800
44801 * math/libm-test.inc (ceil_test_data): Test for "inexact"
44802 exceptions.
44803 (cimag_test_data): Likewise.
44804 (conj_test_data): Likewise.
44805 (copysign_test_data): Likewise.
44806 (cproj_test_data): Likewise.
44807 (creal_test_data): Likewise.
44808 (fabs_test_data): Likewise.
44809 (fdim_test_data): Likewise.
44810 (finite_test_data): Likewise.
44811 (floor_test_data): Likewise.
44812 (fmax_test_data): Likewise.
44813 (fmin_test_data): Likewise.
44814 (fmod_test_data): Likewise.
44815 (fpclassify_test_data): Likewise.
44816 (frexp_test_data): Likewise.
44817 (ilogb_test_data): Likewise.
44818 (isfinite_test_data): Likewise.
44819 (isgreater_test_data): Likewise.
44820 (isgreaterequal_test_data): Likewise.
44821 (isinf_test_data): Likewise.
44822 (isless_test_data): Likewise.
44823 (islessequal_test_data): Likewise.
44824 (islessgreater_test_data): Likewise.
44825 (isnan_test_data): Likewise.
44826 (isnormal_test_data): Likewise.
44827 (issignaling_test_data): Likewise.
44828 (isunordered_test_data): Likewise.
44829 (ldexp_test_data): Likewise.
44830 (lrint_test_data): Likewise.
44831 (lrint_test_data) [TEST_FLOAT]: Disable one test.
44832 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44833 (lrint_tonearest_test_data): Test for "inexact" exceptions.
44834 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44835 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44836 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44837 test input.
44838 (lrint_towardzero_test_data): Test for "inexact" exceptions.
44839 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44840 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44841 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44842 that test input.
44843 (lrint_downward_test_data): Test for "inexact" exceptions.
44844 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44845 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44846 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44847 test input.
44848 (lrint_upward_test_data): Test for "inexact" exceptions.
44849 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44850 test input.
44851 (llrint_test_data): Test for "inexact" exceptions.
44852 (llrint_test_data) [TEST_FLOAT]: Disable one test.
44853 (llrint_tonearest_test_data): Test for "inexact" exceptions.
44854 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44855 (llrint_towardzero_test_data): Test for "inexact" exceptions.
44856 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44857 (llrint_downward_test_data): Test for "inexact" exceptions.
44858 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44859 (llrint_upward_test_data): Test for "inexact" exceptions.
44860 (logb_test_data): Likewise.
44861 (logb_downward_test_data): Likewise.
44862 (nextafter_test_data): Likewise.
44863 (nexttoward_test_data): Likewise.
44864 (remainder_test_data): Likewise.
44865 (remquo_test_data): Likewise.
44866 (scalbn_test_data): Likewise.
44867 (scalbln_test_data): Likewise.
44868 (signbit_test_data): Likewise.
44869 (sqrt_test_data): Likewise.
44870 (significand_test_data): Likewise.
44871
44872 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44873
44874 [BZ #15424]
44875 * benchtests/bench-modf.c (struct args): Mark arg0 as
44876 volatile.
44877 * scripts/bench.pl: Mark members of struct args as volatile.
44878
44879 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44880
44881 [BZ # 15497]
44882 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44883 negative infinity on POWER6 or lower.
44884 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44885
44886 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
44887
44888 [BZ #15442]
44889 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44890 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44891 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44892 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44893 (_FP_SETQNAN): New macro.
44894 (_FP_SETQNAN_SEMIRAW): Likewise.
44895 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44896 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44897 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44898 (FP_EXTEND): Use _FP_FRAC_SNANP.
44899 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44900 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44901 into account.
44902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44903 New macro.
44904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44905 Likewise.
44906
44907 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44908
44909 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44910 with DIVIDE_BY_ZERO_EXCEPTION.
44911 (gamma_test_data): Likewise.
44912 (lgamma_test_data): Likewise.
44913 (log_test_data): Likewise.
44914 (log10_test_data): Likewise.
44915 (log2_test_data): Likewise.
44916 (tgamma_test_data): Likewise.
44917
44918 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44919 (acos_test_tonearest): Likewise.
44920 (acos_test_towardzero): Likewise.
44921 (acos_test_downward): Likewise.
44922 (acos_test_upward): Likewise.
44923 (acosh_test): Likewise.
44924 (asin_test): Likewise.
44925 (asin_test_tonearest): Likewise.
44926 (asin_test_towardzero): Likewise.
44927 (asin_test_downward): Likewise.
44928 (asin_test_upward): Likewise.
44929 (asinh_test): Likewise.
44930 (atan_test): Likewise.
44931 (atanh_test): Likewise.
44932 (atan2_test): Likewise.
44933 (cabs_test): Likewise.
44934 (cacos_test): Likewise.
44935 (cacosh_test): Likewise.
44936 (casin_test): Likewise.
44937 (casinh_test): Likewise.
44938 (catan_test): Likewise.
44939 (catanh_test): Likewise.
44940 (cbrt_test): Likewise.
44941 (ccos_test): Likewise.
44942 (ccosh_test): Likewise.
44943 (cexp_test): Likewise.
44944 (clog_test): Likewise.
44945 (clog10_test): Likewise.
44946 (cos_test): Likewise.
44947 (cos_test_tonearest): Likewise.
44948 (cos_test_towardzero): Likewise.
44949 (cos_test_downward): Likewise.
44950 (cos_test_upward): Likewise.
44951 (cosh_test): Likewise.
44952 (cosh_test_tonearest): Likewise.
44953 (cosh_test_towardzero): Likewise.
44954 (cosh_test_downward): Likewise.
44955 (cosh_test_upward): Likewise.
44956 (cpow_test): Likewise.
44957 (csin_test): Likewise.
44958 (csinh_test): Likewise.
44959 (csqrt_test): Likewise.
44960 (ctan_test): Likewise.
44961 (ctan_test_tonearest): Likewise.
44962 (ctan_test_towardzero): Likewise.
44963 (ctan_test_downward): Likewise.
44964 (ctan_test_upward): Likewise.
44965 (ctanh_test): Likewise.
44966 (ctanh_test_tonearest): Likewise.
44967 (ctanh_test_towardzero): Likewise.
44968 (ctanh_test_downward): Likewise.
44969 (ctanh_test_upward): Likewise.
44970 (erf_test): Likewise.
44971 (erfc_test): Likewise.
44972 (exp_test): Likewise.
44973 (exp_test_tonearest): Likewise.
44974 (exp_test_towardzero): Likewise.
44975 (exp_test_downward): Likewise.
44976 (exp_test_upward): Likewise.
44977 (exp10_test): Likewise.
44978 (exp2_test): Likewise.
44979 (expm1_test): Likewise.
44980 (fmod_test): Likewise.
44981 (gamma_test): Likewise.
44982 (hypot_test): Likewise.
44983 (j0_test): Likewise.
44984 (j1_test): Likewise.
44985 (jn_test): Likewise.
44986 (lgamma_test): Likewise.
44987 (log_test): Likewise.
44988 (log10_test): Likewise.
44989 (log1p_test): Likewise.
44990 (log2_test): Likewise.
44991 (logb_test_downward): Likewise.
44992 (pow_test): Likewise.
44993 (pow_test_tonearest): Likewise.
44994 (pow_test_towardzero): Likewise.
44995 (pow_test_downward): Likewise.
44996 (pow_test_upward): Likewise.
44997 (remainder_test): Likewise.
44998 (remquo_test): Likewise.
44999 (sin_test): Likewise.
45000 (sin_test_tonearest): Likewise.
45001 (sin_test_towardzero): Likewise.
45002 (sin_test_downward): Likewise.
45003 (sin_test_upward): Likewise.
45004 (sincos_test): Likewise.
45005 (sinh_test): Likewise.
45006 (sinh_test_tonearest): Likewise.
45007 (sinh_test_towardzero): Likewise.
45008 (sinh_test_downward): Likewise.
45009 (sinh_test_upward): Likewise.
45010 (sqrt_test): Likewise.
45011 (tan_test): Likewise.
45012 (tan_test_tonearest): Likewise.
45013 (tan_test_towardzero): Likewise.
45014 (tan_test_downward): Likewise.
45015 (tan_test_upward): Likewise.
45016 (tanh_test): Likewise.
45017 (tgamma_test): Likewise.
45018 (y0_test): Likewise.
45019 (y1_test): Likewise.
45020 (yn_test): Likewise.
45021
45022 * math/gen-libm-test.pl (adjust_arg): Remove function.
45023 (special_function): Remove argument $in_func. Only handle
45024 generating output for tables of tests, not inside functions.
45025 (parse_args): Likewise.
45026 (generate_testfile): Remove variable $in_func. Update call to
45027 parse_args.
45028 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45029 (MINUS_ZERO_INIT): Rename macro to minus_zero.
45030 (PLUS_INFTY_INIT): Rename macro to plus_infty.
45031 (MINUS_INFTY_INIT): Rename macro to minus_infty.
45032 (QNAN_VALUE_INIT): Rename macro to qnan_value.
45033 (MAX_VALUE_INIT): Rename macro to max_value.
45034 (MIN_VALUE_INIT): Rename macro to min_value.
45035 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45036 (plus_zero): Remove variable.
45037 (minus_zero): Likewise.
45038 (plus_infty): Likewise.
45039 (minus_infty): Likewise.
45040 (qnan_value): Likewise.
45041 (max_value): Likewise.
45042 (min_value): Likewise.
45043 (min_subnorm_value): Likewise.
45044
45045 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45046
45047 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45048 uint64_t or uint32_t usage.
45049 * crypt/sha256-block.c: Likewise.
45050 * crypt/sha256-crypt.c: Likewise.
45051 * crypt/sha256.c: Likewise.
45052 * crypt/sha512-block.c: Likewise.
45053 * crypt/sha512-crypt.c: Likewise.
45054 * crypt/sha512.c: Likewise.
45055 * debug/backtrace-tst.c: Likewise.
45056 * debug/pcprofiledump.c: Likewise.
45057 * elf/cache.c: Likewise.
45058 * elf/dl-cache.c: Likewise.
45059 * elf/dl-misc.c: Likewise.
45060 * elf/dl-profile.c: Likewise.
45061 * elf/dl-support.c: Likewise.
45062 * elf/ldconfig.c: Likewise.
45063 * elf/sprof.c: Likewise.
45064 * iconv/dummy-repertoire.c: Likewise.
45065 * iconv/iconv_charmap.c: Likewise.
45066 * iconv/skeleton.c: Likewise.
45067 * iconvdata/8bit-generic.c: Likewise.
45068 * iconvdata/cp737.h: Likewise.
45069 * iconvdata/cp775.h: Likewise.
45070 * iconvdata/ibm1008.h: Likewise.
45071 * iconvdata/ibm1025.h: Likewise.
45072 * iconvdata/ibm1046.h: Likewise.
45073 * iconvdata/ibm1097.h: Likewise.
45074 * iconvdata/ibm1112.h: Likewise.
45075 * iconvdata/ibm1122.h: Likewise.
45076 * iconvdata/ibm1123.h: Likewise.
45077 * iconvdata/ibm1124.h: Likewise.
45078 * iconvdata/ibm1129.h: Likewise.
45079 * iconvdata/ibm1130.h: Likewise.
45080 * iconvdata/ibm1132.h: Likewise.
45081 * iconvdata/ibm1133.h: Likewise.
45082 * iconvdata/ibm1137.h: Likewise.
45083 * iconvdata/ibm1140.h: Likewise.
45084 * iconvdata/ibm1141.h: Likewise.
45085 * iconvdata/ibm1142.h: Likewise.
45086 * iconvdata/ibm1143.h: Likewise.
45087 * iconvdata/ibm1144.h: Likewise.
45088 * iconvdata/ibm1145.h: Likewise.
45089 * iconvdata/ibm1146.h: Likewise.
45090 * iconvdata/ibm1147.h: Likewise.
45091 * iconvdata/ibm1148.h: Likewise.
45092 * iconvdata/ibm1149.h: Likewise.
45093 * iconvdata/ibm1153.h: Likewise.
45094 * iconvdata/ibm1154.h: Likewise.
45095 * iconvdata/ibm1155.h: Likewise.
45096 * iconvdata/ibm1156.h: Likewise.
45097 * iconvdata/ibm1157.h: Likewise.
45098 * iconvdata/ibm1158.h: Likewise.
45099 * iconvdata/ibm1160.h: Likewise.
45100 * iconvdata/ibm1161.h: Likewise.
45101 * iconvdata/ibm1162.h: Likewise.
45102 * iconvdata/ibm1163.h: Likewise.
45103 * iconvdata/ibm1164.h: Likewise.
45104 * iconvdata/ibm1166.h: Likewise.
45105 * iconvdata/ibm1167.h: Likewise.
45106 * iconvdata/ibm12712.h: Likewise.
45107 * iconvdata/ibm1390.h: Likewise.
45108 * iconvdata/ibm1399.h: Likewise.
45109 * iconvdata/ibm16804.h: Likewise.
45110 * iconvdata/ibm4517.h: Likewise.
45111 * iconvdata/ibm4899.h: Likewise.
45112 * iconvdata/ibm4909.h: Likewise.
45113 * iconvdata/ibm4971.h: Likewise.
45114 * iconvdata/ibm5347.h: Likewise.
45115 * iconvdata/ibm803.h: Likewise.
45116 * iconvdata/ibm856.h: Likewise.
45117 * iconvdata/ibm901.h: Likewise.
45118 * iconvdata/ibm902.h: Likewise.
45119 * iconvdata/ibm9030.h: Likewise.
45120 * iconvdata/ibm9066.h: Likewise.
45121 * iconvdata/ibm921.h: Likewise.
45122 * iconvdata/ibm922.h: Likewise.
45123 * iconvdata/ibm9448.h: Likewise.
45124 * iconvdata/isiri-3342.h: Likewise.
45125 * iconvdata/jis0201.h: Likewise.
45126 * include/link.h: Likewise.
45127 * include/netdb.h: Likewise.
45128 * inet/check_native.c: Likewise.
45129 * inet/check_pf.c: Likewise.
45130 * inet/getipv4sourcefilter.c: Likewise.
45131 * inet/getnameinfo.c: Likewise.
45132 * inet/getsourcefilter.c: Likewise.
45133 * inet/htonl.c: Likewise.
45134 * inet/setipv4sourcefilter.c: Likewise.
45135 * inet/setsourcefilter.c: Likewise.
45136 * inet/test-inet6_opt.c: Likewise.
45137 * inet/tst-network.c: Likewise.
45138 * locale/C-collate.c: Likewise.
45139 * locale/C-ctype.c: Likewise.
45140 * locale/C-time.c: Likewise.
45141 * locale/C-translit.h: Likewise.
45142 * locale/loadarchive.c: Likewise.
45143 * locale/programs/3level.h: Likewise.
45144 * locale/programs/charmap.c: Likewise.
45145 * locale/programs/charmap.h: Likewise.
45146 * locale/programs/ld-address.c: Likewise.
45147 * locale/programs/ld-collate.c: Likewise.
45148 * locale/programs/ld-ctype.c: Likewise.
45149 * locale/programs/ld-identification.c: Likewise.
45150 * locale/programs/ld-measurement.c: Likewise.
45151 * locale/programs/ld-messages.c: Likewise.
45152 * locale/programs/ld-monetary.c: Likewise.
45153 * locale/programs/ld-name.c: Likewise.
45154 * locale/programs/ld-numeric.c: Likewise.
45155 * locale/programs/ld-paper.c: Likewise.
45156 * locale/programs/ld-telephone.c: Likewise.
45157 * locale/programs/ld-time.c: Likewise.
45158 * locale/programs/linereader.c: Likewise.
45159 * locale/programs/locale.c: Likewise.
45160 * locale/programs/locarchive.c: Likewise.
45161 * locale/programs/locfile.h: Likewise.
45162 * locale/programs/repertoire.c: Likewise.
45163 * locale/programs/simple-hash.c: Likewise.
45164 * locale/programs/simple-hash.h: Likewise.
45165 * malloc/memusage.c: Likewise.
45166 * malloc/memusagestat.c: Likewise.
45167 * nis/nis_defaults.c: Likewise.
45168 * nis/nis_hash.c: Likewise.
45169 * nis/nis_print.c: Likewise.
45170 * nis/nis_xdr.c: Likewise.
45171 * nscd/connections.c: Likewise.
45172 * nscd/hstcache.c: Likewise.
45173 * nscd/nscd_gethst_r.c: Likewise.
45174 * nscd/nscd_getserv_r.c: Likewise.
45175 * nscd/nscd_helper.c: Likewise.
45176 * nscd/servicescache.c: Likewise.
45177 * nss/makedb.c: Likewise.
45178 * nss/nss_db/db-XXX.c: Likewise.
45179 * nss/nss_db/db-initgroups.c: Likewise.
45180 * nss/nss_db/db-netgrp.c: Likewise.
45181 * nss/nss_files/files-network.c: Likewise.
45182 * nss/nss_files/files-parse.c: Likewise.
45183 * posix/bug-regex5.c: Likewise.
45184 * posix/fnmatch_loop.c: Likewise.
45185 * posix/regcomp.c: Likewise.
45186 * posix/regexec.c: Likewise.
45187 * posix/tst-rfc3484-2.c: Likewise.
45188 * posix/tst-rfc3484-3.c: Likewise.
45189 * posix/tst-rfc3484.c: Likewise.
45190 * resolv/nss_dns/dns-canon.c: Likewise.
45191 * resolv/nss_dns/dns-network.c: Likewise.
45192 * resolv/res_init.c: Likewise.
45193 * resolv/res_mkquery.c: Likewise.
45194 * resolv/tst-aton.c: Likewise.
45195 * stdlib/cxa_atexit.c: Likewise.
45196 * stdlib/cxa_finalize.c: Likewise.
45197 * stdlib/gen-fpioconst.c: Likewise.
45198 * stdlib/strtol_l.c: Likewise.
45199 * string/tst-endian.c: Likewise.
45200 * sunrpc/auth_des.c: Likewise.
45201 * sunrpc/clnt_udp.c: Likewise.
45202 * sunrpc/rtime.c: Likewise.
45203 * sunrpc/svcauth_des.c: Likewise.
45204 * sunrpc/xdr.c: Likewise.
45205 * sunrpc/xdr_intXX_t.c: Likewise.
45206 * sunrpc/xdr_rec.c: Likewise.
45207 * sysdeps/generic/ldconfig.h: Likewise.
45208 * sysdeps/generic/ldsodefs.h: Likewise.
45209 * sysdeps/generic/memusage.h: Likewise.
45210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45220 * sysdeps/posix/getaddrinfo.c: Likewise.
45221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45225 * sysdeps/powerpc/test-gettimebase.c: Likewise.
45226 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45227 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45228 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45229 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45230 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45233 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45234 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45236 * sysdeps/x86_64/dl-tls.h: Likewise.
45237 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45238 * time/alt_digit.c: Likewise.
45239 * time/era.c: Likewise.
45240 * wcsmbs/tst-c16c32-1.c: Likewise.
45241
45242 2013-05-16 Joseph Myers <joseph@codesourcery.com>
45243
45244 * math/libm-test.inc (struct test_sincos_data): New type.
45245 (RUN_TEST_LOOP_sincos): New macro.
45246 (sincos_test_data): New variable.
45247 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45248
45249 2013-05-16 Richard Henderson <rth@redhat.com>
45250
45251 * math/atest-exp2.c (LIMB64): New macro.
45252 (CONSTSZ): New macro.
45253 (mp_exp1, mp_exp_m1, mp_log2): New variables.
45254 (hexdig): Move ...
45255 (print_mpn_fp): ... to function scope.
45256 (read_mpn_hex): Remove.
45257 (get_log2): Remove.
45258 (exp2_mpn): Use mp_log2.
45259 (main): Use mp_exp1.
45260
45261 2013-05-16 Joseph Myers <joseph@codesourcery.com>
45262
45263 * math/libm-test.inc: Remove comment about not testing "inexact"
45264 exceptions.
45265 (INEXACT_EXCEPTION): New macro.
45266 (NO_INEXACT_EXCEPTION): Likewise.
45267 (INVALID_EXCEPTION_OK): Update value.
45268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45269 (OVERFLOW_EXCEPTION_OK): Likewise.
45270 (UNDERFLOW_EXCEPTION_OK): Likewise.
45271 (IGNORE_ZERO_INF_SIGN): Likewise.
45272 (ERRNO_UNCHANGED): Likewise.
45273 (ERRNO_EDOM): Likewise.
45274 (ERRNO_ERANGE): Likewise.
45275 (test_exceptions): Handle testing "inexact" exceptions.
45276 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45277 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45278 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45279 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45280 INEXACT_EXCEPTION.
45281 (rint_towardzero_test_data): Likewise.
45282 (rint_downward_test_data): Likewise.
45283 (rint_upward_test_data): Likewise.
45284
45285 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45286 with OVERFLOW_EXCEPTION.
45287 (exp10_test_data): Likewise.
45288 (exp2_test_data): Likewise.
45289 (expm1_test_data): Likewise.
45290 (lgamma_test_data): Likewise.
45291 (pow_test_data): Likewise.
45292 (tgamma_test_data): Likewise.
45293 (yn_test_data): Remove duplicate test of overflow.
45294
45295 * math/libm-test.inc (struct test_cc_c_data): New type.
45296 (RUN_TEST_LOOP_cc_c): New macro.
45297 (cpow_test_data): New variable.
45298 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45299
45300 * math/libm-test.inc (struct test_f_L_data): New type.
45301 (RUN_TEST_LOOP_f_L): New macro.
45302 (llrint_test_data): New variable.
45303 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45304 (llrint_tonearest_test_data): New variable.
45305 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45306 (llrint_towardzero_test_data): New variable.
45307 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45308 (llrint_downward_test_data): New variable.
45309 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45310 (llrint_upward_test_data): New variable.
45311 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45312 (llround_test_data): New variable.
45313 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45314
45315 2013-05-13 Peter Collingbourne <pcc@google.com>
45316
45317 * math/atest-exp2.c (get_log2): Remove const attribute.
45318
45319 2013-05-15 Joseph Myers <joseph@codesourcery.com>
45320
45321 * math/libm-test.inc (struct test_f_l_data): New type.
45322 (RUN_TEST_LOOP_f_l): New macro.
45323 (lrint_test_data): New variable.
45324 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45325 (lrint_tonearest_test_data): New variable.
45326 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45327 (lrint_towardzero_test_data): New variable.
45328 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45329 (lrint_downward_test_data): New variable.
45330 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45331 (lrint_upward_test_data): New variable.
45332 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45333 (lround_test_data): New variable.
45334 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45335
45336 2013-05-15 Peter Collingbourne <pcc@google.com>
45337
45338 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45339 (EXTRACT_WORDS64) Use where appropriate.
45340 (INSERT_WORDS64) Likewise.
45341
45342 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45343 constraints with x constraints.
45344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45345
45346 * malloc/obstack.c (_obstack_compat): Add initializer.
45347
45348 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
45349
45350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45351 si_trapno and add si_addr_lsb to _sifields.sigfault.
45352 (si_trapno): Remove macro.
45353 (si_addr_lsb): Define new macro.
45354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45355
45356 2013-05-15 Joseph Myers <joseph@codesourcery.com>
45357
45358 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45359 instead of TEST_f_l.
45360 (llrint_test_tonearest): Likewise.
45361 (llrint_test_towardzero): Likewise.
45362 (llrint_test_downward): Likewise.
45363 (llrint_test_upward): Likewise.
45364 (llround_test): Likewise.
45365
45366 * math/libm-test.inc (struct test_f_i_data): Add comment.
45367 (RUN_TEST_LOOP_f_b): New macro.
45368 (RUN_TEST_LOOP_f_b_tg): Likewise.
45369 (finite_test_data): New variable.
45370 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45371 (isfinite_test_data): New variable.
45372 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45373 (isinf_test_data): New variable.
45374 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45375 (isnan_test_data): New variable.
45376 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45377 (isnormal_test_data): New variable.
45378 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45379 (issignaling_test_data): New variable.
45380 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45381 (signbit_test_data): New variable.
45382 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45383
45384 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45385 with INVALID_EXCEPTION.
45386 (acosh_test_data): Likewise.
45387 (asin_test_data): Likewise.
45388 (atanh_test_data): Likewise.
45389 (fmod_test_data): Likewise.
45390 (log_test_data): Likewise.
45391 (log10_test_data): Likewise.
45392 (log2_test_data): Likewise.
45393 (pow_test_data): Likewise.
45394 (sqrt_test_data): Likewise.
45395 (y0_test_data): Likewise.
45396 (y1_test_data): Likewise.
45397 (yn_test_data): Likewise.
45398
45399 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45400 function contents.
45401
45402 * math/libm-test.inc (struct test_ff_i_data): New type.
45403 (RUN_TEST_LOOP_ff_i_tg): New macro.
45404 (isgreater_test_data): New variable.
45405 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45406 (isgreaterequal_test_data): New variable.
45407 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45408 (isless_test_data): New variable.
45409 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45410 (islessequal_test_data): New variable.
45411 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45412 (islessgreater_test_data): New variable.
45413 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45414 (isunordered_test_data): New variable.
45415 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45416
45417 2013-05-14 David S. Miller <davem@davemloft.net>
45418
45419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45420
45421 2013-05-14 Joseph Myers <joseph@codesourcery.com>
45422
45423 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45424
45425 * math/libm-test.inc (struct test_fF_f1_data): Change type of
45426 extra_test to int.
45427 (struct test_f_i_data): Change type of max_ulp to int.
45428
45429 * math/libm-test.inc (test_ffI_f1_data): New type.
45430 (RUN_TEST_LOOP_ffI_f1): New macro.
45431 (remquo_test_data): New variable.
45432 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45433
45434 * setjmp/tst-setjmp-fp.c: New file.
45435 * setjmp/Makefile (tests): Add tst-setjmp-fp.
45436 (link-libm): New variable.
45437 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45438
45439 * math/libm-test.inc (struct test_f_i_data): New type.
45440 (RUN_TEST_LOOP_f_i): New macro.
45441 (RUN_TEST_LOOP_f_i_tg): Likewise.
45442 (fpclassify_test_data): New variable.
45443 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45444 (ilogb_test_data): New variable.
45445 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45446
45447 * math/libm-test.inc (scalbln_test): Correct function name in END
45448 call.
45449
45450 * math/libm-test.inc (struct test_f_f1_data): Add comment.
45451 (RUN_TEST_LOOP_fI_f1): New macro.
45452 (frexp_test_data): New variable.
45453 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45454
45455 * math/libm-test.inc (struct test_fF_f1_data): New type.
45456 (RUN_TEST_LOOP_fF_f1): New macro.
45457 (modf_test_data): New variable.
45458 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45459
45460 * math/libm-test.inc (struct test_f_f1_data): New type.
45461 (RUN_TEST_LOOP_f_f1): New macro.
45462 (gamma_test_data): New variable.
45463 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45464 (lgamma_test_data): New variable.
45465 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45466
45467 2013-05-13 Carlos O'Donell <carlos@redhat.com>
45468
45469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45470 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45471 (main): Comment "tls" pseudo-hwcap.
45472
45473 2013-05-13 Joseph Myers <joseph@codesourcery.com>
45474
45475 * math/libm-test.inc (struct test_fl_f_data): New type.
45476 (RUN_TEST_LOOP_fl_f): New variable.
45477 (scalbln_test_data): New variable.
45478 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45479
45480 * math/libm-test.inc (struct test_fi_f_data): New type.
45481 (RUN_TEST_LOOP_fi_f): New macro.
45482 (ldexp_test_data): New variable.
45483 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45484 (scalbn_test_data): New variable.
45485 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45486
45487 * math/libm-test.inc (struct test_c_f_data): New type.
45488 (RUN_TEST_LOOP_c_f): New macro.
45489 (cabs_test_data): New variable.
45490 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45491 (carg_test_data): New variable.
45492 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45493 (cimag_test_data): New variable.
45494 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45495 (creal_test_data): New variable.
45496 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45497
45498 * math/libm-test.inc (struct test_if_f_data): New type.
45499 (RUN_TEST_LOOP_if_f): New macro.
45500 (jn_test_data): New variable.
45501 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45502 (yn_test_data): New variable.
45503 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45504
45505 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45506
45507 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45508
45509 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45510 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45511
45512 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
45513
45514 * benchtests/Makefile (CPPFLAGS-nonlib): Add
45515 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45516 (bench-deps): Add bench-timing.h.
45517 * benchtests-bench-skeleton.c: Include bench-timing.h.
45518 (main): Use TIMING_* macros instead of clock_gettime.
45519 * benchtests/bench-timing.h: New file.
45520
45521 [BZ #14582]
45522 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45523 Renamed from _LIB_VERSION.
45524 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45525
45526 2013-05-12 Joseph Myers <joseph@codesourcery.com>
45527
45528 * math/libm-test.inc (struct test_fff_f_data): New type.
45529 (RUN_TEST_LOOP_fff_f): New macro.
45530 (fma_test_data): New variable.
45531 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45532 (fma_towardzero_test_data): New variable.
45533 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45534 (fma_downward_test_data): New variable.
45535 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45536 (fma_upward_test_data): New variable.
45537 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45538
45539 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45540 (struct test_c_c_data): New type.
45541 (RUN_TEST_LOOP_c_c): New macro.
45542 (cacos_test_data): New variable.
45543 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45544 (cacosh_test_data): New variable.
45545 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45546 (casin_test_data): New variable.
45547 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45548 (casinh_test_data): New variable.
45549 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45550 (catan_test_data): New variable.
45551 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45552 (catanh_test_data): New variable.
45553 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45554 (ccos_test_data): New variable.
45555 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45556 (ccosh_test_data): New variable.
45557 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45558 (cexp_test_data): New variable.
45559 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45560 (clog_test_data): New variable.
45561 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45562 (clog10_test_data): New variable.
45563 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45564 (conj_test_data): New variable.
45565 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45566 (cproj_test_data): New variable.
45567 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45568 (csin_test_data): New variable.
45569 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45570 (csinh_test_data): New variable.
45571 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45572 (csqrt_test_data): New variable.
45573 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45574 (ctan_test_data): New variable.
45575 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45576 (ctan_tonearest_test_data): New variable.
45577 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45578 (ctan_towardzero_test_data): New variable.
45579 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45580 (ctan_downward_test_data): New variable.
45581 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45582 (ctan_upward_test_data): New variable.
45583 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45584 (ctanh_test_data): New variable.
45585 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45586 (ctanh_tonearest_test_data): New variable.
45587 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45588 (ctanh_towardzero_test_data): New variable.
45589 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45590 (ctanh_downward_test_data): New variable.
45591 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45592 (ctanh_upward_test_data): New variable.
45593 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45594 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45595 of BUILD_COMPLEX.
45596
45597 * math/libm-test.inc (struct test_ff_f_data): New type.
45598 (struct test_ff_f_data_nexttoward): Likewise.
45599 (RUN_TEST_LOOP_2_f): New macro.
45600 (RUN_TEST_LOOP_ff_f): Likewise.
45601 (atan2_test_data): New variable.
45602 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45603 (copysign_test_data): New variable.
45604 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45605 (fdim_test_data): New variable.
45606 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45607 (fmax_test_data): New variable.
45608 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45609 (fmin_test_data): New variable.
45610 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45611 (fmod_test_data): New variable.
45612 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45613 (hypot_test_data): New variable.
45614 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45615 (nextafter_test_data): New variable.
45616 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45617 (nexttoward_test_data): New variable.
45618 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45619 (pow_test_data): New variable.
45620 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45621 (pow_tonearest_test_data): New variable.
45622 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45623 (pow_towardzero_test_data): New variable.
45624 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45625 (pow_downward_test_data): New variable.
45626 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45627 (pow_upward_test_data): New variable.
45628 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45629 (remainder_test_data): New variable.
45630 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45631 (scalb_test_data): New variable.
45632 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45633 * sysdeps/i386/fpu/libm-test-ulps: Update.
45634
45635 2013-05-11 Joseph Myers <joseph@codesourcery.com>
45636
45637 * math/libm-test.inc (fma_test): Use max_value instead of local
45638 variable fltmax.
45639 (nextafter_test): Likewise.
45640
45641 * math/libm-test.inc (acos_towardzero_test_data): New variable.
45642 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45643 (acos_downward_test_data): New variable.
45644 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45645 (acos_upward_test_data): New variable.
45646 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45647 (acosh_test_data): New variable.
45648 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45649 (asin_test_data): New variable.
45650 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45651 (asin_tonearest_test_data): New variable.
45652 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45653 (asin_towardzero_test_data): New variable.
45654 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45655 (asin_downward_test_data): New variable.
45656 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45657 (asin_upward_test_data): New variable.
45658 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45659 (asinh_test_data): New variable.
45660 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45661 (atan_test_data): New variable.
45662 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45663 (atanh_test_data): New variable.
45664 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45665 (cbrt_test_data): New variable.
45666 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45667 (ceil_test_data): New variable.
45668 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45669 (cos_test_data): New variable.
45670 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45671 (cos_tonearest_test_data): New variable.
45672 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45673 (cos_towardzero_test_data): New variable.
45674 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45675 (cos_downward_test_data): New variable.
45676 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45677 (cos_upward_test_data): New variable.
45678 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45679 (cosh_test_data): New variable.
45680 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45681 (cosh_tonearest_test_data): New variable.
45682 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45683 (cosh_towardzero_test_data): New variable.
45684 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45685 (cosh_downward_test_data): New variable.
45686 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45687 (cosh_upward_test_data): New variable.
45688 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45689 (erf_test_data): New variable.
45690 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45691 (erfc_test_data): New variable.
45692 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45693 (exp_test_data): New variable.
45694 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45695 (exp_tonearest_test_data): New variable.
45696 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45697 (exp_towardzero_test_data): New variable.
45698 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45699 (exp_downward_test_data): New variable.
45700 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45701 (exp_upward_test_data): New variable.
45702 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45703 (exp10_test_data): New variable.
45704 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45705 (exp2_test_data): New variable.
45706 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45707 (expm1_test_data): New variable.
45708 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45709 (fabs_test_data): New variable.
45710 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45711 (floor_test_data): New variable.
45712 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45713 (j0_test_data): New variable.
45714 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45715 (j1_test_data): New variable.
45716 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45717 (log_test_data): New variable.
45718 (log_test): Run tests with RUN_TEST_LOOP_f_f.
45719 (log10_test_data): New variable.
45720 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45721 (log1p_test_data): New variable.
45722 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45723 (log2_test_data): New variable.
45724 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45725 (logb_test_data): New variable.
45726 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45727 (logb_downward_test_data): New variable.
45728 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45729 (nearbyint_test_data): New variable.
45730 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45731 (rint_test_data): New variable.
45732 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45733 (rint_tonearest_test_data): New variable.
45734 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45735 (rint_towardzero_test_data): New variable.
45736 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45737 (rint_downward_test_data): New variable.
45738 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45739 (rint_upward_test_data): New variable.
45740 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45741 (round_test_data): New variable.
45742 (round_test): Run tests with RUN_TEST_LOOP_f_f.
45743 (sin_test_data): New variable.
45744 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45745 (sin_tonearest_test_data): New variable.
45746 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45747 (sin_towardzero_test_data): New variable.
45748 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45749 (sin_downward_test_data): New variable.
45750 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45751 (sin_upward_test_data): New variable.
45752 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45753 (sinh_test_data): New variable.
45754 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45755 (sinh_tonearest_test_data): New variable.
45756 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45757 (sinh_towardzero_test_data): New variable.
45758 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45759 (sinh_downward_test_data): New variable.
45760 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45761 (sinh_upward_test_data): New variable.
45762 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45763 (sqrt_test_data): New variable.
45764 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45765 (tan_test_data): New variable.
45766 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45767 (tan_tonearest_test_data): New variable.
45768 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45769 (tan_towardzero_test_data): New variable.
45770 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45771 (tan_downward_test_data): New variable.
45772 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45773 (tan_upward_test_data): New variable.
45774 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45775 (tanh_test_data): New variable.
45776 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45777 (tgamma_test_data): New variable.
45778 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45779 (trunc_test_data): New variable.
45780 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45781 (y0_test_data): New variable.
45782 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45783 (y1_test_data): New variable.
45784 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45785 (significand_test_data): New variable.
45786 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45787
45788 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
45789
45790 [BZ #12387]
45791 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45792
45793 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
45794
45795 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45796
45797 2013-05-10 Andreas Jaeger <aj@suse.de>
45798
45799 [BZ #15448]
45800 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45801 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45802
45803 2013-05-10 Joseph Myers <joseph@codesourcery.com>
45804
45805 * math/gen-libm-test.pl (adjust_arg): New function.
45806 (special_functions): Handle generating output in both functions
45807 and arrays.
45808 (parse_args): Likewise.
45809 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
45810 $in_func argument to parse_args.
45811 * math/libm-test.inc (struct test_f_f_data): New type.
45812 (IF_ROUND_INIT_): New macro.
45813 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45814 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
45817 (ROUND_RESTORE_): Likewise.
45818 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45819 (ROUND_RESTORE_FE_TONEAREST): Likewise.
45820 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45821 (ROUND_RESTORE_FE_UPWARD): Likewise.
45822 (RUN_TEST_LOOP_f_f): New macro.
45823 (acos_test_data): New variable.
45824 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45825 (acos_tonearest_test_data): New variable.
45826 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45827
45828 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45829
45830 * benchtests/bench-skeleton.c (startup): Fix coding style.
45831
45832 2013-05-10 Joseph Myers <joseph@codesourcery.com>
45833
45834 [BZ #6809]
45835 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45836 negative infinity argument.
45837 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45838 negative infinity argument.
45839 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45840 negative infinity argument.
45841 * math/libm-test.inc (tgamma_test): Expect errno to be set for
45842 domain errors.
45843
45844 2013-05-10 Florian Weimer <fweimer@redhat.com>
45845
45846 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45847 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45848 * iconv/iconv_prog.c (main): Likewise.
45849 * locale/programs/charmap-dir.c (charmap_readdir)
45850 (fopen_uncompressed): Likewise.
45851 * locale/programs/locfile.c (siblings_uncached)
45852 (write_locale_data): Use lstat64 instead of lstat.
45853 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45854 stat.
45855
45856 2013-05-10 Andreas Jaeger <aj@suse.de>
45857
45858 [BZ #15395]
45859 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45860 localization.
45861 Include <locale.h>.
45862
45863 2013-05-09 Carlos O'Donell <carlos@redhat.com>
45864
45865 * elf/dl-close.c (_dl_close_worker): Add comments.
45866
45867 2013-05-09 Joseph Myers <joseph@codesourcery.com>
45868
45869 [BZ #15359]
45870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45871 high part of pi/2.
45872 (__ieee754_rem_pio2l): Update comments.
45873
45874 [BZ #15429]
45875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45876 high part of pi/2.
45877 (__ieee754_rem_pio2l): Update comments.
45878
45879 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45880 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45881
45882 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45883 M_PI_4l.
45884
45885 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45886 (M_PI_34_LOG10El): Likewise.
45887 (M_PI2_LOG10El): Likewise.
45888 (M_PI4_LOG10El): Likewise.
45889 (M_PI_LOG10El): Likewise.
45890
45891 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45892
45893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45894
45895 2013-05-08 Joseph Myers <joseph@codesourcery.com>
45896
45897 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45898 (MINUS_ZERO_INIT): Likewise.
45899 (PLUS_INFTY_INIT): Likewise.
45900 (MINUS_INFTY_INIT): Likewise.
45901 (QNAN_VALUE_INIT): Likewise.
45902 (MAX_VALUE_INIT): Likewise.
45903 (MIN_VALUE_INIT): Likewise.
45904 (MIN_SUBNORM_VALUE_INIT): Likewise.
45905 (plus_zero): Initialize with PLUS_ZERO_INIT.
45906 (minus_zero): Initialize with MINUS_ZERO_INIT.
45907 (plus_infty): Initialize with PLUS_INFTY_INIT.
45908 (minus_infty): Initialize with MINUS_INFTY_INIT.
45909 (qnan_value): Initialize with QNAN_VALUE_INIT.
45910 (max_value): Initialize with MAX_VALUE_INIT.
45911 (min_value): Initialize with MIN_VALUE_INIT.
45912 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45913
45914 * math/libm-test.inc (RUN_TEST_if_f): New macro.
45915 (jn_test): Use TEST_if_f instead of TEST_ff_f.
45916 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45917 (yn_test): Use TEST_if_f instead of TEST_ff_f.
45918
45919 * math/libm-test.inc (RUN_TEST_f_f): New macro.
45920 (RUN_TEST_2_f): Likewise.
45921 (RUN_TEST_ff_f): Likewise.
45922 (RUN_TEST_fi_f): Likewise.
45923 (RUN_TEST_fl_f): Likewise.
45924 (RUN_TEST_fff_f): Likewise.
45925 (RUN_TEST_c_f): Likewise.
45926 (RUN_TEST_f_f1): Likewise.
45927 (RUN_TEST_fF_f1): Likewise.
45928 (RUN_TEST_fI_f1): Likewise.
45929 (RUN_TEST_ffI_f1): Likewise.
45930 (RUN_TEST_c_c): Likewise.
45931 (RUN_TEST_cc_c): Likewise.
45932 (RUN_TEST_f_i): Likewise.
45933 (RUN_TEST_f_i_tg): Likewise.
45934 (RUN_TEST_ff_i_tg): Likewise.
45935 (RUN_TEST_f_b): Likewise.
45936 (RUN_TEST_f_b_tg): Likewise.
45937 (RUN_TEST_f_l): Likewise.
45938 (RUN_TEST_f_L): Likewise.
45939 (RUN_TEST_sincos): Likewise.
45940 * math/gen-libm-test.pl (new_test): Take new argument to indicate
45941 whether to show exceptions. Do not include ");\n" in return
45942 value.
45943 (special_functions): Output call to RUN_TEST_sincos instead of
45944 check_float calls. Update calls to new_test.
45945 (parse_args): Output call to single RUN_TEST_* macro instead of
45946 check_* calls and other assignments. Update calls to new_test.
45947
45948 [BZ #2546]
45949 [BZ #2560]
45950 [BZ #5159]
45951 [BZ #15426]
45952 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45953 input to result for tgamma overflow.
45954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45955 (gamma_coeff): New variable.
45956 (NCOEFF): New macro.
45957 (gamma_positive): New function.
45958 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45959 underflow here. Use gamma_positive instead of exp (lgamma) for
45960 other arguments.
45961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45962 (gamma_coeff): New variable.
45963 (NCOEFF): New macro.
45964 (gammaf_positive): New function.
45965 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45966 underflow here. Use gamma_positive instead of exp (lgamma) for
45967 other arguments.
45968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45969 (gamma_coeff): New variable.
45970 (NCOEFF): New macro.
45971 (gammal_positive): New function.
45972 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45973 underflow here. Use gamma_positive instead of exp (lgamma) for
45974 other arguments.
45975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45976 (gamma_coeff): New variable.
45977 (NCOEFF): New macro.
45978 (gammal_positive): New function.
45979 (__ieee754_gammal_r): Handle positive infinity, overflow and
45980 underflow here. Handle NaN the same as positive infinity. Remove
45981 check x < 0xffffffff for negative integers. Use gamma_positive
45982 instead of exp (lgamma) for other arguments.
45983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45984 (gamma_coeff): New variable.
45985 (NCOEFF): New macro.
45986 (gammal_positive): New function.
45987 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45988 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45992 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45993 * sysdeps/generic/math_private.h (__gamma_productf): New
45994 prototype.
45995 (__gamma_product): Likewise.
45996 (__gamma_productl): Likewise.
45997 * math/Makefile (libm-calls): Add gamma_product.
45998 * math/libm-test.inc (tgamma_test): Add more tests.
45999 * sysdeps/i386/fpu/libm-test-ulps: Update.
46000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46001
46002 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
46003
46004 * benchtests/bench-skeleton.c (main): Preheat CPU.
46005
46006 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
46007
46008 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46009
46010 2013-05-07 Roland McGrath <roland@hack.frob.com>
46011
46012 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46013 and _dl_skip_args_internal.
46014
46015 2013-05-07 Carlos O'Donell <carlos@redhat.com>
46016
46017 * manual/message.texi (Message Translation): Talk about users.
46018 Message to key mapping impacts design.
46019
46020 2013-05-06 Roland McGrath <roland@hack.frob.com>
46021
46022 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46023
46024 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46025
46026 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46027 * sysdeps/wordsize-64/glob64.c: ... here.
46028
46029 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46030 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46031 New macros.
46032
46033 * debug/getlogin_r_chk.c: Moved to ...
46034 * login/getlogin_r_chk.c: ... here.
46035 * debug/Makefile (routines): Move getlogin_r_chk to ...
46036 * login/Makefile (routines): ... here.
46037 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46038 * login/Versions (libc: GLIBC_2.4): ... here.
46039
46040 * io/poll.c (__poll): Renamed from poll.
46041 Add libc_hidden_def.
46042 (poll): Define as weak alias.
46043
46044 * debug/ptsname_r_chk.c: Moved to ...
46045 * login/ptsname_r_chk.c: ... here.
46046 * debug/Makefile (routines): Move ptsname_r_chk to ...
46047 * login/Makefile (routines): ... here.
46048 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46049 * login/Versions (libc: GLIBC_2.4): ... here.
46050
46051 * posix/getlogin.c: Moved to ...
46052 * login/getlogin.c: ... here.
46053 * posix/getlogin_r.c: Moved to ...
46054 * login/getlogin_r.c: ... here.
46055 * posix/getlogin_r.c: Moved to ...
46056 * login/getlogin_r.c: ... here.
46057 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46058 * login/Makefile (routines): ... here.
46059 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46060 * login/Versions (libc: GLIBC_2.0): ... here.
46061
46062 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46063 (setrlimit): Define as weak alias.
46064
46065 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46066 Call __ names for open, ftruncate, and close.
46067 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46068 (truncate): Define as weak alias.
46069
46070 2013-05-06 Joseph Myers <joseph@codesourcery.com>
46071
46072 * math/gen-libm-test.pl (parse_args): Initialize x before each
46073 test of frexp, modf and remquo.
46074
46075 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46076 test signgam value.
46077
46078 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46079
46080 [BZ #15418]
46081 [BZ #15419]
46082 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46083 internal tests.
46084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46085
46086 2013-05-06 Roland McGrath <roland@hack.frob.com>
46087
46088 * elf/dl-writev.h: New file.
46089 * elf/dl-misc.c: Include it.
46090 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46091 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46092
46093 2013-05-04 Joseph Myers <joseph@codesourcery.com>
46094
46095 * math/libm-test.inc (noXFails): Remove variable.
46096 (noXPasses): Likewise.
46097 (BUILD_COMPLEX_INT): Remove macro.
46098 (print_screen): Remove xfail argument.
46099 (print_screen_max_error): Likewise.
46100 (update_stats): Likewise.
46101 (print_max_error): Likewise. Update calls to other affected
46102 functions.
46103 (print_complex_max_error): Likewise.
46104 (test_single_exception): Update calls to print_screen.
46105 (test_single_errno): Likewise.
46106 (check_float_internal): Remove xfail argument. Update calls to
46107 other affected functions.
46108 (check_float): Likewise.
46109 (check_complex): Likewise.
46110 (check_int): Likewise.
46111 (check_long): Likewise.
46112 (check_bool): Likewise.
46113 (check_longlong): Likewise.
46114 (main): Don't print noXFails and noXPasses.
46115 * math/gen-libm-test.pl (top level): Don't mention expected
46116 failure handling in comment.
46117 (new_test): Don't handle expected failures.
46118 (parse_args): Don't mention expected failure handling in comment.
46119 (generate_testfile): Don't handle expected failures.
46120 (parse_ulps): Likewise.
46121 (print_ulps_file): Likewise.
46122 (get_failure): Remove function.
46123 (output_test): Don't handle expected failures.
46124 * make/README.libm-test: Don't mention expected failure handling.
46125
46126 * math/libm-test.inc (plus_zero): Make const. Add initializer.
46127 (minus_zero): Likewise.
46128 (plus_infty): Likewise.
46129 (minus_infty): Likewise.
46130 (qnan_value): Likewise.
46131 (max_value): Likewise.
46132 (min_value): Likewise.
46133 (min_subnorm_value): Likewise.
46134 (initialize): Do not initialize those variables dynamically.
46135
46136 2013-05-03 Roland McGrath <roland@hack.frob.com>
46137
46138 * io/open.c (__open_2): Moved to ...
46139 * io/open_2.c: ... this new file.
46140 * io/open64.c (__open64_2): Moved to ...
46141 * io/open64_2.c: ... this new file.
46142 * io/openat.c (__openat_2): Moved to ...
46143 * io/openat_2.c: ... this new file.
46144 * io/openat64.c (__openat64_2): Moved to ...
46145 * io/openat64_2.c: ... this new file.
46146 * io/Makefile (routines): Add them.
46147 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46148 * sysdeps/unix/sysv/linux/open_2.c: File removed.
46149 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46150 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46151 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46152 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46153 (__openat64): Add hidden_ver.
46154 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46155 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46156
46157 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46158 Separately conditionalize setting of GLRO(dl_sysinfo) so
46159 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46160 as well, but the actual setting is only under [NEED_DL_SYSINFO].
46161
46162 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46163
46164 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46166 definition.
46167 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46168 * sysdeps/unix/sysv/linux/powerpc/init-first.c
46169 (_libc_vdso_platform_setup): Add __vdso_time initialization.
46170 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46171 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46172
46173 2013-05-03 Joseph Myers <joseph@codesourcery.com>
46174
46175 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46176 test signgam value.
46177
46178 * math/libm-test.inc (hypot_test): Do not use
46179 IGNORE_ZERO_INF_SIGN.
46180
46181 2013-05-03 Andreas Jaeger <aj@suse.de>
46182
46183 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46184 Linux 3.9.
46185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46186 (PF_MAX): Adjust for VSOCK change.
46187
46188 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46189
46190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46191
46192 2013-05-02 Carlos O'Donell <carlos@redhat.com>
46193
46194 [BZ #15264]
46195 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46196 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46197 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46198
46199 2013-05-02 David S. Miller <davem@davemloft.net>
46200
46201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46202
46203 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
46204
46205 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46206
46207 2013-05-01 Roland McGrath <roland@hack.frob.com>
46208
46209 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46210
46211 2013-05-01 Richard Smith <richard@metafoo.co.uk>
46212
46213 [BZ #14952]
46214 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46215 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46216 Use __attribute__ ((__gnu_inline__)).
46217 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46218 Don't use __attribute__ ((__gnu_inline__)).
46219
46220 2013-05-01 Joseph Myers <joseph@codesourcery.com>
46221
46222 [BZ #15423]
46223 * math/s_catan.c (__catan): Handle small real or imaginary part of
46224 input specially to avoid spurious underflow.
46225 * math/s_catanf.c (__catanf): Likewise.
46226 * math/s_catanh.c (__catanh): Likewise.
46227 * math/s_catanhf.c (__catanhf): Likewise.
46228 * math/s_catanhl.c (__catanhl): Likewise.
46229 * math/s_catanl.c (__catanl): Likewise.
46230 * math/libm-test.inc (catan_test): Add more tests.
46231 (catanh_test): Likewise.
46232 * sysdeps/i386/fpu/libm-test-ulps: Update.
46233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46234
46235 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46236
46237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46238
46239 2013-04-30 Joseph Myers <joseph@codesourcery.com>
46240
46241 [BZ #15416]
46242 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46243 accurately for denominator in atan2.
46244 * math/s_catanf.c (__catanf): Likewise.
46245 * math/s_catanh.c (__catanh): Likewise.
46246 * math/s_catanhf.c (__catanhf): Likewise.
46247 * math/s_catanhl.c (__catanhl): Likewise.
46248 * math/s_catanl.c (__catanl): Likewise.
46249 * math/libm-test.inc (catan_test): Add more tests.
46250 (catanh_test): Likewise.
46251 * sysdeps/i386/fpu/libm-test-ulps: Update.
46252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46253
46254 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46255
46256 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46257
46258 * benchtests/Makefile (bench): Remove slow benchmarks.
46259 * benchtests/atan-inputs: Add slow benchmark inputs.
46260 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46261 (BENCH_FUNC): Accept variant offset.
46262 (VARIANT): Define.
46263 * benchtests/bench-skeleton.c (main): Run benchmark for each
46264 variant.
46265 * benchtests/cos-inputs: Add slow benchmark inputs.
46266 * benchtests/exp-inputs: Likewise.
46267 * benchtests/pow-inputs: Likewise.
46268 * benchtests/sin-inputs: Likewise.
46269 * benchtests/slowatan-inputs: Remove.
46270 * benchtests/slowatan.c: Remove.
46271 * benchtests/slowcos-inputs: Remove.
46272 * benchtests/slowcos.c: Remove.
46273 * benchtests/slowexp-inputs: Remove.
46274 * benchtests/slowexp.c: Remove.
46275 * benchtests/slowpow-inputs: Remove.
46276 * benchtests/slowpow.c: Remove.
46277 * benchtests/slowsin-inputs: Remove.
46278 * benchtests/slowsin.c: Remove.
46279 * benchtests/slowtan-inputs: Remove.
46280 * benchtests/slowtan.c: Remove.
46281 * benchtests/tan-inputs: Add slow benchmark inputs.
46282 * scripts/bench.pl: Parse comments and directives.
46283
46284 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
46285 in CPPFLAGS.
46286 ($(objpfx)bench-%.c): Remove *-ITER.
46287 * benchtests/bench-modf.c: Remove definition of ITER.
46288 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46289 (main): Loop for DURATION seconds instead of fixed number of
46290 iterations.
46291 * scripts/bench.pl: Don't expect iterations in parameters.
46292
46293 2013-04-29 Roland McGrath <roland@hack.frob.com>
46294
46295 * io/fchdir.c (__fchdir): Renamed from fchdir.
46296 (fchdir): Define as weak alias.
46297
46298 2013-04-29 Joseph Myers <joseph@codesourcery.com>
46299
46300 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46301 (ERRNO_EDOM): Likewise.
46302 (ERRNO_ERANGE): Likewise.
46303 (noErrnoTests): New variable.
46304 (init_max_error): Set errno to 0.
46305 (test_single_errno): New function.
46306 (test_errno): Likewise.
46307 (check_float_internal): Call test_errno. Set errno to 0.
46308 (check_complex): Refer to errno tests in comment.
46309 (check_int): Call test_errno. Set errno to 0.
46310 (check_long): Likewise.
46311 (check_bool): Likewise.
46312 (check_longlong): Likewise.
46313 (cos_test): Use ERRNO_* flags for errno tests instead of
46314 check_int.
46315 (expm1_test): Likewise.
46316 (fmod_test): Likewise.
46317 (ilogb_test): Likewise.
46318 (lgamma_test): Likewise.
46319 (pow_test): Likewise.
46320 (remainder_test): Likewise.
46321 (sin_test): Likewise.
46322 (tan_test): Likewise.
46323 (yn_test): Likewise.
46324 (initialize): Set errno to 0.
46325 (main): Print number of errno tests.
46326 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46327
46328 2013-04-29 Andreas Jaeger <aj@suse.de>
46329
46330 [BZ #15084]
46331 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46332 and RES_USEVC.
46333
46334 [BZ #15085]
46335 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46336 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46337 unimplemented.
46338
46339 [BZ #15380]
46340 * stdlib/random.c (__initstate): Return NULL if
46341 __initstate fails.
46342
46343 [BZ #15086]
46344 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46345 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46346 RES_SNGLKUPREOP.
46347
46348 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46349
46350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46351
46352 2013-04-29 Joseph Myers <joseph@codesourcery.com>
46353
46354 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46355 of individual tests.
46356 (casin_test): Likewise.
46357 (casinh_test): Likewise.
46358
46359 2013-04-27 Joseph Myers <joseph@codesourcery.com>
46360
46361 [BZ #15409]
46362 * math/s_catan.c (__catan): Handle arguments with large real or
46363 imaginary part separately without squaring.
46364 * math/s_catanf.c (__catanf): Likewise.
46365 * math/s_catanh.c (__catanh): Likewise.
46366 * math/s_catanhf.c (__catanhf): Likewise.
46367 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46368 and redefine.
46369 (__catanhl): Handle arguments with large real or imaginary part
46370 separately without squaring.
46371 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46372 and redefine.
46373 (__catanl): Handle arguments with large real or imaginary part
46374 separately without squaring.
46375 * math/libm-test.inc (catan_test): Add more tests.
46376 (catanh_test): Likewise.
46377 * sysdeps/i386/fpu/libm-test-ulps: Update.
46378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46379
46380 2013-04-27 Andreas Jaeger <aj@suse.de>
46381
46382 [BZ #15007]
46383 * stdlib/stdlib.h: Update guards for qecvt.
46384 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46385 <stdlib.h>.
46386
46387 2013-04-27 Allan McRae <allan@archlinux.org>
46388
46389 * sysdeps/i386/fpu/libm-test-ulps: Update.
46390
46391 2013-04-26 Joseph Myers <joseph@codesourcery.com>
46392
46393 [BZ #15406]
46394 * math/s_catan.c: Include <float.h>.
46395 (__catan): Ensure underflow exception occurs for underflowed
46396 result.
46397 * math/s_catanf.c: Include <float.h>.
46398 (__catanf): Ensure underflow exception occurs for underflowed
46399 result.
46400 * math/s_catanh.c: Include <float.h>.
46401 (__catanh): Ensure underflow exception occurs for underflowed
46402 result.
46403 * math/s_catanhf.c: Include <float.h>.
46404 (__catanhf): Ensure underflow exception occurs for underflowed
46405 result.
46406 * math/s_catanhl.c: Include <float.h>.
46407 (__catanhl): Ensure underflow exception occurs for underflowed
46408 result.
46409 * math/s_catanl.c: Include <float.h>.
46410 (__catanl): Ensure underflow exception occurs for underflowed
46411 result.
46412 * math/libm-test.inc (catan_test): Add more tests.
46413 (catanh_test): Likewise.
46414
46415 [BZ #15405]
46416 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46417 underflowed result.
46418 * math/s_ccoshf.c (__ccoshf): Likewise.
46419 * math/s_ccoshl.c (__ccoshl): Likewise.
46420 * math/s_csin.c (__csin): Likewise.
46421 * math/s_csinf.c (__csinf): Likewise.
46422 * math/s_csinh.c (__csinh): Likewise.
46423 * math/s_csinhf.c (__csinhf): Likewise.
46424 * math/s_csinhl.c (__csinhl): Likewise.
46425 * math/s_csinl.c (__csinl): Likewise.
46426 * math/libm-test.inc (ccos_test): Add more tests.
46427 (ccosh_test): Likewise.
46428 (csin_test): Likewise.
46429 (csinh_test): Likewise.
46430
46431 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46432
46433 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46434 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46435 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46436 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46437 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46438 powerpc/power5+/fpu folders.
46439 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46440
46441
46442 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46443
46444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46445
46446 2013-04-25 Joseph Myers <joseph@codesourcery.com>
46447
46448 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46449 additions to variable.
46450 [$(config-machine) = x86_64] (modules-names): Likewise.
46451 ($(objpfx)tst-audit3): Remove dependency.
46452 ($(objpfx)tst-audit3.out): Likewise.
46453 ($(objpfx)tst-audit4): Likewise.
46454 ($(objpfx)tst-audit4.out): Likewise.
46455 ($(objpfx)tst-audit5): Likewise.
46456 ($(objpfx)tst-audit5.out): Likewise.
46457 ($(objpfx)tst-audit6): Likewise.
46458 ($(objpfx)tst-audit6.out): Likewise.
46459 ($(objpfx)tst-audit7): Likewise.
46460 ($(objpfx)tst-audit7.out): Likewise.
46461 (tst-audit3-ENV): Remove variable.
46462 (tst-audit4-ENV): Likewise.
46463 (tst-audit5-ENV): Likewise.
46464 (tst-audit6-ENV): Likewise.
46465 (tst-audit7-ENV): Likewise.
46466 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46467 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46468 addition to variable.
46469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46473 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46474 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46475 tst-audit3, tst-audit4 and tst-audit5.
46476 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46477 tst-audit6 and tst-audit7.
46478 [$(subdir) = elf] (modules-names): Add audit modules for those
46479 tests.
46480 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46481 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46482 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46483 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46484 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46485 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46486 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46487 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46488 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46489 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46490 [$(subdir) = elf] (tst-audit3-ENV): New variable.
46491 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46492 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46493 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46494 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46495 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46496 Likewise.
46497 [$(subdir) = elf && $(config-cflags-avx) = yes]
46498 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46499 [$(subdir) = elf && $(config-cflags-avx) = yes]
46500 (CFLAGS-tst-auditmod4a.c): Likewise.
46501 [$(subdir) = elf && $(config-cflags-avx) = yes]
46502 (CFLAGS-tst-auditmod4b.c): Likewise.
46503 [$(subdir) = elf && $(config-cflags-avx) = yes]
46504 (CFLAGS-tst-auditmod6b.c): Likewise.
46505 [$(subdir) = elf && $(config-cflags-avx) = yes]
46506 (CFLAGS-tst-auditmod6c.c): Likewise.
46507 [$(subdir) = elf && $(config-cflags-avx) = yes]
46508 (CFLAGS-tst-auditmod7b.c): Likewise.
46509 * elf/tst-audit3.c: Move to ...
46510 * sysdeps/x86_64/tst-audit3.c: ... here.
46511 * elf/tst-audit4.c: Move to ...
46512 * sysdeps/x86_64/tst-audit4.c: ... here.
46513 * elf/tst-audit5.c: Move to ...
46514 * sysdeps/x86_64/tst-audit5.c: ... here.
46515 * elf/tst-audit6.c: Move to ...
46516 * sysdeps/x86_64/tst-audit6.c: ... here.
46517 * elf/tst-audit7.c: Move to ...
46518 * sysdeps/x86_64/tst-audit7.c: ... here.
46519 * elf/tst-auditmod3a.c: Move to ...
46520 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46521 * elf/tst-auditmod3b.c: Move to ...
46522 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46523 * elf/tst-auditmod4a.c: Move to ...
46524 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46525 * elf/tst-auditmod4b.c: Move to ...
46526 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46527 * elf/tst-auditmod5a.c: Move to ...
46528 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46529 * elf/tst-auditmod5b.c: Move to ...
46530 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46531 * elf/tst-auditmod6a.c: Move to ...
46532 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46533 * elf/tst-auditmod6b.c: Move to ...
46534 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46535 * elf/tst-auditmod6c.c: Move to ...
46536 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46537 * elf/tst-auditmod7a.c: Move to ...
46538 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46539 * elf/tst-auditmod7b.c: Move to ...
46540 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46541
46542 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
46543
46544 [BZ #15366]
46545 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46546 define unconditionally.
46547 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46548 define unconditionally.
46549 (INT8_C, INT16_C, etc.): Likewise.
46550
46551 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
46552
46553 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46554 __ehdr_start with hidden visibility.
46555
46556 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46557
46558 2013-04-24 Carlos O'Donell <carlos@redhat.com>
46559
46560 * math/libm-test.inc (cos_test): Use accurate hex constants.
46561 (sincost_test): Likewise.
46562
46563 2013-04-24 Joseph Myers <joseph@codesourcery.com>
46564
46565 * math/libm-test.inc (catan_test): Add more tests.
46566 (catanh_test): Likewise.
46567
46568 * math/s_catanf.c (__catanf): Use suffixed floating-point
46569 constants.
46570 * math/s_catanhf.c (__catanhf): Likewise.
46571 * math/s_catanhl.c (__catanhl): Likewise.
46572 * math/s_catanl.c (__catanl): Likewise.
46573
46574 [BZ #15394]
46575 * math/s_catan.c (__catan): Calculate imaginary part of result
46576 with log1p not log unless computing log of number close to 0.
46577 * math/s_catanf.c (__catanf): Likewise.
46578 * math/s_catanl.c (__catanl): Likewise.
46579 * math/s_catanh.c (__catanh): Calculate real part of result with
46580 log1p not log unless computing log of number close to 0.
46581 * math/s_catanhf.c (__catanhf): Likewise.
46582 * math/s_catanhl.c (__catanhl): Likewise.
46583 * math/libm-test.inc (catan_test): Add more tests.
46584 (catanh_test): Likewise.
46585 * sysdeps/i386/fpu/libm-test-ulps: Update.
46586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46587
46588 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46589
46590 * benchtests/Makefile: Mention files in which fast and slow
46591 paths of math functions are implemented.
46592
46593 2013-04-23 Roland McGrath <roland@hack.frob.com>
46594
46595 * sysdeps/posix/timespec_get.c: New file.
46596
46597 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46598
46599 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46600 POWER.
46601 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46602 for POWER.
46603 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46604 powerpc/power5/fpu folders.
46605 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46606 * benchtests/Makefile: Add modf testcase.
46607 * benchtests/bench-modf.c: New file: Benchmark test for mo
46608
46609 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
46610
46611 [BZ #14888]
46612 * time/Makefile (tests): Add tst-strptime-whitespace.
46613 * time/strptime_l.c (get_number): Use ISSPACE.
46614 (__strptime_internal): Likewise.
46615 * time/tst-strptime-whitespace.c: New test case.
46616
46617 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
46618
46619 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46620 member.
46621 (_nss_files_init): Set it here.
46622
46623 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
46624
46625 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46626 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46627 unsigned.
46628
46629 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
46630
46631 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46632
46633 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46634
46635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46636 size just once.
46637
46638 2013-04-21 David S. Miller <davem@davemloft.net>
46639
46640 * po/ru.po: Update Russion translation from translation project.
46641
46642 2013-04-17 Adam Conrad <adconrad@0c3.net>
46643
46644 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46645 and setfsgid.
46646
46647 2013-04-17 Carlos O'Donell <carlos@redhat.com>
46648
46649 * configure.in: Remove i386 configure warning. Remove i386 case.
46650 * configure: Regenerate.
46651 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46652 Add example to error message.
46653 * sysdeps/i386/configure: Regenerate.
46654
46655 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
46656
46657 * benchtests/Makefile (bench): Add cos, tan, slowcos and
46658 slowtan.
46659 * benchtests/cos-inputs: New file.
46660 * benchtests/slowcos-inputs: New file.
46661 * benchtests/slowcos.c: New file.
46662 * benchtests/slowtan-inputs: New file.
46663 * benchtests/slowtan.c: New file.
46664 * benchtests/tan-inputs: New file.
46665
46666 2013-04-16 Roland McGrath <roland@hack.frob.com>
46667
46668 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46669 considered kosher.
46670
46671 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46672
46673 * benchtests/Makefile: Include cppflags-iterator.mk to add
46674 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46675
46676 * Makefile.in (bench-clean): New target.
46677 * benchtests/Makefile (bench-clean): Likewise.
46678
46679 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
46680
46681 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46682
46683 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
46684
46685 * stdio-common/tstdiomisc.c: Fix coding-style violation.
46686
46687 2013-04-15 Andreas Schwab <schwab@suse.de>
46688
46689 * nscd/grpcache.c (cache_addgr): Properly check for short write.
46690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46691 * nscd/pwdcache.c (cache_addpw): Likewise.
46692 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
46693 more than recsize.
46694
46695 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46696
46697 * benchtests/Makefile (bench): Write all output to
46698 bench-out.tmp together.
46699
46700 2013-04-15 Andreas Schwab <schwab@suse.de>
46701
46702 * nscd/nscd.c (main): Don't fork again after closing files.
46703
46704 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46705
46706 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46707
46708 * benchtests/Rules (bench-deps): Collect dependencies into a
46709 single variable. Add Makefile to dependencies.
46710 ($(objpfx)bench-%.c): Depend on bench-deps.
46711
46712 2013-04-12 Roland McGrath <roland@hack.frob.com>
46713 Xavier Roche <roche+kml2@exalead.com>
46714
46715 [BZ #15361]
46716 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46717 just that it's a file descriptor.
46718 * manual/llio.texi (Synchronizing AIO Operations): Update description
46719 for EBADF error from aio_fsync.
46720
46721 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46722
46723 * Rules (bench): Move target definition...
46724 * benchtests/Makefile: ... here.
46725
46726 2013-04-11 Carlos O'Donell <carlos@redhat.com>
46727
46728 * math/libm-test.inc (cos_test): Fix PI/2 test.
46729 (sincos_test): Likewise.
46730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46731 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46732
46733 2013-04-11 Andreas Schwab <schwab@suse.de>
46734
46735 [BZ #13988]
46736 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46737 accept exponent character only when digits were seen.
46738 * stdio-common/Makefile (tests): Add bug26.
46739 * stdio-common/bug26.c: New file.
46740
46741 [BZ #14293]
46742 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46743 non-freeable.
46744
46745 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46746
46747 * Makeconfig (rtld-prefix): Define built linker prefix.
46748 * Rules (run-bench): Use it.
46749 * math/Makefile (run-regen-ulps): Likewise.
46750
46751 * Rules (bench): Remove eval.
46752
46753 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46754 Roland McGrath <roland@hack.frob.com>
46755 Ondrej Bilka <neleai@seznam.cz>
46756
46757 [BZ #15346]
46758 * time/getdate.c: Include ctype.h and alloca.h.
46759 (__getdate_r): Trim leading and trailing spaces of input.
46760 * time/tst-getdate.c (tests): Add tests with leading and
46761 trailing spaces.
46762
46763 2013-04-08 Roland McGrath <roland@hack.frob.com>
46764
46765 [BZ #14280]
46766 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46767 when computing value.
46768
46769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
46770
46771 * math/README.libm-test (How can I generate "libm-test-ulps"?):
46772 Use testrun.sh to run libm tests.
46773
46774 [BZ #15309]
46775 * elf/dl-open.c (dl_open_worker): memset all of seen array.
46776
46777 2013-04-06 Marko Myllynen <myllynen@redhat.com>
46778
46779 [BZ #15264]
46780 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46781
46782 2013-04-06 Carlos O'Donell <carlos@redhat.com>
46783
46784 * Makefile.in (regen-ulps): New target.
46785 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46786 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46787 [ifneq (no,$(PERL)] (regen-ulps): New target.
46788 [ifeq (no,$(PERL)] (regen-ulps): New target.
46789 * math/libm-test.inc (ulps_file_name): Define.
46790 (output_dir): New variable.
46791 (options): Add "output-dir" option.
46792 (parse_opt): Handle 'o' case.
46793 (main): If output_dir is non-NULL use it as a prefix
46794 otherwise use "".
46795 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46796
46797 2013-04-06 Carlos O'Donell <carlos@redhat.com>
46798
46799 [BZ #10060, #10062]
46800 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46801 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46802 fail configure if __sync_val_compare_and_swap is not inlined.
46803 * sysdeps/i386/configure: Regenerate.
46804 * configure.in: Build for i686 when configured for i386.
46805 * configure: Regenerate.
46806 * README: Remove i386 reference.
46807
46808 2013-04-06 Carlos O'Donell <carlos@redhat.com>
46809
46810 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46812
46813 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
46814
46815 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46816 (lmsnanval): New variables.
46817 (F): Add conversion tests.
46818 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46819 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46820
46821 * stdio-common/tstdiomisc.c (F): Properly collect individual
46822 tests' results.
46823
46824 [BZ #14686, #15336]
46825 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46827 Instead, use input NaN values or generate a qNaN by arithmetic
46828 operation. Also fix bugs to comply with the standard.
46829 * math/libm-test.inc (remainder_test): Add more tests.
46830
46831 [BZ #15335, #15342]
46832 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46834 input NaN values or generate a qNaN by arithmetic operation.
46835
46836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46837 unreachable code.
46838
46839 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46840 definitions.
46841
46842 2013-04-03 Joseph Myers <joseph@codesourcery.com>
46843
46844 [BZ #14478]
46845 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46846 underflowed result.
46847 * math/s_cexpf.c (__cexpf): Likewise.
46848 * math/s_cexpl.c (__cexpl): Likewise.
46849 * math/libm-test.inc (cexp_test): Add more tests.
46850
46851 2013-04-03 Andreas Schwab <schwab@suse.de>
46852
46853 [BZ #15330]
46854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46855 order arrays from heap if bigger than alloca cutoff.
46856
46857 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
46858
46859 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46860 (SNAN_TESTS_double): Refer to GCC PR56831.
46861 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46862 GCC PR56828.
46863
46864 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
46865
46866 * Rules (bench): Move bench.out after the run is complete.
46867
46868 * Rules (bench): Echo currently running benchmark.
46869
46870 * benchtests/Makefile (bench): Add atan and slowatan.
46871 * benchtests/atan-inputs: New file.
46872 * benchtests/slowatan-inputs: New file.
46873 * benchtests/slowatan.c: New file.
46874
46875 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46877 its value.
46878
46879 [BZ #15305]
46880 * sysdeps/unix/sysv/linux/kernel-features.h
46881 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46882 __ASSUME_XFS_RESTRICTED_CHOWN.
46883 * sysdeps/unix/sysv/linux/pathconf.c
46884 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46885 Save and restore errno.
46886
46887 2013-04-02 Joseph Myers <joseph@codesourcery.com>
46888
46889 [BZ #15327]
46890 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46891 arguments using __kernel_casinh.
46892 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46893 arguments using __kernel_casinhf.
46894 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46895 arguments using __kernel_casinhl.
46896 * math/libm-test.inc (cacosh_test): Add more tests.
46897 * sysdeps/i386/fpu/libm-test-ulps: Update.
46898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46899
46900 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46901
46902 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46904
46905 * bench/Makefile (bench): Add sin and slowsin.
46906 * benchtests/sin-inputs: New file.
46907 * benchtests/slowsin-inputs: New file.
46908 * benchtests/slowsin.c: New file.
46909
46910 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46911 (bench): Add slowexp and slowpow.
46912 (exp-ITER): Increase iterations.
46913 (pow-ITER): Likewise.
46914 * benchtests/exp-inputs: Change input.
46915 * benchtests/pow-inputs: Likewise.
46916 * benchtests/slowexp-inputs: New file.
46917 * benchtests/slowexp.c: New file.
46918 * benchtests/slowpow-inputs: New file.
46919 * benchtests/slowpow.c: New file.
46920
46921 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46922
46923 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46924 instructions.
46925 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46926 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46928 * benchtests/Makefile: Add rint benchtest.
46929 * benchtests/rint-inputs: Input for rint benchtest.
46930
46931 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
46932
46933 * Versions.def (libm): Add GLIBC_2.18.
46934 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46935 hidden libm prototypes.
46936 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46937 * math/Makefile (libm-calls): Add s_issignaling.
46938 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46939 __issignalingf, __issignalingl. Adjust all libm.abilist files.
46940 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46941 declaration.
46942 * math/math.h [__USE_GNU] (issignaling): New macro.
46943 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46944 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46946 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46947 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46948 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46949 * manual/arith.texi (issignaling): New section.
46950 * manual/libm-err-tab.pl (@all_functions): Update comment.
46951 * math/gen-libm-test.pl (parse_args): Apply special handling for
46952 issignaling.
46953 * math/libm-test.inc (print_float, issignaling_test): New
46954 functions.
46955 (check_float_internal): Add issignaling checks.
46956 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46957 default definition.
46958 * sysdeps/powerpc/math-tests.h: New file.
46959 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46960 tests.
46961 * math/test-snan.c (TEST_FUNC): Likewise.
46962
46963 2013-03-30 David S. Miller <davem@davemloft.net>
46964
46965 * po/de.po: Update from translation team.
46966
46967 2013-03-30 Joseph Myers <joseph@codesourcery.com>
46968
46969 [BZ #10357]
46970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46971 imaginary part less than 1.0 and real part less than 0.5
46972 specially.
46973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46975 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46976 (cacos_test): Add more tests.
46977 (casin_test): Likewise.
46978 (casinh_test): Likewise.
46979 * sysdeps/i386/fpu/libm-test-ulps: Update.
46980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46981
46982 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46983
46984 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46985 ONE with its value.
46986
46987 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46988 (__pow_mp): Replace ONE and MONE with their values.
46989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46991 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46992 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46993 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46995
46996 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46997
46998 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46999 (__pow_mp): Replace ZERO and MZERO with their values.
47000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47005 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47006 (__sqr): Likewise.
47007
47008 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47009
47010 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47011
47012 2013-03-28 Roland McGrath <roland@hack.frob.com>
47013
47014 * include/stdlib.h [!SHARED] (__call_tls_dtors):
47015 Declare with __attribute__ ((weak)).
47016 * stdlib/exit.c (__libc_atexit) [!SHARED]:
47017 Call __call_tls_dtors only if it's not NULL.
47018
47019 2013-03-28 Roland McGrath <roland@hack.frob.com>
47020
47021 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47022 didn't do it already, then set _dl_phdr and _dl_phnum based on the
47023 magic __ehdr_start linker symbol if it's defined.
47024 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47025 them up here if it was already done.
47026
47027 * elf/dl-support.c (_dl_phdr): Make pointer to const.
47028 (_dl_aux_init): Use const in cast when setting it.
47029 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47030 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47031 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47032
47033 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47034 Declare them here.
47035 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47036 * csu/libc-tls.c: Nor here.
47037 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47038
47039 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47040 (__libc_message): Never call vsyslog.
47041
47042 2013-03-28 Alan Modra <amodra@gmail.com>
47043
47044 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47045 Define as empty.
47046 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47047 Likewise.
47048
47049 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47050
47051 [BZ #15214]
47052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47053 underflow.
47054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47055
47056 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47057
47058 [BZ #15304]
47059 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47060 Don't add gid passed as argument.
47061
47062 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47063
47064 2013-03-27 Joseph Myers <joseph@codesourcery.com>
47065
47066 [BZ #15307]
47067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
47068 imaginary part between 1.0 and 1.5 and real part less than 0.5
47069 specially.
47070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
47071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
47072 * math/libm-test.inc (cacos_test): Add more tests.
47073 (casin_test): Likewise.
47074 (casinh_test): Likewise.
47075 * sysdeps/i386/fpu/libm-test-ulps: Update.
47076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47077
47078 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47079
47080 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47081 constants.
47082 (norm): Likewise.
47083 (denorm): Likewise.
47084 (__dbl_mp): Likewise.
47085 (add_magnitudes): Likewise.
47086 (sub_magnitudes): Likewise.
47087 (__add): Likewise.
47088 (__sub): Likewise.
47089 (__mul): Likewise.
47090 (__sqr): Likewise.
47091 (__inv): Likewise.
47092 (__dvd): Likewise.
47093
47094 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47095 commented code.
47096 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47097 (__dubcos): Likewise.
47098 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47099 (__ieee754_acos): Likewise.
47100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47102 (__exp1): Likewise.
47103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47105 (log1): Likewise.
47106 (my_log2): Likewise.
47107 (checkint): Likewise.
47108 * sysdeps/ieee754/dbl-64/e_remainder.c
47109 (__ieee754_remainder): Likewise.
47110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47112 (bsloww): Likewise.
47113 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47114
47115 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47116 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47117 MANTISSA_STORE_T to store computations on mantissa. Use
47118 macros for rounding and division.
47119 (denorm): Likewise.
47120 (__dbl_mp): Likewise.
47121 (add_magnitudes): Likewise.
47122 (sub_magnitudes): Likewise.
47123 (__mul): Likewise.
47124 (__sqr): Likewise.
47125 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
47126 powers of two in terms of TWOPOW macro.
47127 (mp_no): Make type of mantissa as MANTISSA_T.
47128 [!RADIXI]: Define RADIXI.
47129 [!TWO52]: Define TWO52.
47130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47131
47132 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47133
47134 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47135 llroundl symbol when building for PPC32.
47136
47137 2013-03-24 Mark H Weaver <mhw@netris.org>
47138
47139 * manual/arith.texi (Normalization Functions): Fix prototypes for
47140 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47141
47142 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47143
47144 [BZ #13889]
47145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47146 high value to check if expl overflow.
47147 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47148 to check for underflow and overflow.
47149 * math/libm-test.inc: Add exp test.
47150
47151 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
47152
47153 [BZ #11120]
47154 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47155 with NOT_IN_libc.
47156
47157 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47158
47159 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47160 symbol.
47161
47162 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
47163
47164 * math/gen-libm-test.pl (parse_args, special_functions): Properly
47165 wrap blocks consisting of several statements.
47166
47167 * sysdeps/generic/math-tests.h: New file.
47168 * sysdeps/i386/fpu/math-tests.h: Likewise.
47169 * math/test-snan.c: Include it.
47170 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47171
47172 2013-03-21 Joseph Myers <joseph@codesourcery.com>
47173
47174 [BZ #15285]
47175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47176 (__ieee754_j0l): Do not improve calculations using cos of twice
47177 input for inputs above LDBL_MAX / 2.0L.
47178 (__ieee754_y0l): Likewise.
47179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47180 (__ieee754_j1l): Do not improve calculations using cos of twice
47181 input for inputs above LDBL_MAX / 2.0L.
47182 (__ieee754_y1l): Likewise.
47183 * math/libm-test.inc (j0_test): Add another test.
47184 (j1_test): Likewise.
47185 (y0_test): Likewise.
47186 (y1_test): Likewise.
47187 * sysdeps/i386/fpu/libm-test-ulps: Update.
47188
47189 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47190
47191 * Rules ($(objpfx)bench-%.c): Include code from a C source
47192 file.
47193
47194 2013-03-21 Joseph Myers <joseph@codesourcery.com>
47195
47196 [BZ #15287]
47197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
47198 imaginary part 1.0 and real part less than 0.5 specially.
47199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
47200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
47201 * math/libm-test.inc (cacos_test): Add more tests.
47202 (casin_test): Likewise.
47203 (casinh_test): Likewise.
47204 * sysdeps/i386/fpu/libm-test-ulps: Update.
47205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47206
47207 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47208
47209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47210 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47211
47212 2013-03-20 Joseph Myers <joseph@codesourcery.com>
47213
47214 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47215 * config.make.in (config-cflags-sse4): Remove variable.
47216 (config-cflags-avx): Likewise.
47217 (config-cflags-sse2avx): Likewise.
47218 (config-cflags-novzeroupper): Likewise.
47219 (config-asflags-i686): Likewise.
47220 (have-mfma4): Likewise.
47221 (have-as-vis3): Likewise.
47222 (MIG): Likewise.
47223 * configure.in (MIG): Do not AC_SUBST.
47224 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47225 (libc_cv_cc_sse4): Do not AC_SUBST.
47226 (libc_cv_cc_avx): Likewise.
47227 (libc_cv_cc_sse2avx): Likewise.
47228 (libc_cv_cc_novzeroupper): Likewise.
47229 (libc_cv_cc_fma4): Likewise.
47230 (libc_cv_as_i686): Likewise.
47231 (libc_cv_sparc_as_vis3): Likewise.
47232 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47233 LIBC_CONFIG_VAR.
47234 (config-asflags-i686): Likewise.
47235 (config-cflags-avx): Likewise.
47236 (config-cflags-sse2avx): Likewise.
47237 (have-mfma4): Likewise.
47238 (config-cflags-novzeroupper): Likewise.
47239 * sysdeps/mach/configure.in (MIG): Likewise.
47240 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47241 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47242 LIBC_CONFIG_VAR.
47243 (config-cflags-avx): Likewise.
47244 (config-cflags-sse2avx): Likewise.
47245 (have-mfma4): Likewise.
47246 (config-cflags-novzeroupper): Likewise.
47247 * configure: Regenerated.
47248 * sysdeps/i386/configure: Likewise.
47249 * sysdeps/mach/configure: Likewise.
47250 * sysdeps/sparc/configure: Likewise.
47251 * sysdeps/x86_64/configure: Likewise.
47252
47253 2013-03-20 Roland McGrath <roland@hack.frob.com>
47254
47255 [BZ #14812]
47256 * locale/programs/localedef.c (options): Put N_ translation marker
47257 on argument names, not just descriptions.
47258
47259 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47260
47261 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47262
47263 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
47264
47265 [BZ #14176]
47266 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47267
47268 2013-03-19 Roland McGrath <roland@hack.frob.com>
47269
47270 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47271 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47272 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47273 [!BEFORE_ABORT] (before_abort): New function.
47274 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47275 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47276 (writev_for_fatal): New function.
47277 (WRITEV_FOR_FATAL): New macro; call that.
47278 (backtrace_and_maps): New function.
47279 (BEFORE_ABORT): New macro; call that.
47280 (struct str_list): Type removed.
47281 (__libc_message, __libc_fatal): Functions removed.
47282 Include <sysdeps/posix/libc_fatal.c> instead.
47283
47284 2013-03-19 Joseph Myers <joseph@codesourcery.com>
47285
47286 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47287 constants.
47288 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47289 double constants.
47290
47291 2013-03-19 Andreas Schwab <schwab@suse.de>
47292
47293 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47294 * sysdeps/gnu/configure: Regenerate.
47295
47296 * configure.in: Substitute libc_cv_rtlddir.
47297 * configure: Regenerate.
47298 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47299 * Makeconfig (rtlddir, inst_rtlddir): New variables.
47300 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47301 * elf/Makefile (install-others, CFLAGS-interp.c)
47302 (ldso_install, common-ldd-rewrite): Likewise.
47303 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47304 $(inst_slibdir)/$(rtld-installed-name).
47305 * scripts/rellns-sh: Add -p option.
47306 * Makerules (make-shlib-link): Use rellns-sh to get relative name
47307 for source.
47308
47309 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47310
47311 * manual/nptl.texi: Renamed to ...
47312 * manual/threads.texi: ... this.
47313 * manual/Makefile (chapters): Update.
47314
47315 2013-03-18 Roland McGrath <roland@hack.frob.com>
47316
47317 [BZ #14812]
47318 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47319 on argument names, not just descriptions.
47320 * malloc/memusagestat.c (options): Likewise.
47321 * nss/getent.c (options): Likewise.
47322
47323 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
47324
47325 [BZ #14812]
47326 * iconv/iconv_prog.c (options): Put N_ translation marker
47327 on argument names, not just descriptions.
47328 * iconv/iconvconfig.c (options): Likewise.
47329
47330 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
47331
47332 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47333 implementation which is faster on all x86_64 architectures.
47334 Tested on AMD, Intel Nehalem, SNB, IVB.
47335 * sysdeps/x86_64/strnlen.S: Likewise.
47336
47337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47338 Remove all multiarch strlen and strnlen versions.
47339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47340 Remove strlen and strnlen related parts.
47341
47342 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47343 Inline strlen part.
47344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47345
47346 * sysdeps/x86_64/multiarch/strlen.S: Remove.
47347 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47349 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47351 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47352
47353 2013-03-17 Carlos O'Donell <carlos@redhat.com>
47354
47355 * manual/memory.texi (Malloc Tunable Parameters):
47356 Sort parameters alphabetically. Add comments for missing entries.
47357
47358 2013-03-17 David S. Miller <davem@davemloft.net>
47359
47360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47361
47362 2013-03-16 Joseph Myers <joseph@codesourcery.com>
47363
47364 [BZ #15283]
47365 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47366 for arguments at most half maximum finite value.
47367 * math/libm-test.inc (j0_test): Add more tests.
47368 (j1_test): Likewise.
47369 (y0_test): Likewise.
47370 (y1_test): Likewise.
47371 * sysdeps/i386/fpu/libm-test-ulps: Update.
47372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47373
47374 [BZ #14155]
47375 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47376 1 / x and functions P and Q for arguments above 0x1p256L.
47377 (__ieee754_y0l): Likewise.
47378 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47379 (__ieee754_y1l): Likewise.
47380 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47381 (j1_test): Likewise.
47382 (y0_test): Likewise.
47383 (y1_test): Likewise.
47384
47385 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
47386
47387 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47388 variable.
47389
47390 2013-03-15 Roland McGrath <roland@hack.frob.com>
47391
47392 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47393 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47394 zero since it's initialized to EXEC_PAGESIZE.
47395
47396 * sysdeps/unix/sysv/linux/ldsodefs.h
47397 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47398 * sysdeps/generic/ldsodefs.h: ... here.
47399
47400 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
47401
47402 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47403
47404 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47405 math/test-snan.c.
47406 * math/test-snan.c: Renamed from
47407 sysdeps/powerpc/fpu/test-powerpc-snan.c.
47408 * math/Makefile (tests): Add test-snan.
47409 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47410 test-powerpc-snan.
47411
47412 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47413 SUFFIX. Initialize qNaN_var with __builtin_nan family of
47414 functions.
47415 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
47416 __builtin_nan family of functions.
47417 * math/libm-test.inc (initialize): Initialize qnan_value with
47418 __builtin_nan family of functions.
47419 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47420 Remove variables.
47421 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47422 Remove functions.
47423 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
47424 storage class. Initialize qNaN_var and sNaN_var with
47425 __builtin_nan and __builtin_nans families of functions,
47426 respectively.
47427
47428 * math/libm-test.inc (acosh_test): Also test with qNaN input.
47429 (sqrt_test): Remove duplicate test with qNaN input.
47430 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47431 (round_test, signbit_test, significand_test): Note missing +/-Inf
47432 as well as qNaN tests.
47433
47434 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47435 qNaN_var. Fix a few strings, too.
47436 * math/libm-test.inc (nan_value): Rename to qnan_value.
47437 * math/gen-libm-test.pl (%beautify): Adjust to that.
47438 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47439 * math/test-misc.c (main): Likewise.
47440 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47441 to __qnan_bytes, and __qnan_union, respectively.
47442 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47443 Likewise.
47444 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47445 and lqnanval, respectively.
47446 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47447 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47449 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47450
47451 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47452 * math/test-misc.c (main) [__x86_64__]: Enable test for long
47453 doubles.
47454
47455 * math/test-misc.c (main): Fix copy'n'pastos.
47456 * misc/tst-efgcvt.c (special): Likewise.
47457
47458 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47459 Remove declarations.
47460
47461 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47462
47463 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47464 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47465 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47467
47468 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47469
47470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47471 macro to return vdso values correctly in IFUNC implementations.
47472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47473 Optimization by using IFUNC.
47474
47475 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47476 Richard Henderson <rth@redhat.com>
47477 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47478
47479 * Makefile.in (bench): New target.
47480 * NEWS: Mention the benchmark framework.
47481 * Rules (bench): Likewise.
47482 (binaries-bench): Generate binaries for functions to
47483 benchmark.
47484 * benchtests/Makefile: New makefile for benchmark tests.
47485 * benchtests/bench-skeleton.c: New skeleton file for benchmark
47486 programs.
47487 * benchtests/exp-inputs: New input file for EXP function.
47488 * benchtests/pow-inputs: New input file for POW function.
47489 * scripts/bench.pl: New script to generate source files for
47490 benchmark programs.
47491
47492 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47493
47494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47496 computations on mantissa. Use macros for rounding and
47497 division.
47498 (denorm): Likewise.
47499 (__dbl_mp): Likewise.
47500 (add_magnitudes): Likewise.
47501 (sub_magnitudes): Likewise.
47502 (__mul): Likewise.
47503 (__sqr): Likewise.
47504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
47505 powers of two in terms of TWOPOW macro.
47506 (mp_no): Make type of mantissa as MANTISSA_T.
47507 [!RADIXI]: Define RADIXI.
47508 [!TWO52]: Define TWO52.
47509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47510
47511 * manual/nptl.texi (cindex): Modify threads to pthreads.
47512
47513 2013-03-15 Joseph Myers <joseph@codesourcery.com>
47514
47515 * sysdeps/x86_64/preconfigure: Regenerated.
47516
47517 2013-03-14 Joseph Myers <joseph@codesourcery.com>
47518
47519 [BZ #14155]
47520 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47521 0x1p28 and above.
47522 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47523 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47524 0x1p28 and above.
47525 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47526 * math/libm-test.inc (j0_test): Do not allow one spurious
47527 underflow exception.
47528 (y1_test): Likewise.
47529
47530 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47531
47532 * manual/Makefile (chapters): Add nptl.
47533 * manual/debug.texi (Debugging Support): Add link to Threads
47534 chapter.
47535 * manual/nptl.texi: New file.
47536
47537 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47538
47539 2013-03-14 Petr Baudis <pasky@ucw.cz>
47540
47541 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47542 for non-NULL pointer before the memory validity test. Pointed
47543 out by Holger Brunck <holger.brunck@keymile.com>.
47544
47545 2013-03-13 Andreas Schwab <schwab@suse.de>
47546
47547 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47548 instead of .os.
47549
47550 2013-03-13 Joseph Myers <joseph@codesourcery.com>
47551
47552 * timezone/zic.c: Update from tzcode 2013b.
47553
47554 2013-03-12 Carlos O'Donell <carlos@redhat.com>
47555
47556 * manual/install.texi (Configuring and compiling):
47557 Mention i686 and i586.
47558 * INSTALL: Regenerate.
47559
47560 2013-03-12 Roland McGrath <roland@hack.frob.com>
47561
47562 * sysdeps/init_array/elf-init.c: New file.
47563 * csu/elf-init.c
47564 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47565 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47566
47567 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47568 __gmon_start__ as global, but as static with a .preinit_array pointer.
47569 * sysdeps/init_array/gmon-start.c: New file. Use that.
47570 * sysdeps/init_array/crti.S: New file, empty except for comments.
47571 * sysdeps/init_array/crtn.S: Likewise.
47572
47573 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
47574
47575 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47576 definining bcopy.
47577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47578 Remove Prefer_SSE_for_memop.
47579 * sysdeps/x86_64/multiarch/init-arch.h: Remove
47580 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47581 HAS_PREFER_SSE_FOR_MEMOP.
47582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47583 memset-x86-64.
47584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47585 Remove bzero, memset ifunc support.
47586 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
47589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47590
47591 2013-03-11 Andreas Schwab <schwab@suse.de>
47592
47593 [BZ #15234]
47594 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47595 by SHLIB_COMPAT.
47596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47597 (GLIBC_2.16): Remove pthread_atfork.
47598
47599 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
47600
47601 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47602 (ptestcases.h): Likewise.
47603
47604 2013-03-08 Roland McGrath <roland@hack.frob.com>
47605
47606 * Makeconfig ($(common-objpfx)config.status): Depend on
47607 sysdeps/*/preconfigure{,.in} too.
47608
47609 2013-03-08 Joseph Myers <joseph@codesourcery.com>
47610
47611 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47612 (__free_hook): Use void * instead of __malloc_ptr_t.
47613 (__malloc_hook): Likewise.
47614 (__realloc_hook): Likewise.
47615 (__memalign_hook): Likewise.
47616 (__after_morecore_hook): Likewise.
47617 * malloc/arena.c (save_malloc_hook): Likewise.
47618 (save_free_hook): Likewise.
47619 * malloc/hooks.c (malloc_hook_ini): Likewise.
47620 (realloc_hook_ini): Likewise.
47621 (memalign_hook_ini): Likewise.
47622 * malloc/malloc.c (malloc_hook_ini): Likewise.
47623 (realloc_hook_ini): Likewise.
47624 (memalign_hook_ini): Likewise.
47625 (__free_hook): Likewise.
47626 (__malloc_hook): Likewise.
47627 (__realloc_hook): Likewise.
47628 (__memalign_hook): Likewise.
47629 (__libc_malloc): Likewise.
47630 (__libc_free): Likewise.
47631 (__libc_realloc): Likewise.
47632 (__libc_memalign): Likewise.
47633 (__libc_valloc): Likewise.
47634 (__libc_pvalloc): Likewise.
47635 (__libc_calloc): Likewise.
47636 (__posix_memalign): Likewise.
47637 * malloc/morecore.c (__sbrk): Likewise.
47638 (__default_morecore): Likewise.
47639
47640 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47641
47642 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47643 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47644 __malloc_ptrdiff_t.
47645
47646 * malloc/malloc.h (__malloc_size_t): Remove macro.
47647 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47648 __malloc_size_t.
47649 (old_memalign_hook): Likewise.
47650 (old_realloc_hook): Likewise.
47651 (struct hdr): Likewise.
47652 (flood): Likewise.
47653 (mallochook): Likewise.
47654 (memalignhook): Likewise.
47655 (reallochook): Likewise.
47656 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47657 (tr_old_realloc_hook): Likewise.
47658 (tr_old_memalign_hook): Likewise.
47659 (tr_mallochook): Likewise.
47660 (tr_reallochook): Likewise.
47661 (tr_memalignhook): Likewise.
47662
47663 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47664
47665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47666 default_ldbl_pack and using as default implementation.
47667 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47668 implementation.
47669 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47670 redundant definition.
47671 (ldbl_insert_mantissa): Likewise.
47672 (ldbl_canonicalize): Likewise.
47673 (ldbl_nearbyint): Likewise.
47674 (ldbl_pack): Rename to ldbl_pack_ppc.
47675 (ldbl_unpack): Rename to ldbl_unpack_ppc.
47676 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47677 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47678
47679 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47680
47681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47682 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47683 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47684 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47687 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47688 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47689
47690 2013-03-07 Andreas Jaeger <aj@suse.de>
47691
47692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47693 bits/mman-linux.h.
47694
47695 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47696
47697 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47698 Include mpa.h and declare __MPEXP.
47699 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47701 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47704 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47705 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47706
47707 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47708 (__slowpow): Use long double EXPL and LOGL functions to
47709 compute POW.
47710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47711 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47712 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47714 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47715 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47716
47717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47718 intermediate variable to calculate exponent.
47719 (__sqr): Likewise.
47720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47721 Likewise.
47722 (__sqr): Likewise.
47723
47724 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47725 [!NO__SQR]: Define __sqr.
47726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47727 and NO__SQR. Remove all code except __mul and __sqr. Include
47728 sysdeps/ieee754/dbl-64/mpa.c.
47729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47730
47731 [BZ #12723]
47732 * posix/Makefile (tests): Add tst-pathconf.
47733 * posix/tst-pathconf.c: New test case.
47734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47735 _PC_PIPE_BUF.
47736 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47737
47738 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
47739
47740 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47741
47742 2013-03-06 Andreas Jaeger <aj@suse.de>
47743
47744 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47745 definition via __MAP_ANONYMOUS.
47746
47747 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47748 it's not part of Linux headers.
47749
47750 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47751 (MAP_HUGE_MASK): Define.
47752
47753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47754 Define.
47755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47757 Define.
47758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47759 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47760 Define.
47761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47763 Define.
47764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47765
47766 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47767 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47768 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47769 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47770 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47771 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47772
47773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47774 Handle f2fs.
47775
47776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47777 Handle f2fs and efivarfs.
47778
47779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47780 f2fs.
47781
47782 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47783 (EFIVARFS_MAGIC): Add.
47784 (F2FS_LINK_MAX): Add.
47785
47786 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47787
47788 * stdio-common/vfprintf.c: Replace __builtin_expect with
47789 __glibc_unlikely.
47790
47791 2013-03-06 Joseph Myers <joseph@codesourcery.com>
47792
47793 [BZ #13550]
47794 * sysdeps/generic/bp-sym.h: Remove file.
47795 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47797 <bp-sym.h> and <bp-asm.h>.
47798 (__longjmp): Don't use BP_SYM.
47799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47800 and <bp-asm.h>.
47801 (memcpy): Don't use BP_SYM.
47802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47803 <bp-sym.h> and <bp-asm.h>.
47804 (memcpy): Don't use BP_SYM.
47805 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47806 <bp-asm.h>.
47807 (memcpy): Don't use BP_SYM.
47808 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47809 <bp-asm.h>.
47810 (memset): Don't use BP_SYM.
47811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47813 (__bzero): Don't use BP_SYM.
47814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47817 <bp-sym.h> and <bp-asm.h>.
47818 (memcmp): Don't use BP_SYM. Remove comment about bounded
47819 pointers.
47820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47821 <bp-sym.h> and <bp-asm.h>.
47822 (memcpy): Don't use BP_SYM.
47823 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47824 <bp-sym.h> and <bp-asm.h>.
47825 (memset): Don't use BP_SYM.
47826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47828 (__bzero): Don't use BP_SYM.
47829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47832 <bp-sym.h> and <bp-asm.h>.
47833 (strncmp): Don't use BP_SYM. Remove comment about bounded
47834 pointers.
47835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47836 <bp-sym.h> and <bp-asm.h>.
47837 (memcpy): Don't use BP_SYM.
47838 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47839 <bp-sym.h> and <bp-asm.h>.
47840 (memset): Don't use BP_SYM.
47841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47843 (__bzero): Don't use BP_SYM.
47844 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47845 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47847 <bp-sym.h> and <bp-asm.h>.
47848 (__memchr): Don't use BP_SYM.
47849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47850 <bp-sym.h> and <bp-asm.h>.
47851 (memcmp): Don't use BP_SYM. Remove comment about bounded
47852 pointers.
47853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47854 <bp-sym.h> and <bp-asm.h>.
47855 (memcpy): Don't use BP_SYM.
47856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47857 <bp-sym.h> and <bp-asm.h>.
47858 (__mempcpy): Don't use BP_SYM.
47859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47860 <bp-sym.h> and <bp-asm.h>.
47861 (__memrchr): Don't use BP_SYM.
47862 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47863 <bp-sym.h> and <bp-asm.h>.
47864 (memset): Don't use BP_SYM.
47865 (__bzero): Likewise.
47866 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47867 <bp-sym.h> and <bp-asm.h>.
47868 (__rawmemchr): Don't use BP_SYM.
47869 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47870 <bp-sym.h> and <bp-asm.h>.
47871 (__STRCMP): Don't use BP_SYM.
47872 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47873 <bp-sym.h> and <bp-asm.h>.
47874 (strchr): Don't use BP_SYM.
47875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47876 <bp-sym.h> and <bp-asm.h>.
47877 (__strchrnul): Don't use BP_SYM.
47878 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47879 <bp-sym.h> and <bp-asm.h>.
47880 (strlen): Don't use BP_SYM.
47881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47882 <bp-sym.h> and <bp-asm.h>.
47883 (strncmp): Don't use BP_SYM. Remove comment about bounded
47884 pointers.
47885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47886 <bp-sym.h> and <bp-asm.h>.
47887 (__strnlen): Don't use BP_SYM.
47888 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47889 <bp-sym.h> and <bp-asm.h>.
47890 (__GI__setjmp): Don't use BP_SYM.
47891 (_setjmp): Likewise.
47892 (__sigsetjmp): Likewise.
47893 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47894 (L(start_addresses)): Don't use BP_SYM.
47895 (_start): Likewise.
47896 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47897 <bp-asm.h>.
47898 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47899 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47902 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47903 <bp-asm.h>.
47904 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47905 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
47906 about bounded pointers.
47907 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47908 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47909 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47910 <bp-asm.h>.
47911 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
47912 about bounded pointers. Remove GKM FIXME comments.
47913 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47914 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47915 <bp-asm.h>.
47916 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47917 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
47918 Remove GKM FIXME comments.
47919 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47920 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47921 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47922 <bp-asm.h>.
47923 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
47924 about bounded pointers. Remove GKM FIXME comment.
47925 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47926 and <bp-asm.h>.
47927 (strncmp): Don't use BP_SYM. Remove comment about bounded
47928 pointers.
47929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47930 <bp-sym.h> and <bp-asm.h>.
47931 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47933 <bp-sym.h> and <bp-asm.h>.
47934 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
47935 comment.
47936
47937 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47938
47939 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47940 call free(NULL).
47941
47942 2013-03-05 David S. Miller <davem@davemloft.net>
47943
47944 * po/es.po: Update from translation team.
47945
47946 2013-03-05 Andreas Jaeger <aj@suse.de>
47947
47948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47949 <bits/mman-linux.h>.
47950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47951 is fine.
47952 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47953 <bits/mman-linux.h> to end of file.
47954 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47955 is fine.
47956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47957 <bits/mman-linux.h> to end of file.
47958 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47959 is fine.
47960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47961 <bits/mman-linux.h> to end of file.
47962
47963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47964 (MCL_CURRENT, MCL_FUTURE): Define here.
47965
47966 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47967
47968 [BZ #15232]
47969 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47970 attribute_hidden.
47971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47972
47973 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47974
47975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47976 fourth parameter needed for rt_sigprocmask syscall.
47977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47979 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47982 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47983
47984 2013-03-04 Joseph Myers <joseph@codesourcery.com>
47985
47986 [BZ #13550]
47987 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47988 comment about bounded pointers.
47989 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47990 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47991
47992 2013-03-04 Andreas Jaeger <aj@suse.de>
47993
47994 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47995 common definitions.
47996
47997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47998 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48000 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48003
48004 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48005
48006 [BZ #15055]
48007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48008 __ieee754_sqrl instead of __sqrl.
48009
48010 2013-03-01 Joseph Myers <joseph@codesourcery.com>
48011
48012 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48013 * sysdeps/powerpc/fpu_control.h: ... here.
48014 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48015 * sysdeps/powerpc/bits/fenvinline.h: ... here.
48016 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48017 * sysdeps/powerpc/bits/mathinline.h: ... here.
48018
48019 2013-03-01 Roland McGrath <roland@hack.frob.com>
48020
48021 * elf/dl-hwcaps.c (_dl_important_hwcaps):
48022 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48023 to just [NEED_DL_SYSINFO_DSO].
48024 * elf/dl-support.c: Likewise.
48025 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48026 * elf/rtld.c (dl_main): Likewise.
48027 * elf/setup-vdso.h (setup_vdso): Likewise.
48028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48029 * sysdeps/unix/sysv/linux/dl-sysdep.c
48030 (_dl_discover_osversion): Likewise.
48031
48032 2013-03-01 Carlos O'Donell <carlos@redhat.com>
48033
48034 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48036
48037 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48038
48039 * NEWS: Mention libm performance improvements and non-x86 PI
48040 futex support.
48041
48042 * csu/libc-start.c (__pthread_initialize_minimal): Change
48043 function arguments.
48044 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48045
48046 2013-02-28 Joseph Myers <joseph@codesourcery.com>
48047
48048 [BZ #13550]
48049 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48051 <bp-sym.h> and <bp-asm.h>.
48052 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48054 and <bp-asm.h>.
48055 (memcpy): Don't use BP_SYM.
48056 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48057 <bp-asm.h>.
48058 (__mpn_add_n): Don't use BP_SYM.
48059 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48060 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48061 and <bp-asm.h>.
48062 (__mpn_addmul_1): Don't use BP_SYM.
48063 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48064 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48065 <bp-sym.h>.
48066 (_setjmp): Don't use BP_SYM.
48067 (__novmx_setjmp): Likewise.
48068 (__GI__setjmp): Likewise.
48069 (__vmx_setjmp): Likewise.
48070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48071 <bp-sym.h>.
48072 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48073 (__bzero): Don't use BP_SYM.
48074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48077 <bp-sym.h> and <bp-asm.h>.
48078 (memcpy): Don't use BP_SYM.
48079 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48080 <bp-sym.h> and <bp-asm.h>.
48081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48083 <bp-sym.h> and <bp-asm.h>.
48084 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48085 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48086 <bp-asm.h>.
48087 (__mpn_lshift): Don't use BP_SYM.
48088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48089 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48090 <bp-asm.h>.
48091 (memset): Don't use BP_SYM.
48092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48094 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48095 <bp-asm.h>.
48096 (__mpn_mul_1): Don't use BP_SYM.
48097 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48099 <bp-sym.h> and <bp-asm.h>.
48100 (memcmp): Don't use BP_SYM.
48101 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48102 <bp-sym.h> and <bp-asm.h>.
48103 (memcpy): Don't use BP_SYM.
48104 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48105 <bp-sym.h> and <bp-asm.h>.
48106 (memset): Don't use BP_SYM.
48107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48108 <bp-sym.h> and <bp-asm.h>.
48109 (strncmp): Don't use BP_SYM.
48110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48111 <bp-sym.h> and <bp-asm.h>.
48112 (memcpy): Don't use BP_SYM.
48113 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48114 <bp-sym.h> and <bp-asm.h>.
48115 (memset): Don't use BP_SYM.
48116 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48117 <bp-sym.h> and <bp-asm.h>.
48118 (__memchr): Don't use BP_SYM.
48119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48120 <bp-sym.h> and <bp-asm.h>.
48121 (memcmp): Don't use BP_SYM.
48122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48123 <bp-sym.h> and <bp-asm.h>.
48124 (memcpy): Don't use BP_SYM.
48125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48126 <bp-sym.h> and <bp-asm.h>.
48127 (__mempcpy): Don't use BP_SYM.
48128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48129 <bp-sym.h> and <bp-asm.h>.
48130 (__memrchr): Don't use BP_SYM.
48131 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48132 <bp-sym.h> and <bp-asm.h>.
48133 (memset): Don't use BP_SYM.
48134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48135 <bp-sym.h> and <bp-asm.h>.
48136 (__rawmemchr): Don't use BP_SYM.
48137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48138 <bp-sym.h> and <bp-asm.h>.
48139 (__STRCMP): Don't use BP_SYM.
48140 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48141 <bp-sym.h> and <bp-asm.h>.
48142 (strchr): Don't use BP_SYM.
48143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48144 <bp-sym.h> and <bp-asm.h>.
48145 (__strchrnul): Don't use BP_SYM.
48146 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48147 <bp-sym.h> and <bp-asm.h>.
48148 (strlen): Don't use BP_SYM.
48149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48150 <bp-sym.h> and <bp-asm.h>.
48151 (strncmp): Don't use BP_SYM.
48152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48153 <bp-sym.h> and <bp-asm.h>.
48154 (__strnlen): Don't use BP_SYM.
48155 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48156 <bp-asm.h>.
48157 (__mpn_rshift): Don't use BP_SYM.
48158 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48159 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48160 <bp-sym.h> and <bp-asm.h>.
48161 (__sigsetjmp): Don't use BP_SYM.
48162 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48163 (L(start_addresses)): Don't use BP_SYM.
48164 (_start): Likewise.
48165 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48166 <bp-asm.h>.
48167 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48168 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48169 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48170 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48171 <bp-asm.h>.
48172 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48175 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48176 <bp-asm.h>.
48177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
48178 comments.
48179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48180 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48181 <bp-asm.h>.
48182 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
48183 FIXME comments.
48184 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48185 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48186 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48187 <bp-asm.h>.
48188 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
48189 comment.
48190 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48191 and <bp-asm.h>.
48192 (strncmp): Don't use BP_SYM,
48193 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48194 <bp-asm.h>.
48195 (__mpn_sub_n): Don't use BP_SYM.
48196 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48197 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48198 and <bp-asm.h>.
48199 (__mpn_submul_1): Don't use BP_SYM.
48200 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48202 <bp-sym.h> and <bp-asm.h>.
48203 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48205 <bp-sym.h> and <bp-asm.h>.
48206 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
48207 comment.
48208
48209 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48210
48211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48212 Use ZK to minimize writes to Z.
48213 (sub_magnitudes): Simplify code a bit.
48214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48215 Use ZK to minimize writes to Z.
48216 (sub_magnitudes): Simplify code a bit.
48217
48218 2013-02-27 Roland McGrath <roland@hack.frob.com>
48219
48220 * csu/gmon-start.c: Add special exception to license text.
48221
48222 2013-02-27 Richard Henderson <rth@redhat.com>
48223
48224 * scripts/config.guess: Update from config.git.
48225 * scripts/config.sub: Likewise.
48226
48227 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48228
48229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48230
48231 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48232
48233 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48234
48235 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48236
48237 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48238
48239 2013-02-26 Roland McGrath <roland@hack.frob.com>
48240
48241 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48242 [$(build-shared = yes].
48243
48244 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48245
48246 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48247 (__mul): Reduce iterations for calculating mantissa.
48248
48249 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48250 MPTWO.
48251 (__mpranred): Likewise.
48252
48253 [BZ #15160]
48254 * malloc/memusagestat.c (main): Draw graphs for heap and stack
48255 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48256
48257 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
48258
48259 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48260 Define __attribute__.
48261
48262 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48263
48264 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48265 unused.
48266 * posix/regex_internal.h (__attribute): Remove.
48267 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48268 (re_string_context_at): Likewise.
48269 (bitset_not): Use __attribute__ and mark function as possibly
48270 unused.
48271 (bitset_merge): Likewise.
48272 (bitset_mask): Likewise.
48273 (re_string_char_size_at): Likewise.
48274 (re_string_wchar_at): Likewise.
48275 (re_string_elem_size_at): Likewise.
48276
48277 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48278
48279 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48280 code.
48281 (cc32): Likewise.
48282
48283 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48284 (__acr): Likewise.
48285 (__cpy): Likewise.
48286 (norm): Likewise.
48287 (denorm): Likewise.
48288 (__dbl_mp): Likewise.
48289 (add_magnitudes): Likewise.
48290 (sub_magnitudes): Likewise.
48291 (__mul): Likewise.
48292 (__inv): Likewise.
48293
48294 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48295 style.
48296
48297 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48298 style.
48299
48300 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48301 code.
48302
48303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48304 up changes with default code.
48305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48306 Likewise.
48307
48308 2013-02-24 Allan McRae <allan@archlinux.org>
48309
48310 * manual/socket.texi (The Internet Namespace): Order menu items
48311 to match that in the file.
48312
48313 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48314 node listing of the info page menu.
48315
48316 2013-02-21 Joseph Myers <joseph@codesourcery.com>
48317
48318 [BZ #13550]
48319 * sysdeps/i386/bp-asm.h: Remove file.
48320 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48321 (PARMS): Do not use macros from bp-asm.h.
48322 (S1): Likewise.
48323 (S2): Likewise.
48324 (SIZE): Likewise.
48325 (__mpn_add_n): Do not use BP_SYM
48326 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48327 "bp-asm.h".
48328 (PARMS): Do not use macros from bp-asm.h.
48329 (S1): Likewise.
48330 (SIZE): Likewise.
48331 (__mpn_addmul_1): Do not use BP_SYM
48332 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48333 "bp-asm.h".
48334 (PARMS): Do not use macros from bp-asm.h.
48335 (SIGMSK): Likewise.
48336 (_setjmp): Likewise. Do not use BP_SYM.
48337 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48338 "bp-asm.h".
48339 (PARMS): Do not use macros from bp-asm.h.
48340 (SIGMSK): Likewise.
48341 (setjmp): Likewise. Do not use BP_SYM.
48342 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48343 "bp-asm.h".
48344 (PARMS): Do not use macros from bp-asm.h.
48345 (__frexp): Do not use BP_SYM.
48346 (frexp): Likewise.
48347 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48348 "bp-asm.h".
48349 (PARMS): Do not use macros from bp-asm.h.
48350 (__frexpf): Do not use BP_SYM.
48351 (frexpf): Likewise.
48352 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48353 "bp-asm.h".
48354 (PARMS): Do not use macros from bp-asm.h.
48355 (__frexpl): Do not use BP_SYM.
48356 (frexpl): Likewise.
48357 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48358 "bp-asm.h".
48359 (PARMS): Do not use macros from bp-asm.h.
48360 (__remquo): Do not use BP_SYM.
48361 (remquo): Likewise.
48362 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48363 "bp-asm.h".
48364 (PARMS): Do not use macros from bp-asm.h.
48365 (__remquof): Do not use BP_SYM.
48366 (remquof): Likewise.
48367 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48368 "bp-asm.h".
48369 (PARMS): Do not use macros from bp-asm.h.
48370 (__remquol): Do not use BP_SYM.
48371 (remquol): Likewise.
48372 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48373 "bp-asm.h".
48374 (PARMS): Do not use macros from bp-asm.h.
48375 (DEST): Likewise.
48376 (SRC): Likewise.
48377 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
48378 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48379 "bp-asm.h".
48380 (PARMS): Do not use macros from bp-asm.h.
48381 (strlen): Do not use BP_SYM.
48382 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48383 "bp-asm.h".
48384 (PARMS): Do not use macros from bp-asm.h.
48385 (S1): Likewise.
48386 (S2): Likewise.
48387 (SIZE): Likewise.
48388 (__mpn_add_n): Do not use BP_SYM.
48389 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48390 "bp-asm.h".
48391 (PARMS): Do not use macros from bp-asm.h.
48392 (S1): Likewise.
48393 (SIZE): Likewise.
48394 (__mpn_addmul_1): Do not use BP_SYM.
48395 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48396 weak_alias.
48397 (bzero): Likewise.
48398 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48399 "bp-asm.h".
48400 (PARMS): Do not use macros from bp-asm.h.
48401 (S): Likewise.
48402 (SIZE): Likewise.
48403 (__mpn_lshift): Do not use BP_SYM.
48404 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48405 "bp-asm.h".
48406 (PARMS): Do not use macros from bp-asm.h.
48407 (DEST): Likewise.
48408 (SRC): Likewise.
48409 (LEN): Likewise.
48410 (memcpy): Likewise. Do not use BP_SYM.
48411 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48412 libc_hidden_def and weak_alias.
48413 (mempcpy): Do not use BP_SYM in weak_alias.
48414 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48415 "bp-asm.h".
48416 (PARMS): Do not use macros from bp-asm.h.
48417 (DEST): Likewise.
48418 (LEN): Likewise.
48419 [!BZERO_P] (CHR): Likewise.
48420 (memset): Likewise. Do not use BP_SYM.
48421 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48422 "bp-asm.h".
48423 (PARMS): Do not use macros from bp-asm.h.
48424 (S1): Likewise.
48425 (SIZE): Likewise.
48426 (__mpn_mul_1): Do not use BP_SYM.
48427 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48428 "bp-asm.h".
48429 (PARMS): Do not use macros from bp-asm.h.
48430 (S): Likewise.
48431 (SIZE): Likewise.
48432 (__mpn_rshift): Do not use BP_SYM.
48433 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48434 "bp-asm.h".
48435 (PARMS): Do not use macros from bp-asm.h.
48436 (STR): Likewise.
48437 (CHR): Likewise.
48438 (strchr): Likewise. Do not use BP_SYM.
48439 (index): Do not use BP_SYM in weak_alias.
48440 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48441 "bp-asm.h".
48442 (PARMS): Do not use macros from bp-asm.h.
48443 (DEST): Likewise.
48444 (SRC): Likewise.
48445 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
48446 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48447 "bp-asm.h".
48448 (PARMS): Do not use macros from bp-asm.h.
48449 (strlen): Do not use BP_SYM.
48450 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48451 "bp-asm.h".
48452 (PARMS): Do not use macros from bp-asm.h.
48453 (S1): Likewise.
48454 (S2): Likewise.
48455 (SIZE): Likewise.
48456 (__mpn_sub_n): Do not use BP_SYM.
48457 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48458 "bp-asm.h".
48459 (PARMS): Do not use macros from bp-asm.h.
48460 (S1): Likewise.
48461 (SIZE): Likewise.
48462 (__mpn_submul_1): Do not use BP_SYM.
48463 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48464 "bp-asm.h".
48465 (PARMS): Do not use macros from bp-asm.h.
48466 (S1): Likewise.
48467 (S2): Likewise.
48468 (SIZE): Likewise.
48469 (__mpn_add_n): Do not use BP_SYM.
48470 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48471 weak_alias.
48472 (bzero): Likewise.
48473 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48474 "bp-asm.h".
48475 (PARMS): Do not use macros from bp-asm.h.
48476 (BLK2): Likewise.
48477 (LEN): Likewise.
48478 (memcmp): Do not use BP_SYM.
48479 (bcmp): Do not use BP_SYM in weak_alias.
48480 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48481 "bp-asm.h".
48482 (PARMS): Do not use macros from bp-asm.h.
48483 (DEST): Likewise.
48484 (SRC): Likewise.
48485 (LEN): Likewise.
48486 (memcpy): Likewise. Do not use BP_SYM.
48487 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48488 "bp-asm.h".
48489 (PARMS): Do not use macros from bp-asm.h.
48490 (DEST): Likewise.
48491 (SRC): Likewise.
48492 (LEN): Likewise.
48493 (memmove): Likewise. Do not use BP_SYM.
48494 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48495 "bp-asm.h".
48496 (PARMS): Do not use macros from bp-asm.h.
48497 (DEST): Likewise.
48498 (SRC): Likewise.
48499 (LEN): Likewise.
48500 (__mempcpy): Likewise. Do not use BP_SYM.
48501 (mempcpy): Do not use BP_SYM in weak_alias.
48502 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48503 "bp-asm.h".
48504 (PARMS): Do not use macros from bp-asm.h.
48505 (DEST): Likewise.
48506 (LEN): Likewise.
48507 [!BZERO_P] (CHR): Likewise.
48508 (memset): Likewise. Do not use BP_SYM.
48509 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48510 "bp-asm.h".
48511 (PARMS): Do not use macros from bp-asm.h.
48512 (STR2): Likewise.
48513 (strcmp): Do not use BP_SYM.
48514 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48515 "bp-asm.h".
48516 (PARMS): Do not use macros from bp-asm.h.
48517 (STR): Likewise.
48518 (DELIM): Likewise.
48519 [USE_AS_STRTOK_R] (SAVE): Likewise.
48520 (FUNCTION): Likewise. Do not use BP_SYM.
48521 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48522 aliases.
48523 (strtok_r): Likewise.
48524 (__GI___strtok_r): Likewise.
48525 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48526 (PARMS): Do not use macros from bp-asm.h.
48527 (S): Likewise.
48528 (SIZE): Likewise.
48529 (__mpn_lshift): Do not use BP_SYM.
48530 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48531 (PARMS): Do not use macros from bp-asm.h.
48532 (STR): Likewise.
48533 (CHR): Likewise.
48534 (__memchr): Do not use BP_SYM.
48535 (memchr): Do not use BP_SYM in weak_alias.
48536 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48537 (PARMS): Do not use macros from bp-asm.h.
48538 (BLK2): Likewise.
48539 (LEN): Likewise.
48540 (memcmp): Do not use BP_SYM.
48541 (bcmp): Do not use BP_SYM in weak_alias.
48542 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48543 (PARMS): Do not use macros from bp-asm.h.
48544 (S1): Likewise.
48545 (SIZE): Likewise.
48546 (__mpn_mul_1): Do not use BP_SYM.
48547 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48548 "bp-asm.h".
48549 (PARMS): Do not use macros from bp-asm.h.
48550 (STR): Likewise.
48551 (CHR): Likewise.
48552 (__rawmemchr): Do not use BP_SYM.
48553 (rawmemchr): Do not use BP_SYM in weak_alias.
48554 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48555 (PARMS): Do not use macros from bp-asm.h.
48556 (S): Likewise.
48557 (SIZE): Likewise.
48558 (__mpn_rshift): Do not use BP_SYM.
48559 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48560 (PARMS): Do not use macros from bp-asm.h.
48561 (SIGMSK): Likewise.
48562 (__sigsetjmp): Likewise. Do not use BP_SYM.
48563 * sysdeps/i386/start.S: Do not include "bp-sym.h".
48564 (_start): Do not use BP_SYM.
48565 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48566 (PARMS): Do not use macros from bp-asm.h.
48567 (DEST): Likewise.
48568 (SRC): Likewise.
48569 (__stpcpy): Likewise. Do not use BP_SYM.
48570 (stpcpy): Do not use BP_SYM in weak_alias.
48571 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48572 "bp-asm.h".
48573 (PARMS): Do not use macros from bp-asm.h.
48574 (DEST): Likewise.
48575 (SRC): Likewise.
48576 (LEN): Likewise.
48577 (__stpncpy): Likewise. Do not use BP_SYM.
48578 (stpncpy): Do not use BP_SYM in weak_alias.
48579 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48580 (PARMS): Do not use macros from bp-asm.h.
48581 (STR): Likewise.
48582 (CHR): Likewise.
48583 (strchr): Likewise. Do not use BP_SYM.
48584 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48585 "bp-asm.h".
48586 (PARMS): Do not use macros from bp-asm.h.
48587 (STR): Likewise.
48588 (CHR): Likewise.
48589 (__strchrnul): Likewise. Do not use BP_SYM.
48590 (strchrnul): Do not use BP_SYM in weak_alias.
48591 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48592 "bp-asm.h".
48593 (PARMS): Do not use macros from bp-asm.h.
48594 (STOP): Likewise.
48595 (strcspn): Do not use BP_SYM.
48596 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48597 "bp-asm.h".
48598 (PARMS): Do not use macros from bp-asm.h.
48599 (STR): Likewise.
48600 (STOP): Likewise.
48601 (strpbrk): Likewise. Do not use BP_SYM.
48602 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48603 "bp-asm.h".
48604 (PARMS): Do not use macros from bp-asm.h.
48605 (STR): Likewise.
48606 (CHR): Likewise.
48607 (strrchr): Likewise. Do not use BP_SYM.
48608 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48609 (PARMS): Do not use macros from bp-asm.h.
48610 (SKIP): Likewise.
48611 (strspn): Do not use BP_SYM.
48612 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48613 (PARMS): Do not use macros from bp-asm.h.
48614 (STR): Likewise.
48615 (DELIM): Likewise.
48616 (SAVE): Likewise.
48617 (FUNCTION): Likewise. Do not use BP_SYM.
48618 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
48619 aliases.
48620 (strtok_r): Likewise.
48621 (__GI___strtok_r): Likewise.
48622 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48623 (PARMS): Do not use macros from bp-asm.h.
48624 (S1): Likewise.
48625 (S2): Likewise.
48626 (SIZE): Likewise.
48627 (__mpn_sub_n): Do not use BP_SYM.
48628 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48629 "bp-asm.h".
48630 (PARMS): Do not use macros from bp-asm.h.
48631 (S1): Likewise.
48632 (SIZE): Likewise.
48633 (__mpn_submul_1): Do not use BP_SYM.
48634 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48635 <bp-sym.h>.
48636 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48637 and <bp-asm.h>.
48638 (PARMS): Do not use macros from bp-asm.h.
48639 (FLAGS): Likewise.
48640 (PTID): Likewise.
48641 (TLS): Likewise.
48642 (CTID): Likewise.
48643 (__clone): Do not use BP_SYM.
48644 (clone): Do not use BP_SYM in weak_alias.
48645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48646 and <bp-asm.h>.
48647 (PARMS): Do not use macros from bp-asm.h.
48648 (LEN): Likewise.
48649 (__mmap64): Do not use BP_SYM.
48650 (mmap64): Do not use BP_SYM in weak_alias.
48651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48652 <bp-sym.h> and <bp-asm.h>.
48653 (PARMS): Do not use macros from bp-asm.h.
48654 (__posix_fadvise64_l64): Do not use BP_SYM.
48655 * sysdeps/unix/sysv/linux/i386/semtimedop.S
48656 (PARMS): Do not use macros from bp-asm.h.
48657 (NSOPS): Likewise.
48658 (semtimedop): Do not use BP_SYM.
48659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48660 and <bp-asm.h>.
48661
48662 2013-02-21 Allan McRae <allan@archlinux.org>
48663
48664 * manual/message.texi (Charset conversion in gettext):
48665 Move @end statement to beginning of line.
48666
48667 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48668
48669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48670 static.
48671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48672 Likewise.
48673
48674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48675 (denorm): Likewise.
48676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48678
48679 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48680
48681 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48682 tail-call to the resolved function if pltexit isn't needed.
48683
48684 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48685
48686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48687 or Y being zero as being unlikely.
48688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48689 Likewise.
48690
48691 2013-02-20 Carlos O'Donell <carlos@redhat.com>
48692
48693 * manual/nss.texi (System Databases and Name Service Switch):
48694 Remove frobnicate @pxref.
48695
48696 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
48697
48698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48699 __attribute__ ((unused)) to __attribute__ ((__unused__)).
48700
48701 2013-02-20 Petr Machata <pmachata@redhat.com>
48702
48703 * elf/elf.h (R_ARM_TARGET1): New macro.
48704 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48705 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48706 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48707 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48708 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48709 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48710 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48711 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48712 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48713 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48714 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48715 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48716 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48717 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48718 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48719 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48720 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48721 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48722 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48723 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48724 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48725 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48726 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48727 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48728 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48729 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48730 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48731 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48732 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48733 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48734 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48735 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48736 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48737 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48738 (R_ARM_THM_GOT_BREL12): Likewise.
48739 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48740 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48741 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48742 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48743 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48744 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48745 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48746 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48747 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48748
48749 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
48750
48751 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48752 __attribute_used__ to __attribute__ ((unused)).
48753
48754 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48755
48756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48757 powerpc mpa.c.
48758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48759 comment formatting.
48760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48761
48762 2013-02-19 Joseph Myers <joseph@codesourcery.com>
48763
48764 [BZ #13550]
48765 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48766 Remove macro.
48767 (ENTER): Remove both macro definitions.
48768 (LEAVE): Likewise.
48769 (CHECK_BOUNDS_LOW): Likewise.
48770 (CHECK_BOUNDS_HIGH): Likewise.
48771 (CHECK_BOUNDS_BOTH): Likewise.
48772 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48773 (RETURN_BOUNDED_POINTER): Likewise.
48774 (RETURN_NULL_BOUNDED_POINTER): Likewise.
48775 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48776 (POP_ERRNO_LOCATION_RETURN): Likewise.
48777 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48779 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48780 macros.
48781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48782 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48783 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48784 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48785 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48787 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48788 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48789 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48790 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48791 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48792 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48793 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48794 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48795 removed macros.
48796 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48797 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48798 macros.
48799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48800 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48801 * sysdeps/i386/i586/memset.S (memset): Likewise.
48802 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48804 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48805 macros.
48806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48807 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48808 Change uses of L(2) to L(out).
48809 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48810 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48811 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48813 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48814 removed macros.
48815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48816 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48817 macros.
48818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48819 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48820 (RETURN): Do not use macro LEAVE.
48821 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48822 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48823 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48824 * sysdeps/i386/i686/memset.S (memset): Likewise.
48825 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48826 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48827 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48828 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48829 Likewise.
48830 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48831 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
48832 L(1_2) and L(1_3) into L(1).
48833 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48834 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48836 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48837 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48838 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48839 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48841 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48842 macros.
48843 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48844 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48845 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48846 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48847 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48848 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48849 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48850 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48851 * sysdeps/i386/strcspn.S (strcspn): Likewise.
48852 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48853 * sysdeps/i386/strrchr.S (strrchr): Likewise.
48854 * sysdeps/i386/strspn.S (strspn): Likewise.
48855 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48856 conditional code.
48857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48858 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48859 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48860 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
48861 L(1_3) into L(1_1).
48862 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48864 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48865 macros.
48866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48867
48868 2013-02-19 Jakub Jelinek <jakub@redhat.com>
48869
48870 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48871 macro.
48872
48873 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
48874
48875 * math/atest-exp.c (exp_mpn): Remove ROUND.
48876 * math/atest-exp2.c (exp_mpn): Likewise.
48877 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48878
48879 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48880 * stdlib/tst-tls-atexit-lib.c: Likewise.
48881 * stdlib/tst-tls-atexit.c: Likewise.
48882
48883 2013-02-18 Mike Frysinger <vapier@gentoo.org>
48884
48885 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48886 and __attribute_alloc_size__.
48887
48888 2013-02-18 Mike Frysinger <vapier@gentoo.org>
48889
48890 * include/programs/xmalloc.h: Change __attribute_alloc_size to
48891 __attribute_alloc_size__.
48892 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48893 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48894
48895 2013-02-18 Mike Frysinger <vapier@gentoo.org>
48896
48897 * include/programs/xmalloc.h: New file.
48898 * catgets/gencat.c: Include it.
48899 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48900 * elf/pldd.c: Likewise.
48901 * iconv/iconv_charmap.c: Likewise.
48902 * iconv/iconvconfig.c: Likewise.
48903 * iconv/strtab.c: Likewise.
48904 * locale/programs/locale.c: Likewise.
48905 * locale/programs/localedef.h: Likewise.
48906 * locale/programs/simple-hash.c: Likewise.
48907 * nscd/nscd.h: Likewise.
48908 * nss/makedb.c: Likewise.
48909 * sysdeps/generic/ldconfig.h: Likewise.
48910
48911 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48912
48913 * Versions.def: Add GLIBC_2.18.
48914 * include/link.h (struct link_map): New member l_tls_dtor_count.
48915 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48916 (__call_tls_dtors): Likewise.
48917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48918 __cxa_thread_atexit_impl.
48919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48920 Likewise.
48921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48922 Likewise.
48923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48924 Likewise.
48925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48926 Likewise.
48927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48929 Likewise.
48930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48931 Likewise.
48932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48934 Likewise.
48935 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48936 (tests): Add test case tst-tls-atexit.
48937 (modules-names): Add shared library for tst-tls-atexit.
48938 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48939 (GLIBC_PRIVATE): Add __call_tls_dtors.
48940 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48941 for libstdc++.
48942 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48943 * stdlib/tst-tls-atexit.c: New test case.
48944 * stdlib/tst-tls-atexit-lib.c: New test case.
48945
48946 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48947
48948 * elf/Versions (ld): Add _dl_find_dso_for_object.
48949 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48950 * elf/dl-open.c (_dl_find_dso_for_object): New function.
48951 (dl_open_worker): Use _dl_find_dso_for_object.
48952 * elf/dl-sym.c (do_sym): Likewise.
48953 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48954
48955 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48956
48957 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48958 Syntactic changes only.
48959 (_dl_runtime_profile): Do a tail-call to the resolved function.
48960
48961 2013-02-17 Joseph Myers <joseph@codesourcery.com>
48962
48963 [BZ #13550]
48964 * sysdeps/x86_64/bp-asm.h: Remove file.
48965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48966 <bp-sym.h> and <bp-asm.h>.
48967 (__clone): Do not use BP_SYM.
48968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48969 <bp-sym.h> and <bp-asm.h>.
48970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48971 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48972 "bp-asm.h".
48973 (_setjmp): Do not use BP_SYM.
48974 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48975 "bp-asm.h".
48976 (setjmp): Do not use BP_SYM.
48977 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48978 libc_hidden_def.
48979 (mempcpy): Do not use BP_SYM in weak_alias.
48980 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48981 "bp-asm.h".
48982 (strchr): Do not use BP_SYM.
48983 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48984 "bp-asm.h".
48985 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48986 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48987 (_start): Do not use BP_SYM.
48988 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48989 "bp-asm.h".
48990 (strcat): Do not use BP_SYM.
48991 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48992 "bp-asm.h".
48993 (STRCMP): Do not use BP_SYM.
48994 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48995 "bp-asm.h".
48996 (STRCPY): Do not use BP_SYM.
48997 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48998 "bp-asm.h".
48999 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49000 "bp-asm.h".
49001 (FUNCTION): Do not use BP_SYM.
49002 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49003 weak_alias.
49004 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49005
49006 2013-02-17 Andreas Jaeger <aj@suse.de>
49007
49008 * time/Versions: Sort entries.
49009 * string/Versions: Likewise.
49010 * resolv/Versions: Likewise.
49011 * posix/Versions: Likewise.
49012 * iconv/Versions: Likewise.
49013 * elf/Versions: Likewise.
49014 * wcsmbs/Versions: Likewise.
49015
49016 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49017
49018 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49019 loop termination condition.
49020
49021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49022 variable to calculate EZ.
49023 (__sqr): Likewise.
49024
49025 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49026 the lower precision input.
49027
49028 2013-02-15 Joseph Myers <joseph@codesourcery.com>
49029
49030 [BZ #13550]
49031 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49032 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49033 (run-via-rtld-prefix): Do not handle %-bp tests.
49034 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49035 (all-object-suffixes): Remove .ob.
49036 (bppfx): Remove variable.
49037 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49038 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49039 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49040 [$(build-bounded) = yes] (libtype.ob): Likewise.
49041 * Makerules (elide-routines.ob): Remove variable.
49042 (do-tests-clean): Do not handle *-bp.out.
49043 (common-mostlyclean): Do not handle *-bp and *-bp.out.
49044 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49045 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49046 (tests): Do not include $(tests-bp.out).
49047 (xtests): Do not include $(xtests-bp.out).
49048 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49049 [$(build-bounded) = yes] ($(addprefix
49050 $(objpfx),$(binaries-bounded))): Remove rule.
49051 ($(objpfx)%-bp.out): Remove rule.
49052 * config.make.in (build-bounded): Remove variable.
49053 * crypt/Makefile [$(build-bounded) = yes]
49054 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49055 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49056 append to variable.
49057 [$(build-bounded) = yes] (install-lib): Likewise.
49058 [$(build-bounded) = yes] (generated): Likewise.
49059 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49060 Remove rule.
49061 * intl/Makefile [$(build-bounded) = yes]
49062 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49063 * math/Makefile [$(build-bounded) = yes]
49064 ($(tests:%=$(objpfx)%-bp): Likewise.
49065 * misc/Makefile [$(build-bounded) = yes]
49066 ($(objpfx)tst-tsearch-bp): Likewise.
49067 * nptl/Makeconfig (bounded-thread-library): Remove variable.
49068 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49069 Remove dependency.
49070 * string/Makefile (o-objects.ob): Remove variable.
49071 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49072 (CFLAGS-.ob): Remove variable.
49073 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49074 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49075 both definitions of variable.
49076 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49077 (ASFLAGS-.ob): Remove variable.
49078
49079 2013-02-14 Joseph Myers <joseph@codesourcery.com>
49080
49081 [BZ #13550]
49082 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49083 Remove __BOUNDED_POINTERS__ from condition.
49084 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49085 * string/bits/string2.h [!__NO_STRING_INLINES &&
49086 !__BOUNDED_POINTERS__]: Likewise.
49087 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49088 Likewise.
49089 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49090 Remove conditional code.
49091 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49092 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49093 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49094 condition.
49095
49096 [BZ #13550]
49097 * csu/libc-start.c: Do not include <bp-sym.h>.
49098 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49099 * elf/dl-open.c: Do not include <bp-sym.h>.
49100 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49101 * math/fegetenv.c: Do not include <bp-sym.h>.
49102 (fegetenv): Do not use BP_SYM in versioned symbols.
49103 * nptl/sysdeps/pthread/bits/libc-lockP.h
49104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49105 <bp-sym.h>.
49106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49107 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49109 (__pthread_mutex_destroy): Likewise.
49110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49111 (__pthread_mutex_lock): Likewise.
49112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49113 (__pthread_mutex_trylock): Likewise.
49114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49115 (__pthread_mutex_unlock): Likewise.
49116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49117 (__pthread_mutexattr_init): Likewise.
49118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49119 (__pthread_mutexattr_destroy): Likewise.
49120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49121 (__pthread_mutexattr_settype): Likewise.
49122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49123 (__pthread_rwlock_init): Likewise.
49124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49125 (__pthread_rwlock_destroy): Likewise.
49126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49127 (__pthread_rwlock_rdlock): Likewise.
49128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49129 (__pthread_rwlock_tryrdlock): Likewise.
49130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49131 (__pthread_rwlock_wrlock): Likewise.
49132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49133 (__pthread_rwlock_trywrlock): Likewise.
49134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49135 (__pthread_rwlock_unlock): Likewise.
49136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49137 (__pthread_key_create): Likewise.
49138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49139 (__pthread_setspecific): Likewise.
49140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49141 (__pthread_getspecific): Likewise.
49142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49143 Likewise.
49144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49145 (_pthread_cleanup_push_defer): Likewise.
49146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49147 (_pthread_cleanup_pop_restore): Likewise.
49148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49149 (pthread_setcancelstate): Likewise.
49150 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49151 <bp-sym.h>.
49152 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49153 (memchr): Do not use BP_SYM in weak_alias.
49154 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49155 (fegetenv): Do not use BP_SYM in versioned symbols.
49156 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49157 (fesetenv): Do not use BP_SYM in versioned symbols.
49158 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49159 (feupdateenv): Do not use BP_SYM in versioned symbols.
49160 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49162 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49163 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49164 (open64): Do not use BP_SYM in weak_alias.
49165 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49166 (fegetenv): Do not use BP_SYM in versioned symbols.
49167 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49168 (fesetenv): Do not use BP_SYM in versioned symbols.
49169 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49170 (feupdateenv): Do not use BP_SYM in versioned symbols.
49171 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49172 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49173 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49174 (feraiseexcept): Do not use BP_SYM in versioned symbols.
49175 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49176 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49177 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49178 <bp-sym.h>.
49179 (__libc_start_main): Do not use BP_SYM.
49180
49181 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
49182
49183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49184 redundant return line.
49185 (norm): Likewise.
49186 (denorm): Likewise.
49187 (dbl_mp): Likewise.
49188 (sub_magnitudes): Likewise.
49189 (__add): Likewise.
49190 (__sub): Likewise.
49191 (__mul): Likewise.
49192 (__inv): Likewise.
49193 (__dvd): Likewise.
49194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49195 (norm): Likewise.
49196 (denorm): Likewise.
49197 (dbl_mp): Likewise.
49198 (sub_magnitudes): Likewise.
49199 (__add): Likewise.
49200 (__sub): Likewise.
49201 (__mul): Likewise.
49202 (__inv): Likewise.
49203 (__dvd): Likewise.
49204
49205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49206 instead of __mul.
49207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49208 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49209 (cc32): Likewise.
49210
49211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49212 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49214 of __mul for squares.
49215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49216 function
49217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49218 Likewise.
49219 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49221
49222 2013-02-13 Joseph Myers <joseph@codesourcery.com>
49223
49224 [BZ #13550]
49225 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49226 code.
49227 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49228 prototype or function definition. Rename ubp_* variables and
49229 parameters. Remove argv definitions conditional on
49230 [__BOUNDED_POINTERS__].
49231 * debug/backtrace.c (__backtrace): Do not use __unbounded.
49232 * elf/dl-runtime.c (_dl_fixup): Likewise.
49233 * include/set-hooks.h (RUN_HOOK): Likewise.
49234 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49235 definition.
49236 * string/strcpy.c (strcpy): Do not use __unbounded.
49237 * sysdeps/generic/frame.h (struct layout): Likewise.
49238 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49239 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49240 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49241 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49242 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49243 (__backtrace): Likewise.
49244 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49245 use __ptrvalue.
49246 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49247 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49248 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49249 Likewise.
49250 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49251 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49254 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49255 Do not use __unbounded.
49256 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49257 Rename __unboundedrlimits parameter to rlimits in prototype.
49258 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49259 Do not use __unbounded.
49260 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49261 not use __ptrvalue.
49262 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49263 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49264 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49265 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49266 __ptrvalue or __unbounded.
49267 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49268 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49269 use __unbounded.
49270 (__new_msgctl): Do not use __ptrvalue.
49271 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49272 __unbounded.
49273 (__libc_msgrcv): Do not use __ptrvalue.
49274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49275 startup_info): Do not use __unbounded.
49276 (__libc_start_main): Likewise. Rename ubp_* variables and
49277 parameters. Remove argv definitions conditional on
49278 [__BOUNDED_POINTERS__].
49279 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49280 __ptrvalue.
49281 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49282 use __unbounded.
49283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49284 or __ptrvalue.
49285 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49286 use __unbounded.
49287 (__new_shmctl): Do not use __ptrvalue.
49288 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49289 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49290 Likewise.
49291 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49293 (__libc_sigaction): Likewise.
49294 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49296 Likewise.
49297 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49298
49299 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
49300
49301 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49302
49303 * string/mempcpy.c: Implement by calling memcpy.
49304
49305 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49306
49307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49308
49309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49310 evaluation.
49311
49312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49313 values in the mantissa.
49314
49315 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49316 minimize writes to Z.
49317 (sub_magnitudes): Simplify code a bit.
49318
49319 2013-02-12 Roland McGrath <roland@hack.frob.com>
49320
49321 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49322 from the message. The linker prefixes all warnings with that already.
49323
49324 2013-02-12 Andreas Schwab <schwab@suse.de>
49325
49326 [BZ #15078]
49327 * posix/regexec.c (extend_buffers): Add parameter min_len.
49328 (check_matching): Pass minimum needed length.
49329 (clean_state_log_if_needed): Likewise.
49330 (get_subexp): Likewise.
49331 * posix/Makefile (tests): Add bug-regex34.
49332 (bug-regex34-ENV): Define.
49333 * posix/bug-regex34.c: New file.
49334
49335 [BZ #11561]
49336 * posix/regcomp.c (parse_bracket_exp): When looking up collating
49337 elements compare against the byte sequence of it, not its name.
49338 * posix/Makefile (tests): Add bug-regex35.
49339 (bug-regex35-ENV): Define.
49340 * posix/bug-regex35.c: New file.
49341
49342 2013-02-11 Tom de Vries <tom@codesourcery.com>
49343
49344 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
49345 comment.
49346 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49347 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49348 (CHECK_EOL): Add undef.
49349
49350 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
49351
49352 * bits/stdlib-bsearch.h: New file.
49353 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49354 * stdlib/stdlib.h: Likewise.
49355
49356 2013-02-11 Roland McGrath <roland@hack.frob.com>
49357
49358 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49359 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49360 declaration.
49361 * manual/search.texi (Array Search Function): Add missing const in
49362 lfind prototype.
49363 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49364 declaration to use rlim_t.
49365 (Basic Scheduling Functions): Remove erroneous const from
49366 sched_getparam prototype. Remove erroneous * from
49367 sched_get_priority_max and sched_get_priority_min prototypes.
49368 (Resource Usage): Fix summary @comment on vtimes to refer to
49369 sys/vtimes.h rather than vtimes.h.
49370 Add missing *s in vtimes prototype.
49371 (Limits on Resources): Fix ulimit prototype to return long int.
49372 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49373 prototypes to use long int rather than double.
49374 (BSD Random): Fix initstate and setstate to use char *, not void *.
49375 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49376 prototype to make second argument 'struct aiocb64 *const[]'.
49377 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49378 (Status of AIO Operations): Remove erroneous const in aio_return and
49379 aio_return64 prototypes.
49380 (Synchronizing I/O): Fix sync prototype to return void.
49381 * manual/startup.texi (Suboptions): Remove an erroneous const in
49382 getsubopt prototype.
49383 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49384 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49385 use size_t rather than int.
49386 (Scanning All Users): Likewise for getpwent_r.
49387 (Setting Groups): Add missing const to setgroups prototype.
49388 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49389 * manual/socket.texi (Host Names): Fix gethostbyaddr and
49390 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49391 'const void *' rather than 'const char *'.
49392 (Host Address Functions): Likewise for inet_ntop.
49393 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49394 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49395 ssize_t for return value.
49396 (Sending Data): Likewise for send, sendto, sendmsg.
49397 (Socket Option Functions): Add a missing const in setsockopt prototype.
49398 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49399 use wchar_t for the argument.
49400 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49401 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49402 take no arguments.
49403 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49404 double/float/long double for second argument.
49405 Fix return types of significand, significandf, significandl.
49406 * manual/filesys.texi (Setting Permissions): Use mode_t for second
49407 argument in fchmod prototype.
49408 (File Owner): Use uid_t and gid_t in fchown prototype.
49409 (File Times): Add const to utimes, futimes, and lutimes prototypes.
49410 (Making Special Files): Use mode_t and dev_t in mknod prototype.
49411 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49412 use 'const struct dirent **' as argument types to CMP function pointer
49413 argument.
49414 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49415 (File Times): Fix summary magic @comment for struct utimbuf and utime
49416 to refer to utime.h, not time.h.
49417 * manual/string.texi (Argz Functions): Add missing const in
49418 argz_extract and argz_next prototypes.
49419 (Finding Tokens in a String): Likewise for basename.
49420 (String/Array Comparison): Fix typo in wcscasecmp prototype.
49421 (Copying and Concatenation): Fix typo in wmemmove prototype.
49422 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49423 (Signal Stack): Remove erroneous const in sigstack prototype.
49424 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49425 prototype.
49426 (Simple Calendar Time): Likewise for stime.
49427 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49428 prototype.
49429 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49430 say sys/sysctl.h instead.
49431 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49432 and vsyslog prototypes.
49433
49434 2013-02-11 Tom de Vries <tom@codesourcery.com>
49435
49436 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49437 Remove.
49438
49439 2013-02-11 Roland McGrath <roland@hack.frob.com>
49440
49441 * misc/sys/mman.h: Fix typo in mremap comment.
49442
49443 2013-02-08 Roland McGrath <roland@hack.frob.com>
49444
49445 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49446 the '\0' terminator.
49447
49448 2013-02-08 Joseph Myers <joseph@codesourcery.com>
49449
49450 [BZ #13550]
49451 * debug/segfault.c: Don't include <bp-checks.h>.
49452 * sysdeps/generic/bp-checks.h: Remove file.
49453 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49454 (__GETDENTS): Don't use CHECK_N.
49455 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49456 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49457 (__getgroups): Don't use CHECK_N.
49458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49459 (setgroups): Don't use CHECK_N.
49460 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49461 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49462 (__libc_msgrcv): Don't use CHECK_N.
49463 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49464 (__libc_msgsnd): Don't use CHECK_N.
49465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49466 <bp-checks.h>.
49467 (__libc_pread): Don't use CHECK_N.
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49469 include <bp-checks.h>.
49470 (__libc_pread64): Don't use CHECK_N.
49471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49472 include <bp-checks.h>.
49473 (__libc_pwrite): Don't use CHECK_N.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49475 include <bp-checks.h>.
49476 (__libc_pwrite64): Don't use CHECK_N.
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49478 <bp-checks.h>.
49479 (__libc_pread): Don't use CHECK_N.
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49481 include <bp-checks.h>.
49482 (__libc_pread64): Don't use CHECK_N.
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49484 include <bp-checks.h>.
49485 (__libc_pwrite): Don't use CHECK_N.
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49487 include <bp-checks.h>.
49488 (__libc_pwrite64): Don't use CHECK_N.
49489 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49490 (do_pread): Don't use CHECK_N.
49491 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49492 (do_pread64): Don't use CHECK_N.
49493 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49494 (do_pwrite): Don't use CHECK_N.
49495 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49496 (do_pwrite64): Don't use CHECK_N.
49497 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49498 (__libc_readv): Don't use CHECK_N.
49499 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49500 (semop): Don't use CHECK_N.
49501 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49502 <bp-checks.h>.
49503 (semtimedop): Don't use CHECK_N.
49504 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49505 (__libc_pread): Don't use CHECK_N.
49506 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49507 <bp-checks.h>.
49508 (__libc_pread64): Don't use CHECK_N.
49509 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49510 <bp-checks.h>.
49511 (__libc_pwrite): Don't use CHECK_N.
49512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49513 <bp-checks.h>.
49514 (__libc_pwrite64): Don't use CHECK_N.
49515 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49516 <bp-checks.h>.
49517 (__libc_msgrcv): Don't use CHECK_N.
49518 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49519 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
49520 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49521 (__libc_writev): Don't use CHECK_N.
49522
49523 2013-02-08 Roland McGrath <roland@hack.frob.com>
49524
49525 * string/strcpy.c: Removed unused variable.
49526
49527 * Makeconfig (+sysdep-includes): Define with := rather than =.
49528 Use an existing include/ subdir of each sysdeps dir before it.
49529
49530 2013-02-08 Carlos O'Donell <carlos@redhat.com>
49531
49532 * nscd/connection.c (register_traced_file): Comment function.
49533 [HAVE_INOTIFY] (union __inev): Define.
49534 [HAVE_INOTIFY] (inotify_check_files): New function.
49535 [HAVE_INOTIFY] (clear_db_cache): Likewise.
49536 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49537 clear_db_cache.
49538 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49539
49540 2013-02-08 Carlos O'Donell <carlos@redhat.com>
49541
49542 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49543 loaded if not already and that a failure is permanent.
49544
49545 2013-02-08 Carlos O'Donell <carlos@redhat.com>
49546
49547 [BZ #15006]
49548 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49549 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49550
49551 2013-02-08 Joseph Myers <joseph@codesourcery.com>
49552
49553 [BZ #13550]
49554 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49555 (CHECK_1_NULL_OK): Likewise.
49556 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49557 (__fxstat): Do not use CHECK_1.
49558 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49559 <bp-checks.h>.
49560 (___fxstat64): Do not use CHECK_1.
49561 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49562 <bp-checks.h>.
49563 (__fxstatat): Do not use CHECK_1.
49564 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49565 <bp-checks.h>.
49566 (__fxstatat64): Do not use CHECK_1.
49567 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49568 <bp-checks.h>.
49569 (__fxstat): Do not use CHECK_1.
49570 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49571 <bp-checks.h>.
49572 (__fxstatat): Do not use CHECK_1.
49573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49574 <bp-checks.h>.
49575 (__getresgid): Do not use CHECK_1.
49576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49577 <bp-checks.h>.
49578 (__getresuid): Do not use CHECK_1.
49579 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49580 <bp-checks.h>.
49581 (__lxstat): Do not use CHECK_1.
49582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49583 <bp-checks.h>.
49584 (__old_msgctl): Do not use CHECK_1.
49585 (__new_msgctl): Likewise.
49586 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49587 <bp-checks.h>.
49588 (__new_setrlimit): Do not use CHECK_1.
49589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49590 <bp-checks.h>.
49591 (__old_shmctl): Do not use CHECK_1.
49592 (__new_shmctl): Likewise.
49593 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49594 <bp-checks.h>.
49595 (__xstat): Do not use CHECK_1.
49596 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49597 (__lxstat): Do not use CHECK_1.
49598 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49599 <bp-checks.h>.
49600 (___lxstat64): Do not use CHECK_1.
49601 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49602 (__old_msgctl): Do not use CHECK_1.
49603 (__new_msgctl): Likewise.
49604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49605 <bp-checks.h>.
49606 (__gettimeofday): Do not use CHECK_1.
49607 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49608 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49609 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49610 <bp-checks.h>.
49611 (__gettimeofday): Do not use CHECK_1.
49612 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49613 (__old_shmctl): Do not use CHECK_1_NULL_OK.
49614 (__new_shmctl): Do not use CHECK_1.
49615 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49616 <bp-checks.h>.
49617 (do_sigtimedwait): Do not use CHECK_1.
49618 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49619 <bp-checks.h>.
49620 (do_sigwaitinfo): Do not use CHECK_1.
49621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49622 <bp-checks.h>.
49623 (msgctl): Do not use CHECK_1.
49624 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49625 <bp-checks.h>.
49626 (shmctl): Do not use CHECK_1.
49627 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49628 (ustat): Do not use CHECK_1.
49629 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49630 <bp-checks.h>.
49631 (__fxstat): Do not use CHECK_1.
49632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49633 <bp-checks.h>.
49634 (__fxstatat): Do not use CHECK_1.
49635 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49636 <bp-checks.h>.
49637 (__lxstat): Do not use CHECK_1.
49638 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49639 <bp-checks.h>.
49640 (__xstat): Do not use CHECK_1.
49641 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49642 (__xstat): Do not use CHECK_1.
49643 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49644 (___xstat64): Do not use CHECK_1.
49645
49646 [BZ #13550]
49647 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49648 definitions.
49649 (CHECK_BOUNDS_HIGH): Likewise.
49650 * string/strcpy.c: Do not include <bp-checks.h>.
49651 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49652
49653 2013-02-07 Roland McGrath <roland@hack.frob.com>
49654
49655 * nscd/nscd-client.h (__nscd_drop_map_ref):
49656 Add __attribute__ ((unused)).
49657 * nis/nss-nisplus.h (niserr2nss): Likewise.
49658
49659 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49660 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49661
49662 * csu/libc-tls.c (init_static_tls, init_slotinfo):
49663 Remove inline keyword.
49664 * include/rounding-mode.h (round_away): Likewise.
49665 * libio/wfileops.c (adjust_wide_data): Likewise.
49666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49667 (__m128i_strloadu_tolower): Likewise.
49668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49669 (__m128i_strloadu_tolower): Likewise.
49670 * time/mktime.c (ydhms_diff): Likewise.
49671 * locale/elem-hash.h (elem_hash): Likewise.
49672 * locale/setlocale.c (setdata): Likewise.
49673 * posix/regex_internal.h (re_string_char_size_at): Likewise.
49674 (re_string_wchar_at): Likewise.
49675 (bitset_not, bitset_merge, bitset_mask): Likewise.
49676 [!(__GNUC__ > 3)] (inline): Remove macro.
49677 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49678 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49679 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49680 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49681 * string/memcmp.c (memcmp_bytes): Likewise.
49682 * locale/programs/locarchive.c (compute_hashval): Likewise.
49683 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49684 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49685 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49686 * nss/getent.c (print_rpc, print_protocols): Likewise.
49687 (print_passwd, print_group, print_aliases): Likewise.
49688 * nis/nss-nisplus.h (niserr2nss): Likewise.
49689 * nscd/connections.c (restart_p): Likewise.
49690 Change return type to bool.
49691
49692 2013-02-05 Roland McGrath <roland@hack.frob.com>
49693
49694 * Makeconfig (all-Depend-files): Add existing
49695 $(sorted-subdirs:=/Depend) files.
49696 (all-subdirs): Remove nss.
49697 * sysdeps/unix/inet/Subdirs: Add it here instead.
49698 * hesiod/Depend: New file.
49699
49700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49701 instead of calling alloca.
49702
49703 * io/lseek.c (__lseek): Rename to __libc_lseek.
49704 Define __lseek as an alias.
49705
49706 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49707
49708 2013-02-04 Carlos O'Donell <carlos@redhat.com>
49709
49710 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49711 else clause and remove check for non-standard endianness.
49712
49713 2013-02-04 David S. Miller <davem@davemloft.net>
49714
49715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49716
49717 2013-02-04 Joseph Myers <joseph@codesourcery.com>
49718
49719 [BZ #13550]
49720 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49721 (__ubp_memchr): Remove prototype.
49722 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49723 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49724 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49725 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49726 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49727 Remove alias.
49728 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49729 (__ubp_memchr): Likewise.
49730 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49731 (__ubp_memchr): Likewise.
49732 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49733 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49734 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49735 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49736 CHECK_STRING.
49737 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49738 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49739 (__getcwd): Do not use CHECK_STRING.
49740 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49741 <bp-checks.h>.
49742 (__real_chown): Do not use CHECK_STRING.
49743 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49744 <bp-checks.h>.
49745 (fchownat): Do not use CHECK_STRING.
49746 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49747 CHECK_STRING.
49748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49749 <bp-checks.h>.
49750 (__lchown): Do not use CHECK_STRING.
49751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49752 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49753 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49754 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49756 include <bp-checks.h>.
49757 (truncate64): Do not use CHECK_STRING.
49758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49759 <bp-checks.h>.
49760 (__real_chown): Do not use CHECK_STRING.
49761 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49762 <bp-checks.h>.
49763 (__lchown): Do not use CHECK_STRING.
49764 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49765 <bp-checks.h>.
49766 (__chown): Do not use CHECK_STRING.
49767 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49768 <bp-checks.h>.
49769 (truncate64): Do not use CHECK_STRING.
49770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49771 Likewise.
49772 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49773 (__xmknod): Do not use CHECK_STRING.
49774 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49775 <bp-checks.h>.
49776 (__xmknodat): Do not use CHECK_STRING.
49777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49778 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49779
49780 2013-02-04 Andreas Schwab <schwab@suse.de>
49781
49782 [BZ #14142]
49783 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49784 * include/netdb.h: Likewise for h_errno.
49785 * elf/tst-stackguard1.c: Include <tls.h>.
49786
49787 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
49788
49789 * elf/link.h (struct link_map): Extend the l_addr comment.
49790 * include/link.h (struct link_map): Likewise.
49791
49792 2013-02-01 Joseph Myers <joseph@codesourcery.com>
49793
49794 [BZ #13550]
49795 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49796 (BOUNDED_1): Remove macro.
49797 * debug/backtrace.c: Don't include <bp-checks.h>.
49798 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49799 (__backtrace): Likewise.
49800 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49801 <bp-checks.h>.
49802 (__backtrace): Don't use BOUNDED_1.
49803 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49804 <bp-checks.h>.
49805 (__backtrace): Don't use BOUNDED_1.
49806 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49807 (__backtrace): Don't use BOUNDED_1.
49808 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49809 (shmat): Don't use BOUNDED_N.
49810
49811 2013-01-31 Joseph Myers <joseph@codesourcery.com>
49812
49813 [BZ #13550]
49814 * sysdeps/generic/bp-start.h: Remove file.
49815 * csu/libc-start.c: Don't include <bp-start.h>.
49816 (LIBC_START_MAIN): Set up __environ directly instead of using
49817 INIT_ARGV_and_ENVIRON.
49818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49819 <bp-start.h>.
49820
49821 [BZ #13550]
49822 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49823 definitions.
49824 (CHECK_FCNTL): Likewise.
49825 (CHECK_N_PAGES): Likewise.
49826
49827 [BZ #13550]
49828 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49829 definitions.
49830 (CHECK_SIGSET_NULL_OK): Likewise.
49831 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49832 <bp-checks.h>.
49833 (sigpending): Don't use CHECK_SIGSET.
49834 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49835 <bp-checks.h>.
49836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49837 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49838 <bp-checks.h>.
49839 (do_sigsuspend): Don't use CHECK_SIGSET.
49840 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49841 use CHECK_SIGSET.
49842 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49843 (do_sigwait): Don't use CHECK_SIGSET.
49844 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49845 use CHECK_SIGSET.
49846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49847 include <bp-checks.h>.
49848 (sigpending): Don't use CHECK_SIGSET.
49849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49850 include <bp-checks.h>.
49851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49852 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49853 <bp-checks.h>.
49854 (sigpending): Don't use CHECK_SIGSET.
49855 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49856 <bp-checks.h>.
49857 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49858
49859 [BZ #13550]
49860 * sysdeps/generic/bp-semctl.h: Remove file.
49861 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49862 <bp-checks.h> and <bp-semctl.h>.
49863 (__old_semctl): Don't use CHECK_SEMCTL.
49864 (__new_semctl): Likewise.
49865 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49866 and <bp-semctl.h>.
49867 (__old_semctl): Don't use CHECK_SEMCTL.
49868 (__new_semctl): Likewise.
49869 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49870 <bp-checks.h> and <bp-semctl.h>.
49871 (__old_semctl): Don't use CHECK_SEMCTL.
49872 (__new_semctl): Likewise.
49873 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49874 <bp-checks.h> and <bp-semctl.h>.
49875 (semctl): Don't use CHECK_SEMCTL.
49876
49877 [BZ #13550]
49878 * Makerules (elide-bp-thunks): Remove variable.
49879 (elide-routines.oS): Don't use $(elide-bp-thunks).
49880 (elide-routines.os): Likewise.
49881 (elide-routines.o): Likewise.
49882 (elide-routines.op): Likewise.
49883 (elide-routines.og): Likewise.
49884 (objects): Don't use $(bp-thunks).
49885 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49886 include.
49887 (common-generated): Do not add s-proto-bp.d.
49888 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49889 (int): Likewise.
49890 (typ): Likewise.
49891 Do not generate makefile rules for bounded-pointer thunks.
49892 * sysdeps/generic/bp-thunks.h: Remove file.
49893 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49894 * sysdeps/unix/s-proto-bp.S: Likewise.
49895
49896 [BZ #15062]
49897 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49898 parts of result separately when argument is not close to line from
49899 -i to i and one part of argument is small.
49900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49902 * math/libm-test.inc (cacos_test): Add more tests.
49903 (casin_test): Likewise.
49904 (casinh_test): Likewise.
49905 * sysdeps/i386/fpu/libm-test-ulps: Update.
49906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49907
49908 2013-01-31 David S. Miller <davem@davemloft.net>
49909
49910 * po/de.po: Update from translation team.
49911
49912 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
49913
49914 * time/tzfile.c: Include stdint.h for SIZE_MAX.
49915
49916 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
49917
49918 * configure.in (_AC_PROG_CC_C89): New definition.
49919 * configure: Regenerate.
49920
49921 * configure.in (AC_PROG_CPP): New definition.
49922 * configure: Regenerate.
49923
49924 2013-01-23 Joseph Myers <joseph@codesourcery.com>
49925
49926 * debug/tst-backtrace.h: New file.
49927 * debug/tst-backtrace2.c: Include tst-backtrace.h.
49928 (ret): Remove variable.
49929 (x): Likewise.
49930 (FAIL): Remove macro.
49931 (NO_INLINE): Likewise.
49932 (fn1): Use match function instead of strstr.
49933 * debug/tst-backtrace3.c: Include tst-backtrace.h.
49934 (ret): Remove variable.
49935 (x): Likewise.
49936 (FAIL): Remove macro.
49937 (NO_INLINE): Likewise.
49938 (fn): Use match function instead of strstr.
49939 * debug/tst-backtrace4.c: Include tst-backtrace.h.
49940 (ret): Remove variable.
49941 (x): Likewise.
49942 (FAIL): Remove macro.
49943 (NO_INLINE): Likewise.
49944 (handle_signal): Use match function instead of strstr.
49945 * debug/tst-backtrace5.c: Include tst-backtrace.h.
49946 (ret): Remove variable.
49947 (x): Likewise.
49948 (FAIL): Remove macro.
49949 (NO_INLINE): Likewise.
49950 (handle_signal): Use match function instead of strstr.
49951
49952 2013-01-23 Roland McGrath <roland@hack.frob.com>
49953
49954 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49955
49956 2013-01-23 David S. Miller <davem@davemloft.net>
49957
49958 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49959 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49960 argument of CAS if possible.
49961 * sysdeps/sparc/sparc64/bits/atomic.h
49962 (__arch_compare_and_exchange_val_32_acq): Likewise.
49963 (__arch_compare_and_exchange_val_64_acq): Likewise.
49964
49965 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
49966
49967 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49968 * sysdeps/posix/ulimit.c: ... this.
49969 Include <limits.h>.
49970 * sysdeps/unix/bsd/ulimit.c: Remove file.
49971
49972 2013-01-23 Adam Conrad <adconrad@0c3.net>
49973
49974 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49975 (LDFLAGS-tst-array5): Likewise.
49976
49977 2013-01-23 Joseph Myers <joseph@codesourcery.com>
49978
49979 [BZ #15036]
49980 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49981 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49982 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49984
49985 2013-01-21 David S. Miller <davem@davemloft.net>
49986
49987 * sysdeps/sparc/backtrace.c: New file.
49988 * sysdeps/sparc/sparc32/backtrace.h: New file.
49989 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49990 * sysdeps/sparc/sparc64/backtrace.h: New file.
49991 * sysdeps/sparc/sparc64/backtrace.c: Delete.
49992 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49993 -funwind-tables.
49994
49995 2013-01-21 Andreas Schwab <schwab@suse.de>
49996
49997 [BZ #15020]
49998 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49999 closed its stdout.
50000
50001 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
50002
50003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50004 "mpa2.h".
50005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50006
50007 2013-01-18 Joseph Myers <joseph@codesourcery.com>
50008 Mark Mitchell <mark@codesourcery.com>
50009 Tom de Vries <tom@codesourcery.com>
50010 Paul Pluzhnikov <ppluzhnikov@google.com>
50011
50012 * debug/tst-backtrace2.c: New file.
50013 * debug/tst-backtrace3.c: Likewise.
50014 * debug/tst-backtrace4.c: Likewise.
50015 * debug/tst-backtrace5.c: Likewise.
50016 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50017 (CFLAGS-tst-backtrace3.c): Likewise.
50018 (CFLAGS-tst-backtrace4.c): Likewise.
50019 (CFLAGS-tst-backtrace5.c): Likewise.
50020 (LDFLAGS-tst-backtrace2): Likewise.
50021 (LDFLAGS-tst-backtrace3): Likewise.
50022 (LDFLAGS-tst-backtrace4): Likewise.
50023 (LDFLAGS-tst-backtrace5): Likewise.
50024 (tests): Add new tests tst-backtrace2, tst-backtrace3,
50025 tst-backtrace4 and tst-backtrace5.
50026
50027 2013-01-18 Anton Blanchard <anton@samba.org>
50028 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50029
50030 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50031 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50035 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50036 "+r" and remove output regs list as redundant. Add explicit inline
50037 asm to specify register of return val to work around compiler codegen
50038 bug. Remove (int) cast on return value. Add return type parameter to
50039 use in macro so that this macro does not truncate return value for
50040 64-bit values.
50041 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50042 pass to INTERNAL_VSYSCALL_NCS.
50043 (INLINE_VSYSCALL): Add 'long int' as return type to
50044 INTERNAL_VSYSCALL_NCS macro invocation.
50045 (INTERNAL_VSYSCALL): Add 'long int' as return type to
50046 INTERNAL_VSYSCALL_NCS macro invocation.
50047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50048
50049 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50050
50051 [BZ #14496]
50052 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50053 Fix application of SIMD FP exception mask.
50054
50055 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50056 mp_no from a power of two.
50057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50058 __mpexp_twomm1. Use __pow_mp.
50059
50060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50061 multiplication.
50062
50063 2013-01-17 David S. Miller <davem@davemloft.net>
50064
50065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50066
50067 2013-01-17 Joseph Myers <joseph@codesourcery.com>
50068
50069 [BZ #15023]
50070 * include/complex.h: Condition contents on [!_COMPLEX_H].
50071 (__kernel_casinhf): New prototype.
50072 (__kernel_casinh): Likewise.
50073 (__kernel_casinhl): Likewise.
50074 * math/Makefile (libm_calls): Add k_casinh.
50075 * math/k_casinh.c: New file.
50076 * math/k_casinhf.c: Likewise.
50077 * math/k_casinhl.c: Likewise.
50078 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50079 finite nonzero arguments.
50080 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50081 finite nonzero arguments.
50082 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50083 finite nonzero arguments.
50084 * math/s_casinh.c: Do not include <float.h>.
50085 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50086 * math/s_casinhf.c: Do not include <float.h>.
50087 (__casinhf): Move code for finite nonzero arguments to
50088 k_casinhf.c.
50089 * math/s_casinhl.c: Do not include <float.h>.
50090 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50091 redefine.
50092 (__casinhl): Move code for finite nonzero arguments to
50093 k_casinhl.c.
50094 * math/libm-test.inc (cacos_test): Add more tests.
50095 * sysdeps/i386/fpu/libm-test-ulps: Update.
50096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50097
50098 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
50099
50100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50101 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50102 [!HAVE_MREMAP]: Remove [defined linux] case.
50103 * malloc/arena.c: Do not include <malloc-sysdep.h>.
50104
50105 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
50106
50107 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50108
50109 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
50110
50111 * elf/elf.h (R_386_SIZE32): New relocation.
50112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50113 R_386_SIZE32.
50114 (elf_machine_rela): Likewise.
50115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50116 R_X86_64_SIZE64 and R_X86_64_SIZE32.
50117
50118 2013-01-17 Joseph Myers <joseph@codesourcery.com>
50119
50120 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50121 (FP_FAST_FMA): Do not define.
50122 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50123 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50124 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50125 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50126 !_SOFT_FLOAT]: Likewise.
50127 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50129 value.
50130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50131 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50134 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50135 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50136 file.
50137
50138 2013-01-16 Andreas Schwab <schwab@suse.de>
50139
50140 [BZ #14327]
50141 * include/stdlib.h (__mktemp): Add declaration.
50142 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50143 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50144
50145 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50146
50147 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50148 definitions.
50149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50150 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50151 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50152 definitions here.
50153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50154 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50155 definitions.
50156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50157 and ONE.
50158 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50159 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50161 definitions.
50162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50163 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50164 definitions.
50165 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50166
50167 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50168
50169 2013-01-15 David S. Miller <davem@davemloft.net>
50170
50171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50172 trunc{,f} to libm-sysdep_routes.
50173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50175 file.
50176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50178 file.
50179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50180 file.
50181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50189
50190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50191 nearbyint{,f} to libm-sysdep_routes.
50192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50194 New file.
50195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50196 file.
50197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50198 New file.
50199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50200 file.
50201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50204 file.
50205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50207 file.
50208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50209 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50210 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50211
50212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50213 libc_feholdexcept and libc_fesetenv.
50214
50215 2013-01-15 Mike Frysinger <vapier@gentoo.org>
50216
50217 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50218
50219 2013-01-14 David S. Miller <davem@davemloft.net>
50220
50221 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50222 (SPARC_ASM_VIS2_IFUNC): Likewise.
50223 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50225 use of 'siam' instruction.
50226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50227 Likewise.
50228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50229 Likewise.
50230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50231 Likewise.
50232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50237 file.
50238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50239 file.
50240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50241 file.
50242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50243 file.
50244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50249 new VIS2 routines.
50250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50253 Likewise.
50254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50259 routines to libm-sysdep_routines.
50260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50261
50262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50263 fdim/fdimf to libm-sysdep_routines.
50264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50265 file.
50266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50268 file.
50269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50272 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50273 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50274 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50275 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50276
50277 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
50278
50279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50280 to optimize copies.
50281
50282 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50285
50286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50287 local variable MPTWO.
50288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50289 Likewise.
50290
50291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
50292
50293 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50294 GLOB_NOESCAPE.
50295
50296 2013-01-13 Mike Frysinger <vapier@gentoo.org>
50297
50298 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50299
50300 2013-01-13 Mike Frysinger <vapier@gentoo.org>
50301
50302 * manual/pattern.texi (glob_t): Document gl_flags.
50303 (glob64_t): Likewise.
50304
50305 2013-01-11 David S. Miller <davem@davemloft.net>
50306
50307 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50308 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50309 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
50310 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50311 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50312 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50313 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50314 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50316 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50318 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50320
50321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50322 sparc V9 rather than using V8 code.
50323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50325
50326 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50327 Move to...
50328 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50329 Here.
50330
50331 2013-01-11 Roland McGrath <roland@hack.frob.com>
50332
50333 [BZ #14941]
50334 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50335 not in the main loop.
50336 * configure: Regenerated.
50337
50338 2013-01-11 Joseph Myers <joseph@codesourcery.com>
50339
50340 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50341 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50342 to just #else.
50343 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
50344 [!__GLIBC_HAVE_LONG_LONG] case.
50345 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50346 condition to just #else.
50347 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50348 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50349 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50350 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50351 unconditional.
50352 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50353 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50354 #elif condition to just #else.
50355 * sysdeps/unix/sysv/linux/sys/sysmacros.h
50356 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50357 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50358 #elif condition to just #else.
50359
50360 2013-01-11 Steve Ellcey <sellcey@mips.com>
50361
50362 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50363 (EF_MIPS_ARCH_64): Fix value.
50364 (EF_MIPS_ARCH_32R2): New.
50365 (EF_MIPS_ARCH_64R2): New.
50366
50367 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
50368
50369 * Makeconfig (+link-pie-before-libc): New.
50370 (+link-pie-after-libc): Likewise.
50371 (+link-pie-tests): Likewise.
50372 (+link-pie): Rewritten.
50373 (link-before-libc): Remove $(config-LDFLAGS).
50374 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50375 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50376 (config-LDFLAGS): Renamed to ...
50377 (rtld-LDFLAGS): This.
50378 (rtld-tests-LDFLAGS): New macro.
50379 (link-libc-rpath-link): Likewise.
50380 (link-libc-tests-rpath-link): Likewise.
50381 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50382 (link-libc): Prepand $(link-libc-rpath-link).
50383 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50384 (test-program-prefix): New macro.
50385 (test-via-rtld-prefix): Likewise.
50386 (test-program-cmd): Likewise.
50387 (host-test-program-cmd): Likewise.
50388 * Makefile ($(common-objpfx)testrun.sh): Replace
50389 $(run-program-prefix) with $(test-program-prefix).
50390 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50391 $(rtld-LDFLAGS).
50392 ($(common-objpfx)shlib.lds): Likewise.
50393 (build-module-helper): Likewise.
50394 ($(common-objpfx)format.lds): Likewise.
50395 * Rules (binaries-pie-tests): New.
50396 (binaries-pie-notests): Likewise.
50397 (binaries-pie): Rewritten.
50398 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50399 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50400 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50401 (make-test-out): Replace $(host-built-program-cmd) with
50402 $(host-test-program-cmd).
50403 * config.make.in (build-hardcoded-path-in-tests): New variable.
50404 * configure.in (--enable-hardcoded-path-in-tests): New configure
50405 option.
50406 (hardcoded_path_in_tests): New AC_SUBST.
50407 * configure: Regenerated.
50408 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50409 $(built-program-cmd) with $(test-program-cmd).
50410 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50411 (test_program_cmd): This.
50412 * elf/Makefile ($(objpfx)order.out): Run test with
50413 $(test-program-prefix).
50414 ($(objpfx)order2.out): Likewise.
50415 ($(objpfx)tst-initorder.out): Likewise.
50416 ($(objpfx)tst-initorder2.out): Likewise.
50417 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50418 $(test-program-cmd).
50419 ($(objpfx)tst-array1-static.out): Likewise.
50420 ($(objpfx)tst-array2.out): Likewise.
50421 ($(objpfx)tst-array3.out): Likewise.
50422 ($(objpfx)tst-array4.out): Likewise.
50423 ($(objpfx)tst-array5.out): Likewise.
50424 ($(objpfx)tst-array5-static.out): Likewise.
50425 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50426 $(test-program-cmd).
50427 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50428 $(run-program-prefix) with $(test-program-prefix).
50429 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50430 (test_program_prefix): This.
50431 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50432 $(run-program-prefix) with $(test-program-prefix).
50433 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50434 (test_program_prefix): This.
50435 * iconvdata/tst-tables.sh: Likewise.
50436 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50437 $(run-program-prefix) with $(test-program-prefix).
50438 ($(objpfx)tst-translit.out): Likewise.
50439 ($(objpfx)tst-gettext2.out): Likewise.
50440 ($(objpfx)tst-gettext4.out): Likewise.
50441 ($(objpfx)tst-gettext6.out): Likewise.
50442 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50443 (test_program_prefix): This.
50444 * intl/tst-gettext2.sh: Likewise.
50445 * intl/tst-gettext4.sh Likewise.
50446 * intl/tst-gettext6.sh: Likewise.
50447 * intl/tst-translit.sh: Likewise.
50448 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50449 with $(test-program-cmd).
50450 * libio/Makefile ($(objpfx)test-freopen.out): Replace
50451 $(run-program-prefix) with $(test-program-prefix).
50452 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50453 (test_program_prefix): This.
50454 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50455 $(run-program-prefix) with $(test-program-prefix).
50456 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50457 (test_program_prefix): This.
50458 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50459 * posix/Makefile ($(objpfx)globtest.out): Replace
50460 $(run-via-rtld-prefix) and $(test-wrapper) with
50461 $(test-program-prefix) and $(test-via-rtld-prefix).
50462 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50463 $(test-program-prefix).
50464 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50465 $(host-test-program-cmd).
50466 (tst-spawn-ARGS): Likewise.
50467 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50468 $(test-program-prefix).
50469 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50470 (test_via_rtld_prefix): This.
50471 (test_wrapper): Renamed to ...
50472 (test_program_prefix): This.
50473 (run_program_prefix): Replaced by test_program_prefix.
50474 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50475 (test_program_prefix): This.
50476 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50477 with $(host-test-program-cmd).
50478 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50479 $(run-program-prefix) with $(test-program-prefix).
50480 ($(objpfx)tst-printf.out): Likewise.
50481 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50482 $(test-program-cmd).
50483 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50484 (test_program_prefix): This.
50485 * stdio-common/tst-unbputc.sh: Likewise.
50486 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50487 $(run-program-prefix) with $(test-program-prefix).
50488 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50489 (test_program_prefix): This.
50490 * string/Makefile ($(objpfx)tst-svc.out): Replace
50491 $(built-program-cmd) with $(test-program-cmd).
50492
50493 2013-01-11 Andreas Jaeger <aj@suse.de>
50494
50495 [BZ #15003]
50496 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50497 value. Sync with Linux 3.7.
50498
50499 2013-01-10 David S. Miller <davem@davemloft.net>
50500
50501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50504
50505 2013-01-10 Roland McGrath <roland@hack.frob.com>
50506
50507 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50508 never set.
50509 * configure: Regenerated.
50510
50511 2013-01-10 David S. Miller <davem@davemloft.net>
50512
50513 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50514 sparc V9 rather than using V8 code.
50515 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50516 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50517
50518 2013-01-10 Roland McGrath <roland@hack.frob.com>
50519
50520 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50521 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50522 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50523 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50524 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50525 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50526 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50527 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50528 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50529 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50530 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50531 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50532 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50533 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50534 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50535 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50536 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50537 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50538 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50539 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50540 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50541 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50542 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50543 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50544 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50545 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50546 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50547
50548 2013-01-10 David S. Miller <davem@davemloft.net>
50549
50550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50551
50552 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
50553
50554 * posix/Makefile (tests-static): New variable.
50555 (tests): Add $(tests-static).
50556 (tst-exec-static-ARGS): New variable.
50557 (tst-spawn-static-ARGS): Likewise.
50558 * posix/tst-exec-static.c: New file.
50559 * posix/tst-spawn-static.c: Likewise.
50560 * posix/tst-exec.c: Support run directly.
50561 * posix/tst-spawn.c: Likewise.
50562
50563 2013-01-10 Joseph Myers <joseph@codesourcery.com>
50564
50565 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50566 long.
50567 * math/bits/mathcalls.h (llrint): Likewise.
50568 (llround): Likewise.
50569 * stdlib/stdlib.h (struct drand48_data): Likewise.
50570 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50571 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50572 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50573 Likewise.
50574 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50575 Likewise.
50576 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50577 (elf_greg_t): Likewise.
50578 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50579 (__jmp_buf): Likewise.
50580 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50581 definitions.
50582 (llrint): Likewise, for all definitions.
50583 (llrintl): Likewise.
50584
50585 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50586 Remove [__GNUC__] condition.
50587 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50588 condition to just [__USE_ISOC99].
50589 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50590
50591 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
50592
50593 [BZ #14200]
50594 * sysdeps/unix/sysv/linux/x86/bits/environments.h
50595 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50596 defined.
50597 (_POSIX_V6_ILP32_OFF32): Likewise.
50598 (_XBS5_ILP32_OFF32): Likewise.
50599 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50600 (__ILP32_OFFBIG_LDFLAGS): Likewise.
50601
50602 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50603
50604 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50605
50606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50607 doubles __mpexp_twomm1. Adjust usage.
50608 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50609 Remove.
50610
50611 2013-01-10 Andreas Schwab <schwab@suse.de>
50612
50613 [BZ #14964]
50614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50615 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50616
50617 2013-01-09 David S. Miller <davem@davemloft.net>
50618
50619 [BZ #15003]
50620 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50621 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50622 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50623 (TCP_FASTOPEN): Define.
50624 (tcp_repair_opt): New structure.
50625 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50626 enum values.
50627 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50628 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50629 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50630 (tcp_cookie_transactions): New structure.
50631
50632 2013-01-09 Anton Blanchard <anton@samba.org>
50633
50634 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50635 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50637 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50638
50639 2013-01-09 Joseph Myers <joseph@codesourcery.com>
50640
50641 * include/features.h (__USE_ANSI): Remove.
50642
50643 2013-01-09 Roland McGrath <roland@hack.frob.com>
50644
50645 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50646
50647 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50648
50649 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
50650
50651 * sysdeps/s390/fpu/libm-test-ulps: Update.
50652
50653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50654
50655 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50656 (__acr): Likewise.
50657 (__cpy): Likewise.
50658 (norm): Likewise.
50659 (denorm): Likewise.
50660 (__mp_dbl): Likewise.
50661 (__dbl_mp): Likewise.
50662 (add_magnitudes): Likewise.
50663 (sub_magnitudes): Likewise.
50664 (__add): Likewise.
50665 (__sub): Likewise.
50666 (__mul): Likewise.
50667 (__inv): Likewise.
50668 (__dvd): Likewise.
50669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50670 (__acr): Likewise.
50671 (__cpy): Likewise.
50672 (norm): Likewise.
50673 (denorm): Likewise.
50674 (__mp_dbl): Likewise.
50675 (__dbl_mp): Likewise.
50676 (add_magnitudes): Likewise.
50677 (sub_magnitudes): Likewise.
50678 (__add): Likewise.
50679 (__sub): Likewise.
50680 (__mul): Likewise.
50681 (__inv): Likewise.
50682 (__dvd): Likewise.
50683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50684 (__acr): Likewise.
50685 (__cpy): Likewise.
50686 (norm): Likewise.
50687 (denorm): Likewise.
50688 (__mp_dbl): Likewise.
50689 (__dbl_mp): Likewise.
50690 (add_magnitudes): Likewise.
50691 (sub_magnitudes): Likewise.
50692 (__add): Likewise.
50693 (__sub): Likewise.
50694 (__mul): Likewise.
50695 (__inv): Likewise.
50696 (__dvd): Likewise.
50697
50698 2013-01-08 Joseph Myers <joseph@codesourcery.com>
50699
50700 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50701 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50702 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50703 2 && __USE_EXTERN_INLINES]: Likewise.
50704
50705 2013-01-08 Andreas Jaeger <aj@suse.de>
50706
50707 [BZ# 14985]
50708 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50709 Remove.
50710 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50711 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50712
50713 2013-01-07 Anton Blanchard <anton@samba.org>
50714
50715 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50716 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50717 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50718 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50719 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50720 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50721 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50722 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50726 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50731 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50733 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50734 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50735 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50736 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50738 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50739 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50740 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50741 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50742 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50744 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50745 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50748 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50749 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50750 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50752 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50753 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50755 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50757 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50758
50759 2013-01-07 Joseph Myers <joseph@codesourcery.com>
50760
50761 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50762 (__MALLOC_PMT): Likewise.
50763 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50764 [__GNUC__], only on [_LIBC].
50765 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50766 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50767 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50768 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50769 forward declaration.
50770 (realloc_hook_ini): Likewise.
50771 (memalign_hook_ini): Likewise.
50772 (__libc_memalign): Do not use __MALLOC_PMT in variable
50773 declaration.
50774 (__libc_valloc): Likewise.
50775 (__libc_pvalloc): Likewise.
50776 (__libc_calloc): Likewise.
50777 (__posix_memalign): Likewise.
50778
50779 [BZ #14996]
50780 * math/s_casinh.c: Include <float.h>.
50781 (__casinh): Do not do computation with squaring and square root
50782 for large arguments.
50783 * math/s_casinhf.c: Include <float.h>.
50784 (__casinhf): Do not do computation with squaring and square root
50785 for large arguments.
50786 * math/s_casinhl.c: Include <float.h>.
50787 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50788 (__casinhl): Do not do computation with squaring and square root
50789 for large arguments.
50790 * math/libm-test.inc (casin_test): Add more tests.
50791 (casinh_test): Likewise.
50792 * sysdeps/i386/fpu/libm-test-ulps: Update.
50793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50794
50795 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
50796
50797 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50798 (__x86_64_raw_data_cache_size): Likewise.
50799 (__x86_64_data_cache_size_half): Likewise.
50800 (__x86_64_raw_data_cache_size_half): Likewise.
50801 (__x86_64_shared_cache_size): Likewise.
50802 (__x86_64_raw_shared_cache_size): Likewise.
50803 (__x86_64_shared_cache_size_half): Likewise.
50804 (__x86_64_raw_shared_cache_size_half): Likewise.
50805 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50806 to ...
50807 (__x86_data_cache_size): This.
50808 (__x86_64_raw_data_cache_size): Renamed to ...
50809 (__x86_raw_data_cache_size): This.
50810 (__x86_64_data_cache_size_half): Renamed to ...
50811 (__x86_data_cache_size_half): This.
50812 (__x86_64_raw_data_cache_size_half): Renamed to ...
50813 (__x86_raw_data_cache_size_half): This.
50814 (__x86_64_shared_cache_size): Renamed to ...
50815 (__x86_shared_cache_size): This.
50816 (__x86_64_raw_shared_cache_size): Renamed to ...
50817 (__x86_raw_shared_cache_size): This.
50818 (__x86_64_shared_cache_size_half): Renamed to ...
50819 (__x86_shared_cache_size_half): This.
50820 (__x86_64_raw_shared_cache_size_half): Renamed to ...
50821 (__x86_raw_shared_cache_size_half): This.
50822 * sysdeps/x86_64/memcpy.S: Updated.
50823 * sysdeps/x86_64/memset.S: Likewise.
50824 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50825 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50826 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50827
50828 2013-01-04 David S. Miller <davem@davemloft.net>
50829
50830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50831
50832 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
50833
50834 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50835 1 to avoid redefinition warning.
50836 (__USE_GNU): Don't define.
50837 (init_signaling_nan): Protoize.
50838
50839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50840
50841 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50842
50843 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50845 (__cpymn): Likewise.
50846 (norm): Remove commented code.
50847 (denorm): Likewise.
50848 (__mp_dbl): Likewise.
50849 (__inv): Likewise.
50850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50851 (__cpymn): Likewise.
50852 (norm): Remove commented code.
50853 (denorm): Likewise.
50854 (__mp_dbl): Likewise.
50855 (__inv): Likewise.
50856
50857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50858 mp_no value for 1.0 and 2.0.
50859 (norm): Use RADIXI instead of radixi.d.
50860 (denorm): Likewise.
50861 (__mul): Use 0.0 instead of zero.d.
50862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50863 mp_no value for 1.0 and 2.0.
50864 (norm): Use RADIXI instead of radixi.d.
50865 (denorm): Likewise.
50866 (__mul): Use 0.0 instead of zero.d.
50867
50868 2013-01-04 Joseph Myers <joseph@codesourcery.com>
50869
50870 [BZ #14994]
50871 * math/s_casinh.c (__casinh): Reduce finite argument to first
50872 quadrant then set signs of results at the end.
50873 * math/s_casinhf.c (__casinhf): Likewise.
50874 * math/s_casinhl.c (__casinhl): Likewise.
50875 * math/libm-test.inc (casin_test): Add more tests.
50876 (casinh_test): Likewise.
50877 * sysdeps/i386/fpu/libm-test-ulps: Update.
50878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50879
50880 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50881
50882 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50883
50884 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50885
50886 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50887 declarations.
50888 (denorm): Likewise.
50889 (__mp_dbl): Likewise.
50890 (__inv): Likewise.
50891
50892 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50893 and adjust the header comment.
50894
50895 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50896 variable name from declaration.
50897
50898 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
50899
50900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50901 Initialize COMMON_CPUID_INDEX_7 element.
50902 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50903 (CPUID_RTM): Likewise.
50904 (HAS_RTM): Likewise.
50905 (COMMON_CPUID_INDEX_7): New enum.
50906
50907 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
50908
50909 [BZ #14981]
50910 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50911 size is zero, record memory as freed.
50912
50913 2013-01-03 Andreas Jaeger <aj@suse.de>
50914
50915 * po/ia.po: Add new Interlingua translation.
50916
50917 2012-01-03 Allan McRae <allan@archlinux.org>
50918
50919 * locale/programs/localedef.c: Fix description of '--posix' flag.
50920
50921 2013-01-02 Joseph Myers <joseph@codesourcery.com>
50922
50923 * NEWS: Update dates in second copyright notice.
50924 * README: Update copyright dates in example.
50925 * manual/libc.texinfo: Update copyright dates.
50926 * scripts/test-installation.pl: Update copyright date in --version
50927 output.
50928
50929 * hurd/ctty-input.c: Fix copyright notice formatting.
50930 * hurd/ctty-output.c: Likewise.
50931 * hurd/dtable.c: Likewise.
50932 * hurd/hurd-raise.c: Likewise.
50933 * hurd/hurdprio.c: Likewise.
50934 * hurd/msgportdemux.c: Likewise.
50935 * misc/sys/file.h: Likewise.
50936 * misc/sys/ioctl.h: Likewise.
50937 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50938 * sysdeps/mach/hurd/chdir.c: Likewise.
50939 * sysdeps/mach/hurd/fchdir.c: Likewise.
50940 * sysdeps/mach/hurd/rename.c: Likewise.
50941 * sysdeps/mach/hurd/rmdir.c: Likewise.
50942 * sysdeps/mach/hurd/seekdir.c: Likewise.
50943 * sysdeps/mach/hurd/setsid.c: Likewise.
50944 * sysdeps/posix/wait3.c: Likewise.
50945
50946 * All files with FSF copyright notices: Update copyright dates
50947 using scripts/update-copyrights.
50948 * intl/plural.c: Regenerated.
50949 * locale/programs/charmap-kw.h: Likewise.
50950 * locale/programs/locfile-kw.h: Likewise.
50951
50952 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50953
50954 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50955 four values.
50956
50957 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50958 calculation loop and add branch prediction.
50959
50960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50961 check access beyond bounds of m1np.
50962
50963 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50964 MPTWO.
50965 (__inv): Remove local variable MPTWO to use the global
50966 constant.
50967 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50969 variable MPTWO.
50970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50971 MP3HALFS static const.
50972
50973 2013-01-01 David S. Miller <davem@davemloft.net>
50974
50975 * po/ca.po: Update from translation team.
50976
50977 2013-01-01 Joseph Myers <joseph@codesourcery.com>
50978
50979 * scripts/update-copyrights: New file.
50980 * Makeconfig: Reformat copyright notice.
50981 * ctype/ctype.h: Likewise.
50982 * debug/swprintf_chk.c: Likewise.
50983 * elf/dl-cache.c: Likewise.
50984 * elf/dl-debug.c: Likewise.
50985 * elf/dl-object.c: Likewise.
50986 * grp/initgroups.c: Likewise.
50987 * hurd/Makefile: Likewise.
50988 * hurd/hurd/signal.h: Likewise.
50989 * hurd/hurdfault.c: Likewise.
50990 * hurd/hurdioctl.c: Likewise.
50991 * hurd/hurdlookup.c: Likewise.
50992 * hurd/intr-msg.c: Likewise.
50993 * iconv/gconv_open.c: Likewise.
50994 * libio/swprintf.c: Likewise.
50995 * locale/lc-ctype.c: Likewise.
50996 * locale/nl_langinfo.c: Likewise.
50997 * mach/Machrules: Likewise.
50998 * mach/Makefile: Likewise.
50999 * malloc/obstack.h: Likewise.
51000 * manual/Makefile: Likewise.
51001 * manual/tsort.awk: Likewise.
51002 * misc/bits/stab.def: Likewise.
51003 * nis/nis_print_group_entry.c: Likewise.
51004 * nis/nis_table.c: Likewise.
51005 * nis/nss_compat/compat-pwd.c: Likewise.
51006 * nis/nss_compat/compat-spwd.c: Likewise.
51007 * po/Makefile: Likewise.
51008 * posix/fnmatch.c: Likewise.
51009 * posix/regex.h: Likewise.
51010 * resolv/Makefile: Likewise.
51011 * resolv/nss_dns/dns-network.c: Likewise.
51012 * resolv/res_hconf.c: Likewise.
51013 * scripts/gen-sorted.awk: Likewise.
51014 * soft-fp/soft-fp.h: Likewise.
51015 * stdio-common/printf.h: Likewise.
51016 * stdlib/monetary.h: Likewise.
51017 * stdlib/random.c: Likewise.
51018 * stdlib/random_r.c: Likewise.
51019 * sysdeps/generic/Makefile: Likewise.
51020 * sysdeps/gnu/Makefile: Likewise.
51021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51031 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51033 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51034 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51035 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51036 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51037 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51044 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51045 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51046 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51047 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51048 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51049 * sysdeps/mach/hurd/errnos.awk: Likewise.
51050 * sysdeps/mach/hurd/fork.c: Likewise.
51051 * sysdeps/mach/hurd/getcwd.c: Likewise.
51052 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51053 * sysdeps/mach/hurd/mmap.c: Likewise.
51054 * sysdeps/mach/hurd/utimes.c: Likewise.
51055 * sysdeps/mach/hurd/xmknod.c: Likewise.
51056 * sysdeps/posix/profil.c: Likewise.
51057 * sysdeps/posix/readdir_r.c: Likewise.
51058 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51059 * sysdeps/powerpc/bits/setjmp.h: Likewise.
51060 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51061 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51063 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51064 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51065 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51067 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51069 * sysdeps/pthread/lio_listio.c: Likewise.
51070 * sysdeps/sparc/dl-procinfo.h: Likewise.
51071 * sysdeps/unix/i386/sysdep.S: Likewise.
51072 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51073 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51074 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51075 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51077 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51078 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51079 * sysdeps/unix/sysv/linux/speed.c: Likewise.
51080 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51081 * sysdeps/wordsize-32/divdi3.c: Likewise.
51082 * time/sys/time.h: Likewise.
51083 * wcsmbs/Makefile: Likewise.
51084
51085 2013-01-01 David S. Miller <davem@davemloft.net>
51086
51087 * po/fr.po: Update from translation team.
51088
51089 * catgets/gencat.c: Update copyright year.
51090 * csu/version.c: Likewise.
51091 * debug/catchsegv.sh: Likewise.
51092 * debug/pcprofiledump.c: Likewise.
51093 * debug/xtrace.sh: Likewise.
51094 * elf/ldconfig.c: Likewise.
51095 * elf/ldd.bash.in: Likewise.
51096 * elf/pldd.c: Likewise.
51097 * elf/sotruss.ksh: Likewise.
51098 * elf/sprof.c: Likewise.
51099 * iconv/iconv_prog.c: Likewise.
51100 * iconv/iconvconfig.c: Likewise.
51101 * locale/programs/locale.c: Likewise.
51102 * locale/programs/localedef.c: Likewise.
51103 * login/programs/pt_chown.c: Likewise.
51104 * malloc/memusage.sh: Likewise.
51105 * malloc/memusagestat.c: Likewise.
51106 * malloc/mtrace.pl: Likewise.
51107 * nscd/nscd.c: Likewise.
51108 * nss/getent.c: Likewise.
51109 * nss/makedb.c: Likewise.
51110 * posix/getconf.c: Likewise.
51111
51112 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51113
51114 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51115 numbers.
51116
51117 2012-12-30 Mike Frysinger <vapier@gentoo.org>
51118
51119 * math/bits/mathcalls.h (modf): Use __nonnull.
51120
51121 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
51122
51123 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51124 (split): Use macro CN instead of the bare value.
51125 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51126 could be used.
51127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51128 instead of the bare value.
51129 (power1): Likewise.
51130
51131 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51132
51133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51134 __ATAN_TWOM.
51135 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51136
51137 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51138 their values.
51139 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51141 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51142 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51143
51144 2012-12-28 Andreas Jaeger <aj@suse.de>
51145
51146 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
51147 values are from Linux 3.7.
51148
51149 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51150 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
51151
51152 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51153
51154 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51155 TRUE case.
51156
51157 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51158 (norm): Likewise.
51159 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51160 variables with preprocessor constants.
51161 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51162 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51163 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51164
51165 2012-12-27 Bruno Haible <bruno@clisp.org>
51166
51167 [BZ #14317]
51168 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51169 only if needed.
51170
51171 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51172
51173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51174 and use variable directly.
51175 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51176
51177 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51178 MPONE.
51179 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51180 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51181 variable MPONE.
51182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51184 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51185 include directive. Remove local variable MPONE.
51186 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51187 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51189
51190 2012-12-25 David S. Miller <davem@davemloft.net>
51191
51192 * version.h (RELEASE): Set to "development".
51193 (VERSION): Set to "2.17.90".
51194 * NEWS: Add 2.18 section.
51195
51196 2012-12-21 David S. Miller <davem@davemloft.net>
51197
51198 * po/hr.po: Update from translation team.
51199
51200 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51201
51202 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51203
51204 2012-12-19 Steve Ellcey <sellcey@mips.com>
51205
51206 * NEWS: Mention new memcpy for MIPS.
51207
51208 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51209
51210 * manual/contrib.texi (Contributors): Spelling correction.
51211
51212 2012-12-15 David S. Miller <davem@davemloft.net>
51213
51214 * po/ru.po: Update from translation team.
51215
51216 2012-12-13 David S. Miller <davem@davemloft.net>
51217
51218 * NEWS: Mention IFUNC testsuite enhancements.
51219
51220 * po/pl.po: Update from translation team.
51221 * po/bg.po: Likewise.
51222
51223 * manual/contrib.texi (Contributors): Update entries for Hongjiu
51224 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
51225
51226 2012-12-11 David S. Miller <davem@davemloft.net>
51227
51228 * po/sv.po: Update from translation team.
51229
51230 * po/vi.po: Update from translation team.
51231
51232 * po/cs.po: Update from translation team.
51233
51234 * po/de.po: Update from translation team.
51235 * po/eo.po: Likewise.
51236 * po/nl.po: Likewise.
51237
51238 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51239
51240 [BZ #14246]
51241 * manual/argp.texi (Argp Helper Functions): Move node to follow
51242 Argp Parsing State.
51243
51244 [BZ #14872]
51245 * manual/conf.texi (Limits on File System Capacity): Mention if
51246 terminating null is included in the max size.
51247
51248 2012-12-10 Andreas Jaeger <aj@suse.de>
51249
51250 * po/cs.po: Update from translation team.
51251
51252 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51253
51254 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51255 void pointer and cast to uintptr_t.
51256 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51257 path.
51258 * sysdeps/s390/s390-64/memcpy.S: Likewise.
51259 * sysdeps/s390/s390-64/memset.S: Likewise.
51260
51261 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
51262
51263 [BZ #14833]
51264 * menual/message.texi (Message Translation): Fix typos.
51265 (Helper programs for gettext): Likewise.
51266
51267 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
51268
51269 [BZ #14898]
51270 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51271 Change to -1.
51272
51273 2012-12-07 David S. Miller <davem@davemloft.net>
51274
51275 * po/libc.pot: Update.
51276
51277 2012-12-07 Richard Henderson <rth@redhat.com>
51278
51279 [BZ #10114]
51280 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51281 normal/normal case to before the switch.
51282 (_FP_DIV): Likewise.
51283
51284 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
51285 Mike Frysinger <vapier@gentoo.org>
51286
51287 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51288 check for __NR_fadvise64_64.
51289
51290 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
51291
51292 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51293 0, not just to plain "0" as a statement.
51294 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51295 with cw.
51296
51297 2012-12-06 Joseph Myers <joseph@codesourcery.com>
51298
51299 * NEWS: Use sourceware.org in Bugzilla URL.
51300
51301 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
51302
51303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51304 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51305
51306 * stdio-common/tst-put-error.c (do_test): Add newline to the
51307 padded test to ensure flush.
51308
51309 2012-12-05 Jeff Law <law@redhat.com>
51310
51311 * sunrpc/etc.rpc (fedfs_admin): Add entry.
51312
51313 2012-12-05 Joseph Myers <joseph@codesourcery.com>
51314
51315 * README: Don't refer to ports add-on as distributed separately.
51316 Mention AArch64 in list of systems supported in the ports add-on.
51317
51318 * LICENSES: Add more non-FSF copyright and license notices.
51319
51320 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51321 ((unused)).
51322
51323 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51324
51325 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51326 10000 as width of padded output.
51327
51328 2012-12-04 Joseph Myers <joseph@codesourcery.com>
51329
51330 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51331
51332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51333 variable LX with __attribute__ ((unused)).
51334 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51335 Likewise.
51336 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51339 with __attribute__ ((unused)).
51340
51341 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
51342
51343 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51344
51345 2012-12-04 Joseph Myers <joseph@codesourcery.com>
51346
51347 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51348 (CFLAGS-nldbl-acos.c): New variable.
51349 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51350 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51351 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51352 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51353 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51354 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51355 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51356 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51357 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51358 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51359 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51360 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51361 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51362 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51363 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51364 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51365 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51366 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51367 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51368 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51369 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51370 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51371 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51372 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51373 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51374 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51375 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51376 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51377 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51378 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51379 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51380 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51381 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51382 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51383 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51384 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51385 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51386 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51387 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51388 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51389 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51390 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51391 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51392 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51393 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51394 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51395 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51396 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51397 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51398 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51399 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51400 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51401 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51402 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51403 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51404 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51405 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51406 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51407 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51408 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51409 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51410 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51411 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51412 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51413 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51414 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51415 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51416 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51417 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51418 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51419 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51420 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51421 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51422 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51423 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51424 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51425 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51426 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51427 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51428 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51429 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51430 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51431 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51432 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51433 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51434 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51435 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51436 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51437 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51438 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51439 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51440 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51441 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51442 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51443 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51444 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51445 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51446
51447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51448 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51449
51450 [BZ #14914]
51451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51452 whole low double instead of just low 47 bits when splitting values
51453 into two parts.
51454
51455 2012-12-03 Allan McRae <allan@archlinux.org>
51456
51457 * manual/stdio.texi (Predefined Printf Handlers): Remove
51458 @hsep and @vsep usage.
51459
51460 2012-12-03 Mike Frysinger <vapier@gentoo.org>
51461
51462 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51463 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51464
51465 2012-12-03 Jeff Law <law@redhat.com>
51466
51467 * time/sys/time.h (settimeofday): Do not mark TV argument
51468 as __nonnull.
51469
51470 2012-12-01 Mike Frysinger <vapier@gentoo.org>
51471
51472 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51473 when currently writing and seek to current position when not.
51474 * libio/Makefile (tests): Remove bug-fclose1.
51475 * libio/bug-fclose1.c: Delete.
51476
51477 2012-12-01 Joseph Myers <joseph@codesourcery.com>
51478
51479 * manual/arith.texi (feenableexcept): Fix typo.
51480 (fedisableexcept): Likewise.
51481
51482 2012-11-30 Roland McGrath <roland@hack.frob.com>
51483
51484 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51485 second, differently-typed declaration, rather than a cast.
51486
51487 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51488
51489 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51490 * include/rpc/svc.h: ... here.
51491
51492 2012-11-30 Aurelien Jarno <aurel32@debian.org>
51493
51494 [BZ #13013]
51495 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51496 depending n and resplen2 to catch cases where answer
51497 equals answerp2.
51498
51499 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
51500
51501 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51502 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51503
51504 2012-11-29 Mike Frysinger <vapier@gentoo.org>
51505
51506 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51507
51508 2012-11-29 Roland McGrath <roland@hack.frob.com>
51509
51510 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51511
51512 2012-11-28 Jeff Law <law@redhat.com>
51513
51514 [BZ #13761]
51515 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51516 dataset_temporary. Track alloca usage into alloca_used.
51517 If dataset is large allocate and release it via malloc/free.
51518
51519 2012-06-04 Florian Weimer <fweimer@redhat.com>
51520
51521 [BZ #14197]
51522 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51523
51524 2012-11-28 David S. Miller <davem@davemloft.net>
51525
51526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51527
51528 2012-11-28 Joseph Myers <joseph@codesourcery.com>
51529
51530 [BZ #14803]
51531 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51532 of pi/2 rounded to nearest to 64 bits.
51533 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51534 nearest to 64 bits.
51535 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51536 bits.
51537
51538 2012-11-28 Jeff Law <law@redhat.com>
51539 Martin Osvald <mosvald@redhat.com>
51540
51541 [BZ #14889]
51542 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51543 * sunrpc/svc.c: Include time.h.
51544 (__svc_accept_failed): New function.
51545 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51546 any reason other than EINTR, call __svc_accept_failed.
51547 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51548 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51549
51550 2012-11-28 Andreas Schwab <schwab@suse.de>
51551
51552 * scripts/abilist.awk: Also handle indirect functions in .opd
51553 section.
51554
51555 2012-11-28 Joseph Myers <joseph@codesourcery.com>
51556
51557 [BZ #13881]
51558 * sysdeps/x86/fpu/powl_helper.c: New file.
51559 * sysdeps/x86/fpu/Makefile: Likewise.
51560 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51561 (p3): New object.
51562 (__ieee754_powl): Use __powl_helper for finite arguments except
51563 integer exponents below 8.
51564 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51565 (p3): New object.
51566 (__ieee754_powl): Use __powl_helper for finite arguments except
51567 integer exponents below 8.
51568 * math/libm-test.inc (pow_test): Add more tests and enable some
51569 previously disabled tests.
51570 * sysdeps/i386/fpu/libm-test-ulps: Update.
51571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51572
51573 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51574 Carlos O'Donell <carlos_odonell@mentor.com>
51575
51576 * nss/makedb.c (is_prime): Assert that input is odd and greater
51577 than 4. Note that fact in a comment too.
51578 (next_prime): Add 4 to input.
51579
51580 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51581
51582 [BZ #11741]
51583 * libio/Makefile (tests): Add test case tst-fwrite-error.
51584 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51585 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51586 * libio/tst-fwrite-error.c: New test case.
51587
51588 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
51589
51590 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51591 before casting to void *.
51592 * include/libc-internal.h (__pointer_type): New macro.
51593 (__integer_if_pointer_type_sub): Likewise.
51594 (__integer_if_pointer_type): Likewise.
51595 (cast_to_integer): Likewise.
51596 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51597 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51598 before casting to atomic64_t.
51599 (atomic_exchange_acq): Likewise.
51600 (__arch_exchange_and_add_body): Likewise.
51601 (__arch_add_body): Likewise.
51602 (atomic_add_negative): Likewise.
51603 (atomic_add_zero): Likewise.
51604
51605 2012-11-26 Joseph Myers <joseph@codesourcery.com>
51606
51607 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51608 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51609 (add_fdes): Likewise.
51610 (linear_search_fdes): Likewise.
51611 (binary_search_unencoded_fdes): Likewise.
51612
51613 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
51614
51615 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51616
51617 2012-11-24 Adam Conrad <adconrad@0c3.net>
51618
51619 * configure.in: Autodetect C++ header directories.
51620 * configure: Regenerated.
51621
51622 2012-11-23 Mike Frysinger <vapier@gentoo.org>
51623
51624 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51625
51626 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
51627
51628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51629
51630 2012-11-22 Joseph Myers <joseph@codesourcery.com>
51631
51632 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51633 LDBL_MANT_DIG == 106]: Disable some tests.
51634 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51635 Likewise.
51636 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51637 Likewise.
51638
51639 [BZ #14871]
51640 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51641 input for small inputs. Return +/- pi/2 for large inputs.
51642 * math/libm-test.inc (atan_test): Add more tests.
51643
51644 * sysdeps/generic/unwind-dw2-fde-glibc.c
51645 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51646 __attribute__ ((unused)).
51647
51648 [BZ #14645]
51649 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51650 x * y if x and y are nonzero and z is zero.
51651
51652 [BZ #14811]
51653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51654 nonzero exponents with absolute value below 0x1p-117 to +/-
51655 0x1p-117.
51656
51657 [BZ #14869]
51658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51659 up arguments below 2**-450, not just those below 2**-500.
51660 * math/libm-test.inc (hypot_test): Add another test.
51661
51662 [BZ #14868]
51663 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51664 Return a+b for ratio over 2**120, not 2**60.
51665 * math/libm-test.inc (hypot_test): Add another test.
51666
51667 * math/libm-test.inc (clog_test): Use
51668 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51669 (clog10_test): Likewise.
51670
51671 [BZ #6778]
51672 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51673
51674 2012-11-22 Andreas Schwab <schwab@suse.de>
51675
51676 * sysdeps/i386/fpu/libm-test-ulps: Update.
51677
51678 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
51679
51680 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51681 printf output with newline.
51682
51683 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
51684
51685 [BZ #14865]
51686 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51687 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51688 -z nodlopen, -z initfirst and -z execstack support.
51689 * configure: Regenerated.
51690
51691 * elf/elf.h (DF_1_NODIRECT): New macro.
51692 (DF_1_IGNMULDEF): Likewise.
51693 (DF_1_NOKSYMS): Likewise.
51694 (DF_1_NOHDR): Likewise.
51695 (DF_1_EDITED): Likewise.
51696 (DF_1_NORELOC): Likewise.
51697 (DF_1_SYMINTPOSE): Likewise.
51698 (DF_1_GLOBAUDIT): Likewise.
51699 (DF_1_SINGLETON): Likewise.
51700 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51701 DT_1_SUPPORTED_MASK bits.
51702 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51703
51704 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
51705
51706 * sysdeps/unix/make-syscalls.sh: Document prefixes.
51707
51708 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
51709
51710 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51711 macro.
51712
51713 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51714 (sendmmsg): Move declarations...
51715 * socket/sys/socket.h: ... here.
51716 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51717 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51718 include it from...
51719 * socket/recvmmsg.c: ... this new file.
51720 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51721 (sendmmsg): Rename to __sendmmsg, create weak alias and make
51722 definition of __sendmmsg hidden.
51723 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51724 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51725 Move ENOSYS stub into and include it from...
51726 * socket/sendmmsg.c: ... this new file.
51727 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51728 (sysdep_routines): Move recvmmsg and sendmmsg...
51729 * socket/Makefile (routines): ... here.
51730 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51731 (GLIBC_PRIVATE): Add __sendmmsg.
51732 * include/sys/socket.h (__sendmmsg): Add declarations.
51733 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51734 sendmmsg.
51735
51736 2012-11-20 Joseph Myers <joseph@codesourcery.com>
51737
51738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51739 variable I1 with __attribute__ ((unused)).
51740 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51741
51742 2012-11-19 Joseph Myers <joseph@codesourcery.com>
51743
51744 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51745 DUMMY variables with __attribute__ ((unused)).
51746
51747 * bits/byteswap.h: Include <bits/types.h>.
51748 (__bswap_64): Use __uint64_t instead of unsigned long long int.
51749
51750 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
51751
51752 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51753 string_t. Do not manually set errno.
51754 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51755 length with __strnlen. Make sure to both set errno and return it on
51756 failure.
51757
51758 2012-11-19 David S. Miller <davem@davemloft.net>
51759
51760 With help from Joseph Myers.
51761 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51762 very large arguments properly.
51763 * math/libm-test.inc (atan_test): New tests.
51764 (atan2_test): New tests.
51765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51767
51768 2012-11-19 Joseph Myers <joseph@codesourcery.com>
51769
51770 [BZ #14856]
51771 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51772 Define to 3.
51773
51774 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51775 [POSIX] (EADDRNOTAVAIL): Likewise.
51776 [POSIX] (EAFNOSUPPORT): Likewise.
51777 [POSIX] (EALREADY): Likewise.
51778 [POSIX] (ECONNABORTED): Likewise.
51779 [POSIX] (ECONNREFUSED): Likewise.
51780 [POSIX] (ECONNRESET): Likewise.
51781 [POSIX] (EDESTADDRREQ): Likewise.
51782 [POSIX] (EDQUOT): Likewise.
51783 [POSIX] (EHOSTUNREACH): Likewise.
51784 [POSIX] (EIDRM): Likewise.
51785 [POSIX] (EISCONN): Likewise.
51786 [POSIX] (ELOOP): Likewise.
51787 [POSIX] (EMULTIHOP): Likewise.
51788 [POSIX] (ENETDOWN): Likewise.
51789 [POSIX] (ENETUNREACH): Likewise.
51790 [POSIX] (ENOBUFS): Likewise.
51791 [POSIX] (ENODATA): Likewise.
51792 [POSIX] (ENOLINK): Likewise.
51793 [POSIX] (ENOMSG): Likewise.
51794 [POSIX] (ENOPROTOOPT): Likewise.
51795 [POSIX] (ENOSR): Likewise.
51796 [POSIX] (ENOSTR): Likewise.
51797 [POSIX] (ENOTCONN): Likewise.
51798 [POSIX] (ENOTSOCK): Likewise.
51799 [POSIX] (EOPNOTSUPP): Likewise.
51800 [POSIX] (EOVERFLOW): Likewise.
51801 [POSIX] (EPROTO): Likewise.
51802 [POSIX] (EPROTONOSUPPORT): Likewise.
51803 [POSIX] (EPROTOTYPE): Likewise.
51804 [POSIX] (ESTALE): Likewise.
51805 [POSIX] (ETIME): Likewise.
51806 [POSIX] (ETXTBSY): Likewise.
51807 [POSIX] (EWOULDBLOCK): Likewise.
51808 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51809 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51810 [POSIX] (SEEK_CUR): Likewise.
51811 [POSIX] (SEEK_END): Likewise.
51812 [POSIX || UNIX98] (mode_t): Do not require.
51813 [POSIX] (off_t): Likewise.
51814 [POSIX] (pid_t): Likewise.
51815 [POSIX] (sys/stat.h): Do not allow header.
51816 [POSIX] (unistd.h): Likewise.
51817 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51818 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51819 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51820 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51821 require.
51822 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51823 sigevent): Specify elements.
51824 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51825 entry.
51826 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51827 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51828
51829 * conform/data/cpio.h-data [POSIX]: Disable whole file.
51830 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51831 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51832 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51833 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51834 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51835 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51836 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51837 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51838 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51839 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51840 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51841 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51843 Likewise.
51844 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51845 Likewise.
51846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51847 Likewise.
51848 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51849 Likewise.
51850 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51852 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51853 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51854 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51855 Specify lower bound on value.
51856 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51857 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51858 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51859 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51860 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51861 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51862 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51863 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51864 value.
51865 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51866 as optional.
51867 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51868 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51869 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51870 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51871 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51872 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51873 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51874 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51875 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51876 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51877 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51878 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51879 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51880 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51881 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51882 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51883 entry.
51884 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51885 optional.
51886 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51887 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51888 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51889 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51890 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51891 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51892 Likewise.
51893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51894 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51895 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51896 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51897 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
51898 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51899 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51900 as optional.
51901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51902 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51903 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51904 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51905 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51906 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51907 specify as optional.
51908 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51909 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51911 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51912 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51913 [XPG3] (NL_LANGMAX): Likewise.
51914 [POSIX || XPG3] (NL_MSGMAX): Likewise.
51915 [POSIX || XPG3] (NL_NMAX): Likewise.
51916 [POSIX || XPG3] (NL_SETMAX): Likewise.
51917 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51918 [XPG3] (NZERO): Likewise.
51919 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51920 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51921 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51922 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51923 (REG_ERANGE): Expect.
51924 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51925 optional-constant.
51926 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51927 Use (void) in prototype.
51928 [POSIX] (*_t): Allow.
51929 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51930 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51931 (WRDE_BADVAL): Expect.
51932
51933 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51934 expect.
51935 [XPG3 || XPG4] (O_RSYNC): Likewise.
51936 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51937 Likewise.
51938 [XPG3 || XPG4] (pthread_sigmask): Likewise.
51939 [XPG3 || XPG4] (sigqueue): Likewise.
51940 [XPG3 || XPG4] (sigtimedwait): Likewise.
51941 [XPG3 || XPG4] (sigwaitinfo): Likewise.
51942 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51943 [XPG3 || XPG4] (vsnprintf): Likewise.
51944 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51945 Likewise.
51946 [XPG3 || XPG4] (blksize_t): Likewise.
51947 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51948 Likewise.
51949 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51950 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51951 [XPG3 || XPG4] (struct itimerspec): Likewise.
51952 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51953 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51954 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51955 [XPG3 || XPG4] (clockid_t): Likewise.
51956 [XPG3 || XPG4] (timer_t): Likewise.
51957 [XPG3 || XPG4] (clock_getres): Likewise.
51958 [XPG3 || XPG4] (clock_gettime): Likewise.
51959 [XPG3 || XPG4] (clock_settime): Likewise.
51960 [XPG3 || XPG4] (nanosleep): Likewise.
51961 [XPG3 || XPG4] (timer_create): Likewise.
51962 [XPG3 || XPG4] (timer_delete): Likewise.
51963 [XPG3 || XPG4] (timer_gettime): Likewise.
51964 [XPG3 || XPG4] (timer_getoverrun): Likewise.
51965 [XPG3 || XPG4] (timer_settime): Likewise.
51966 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51967 [XPG3 || XPG4] (getlogin_r): Likewise.
51968 [XPG3 || XPG4] (pread): Likewise.
51969 [XPG3 || XPG4] (pthread_atfork): Likewise.
51970 [XPG3 || XPG4] (pwrite): Likewise.
51971
51972 [BZ #14835]
51973 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51974 <bits/siginfo.h>.
51975
51976 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
51977
51978 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51979 finalizing MALLSTREAM.
51980
51981 * sysdeps/mach/hurd/syncfs.c: New file.
51982
51983 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
51984
51985 [BZ #14719]
51986 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51987 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51988 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51989 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51990 (_nss_dns_gethostbyname4_r): Likewise.
51991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51992 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51993
51994 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
51995
51996 [BZ #13763]
51997 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51998
51999 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
52000
52001 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52002 * elf/cache.c (print_entry): Print ",AArch64" for
52003 FLAG_AARCH64_LIB64
52004
52005 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52006 * elf/cache.c (print_entry): Print ",hard-float" for
52007 FLAG_ARM_LIBHF.
52008
52009 2012-11-18 David S. Miller <davem@davemloft.net>
52010
52011 With help from Joseph Myers.
52012 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52013 cutoff to 2**-13.
52014 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52015 cutoff to 2**-25.
52016 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52017 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52018 small.
52019 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52020 * math/libm-test.inc (y0_test): New tests.
52021 (y1_test): New tests.
52022 * sysdeps/i386/fpu/libm-test-ulps: Update.
52023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52025
52026 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
52027
52028 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52029 64-bit targets.
52030 * configure: Regenerated.
52031
52032 2012-11-17 David S. Miller <davem@davemloft.net>
52033
52034 [BZ #14811]
52035 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52036 nonzero exponents with absolute value below 0x1p-128 to +/-
52037 0x1p-128.
52038
52039 2012-11-17 Joseph Myers <joseph@codesourcery.com>
52040
52041 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52042
52043 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52044
52045 * posix/getconf-speclist.c: New file.
52046 * posix/posix-envs.def: Likewise.
52047 * posix/confstr.c (START_ENV_GROUP): New macro.
52048 (END_ENV_GROUP): Likewise.
52049 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52050 (KNOWN_PRESENT_ENV_STRING): Likewise.
52051 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52052 (UNKNOWN_ENVIRONMENT): Likewise.
52053 (confstr): Include posix-envs.def instead of handling
52054 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52055 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52056 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52057 (END_ENV_GROUP): Likewise.
52058 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52059 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52060 (UNKNOWN_ENVIRONMENT): Likewise.
52061 (__sysconf): Include posix-envs.def instead of handling associated
52062 cases directly here.
52063 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52064 preprocessing getconf-speclist.c rather than running getconf or
52065 generating empty file.
52066
52067 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
52068
52069 * scripts/check-local-headers.sh: Ignore 'mach' headers.
52070
52071 2012-11-16 Andrej Lajovic <natrij@gmail.com>
52072
52073 [BZ #14672]
52074 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52075
52076 2012-11-16 David S. Miller <davem@davemloft.net>
52077
52078 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52079 smaller than LDBL_EPSILON/2.0L, just return xm1.
52080
52081 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
52082
52083 * elf/tst-array1.c (init): Set constructor priority to 1000.
52084 (fini): Set destructor priority to 1000.
52085 * elf/tst-array2dep.c: Likewise.
52086
52087 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
52088
52089 [BZ #11741]
52090 * libio/fileops.c (_IO_new_file_write): Correctly return error.
52091 (_IO_new_file_xsputn): Also return EOF if none of the input
52092 data was written when overflow failed.
52093 * libio/iopadn.c (_IO_padn): Likewise.
52094 * libio/iowpadn.c (_IO_wpadn): Likewise.
52095 * stdio-common/tst-put-error.c: Add copyright notice.
52096 (do_test): Add case for printing padded string.
52097 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52098 _IO_padn returned error.
52099 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52100 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52101 return EOF.
52102
52103 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
52104
52105 * libio/libioP.h: Add comment note that the references to C++
52106 bits are now obsolete.
52107
52108 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52109
52110 * math/libm-test.inc (check_complex): Use asprintf.
52111
52112 2012-11-14 Joseph Myers <joseph@codesourcery.com>
52113
52114 * debug/pcprofiledump.c (print_version): Update copyright year.
52115 * malloc/memusagestat.c (print_version): Likewise.
52116
52117 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
52118
52119 [BZ #14831]
52120 * elf/Makefile (tests): Add tst-audit8.
52121 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52122 ($(objpfx)tst-audit8.out): New target.
52123 (tst-audit8-ENV): New variable.
52124 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52125 audit if l_reloc_result is NULL.
52126 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52127 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52128 * elf/tst-audit8.c: New file.
52129
52130 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52131
52132 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52133 * misc/Makefile (CFLAGS-select.c): Define.
52134 * posix/Makefile (CFLAGS-pause.c): Define.
52135
52136 2012-11-13 David S. Miller <davem@davemloft.net>
52137
52138 * crypt/Makefile: Move test targets after toplevel Rules
52139 inclusion. Grab any necessary sysdep routines when linking.
52140 * crypt/md5.c (md5_process_block): Remove define, we will always
52141 name it __md5_process_block.
52142 (md5_finish_ctx): Update md5_process_block call.
52143 (md5_stream): Likewise.
52144 (md5_process_bytes): Likewise.
52145 (md5_process_block): Rename to __md5_process_block and move to ...
52146 * crypt/md5-block.c: ... here.
52147 * crypt/sha256.c (sha256_process_block): Move to ...
52148 * crypt/sha256-block.c: ... here.
52149 * crypt/sha512.c (sha512_process_block): Move to ...
52150 * crypt/sha512-block.c: ... here.
52151 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52152 path.
52153 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52154 * sysdeps/sparc/sparc64/multiarch/Makefile
52155 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52156 crypt subdir.
52157 (localedef-aux): Add md5 crypto assembler when in locale subdir.
52158 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52159 multiarch changes.
52160 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52161 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52162 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52163 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52164 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52165 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52166 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52167 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52168 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52169 file.
52170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52171 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52172 file.
52173 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52174
52175 2012-11-13 Joseph Myers <joseph@codesourcery.com>
52176
52177 * timezone/tzselect.ksh: Update from tzcode git revision
52178 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52179 * timezone/zdump.c: Likewise.
52180 * timezone/zic.c: Likewise.
52181 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52182 in TZVERSION setting, not $(PKGVERSION).
52183 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
52184 REPORT_BUGS_TO settings.
52185
52186 [BZ #14838]
52187 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52188 macro.
52189
52190 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52191
52192 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52193 detection to immediately after _FP_ROUND().
52194 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52195 bits are 0.
52196
52197 2012-11-11 David S. Miller <davem@davemloft.net>
52198
52199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52200 inttypes.h
52201 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52202 __close rather than their public counterparts.
52203
52204 2012-11-10 Joseph Myers <joseph@codesourcery.com>
52205
52206 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52207 file.
52208 [UNIX98] (sem_timedwait): Do not expect.
52209 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52210 [XPG4 || UNIX98] (sockatmark): Do not expect.
52211 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52212 (clock_getcpuclockid): Do not expect.
52213 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52214 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52215 Do not expect.
52216 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52217 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52218 [UNIX98] (vwscanf): Likewise.
52219 [UNIX98] (vswscanf): Likewise.
52220
52221 2012-11-09 Joseph Myers <joseph@codesourcery.com>
52222
52223 * timezone/version.h: Remove file.
52224 * timezone/README: Do not refer to version.h.
52225 * timezone/Makefile ($(objpfx)zic.o): New dependency on
52226 $(objpfx)version.h.
52227 ($(objpfx)zdump.o): Likewise.
52228 ($(objpfx)version.h): New target.
52229
52230 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52231 2012i.
52232 * timezone/README: Don't mention modification to tzselect.ksh.
52233 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52234 work on unmodified tzselect.ksh. Substitute version numbers in
52235 tzselect.ksh.
52236
52237 * Makefile (format-me): Remove.
52238 (INSTALL): Adjust indentation. Use commands directly instead of
52239 using $(format-me).
52240
52241 * aclocal.m4 (ACX_PKGVERSION): New macro.
52242 (ACX_BUGURL): Likewise.
52243 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52244 (PKGVERSION): New AC_DEFINE_UNQUOTED.
52245 (REPORT_BUGS_TO): Likewise.
52246 * configure: Regenerated.
52247 * config.h.in (PKGVERSION): New macro.
52248 (REPORT_BUGS_TO): Likewise.
52249 * config.make.in (PKGVERSION): New variable.
52250 (PKGVERSION_TEXI): Likewise.
52251 (REPORT_BUGS_TO): Likewise.
52252 (REPORT_BUGS_TEXI): Likewise.
52253 * Makefile (format-me): Use -I$(common-objpfx)manual.
52254 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52255 ($(common-objpfx)manual/%): New target.
52256 (manual/%): Remove target.
52257 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52258 (print_version): Use PKGVERSION.
52259 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52260 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52261 and REPORT_BUGS_TO.
52262 ($(objpfx)xtrace): Likewise.
52263 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52264 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52265 (print_version): Use PKGVERSION.
52266 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52267 (do_version): Use PKGVERSION.
52268 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52269 REPORT_BUGS_TO.
52270 (common-ldd-rewrite): Likewise.
52271 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52272 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52273 (print_version): Use PKGVERSION.
52274 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52275 * elf/pldd.c (argp_program_bug_address): Remove variable.
52276 (more_help): New function.
52277 (argp): Use more_help.
52278 (print_version): Use PKGVERSION.
52279 * elf/sln.c (main): Use PKGVERSION.
52280 (usage): Use REPORT_BUGS_TO.
52281 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52282 (top level): Use PKGVERSION.
52283 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52284 (print_version): Use PKGVERSION.
52285 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52286 (print_version): Use PKGVERSION.
52287 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52288 (print_version): Use PKGVERSION.
52289 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52290 (print_version): Use PKGVERSION.
52291 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52292 (print_version): Use PKGVERSION.
52293 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52294 (print_version): Use PKGVERSION.
52295 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52296 and BUGURL.
52297 ($(objpfx)memusage): Likewise.
52298 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52299 (do_version): Use PKGVERSION.
52300 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52301 (print_version): Use PKGVERSION.
52302 * malloc/mtrace.pl ($PACKAGE): Remove variable.
52303 ($PKGVERSION): New variable.
52304 ($REPORT_BUGS_TO): Likewise.
52305 (usage): Use $REPORT_BUGS_TO.
52306 (top level): Use $PKGVERSION.
52307 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52308 ($(objpfx)pkgvers.texi): New rule.
52309 ($(objpfx)stamp-pkgvers): Likewise.
52310 * manual/install.texi: Include pkgvers.texi.
52311 (--with-pkgversion): Document new configure option.
52312 (--with-bugurl): Likewise.
52313 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52314 than necessarily for this particular distribution. Use
52315 REPORT_BUGS_TO for where to report bugs.
52316 * INSTALL: Regenerated.
52317 * manual/libc.texinfo: Include pkgvers.texi.
52318 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52319 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52320 (print_version): Use PKGVERSION.
52321 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52322 (print_version): Use PKGVERSION.
52323 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52324 (print_version): Use PKGVERSION.
52325 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52326 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52327 macro.
52328 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52329 (print_version): Use PKGVERSION.
52330 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52331 (print_version): Use PKGVERSION.
52332 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52333 and PKGVERSION.
52334
52335 * timezone/checktab.awk: Update from tzcode 2012i.
52336 * timezone/ialloc.c: Likewise.
52337 * timezone/private.h: Likewise.
52338 * timezone/scheck.c: Likewise.
52339 * timezone/tzfile.h: Likewise.
52340 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52341 (TZVERSION): Hardcode tzcode version number.
52342 * timezone/zdump.c: Update from tzcode 2012i.
52343 * timezone/zic.c: Likewise.
52344 * timezone/version.h: New file.
52345 * timezone/README: Describe version.h. Update upstream location.
52346
52347 [BZ #14824]
52348 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52349 (mktemp): Enable declaration.
52350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52354 Likewise.
52355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52356 Likewise.
52357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52358 Likewise.
52359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52360 Likewise.
52361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52362 Likewise.
52363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52364 Likewise.
52365
52366 [BZ #14821]
52367 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52368 offset in buffer as u_int32_t not u_long. Consistently use memcpy
52369 for copies of such integer values.
52370 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52371 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52372
52373 2012-11-09 Andreas Jaeger <aj@suse.de>
52374
52375 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52376 definitions and declarations that are provided by
52377 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52378
52379 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52380
52381 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52382 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52383 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52384 definition.
52385
52386 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52387
52388 * elf/elf.h: Update comment before AArch64 relocations.
52389
52390 2012-11-07 David S. Miller <davem@davemloft.net>
52391
52392 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52393 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52394 (__start_context): Declare.
52395 (__makecontext_ret): Delete.
52396 (__makecontext): Hook up __start_context instead of
52397 __makecontext_ret.
52398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52399 (sysdep_routines): Add __start_context when in stdlib.
52400
52401 2012-11-07 Joseph Myers <joseph@codesourcery.com>
52402
52403 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52404 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52405 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
52406 hardcoded "nm".
52407 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
52408 (READELF): New variable. Use it instead of hardcoded "readelf".
52409
52410 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
52411
52412 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52413 * sysdeps/x86/Makefile: Here.
52414 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52415 * sysdeps/x86/tst-xmmymm.sh: This.
52416
52417 2012-11-07 Joseph Myers <joseph@codesourcery.com>
52418
52419 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52420 expectations.
52421 [UNIX98] (pthread_barrier_t): Do not expect.
52422 [UNIX98] (pthread_barrierattr_t): Likewise.
52423 [UNIX98] (pthread_spinlock_t): Likewise.
52424 [UNIX98] (pthread_barrier_destroy): Likewise.
52425 [UNIX98] (pthread_barrier_init): Likewise.
52426 [UNIX98] (pthread_barrier_wait): Likewise.
52427 [UNIX98] (pthread_barrierattr_destroy): Likewise.
52428 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52429 [UNIX98] (pthread_barrierattr_init): Likewise.
52430 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52431 [UNIX98] (pthread_getcpuclockid): Likewise.
52432 [UNIX98] (pthread_mutex_timedlock): Likewise.
52433 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52434 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52435 [UNIX98] (pthread_sigmask): Likewise.
52436 [UNIX98] (pthread_spin_destroy): Likewise.
52437 [UNIX98] (pthread_spin_init): Likewise.
52438 [UNIX98] (pthread_spin_lock): Likewise.
52439 [UNIX98] (pthread_spin_trylock): Likewise.
52440 [UNIX98] (pthread_spin_unlock): Likewise.
52441 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52442 Do not expect.
52443 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52444 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52445 [XPG3 || XPG4] (pthread_cond_t): Likewise.
52446 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52447 [XPG3 || XPG4] (pthread_key_t): Likewise.
52448 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52449 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52450 [XPG3 || XPG4] (pthread_once_t): Likewise.
52451 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52452 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52453 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52454 [XPG3 || XPG4] (pthread_t): Likewise.
52455
52456 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52457 not expect.
52458 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52459
52460 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52461 Change function return type to int.
52462
52463 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52464 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52465 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52466 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52467 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52468 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52469 [!POSIX] (posix_madvise): Likewise.
52470 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52471 && !UNIX98].
52472 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52473 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52474 (mode_t): Likewise.
52475 (posix_mem_offset): Likewise.
52476 (posix_typed_mem_get_info): Likewise.
52477 (posix_typed_mem_open): Likewise.
52478
52479 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52480 Change condition to [XOPEN2K8].
52481
52482 * conform/conformtest.pl: Preprocess allow-header data with -x c
52483 instead of from stdin.
52484 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52485 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52486 [C99-based standards] (cerfc): Likewise.
52487 [C99-based standards] (cexp2): Likewise.
52488 [C99-based standards] (cexpm1): Likewise.
52489 [C99-based standards] (clog10): Likewise.
52490 [C99-based standards] (clog1p): Likewise.
52491 [C99-based standards] (clog2): Likewise.
52492 [C99-based standards] (clgamma): Likewise.
52493 [C99-based standards] (ctgamma): Likewise.
52494 [C99-based standards] (cerff): Likewise.
52495 [C99-based standards] (cerfcf): Likewise.
52496 [C99-based standards] (cexp2f): Likewise.
52497 [C99-based standards] (cexpm1f): Likewise.
52498 [C99-based standards] (clog10f): Likewise.
52499 [C99-based standards] (clog1pf): Likewise.
52500 [C99-based standards] (clog2f): Likewise.
52501 [C99-based standards] (clgammaf): Likewise.
52502 [C99-based standards] (ctgammaf): Likewise.
52503 [C99-based standards] (cerfl): Likewise.
52504 [C99-based standards] (cerfcl): Likewise.
52505 [C99-based standards] (cexp2l): Likewise.
52506 [C99-based standards] (cexpm1l): Likewise.
52507 [C99-based standards] (clog10l): Likewise.
52508 [C99-based standards] (clog1pl): Likewise.
52509 [C99-based standards] (clog2l): Likewise.
52510 [C99-based standards] (clgammal): Likewise.
52511 [C99-based standards] (ctgammal): Likewise.
52512 * conform/data/inttypes.h-data [C99-based standards]: Include
52513 stdint.h-data. Remove all expectations for stdint.h contents.
52514 [C99-based standards] (PRI*): Do not allow.
52515 [C99-based standards] (SCN*): Likewise.
52516 [C99-based standards] (*_t): Likewise.
52517 [C99-based-standards] (PRId8): Expect macro.
52518 [C99-based-standards] (PRIi8): Likewise.
52519 [C99-based-standards] (PRIo8): Likewise.
52520 [C99-based-standards] (PRIu8): Likewise.
52521 [C99-based-standards] (PRIx8): Likewise.
52522 [C99-based-standards] (PRIX8): Likewise.
52523 [C99-based-standards] (SCNd8): Likewise.
52524 [C99-based-standards] (SCNi8): Likewise.
52525 [C99-based-standards] (SCNo8): Likewise.
52526 [C99-based-standards] (SCNu8): Likewise.
52527 [C99-based-standards] (SCNx8): Likewise.
52528 [C99-based-standards] (PRIdLEAST8): Likewise.
52529 [C99-based-standards] (PRIiLEAST8): Likewise.
52530 [C99-based-standards] (PRIoLEAST8): Likewise.
52531 [C99-based-standards] (PRIuLEAST8): Likewise.
52532 [C99-based-standards] (PRIxLEAST8): Likewise.
52533 [C99-based-standards] (PRIXLEAST8): Likewise.
52534 [C99-based-standards] (SCNdLEAST8): Likewise.
52535 [C99-based-standards] (SCNiLEAST8): Likewise.
52536 [C99-based-standards] (SCNoLEAST8): Likewise.
52537 [C99-based-standards] (SCNuLEAST8): Likewise.
52538 [C99-based-standards] (SCNxLEAST8): Likewise.
52539 [C99-based-standards] (PRIdFAST8): Likewise.
52540 [C99-based-standards] (PRIiFAST8): Likewise.
52541 [C99-based-standards] (PRIoFAST8): Likewise.
52542 [C99-based-standards] (PRIuFAST8): Likewise.
52543 [C99-based-standards] (PRIxFAST8): Likewise.
52544 [C99-based-standards] (PRIXFAST8): Likewise.
52545 [C99-based-standards] (SCNdFAST8): Likewise.
52546 [C99-based-standards] (SCNiFAST8): Likewise.
52547 [C99-based-standards] (SCNoFAST8): Likewise.
52548 [C99-based-standards] (SCNuFAST8): Likewise.
52549 [C99-based-standards] (SCNxFAST8): Likewise.
52550 [C99-based-standards] (PRId16): Likewise.
52551 [C99-based-standards] (PRIi16): Likewise.
52552 [C99-based-standards] (PRIo16): Likewise.
52553 [C99-based-standards] (PRIu16): Likewise.
52554 [C99-based-standards] (PRIx16): Likewise.
52555 [C99-based-standards] (PRIX16): Likewise.
52556 [C99-based-standards] (SCNd16): Likewise.
52557 [C99-based-standards] (SCNi16): Likewise.
52558 [C99-based-standards] (SCNo16): Likewise.
52559 [C99-based-standards] (SCNu16): Likewise.
52560 [C99-based-standards] (SCNx16): Likewise.
52561 [C99-based-standards] (PRIdLEAST16): Likewise.
52562 [C99-based-standards] (PRIiLEAST16): Likewise.
52563 [C99-based-standards] (PRIoLEAST16): Likewise.
52564 [C99-based-standards] (PRIuLEAST16): Likewise.
52565 [C99-based-standards] (PRIxLEAST16): Likewise.
52566 [C99-based-standards] (PRIXLEAST16): Likewise.
52567 [C99-based-standards] (SCNdLEAST16): Likewise.
52568 [C99-based-standards] (SCNiLEAST16): Likewise.
52569 [C99-based-standards] (SCNoLEAST16): Likewise.
52570 [C99-based-standards] (SCNuLEAST16): Likewise.
52571 [C99-based-standards] (SCNxLEAST16): Likewise.
52572 [C99-based-standards] (PRIdFAST16): Likewise.
52573 [C99-based-standards] (PRIiFAST16): Likewise.
52574 [C99-based-standards] (PRIoFAST16): Likewise.
52575 [C99-based-standards] (PRIuFAST16): Likewise.
52576 [C99-based-standards] (PRIxFAST16): Likewise.
52577 [C99-based-standards] (PRIXFAST16): Likewise.
52578 [C99-based-standards] (SCNdFAST16): Likewise.
52579 [C99-based-standards] (SCNiFAST16): Likewise.
52580 [C99-based-standards] (SCNoFAST16): Likewise.
52581 [C99-based-standards] (SCNuFAST16): Likewise.
52582 [C99-based-standards] (SCNxFAST16): Likewise.
52583 [C99-based-standards] (PRId32): Likewise.
52584 [C99-based-standards] (PRIi32): Likewise.
52585 [C99-based-standards] (PRIo32): Likewise.
52586 [C99-based-standards] (PRIu32): Likewise.
52587 [C99-based-standards] (PRIx32): Likewise.
52588 [C99-based-standards] (PRIX32): Likewise.
52589 [C99-based-standards] (SCNd32): Likewise.
52590 [C99-based-standards] (SCNi32): Likewise.
52591 [C99-based-standards] (SCNo32): Likewise.
52592 [C99-based-standards] (SCNu32): Likewise.
52593 [C99-based-standards] (SCNx32): Likewise.
52594 [C99-based-standards] (PRIdLEAST32): Likewise.
52595 [C99-based-standards] (PRIiLEAST32): Likewise.
52596 [C99-based-standards] (PRIoLEAST32): Likewise.
52597 [C99-based-standards] (PRIuLEAST32): Likewise.
52598 [C99-based-standards] (PRIxLEAST32): Likewise.
52599 [C99-based-standards] (PRIXLEAST32): Likewise.
52600 [C99-based-standards] (SCNdLEAST32): Likewise.
52601 [C99-based-standards] (SCNiLEAST32): Likewise.
52602 [C99-based-standards] (SCNoLEAST32): Likewise.
52603 [C99-based-standards] (SCNuLEAST32): Likewise.
52604 [C99-based-standards] (SCNxLEAST32): Likewise.
52605 [C99-based-standards] (PRIdFAST32): Likewise.
52606 [C99-based-standards] (PRIiFAST32): Likewise.
52607 [C99-based-standards] (PRIoFAST32): Likewise.
52608 [C99-based-standards] (PRIuFAST32): Likewise.
52609 [C99-based-standards] (PRIxFAST32): Likewise.
52610 [C99-based-standards] (PRIXFAST32): Likewise.
52611 [C99-based-standards] (SCNdFAST32): Likewise.
52612 [C99-based-standards] (SCNiFAST32): Likewise.
52613 [C99-based-standards] (SCNoFAST32): Likewise.
52614 [C99-based-standards] (SCNuFAST32): Likewise.
52615 [C99-based-standards] (SCNxFAST32): Likewise.
52616 [C99-based-standards] (PRId64): Likewise.
52617 [C99-based-standards] (PRIi64): Likewise.
52618 [C99-based-standards] (PRIo64): Likewise.
52619 [C99-based-standards] (PRIu64): Likewise.
52620 [C99-based-standards] (PRIx64): Likewise.
52621 [C99-based-standards] (PRIX64): Likewise.
52622 [C99-based-standards] (SCNd64): Likewise.
52623 [C99-based-standards] (SCNi64): Likewise.
52624 [C99-based-standards] (SCNo64): Likewise.
52625 [C99-based-standards] (SCNu64): Likewise.
52626 [C99-based-standards] (SCNx64): Likewise.
52627 [C99-based-standards] (PRIdLEAST64): Likewise.
52628 [C99-based-standards] (PRIiLEAST64): Likewise.
52629 [C99-based-standards] (PRIoLEAST64): Likewise.
52630 [C99-based-standards] (PRIuLEAST64): Likewise.
52631 [C99-based-standards] (PRIxLEAST64): Likewise.
52632 [C99-based-standards] (PRIXLEAST64): Likewise.
52633 [C99-based-standards] (SCNdLEAST64): Likewise.
52634 [C99-based-standards] (SCNiLEAST64): Likewise.
52635 [C99-based-standards] (SCNoLEAST64): Likewise.
52636 [C99-based-standards] (SCNuLEAST64): Likewise.
52637 [C99-based-standards] (SCNxLEAST64): Likewise.
52638 [C99-based-standards] (PRIdFAST64): Likewise.
52639 [C99-based-standards] (PRIiFAST64): Likewise.
52640 [C99-based-standards] (PRIoFAST64): Likewise.
52641 [C99-based-standards] (PRIuFAST64): Likewise.
52642 [C99-based-standards] (PRIxFAST64): Likewise.
52643 [C99-based-standards] (PRIXFAST64): Likewise.
52644 [C99-based-standards] (SCNdFAST64): Likewise.
52645 [C99-based-standards] (SCNiFAST64): Likewise.
52646 [C99-based-standards] (SCNoFAST64): Likewise.
52647 [C99-based-standards] (SCNuFAST64): Likewise.
52648 [C99-based-standards] (SCNxFAST64): Likewise.
52649 [C99-based-standards] (PRIdMAX): Likewise.
52650 [C99-based-standards] (PRIiMAX): Likewise.
52651 [C99-based-standards] (PRIoMAX): Likewise.
52652 [C99-based-standards] (PRIuMAX): Likewise.
52653 [C99-based-standards] (PRIxMAX): Likewise.
52654 [C99-based-standards] (PRIXMAX): Likewise.
52655 [C99-based-standards] (SCNdMAX): Likewise.
52656 [C99-based-standards] (SCNiMAX): Likewise.
52657 [C99-based-standards] (SCNoMAX): Likewise.
52658 [C99-based-standards] (SCNuMAX): Likewise.
52659 [C99-based-standards] (SCNxMAX): Likewise.
52660 [C99-based-standards] (PRIdPTR): Likewise.
52661 [C99-based-standards] (PRIiPTR): Likewise.
52662 [C99-based-standards] (PRIoPTR): Likewise.
52663 [C99-based-standards] (PRIuPTR): Likewise.
52664 [C99-based-standards] (PRIxPTR): Likewise.
52665 [C99-based-standards] (PRIXPTR): Likewise.
52666 [C99-based-standards] (SCNdPTR): Likewise.
52667 [C99-based-standards] (SCNiPTR): Likewise.
52668 [C99-based-standards] (SCNoPTR): Likewise.
52669 [C99-based-standards] (SCNuPTR): Likewise.
52670 [C99-based-standards] (SCNxPTR): Likewise.
52671 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52672 allow.
52673 * conform/data/stdint.h-data: Update comments to clarify
52674 requirements.
52675 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
52676 type.
52677 [C99-based standards] (INT8_MAX): Likewise.
52678 [C99-based standards] (INT16_MIN): Likewise.
52679 [C99-based standards] (INT16_MAX): Likewise.
52680 [C99-based standards] (INT32_MIN): Likewise.
52681 [C99-based standards] (INT32_MAX): Likewise.
52682 [C99-based standards] (INT64_MIN): Likewise.
52683 [C99-based standards] (INT64_MAX): Likewise.
52684 [C99-based standards] (UINT8_MAX): Likewise.
52685 [C99-based standards] (UINT16_MAX): Likewise.
52686 [C99-based standards] (UINT32_MAX): Likewise.
52687 [C99-based standards] (UINT64_MAX): Likewise.
52688 [C99-based standards] (INT_LEAST8_MIN): Likewise.
52689 [C99-based standards] (INT_LEAST8_MAX): Likewise.
52690 [C99-based standards] (INT_LEAST16_MIN): Likewise.
52691 [C99-based standards] (INT_LEAST16_MAX): Likewise.
52692 [C99-based standards] (INT_LEAST32_MIN): Likewise.
52693 [C99-based standards] (INT_LEAST32_MAX): Likewise.
52694 [C99-based standards] (INT_LEAST64_MIN): Likewise.
52695 [C99-based standards] (INT_LEAST64_MAX): Likewise.
52696 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52697 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52698 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52699 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52700 [C99-based standards] (INT_FAST8_MIN): Likewise.
52701 [C99-based standards] (INT_FAST8_MAX): Likewise.
52702 [C99-based standards] (INT_FAST16_MIN): Likewise.
52703 [C99-based standards] (INT_FAST16_MAX): Likewise.
52704 [C99-based standards] (INT_FAST32_MIN): Likewise.
52705 [C99-based standards] (INT_FAST32_MAX): Likewise.
52706 [C99-based standards] (INT_FAST64_MIN): Likewise.
52707 [C99-based standards] (INT_FAST64_MAX): Likewise.
52708 [C99-based standards] (UINT_FAST8_MAX): Likewise.
52709 [C99-based standards] (UINT_FAST16_MAX): Likewise.
52710 [C99-based standards] (UINT_FAST32_MAX): Likewise.
52711 [C99-based standards] (UINT_FAST64_MAX): Likewise.
52712 [C99-based standards] (INTPTR_MIN): Likewise.
52713 [C99-based standards] (INTPTR_MAX): Likewise.
52714 [C99-based standards] (UINTPTR_MAX): Likewise.
52715 [C99-based standards] (INTMAX_MIN): Likewise.
52716 [C99-based standards] (INTMAX_MAX): Likewise.
52717 [C99-based standards] (UINTMAX_MAX): Likewise.
52718 [C99-based standards] (PTRDIFF_MIN): Likewise.
52719 [C99-based standards] (PTRDIFF_MAX): Likewise.
52720 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52721 [C99-based standards] (SIZE_MAX): Likewise.
52722 [C99-based standards] (WCHAR_MAX): Likewise.
52723 [C99-based standards] (WINT_MAX): Likewise.
52724 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
52725 constraint on value.
52726 [C99-based standards] (WCHAR_MIN): Likewise.
52727 [C99-based standards] (WINT_MIN): Likewise.
52728 [C99-based standards] (*_t): Allow.
52729 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52730 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52731 Include math.h-data and complex.h-data. Remove all expectations
52732 of math.h and complex.h contents.
52733 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52734 at end of line.
52735 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52736 (struct tm): Expect tag.
52737 [C99-based-standards] (wcstof): Expect function.
52738 [C99-based-standards] (wcstold): Likewise.
52739 [C99-based-standards] (wcstoll): Likewise.
52740 [C99-based-standards] (wcstoull): Likewise.
52741 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52742 macro-int-constant. Specify type.
52743 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
52744 constraint on value.
52745 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52746 Specify type.
52747 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52748 Specify value.
52749 [ISO C standards]: Do not allow headers.
52750 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52751 wcs[abcdefghijklmnopqrstuvwxyz]*.
52752 [ISO C standards] (*_t): Do not allow.
52753 * conform/data/wctype.h-data [C99-based standards] (iswblank):
52754 Expect function.
52755 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52756 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52757 Specify type.
52758 [ISO C standards]: Do not allow headers.
52759 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52760 is[abcdefghijklmnopqrstuvwxyz]*.
52761 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52762 to[abcdefghijklmnopqrstuvwxyz]*.
52763 [ISO C standards] (*_t): Do not allow.
52764 * conform/data/stdalign.h-data: New file.
52765 * conform/data/stdbool.h-data: Likewise.
52766 * conform/data/stdnoreturn.h-data: Likewise.
52767
52768 2012-11-07 Roland McGrath <roland@hack.frob.com>
52769
52770 [BZ #14815]
52771 * manual/filesys.texi (Directory Entries): Typo fix.
52772 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52773
52774 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52775
52776 * elf/elf.h (EM_AARCH64): New macro.
52777 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52778 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52779 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52780 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52781 (R_AARCH64_TLSDESC): Likewise.
52782 (NT_ARM_TLS): Likewise.
52783 (NT_ARM_HW_BREAK): Likewise.
52784 (NT_ARM_HW_WATCH): Likewise.
52785
52786 2012-11-07 Joseph Myers <joseph@codesourcery.com>
52787
52788 [BZ #14811]
52789 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52790 (__ieee754_powl): Saturate nonzero exponents with absolute value
52791 below 0x1p-79 to +/- 0x1p-79.
52792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52793 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52794 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52795 nonzero exponents with absolute value below 0x1p-32 to +/-
52796 0x1p-32.
52797 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52798 (__ieee754_powl): Saturate nonzero exponents with absolute value
52799 below 0x1p-79 to +/- 0x1p-79.
52800 * math/libm-test.inc (pow_test): Add more tests.
52801
52802 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52803
52804 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52805 _dl_s390_cap_flags with kernel. Increase string length.
52806 (_dl_s390_platforms): Add z196 and zEC12.
52807
52808 2012-11-07 Joseph Myers <joseph@codesourcery.com>
52809
52810 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52811 Change XOPEN21K to XOPEN2K.
52812
52813 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
52814
52815 * string/memmove.c: Use memcpy when possible.
52816
52817 2012-11-06 Andreas Jaeger <aj@suse.de>
52818
52819 * po/eo.po: Update from translation team.
52820
52821 2012-11-06 Joseph Myers <joseph@codesourcery.com>
52822
52823 [BZ #14793]
52824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52825 exponent and small x and y exponents, scale x or y up. Increase
52826 by 2 the exponent used in scaling up.
52827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52829 * math/libm-test.inc (fma_test): Add more tests.
52830 (fma_test_towardzero): Likewise.
52831 (fma_test_downward): Likewise.
52832 (fma_test_upward): Likewise.
52833
52834 2012-11-05 Joseph Myers <joseph@codesourcery.com>
52835
52836 [BZ #14805]
52837 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52838 fenv_t *.
52839
52840 [BZ #14801]
52841 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52842 namespace for names of struct fields.
52843 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52844 fenv_t fields.
52845 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52846 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52847
52848 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52849
52850 [BZ #3665]
52851 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52852
52853 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
52854
52855 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52856 PTR_DEMANGLE.
52857
52858 [BZ #5246]
52859 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52860 PTR_DEMANGLE.
52861
52862 2012-11-04 Joseph Myers <joseph@codesourcery.com>
52863
52864 [BZ #14797]
52865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52866 definitely overflow as x * y not x * y + z.
52867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52869 * math/libm-test.inc (fma_test): Add more tests.
52870 (fma_test_towardzero): Likewise.
52871 (fma_test_downward): Likewise.
52872 (fma_test_upward): Likewise.
52873
52874 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
52875
52876 [BZ #157]
52877
52878 * include/stub-tag.h: Remove file.
52879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52880 '#include' of it.
52881 * manual/maint.texi (Porting): Don't reference it.
52882 * Makerules ($(objpfx)stubs): Likewise.
52883 * dirent/closedir.c: Don't include <stub-tag.h>.
52884 * dirent/dirfd.c: Likewise.
52885 * dirent/fdopendir.c: Likewise.
52886 * dirent/getdents.c: Likewise.
52887 * dirent/getdents64.c: Likewise.
52888 * dirent/opendir.c: Likewise.
52889 * dirent/readdir.c: Likewise.
52890 * dirent/readdir64.c: Likewise.
52891 * dirent/readdir64_r.c: Likewise.
52892 * dirent/readdir_r.c: Likewise.
52893 * dirent/rewinddir.c: Likewise.
52894 * dirent/seekdir.c: Likewise.
52895 * dirent/telldir.c: Likewise.
52896 * gmon/profil.c: Likewise.
52897 * grp/setgroups.c: Likewise.
52898 * inet/if_index.c: Likewise.
52899 * io/access.c: Likewise.
52900 * io/chdir.c: Likewise.
52901 * io/chmod.c: Likewise.
52902 * io/chown.c: Likewise.
52903 * io/close.c: Likewise.
52904 * io/dup.c: Likewise.
52905 * io/dup2.c: Likewise.
52906 * io/dup3.c: Likewise.
52907 * io/euidaccess.c: Likewise.
52908 * io/faccessat.c: Likewise.
52909 * io/fchdir.c: Likewise.
52910 * io/fchmod.c: Likewise.
52911 * io/fchmodat.c: Likewise.
52912 * io/fchown.c: Likewise.
52913 * io/fchownat.c: Likewise.
52914 * io/fcntl.c: Likewise.
52915 * io/flock.c: Likewise.
52916 * io/fstatfs.c: Likewise.
52917 * io/fstatfs64.c: Likewise.
52918 * io/fstatvfs.c: Likewise.
52919 * io/fstatvfs64.c: Likewise.
52920 * io/futimens.c: Likewise.
52921 * io/fxstat.c: Likewise.
52922 * io/fxstat64.c: Likewise.
52923 * io/fxstatat.c: Likewise.
52924 * io/fxstatat64.c: Likewise.
52925 * io/getcwd.c: Likewise.
52926 * io/isatty.c: Likewise.
52927 * io/lchmod.c: Likewise.
52928 * io/lchown.c: Likewise.
52929 * io/link.c: Likewise.
52930 * io/linkat.c: Likewise.
52931 * io/lseek.c: Likewise.
52932 * io/lseek64.c: Likewise.
52933 * io/lxstat64.c: Likewise.
52934 * io/mkdir.c: Likewise.
52935 * io/mkdirat.c: Likewise.
52936 * io/mkfifo.c: Likewise.
52937 * io/mkfifoat.c: Likewise.
52938 * io/open.c: Likewise.
52939 * io/open64.c: Likewise.
52940 * io/openat.c: Likewise.
52941 * io/openat64.c: Likewise.
52942 * io/pipe.c: Likewise.
52943 * io/pipe2.c: Likewise.
52944 * io/poll.c: Likewise.
52945 * io/posix_fadvise.c: Likewise.
52946 * io/posix_fadvise64.c: Likewise.
52947 * io/posix_fallocate.c: Likewise.
52948 * io/posix_fallocate64.c: Likewise.
52949 * io/read.c: Likewise.
52950 * io/readlink.c: Likewise.
52951 * io/readlinkat.c: Likewise.
52952 * io/rmdir.c: Likewise.
52953 * io/sendfile.c: Likewise.
52954 * io/sendfile64.c: Likewise.
52955 * io/statfs.c: Likewise.
52956 * io/statfs64.c: Likewise.
52957 * io/statvfs.c: Likewise.
52958 * io/statvfs64.c: Likewise.
52959 * io/symlink.c: Likewise.
52960 * io/symlinkat.c: Likewise.
52961 * io/ttyname.c: Likewise.
52962 * io/ttyname_r.c: Likewise.
52963 * io/umask.c: Likewise.
52964 * io/unlink.c: Likewise.
52965 * io/unlinkat.c: Likewise.
52966 * io/utime.c: Likewise.
52967 * io/utimensat.c: Likewise.
52968 * io/write.c: Likewise.
52969 * io/xmknod.c: Likewise.
52970 * io/xmknodat.c: Likewise.
52971 * io/xstat.c: Likewise.
52972 * io/xstat64.c: Likewise.
52973 * login/getpt.c: Likewise.
52974 * login/grantpt.c: Likewise.
52975 * login/unlockpt.c: Likewise.
52976 * math/e_acoshl.c: Likewise.
52977 * math/e_acosl.c: Likewise.
52978 * math/e_asinl.c: Likewise.
52979 * math/e_atan2l.c: Likewise.
52980 * math/e_atanhl.c: Likewise.
52981 * math/e_coshl.c: Likewise.
52982 * math/e_expl.c: Likewise.
52983 * math/e_fmodl.c: Likewise.
52984 * math/e_gammal_r.c: Likewise.
52985 * math/e_hypotl.c: Likewise.
52986 * math/e_j0l.c: Likewise.
52987 * math/e_j1l.c: Likewise.
52988 * math/e_jnl.c: Likewise.
52989 * math/e_lgammal_r.c: Likewise.
52990 * math/e_log10l.c: Likewise.
52991 * math/e_log2l.c: Likewise.
52992 * math/e_logl.c: Likewise.
52993 * math/e_powl.c: Likewise.
52994 * math/e_rem_pio2l.c: Likewise.
52995 * math/e_sinhl.c: Likewise.
52996 * math/e_sqrtl.c: Likewise.
52997 * math/fclrexcpt.c: Likewise.
52998 * math/fedisblxcpt.c: Likewise.
52999 * math/feenablxcpt.c: Likewise.
53000 * math/fegetenv.c: Likewise.
53001 * math/fegetexcept.c: Likewise.
53002 * math/fegetround.c: Likewise.
53003 * math/feholdexcpt.c: Likewise.
53004 * math/fesetenv.c: Likewise.
53005 * math/fesetround.c: Likewise.
53006 * math/feupdateenv.c: Likewise.
53007 * math/fgetexcptflg.c: Likewise.
53008 * math/fraiseexcpt.c: Likewise.
53009 * math/fsetexcptflg.c: Likewise.
53010 * math/ftestexcept.c: Likewise.
53011 * math/k_cosl.c: Likewise.
53012 * math/k_rem_pio2l.c: Likewise.
53013 * math/k_sinl.c: Likewise.
53014 * math/k_tanl.c: Likewise.
53015 * math/s_asinhl.c: Likewise.
53016 * math/s_atanl.c: Likewise.
53017 * math/s_cbrtl.c: Likewise.
53018 * math/s_erfl.c: Likewise.
53019 * math/s_expm1l.c: Likewise.
53020 * math/s_log1pl.c: Likewise.
53021 * math/s_tanhl.c: Likewise.
53022 * misc/acct.c: Likewise.
53023 * misc/brk.c: Likewise.
53024 * misc/chflags.c: Likewise.
53025 * misc/chroot.c: Likewise.
53026 * misc/fchflags.c: Likewise.
53027 * misc/fgetxattr.c: Likewise.
53028 * misc/flistxattr.c: Likewise.
53029 * misc/fremovexattr.c: Likewise.
53030 * misc/fsetxattr.c: Likewise.
53031 * misc/fsync.c: Likewise.
53032 * misc/ftruncate.c: Likewise.
53033 * misc/futimes.c: Likewise.
53034 * misc/futimesat.c: Likewise.
53035 * misc/getdomain.c: Likewise.
53036 * misc/getdtsz.c: Likewise.
53037 * misc/gethostid.c: Likewise.
53038 * misc/gethostname.c: Likewise.
53039 * misc/getloadavg.c: Likewise.
53040 * misc/getpagesize.c: Likewise.
53041 * misc/getsysstats.c: Likewise.
53042 * misc/getxattr.c: Likewise.
53043 * misc/gtty.c: Likewise.
53044 * misc/ioctl.c: Likewise.
53045 * misc/lgetxattr.c: Likewise.
53046 * misc/listxattr.c: Likewise.
53047 * misc/llistxattr.c: Likewise.
53048 * misc/lremovexattr.c: Likewise.
53049 * misc/lsetxattr.c: Likewise.
53050 * misc/lutimes.c: Likewise.
53051 * misc/madvise.c: Likewise.
53052 * misc/mincore.c: Likewise.
53053 * misc/mlock.c: Likewise.
53054 * misc/mlockall.c: Likewise.
53055 * misc/mmap.c: Likewise.
53056 * misc/mprotect.c: Likewise.
53057 * misc/msync.c: Likewise.
53058 * misc/munlock.c: Likewise.
53059 * misc/munlockall.c: Likewise.
53060 * misc/munmap.c: Likewise.
53061 * misc/preadv.c: Likewise.
53062 * misc/preadv64.c: Likewise.
53063 * misc/ptrace.c: Likewise.
53064 * misc/pwritev.c: Likewise.
53065 * misc/pwritev64.c: Likewise.
53066 * misc/readv.c: Likewise.
53067 * misc/reboot.c: Likewise.
53068 * misc/remap_file_pages.c: Likewise.
53069 * misc/removexattr.c: Likewise.
53070 * misc/revoke.c: Likewise.
53071 * misc/select.c: Likewise.
53072 * misc/setdomain.c: Likewise.
53073 * misc/setegid.c: Likewise.
53074 * misc/seteuid.c: Likewise.
53075 * misc/sethostid.c: Likewise.
53076 * misc/sethostname.c: Likewise.
53077 * misc/setregid.c: Likewise.
53078 * misc/setreuid.c: Likewise.
53079 * misc/setxattr.c: Likewise.
53080 * misc/sstk.c: Likewise.
53081 * misc/stty.c: Likewise.
53082 * misc/swapoff.c: Likewise.
53083 * misc/swapon.c: Likewise.
53084 * misc/sync.c: Likewise.
53085 * misc/syncfs.c: Likewise.
53086 * misc/syscall.c: Likewise.
53087 * misc/truncate.c: Likewise.
53088 * misc/ualarm.c: Likewise.
53089 * misc/usleep.c: Likewise.
53090 * misc/ustat.c: Likewise.
53091 * misc/utimes.c: Likewise.
53092 * misc/vhangup.c: Likewise.
53093 * misc/writev.c: Likewise.
53094 * posix/_exit.c: Likewise.
53095 * posix/alarm.c: Likewise.
53096 * posix/execve.c: Likewise.
53097 * posix/fexecve.c: Likewise.
53098 * posix/fork.c: Likewise.
53099 * posix/fpathconf.c: Likewise.
53100 * posix/getaddrinfo.c: Likewise.
53101 * posix/getegid.c: Likewise.
53102 * posix/geteuid.c: Likewise.
53103 * posix/getgid.c: Likewise.
53104 * posix/getgroups.c: Likewise.
53105 * posix/getlogin.c: Likewise.
53106 * posix/getlogin_r.c: Likewise.
53107 * posix/getpgid.c: Likewise.
53108 * posix/getpid.c: Likewise.
53109 * posix/getppid.c: Likewise.
53110 * posix/getresgid.c: Likewise.
53111 * posix/getresuid.c: Likewise.
53112 * posix/getsid.c: Likewise.
53113 * posix/getuid.c: Likewise.
53114 * posix/glob64.c: Likewise.
53115 * posix/nanosleep.c: Likewise.
53116 * posix/pathconf.c: Likewise.
53117 * posix/pause.c: Likewise.
53118 * posix/posix_madvise.c: Likewise.
53119 * posix/pread.c: Likewise.
53120 * posix/pread64.c: Likewise.
53121 * posix/pwrite.c: Likewise.
53122 * posix/pwrite64.c: Likewise.
53123 * posix/sched_getaffinity.c: Likewise.
53124 * posix/sched_getp.c: Likewise.
53125 * posix/sched_gets.c: Likewise.
53126 * posix/sched_primax.c: Likewise.
53127 * posix/sched_primin.c: Likewise.
53128 * posix/sched_rr_gi.c: Likewise.
53129 * posix/sched_setaffinity.c: Likewise.
53130 * posix/sched_setp.c: Likewise.
53131 * posix/sched_sets.c: Likewise.
53132 * posix/sched_yield.c: Likewise.
53133 * posix/setgid.c: Likewise.
53134 * posix/setlogin.c: Likewise.
53135 * posix/setpgid.c: Likewise.
53136 * posix/setresgid.c: Likewise.
53137 * posix/setresuid.c: Likewise.
53138 * posix/setsid.c: Likewise.
53139 * posix/setuid.c: Likewise.
53140 * posix/sleep.c: Likewise.
53141 * posix/spawni.c: Likewise.
53142 * posix/sysconf.c: Likewise.
53143 * posix/times.c: Likewise.
53144 * posix/wait.c: Likewise.
53145 * posix/wait3.c: Likewise.
53146 * posix/wait4.c: Likewise.
53147 * posix/waitpid.c: Likewise.
53148 * resolv/gai_sigqueue.c: Likewise.
53149 * resource/getpriority.c: Likewise.
53150 * resource/getrlimit.c: Likewise.
53151 * resource/getrusage.c: Likewise.
53152 * resource/nice.c: Likewise.
53153 * resource/setpriority.c: Likewise.
53154 * resource/setrlimit.c: Likewise.
53155 * resource/ulimit.c: Likewise.
53156 * rt/aio_cancel.c: Likewise.
53157 * rt/aio_fsync.c: Likewise.
53158 * rt/aio_read.c: Likewise.
53159 * rt/aio_sigqueue.c: Likewise.
53160 * rt/aio_suspend.c: Likewise.
53161 * rt/aio_write.c: Likewise.
53162 * rt/clock_getres.c: Likewise.
53163 * rt/clock_gettime.c: Likewise.
53164 * rt/clock_nanosleep.c: Likewise.
53165 * rt/clock_settime.c: Likewise.
53166 * rt/lio_listio.c: Likewise.
53167 * rt/mq_close.c: Likewise.
53168 * rt/mq_getattr.c: Likewise.
53169 * rt/mq_notify.c: Likewise.
53170 * rt/mq_open.c: Likewise.
53171 * rt/mq_receive.c: Likewise.
53172 * rt/mq_send.c: Likewise.
53173 * rt/mq_setattr.c: Likewise.
53174 * rt/mq_timedreceive.c: Likewise.
53175 * rt/mq_timedsend.c: Likewise.
53176 * rt/mq_unlink.c: Likewise.
53177 * rt/shm_open.c: Likewise.
53178 * rt/shm_unlink.c: Likewise.
53179 * rt/timer_create.c: Likewise.
53180 * rt/timer_delete.c: Likewise.
53181 * rt/timer_getoverr.c: Likewise.
53182 * rt/timer_gettime.c: Likewise.
53183 * rt/timer_settime.c: Likewise.
53184 * setjmp/__longjmp.c: Likewise.
53185 * setjmp/setjmp.c: Likewise.
53186 * signal/kill.c: Likewise.
53187 * signal/killpg.c: Likewise.
53188 * signal/raise.c: Likewise.
53189 * signal/sigaction.c: Likewise.
53190 * signal/sigaltstack.c: Likewise.
53191 * signal/sigblock.c: Likewise.
53192 * signal/sigignore.c: Likewise.
53193 * signal/sigintr.c: Likewise.
53194 * signal/signal.c: Likewise.
53195 * signal/sigpause.c: Likewise.
53196 * signal/sigpending.c: Likewise.
53197 * signal/sigqueue.c: Likewise.
53198 * signal/sigreturn.c: Likewise.
53199 * signal/sigset.c: Likewise.
53200 * signal/sigsetmask.c: Likewise.
53201 * signal/sigstack.c: Likewise.
53202 * signal/sigsuspend.c: Likewise.
53203 * signal/sigtimedwait.c: Likewise.
53204 * signal/sigvec.c: Likewise.
53205 * signal/sigwait.c: Likewise.
53206 * signal/sigwaitinfo.c: Likewise.
53207 * signal/sysv_signal.c: Likewise.
53208 * socket/accept.c: Likewise.
53209 * socket/accept4.c: Likewise.
53210 * socket/bind.c: Likewise.
53211 * socket/connect.c: Likewise.
53212 * socket/getpeername.c: Likewise.
53213 * socket/getsockname.c: Likewise.
53214 * socket/getsockopt.c: Likewise.
53215 * socket/isfdtype.c: Likewise.
53216 * socket/listen.c: Likewise.
53217 * socket/recv.c: Likewise.
53218 * socket/recvfrom.c: Likewise.
53219 * socket/recvmsg.c: Likewise.
53220 * socket/send.c: Likewise.
53221 * socket/sendmsg.c: Likewise.
53222 * socket/sendto.c: Likewise.
53223 * socket/setsockopt.c: Likewise.
53224 * socket/shutdown.c: Likewise.
53225 * socket/sockatmark.c: Likewise.
53226 * socket/socket.c: Likewise.
53227 * socket/socketpair.c: Likewise.
53228 * stdio-common/ctermid.c: Likewise.
53229 * stdio-common/cuserid.c: Likewise.
53230 * stdio-common/remove.c: Likewise.
53231 * stdio-common/rename.c: Likewise.
53232 * stdio-common/renameat.c: Likewise.
53233 * stdio-common/tempname.c: Likewise.
53234 * stdlib/getcontext.c: Likewise.
53235 * stdlib/makecontext.c: Likewise.
53236 * stdlib/setcontext.c: Likewise.
53237 * stdlib/swapcontext.c: Likewise.
53238 * stdlib/system.c: Likewise.
53239 * streams/fattach.c: Likewise.
53240 * streams/fdetach.c: Likewise.
53241 * streams/getmsg.c: Likewise.
53242 * streams/getpmsg.c: Likewise.
53243 * streams/putmsg.c: Likewise.
53244 * streams/putpmsg.c: Likewise.
53245 * sysdeps/unix/bsd/getpt.c: Likewise.
53246 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53247 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53248 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53250 Likewise.
53251 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53252 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53253 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53254 * sysvipc/msgctl.c: Likewise.
53255 * sysvipc/msgget.c: Likewise.
53256 * sysvipc/msgrcv.c: Likewise.
53257 * sysvipc/msgsnd.c: Likewise.
53258 * sysvipc/semctl.c: Likewise.
53259 * sysvipc/semget.c: Likewise.
53260 * sysvipc/semop.c: Likewise.
53261 * sysvipc/semtimedop.c: Likewise.
53262 * sysvipc/shmat.c: Likewise.
53263 * sysvipc/shmctl.c: Likewise.
53264 * sysvipc/shmdt.c: Likewise.
53265 * sysvipc/shmget.c: Likewise.
53266 * termios/tcdrain.c: Likewise.
53267 * termios/tcflow.c: Likewise.
53268 * termios/tcflush.c: Likewise.
53269 * termios/tcgetattr.c: Likewise.
53270 * termios/tcgetpgrp.c: Likewise.
53271 * termios/tcsendbrk.c: Likewise.
53272 * termios/tcsetattr.c: Likewise.
53273 * termios/tcsetpgrp.c: Likewise.
53274 * time/adjtime.c: Likewise.
53275 * time/clock.c: Likewise.
53276 * time/getitimer.c: Likewise.
53277 * time/gettimeofday.c: Likewise.
53278 * time/setitimer.c: Likewise.
53279 * time/settimeofday.c: Likewise.
53280 * time/stime.c: Likewise.
53281 * time/time.c: Likewise.
53282
53283 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
53284
53285 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53286 /usr/old/bin.
53287
53288 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53289 instead of spaces.
53290 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53291
53292 2012-11-03 Joseph Myers <joseph@codesourcery.com>
53293
53294 [BZ #14796]
53295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53296 FE_TONEAREST before applying Dekker multiplication and Knuth
53297 addition. Clear inexact exceptions and check for exact zero
53298 results afterwards.
53299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53300 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53302 * math/libm-test.inc (fma_test): Add more tests.
53303 (fma_test_towardzero): Likewise.
53304 (fma_test_downward): Likewise.
53305 (fma_test_upward): Likewise.
53306 * sysdeps/generic/math_private.h (default_libc_fesetround): New
53307 function.
53308 (libc_fesetround): New macro.
53309 (libc_fesetroundf): Likewise.
53310 (libc_fesetroundl): Likewise.
53311 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53312 function.
53313 (libc_fesetround_387): Likewise.
53314 (libc_fesetroundf): New macro.
53315 (libc_fesetround): Likewise.
53316 (libc_fesetroundl): Likewise.
53317 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53318 function.
53319 (libc_fesetroundf): New macro.
53320 (libc_fesetround): Likewise.
53321 (libc_fesetroundl): Likewise.
53322 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53323 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53324 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53325 libm_hidden_ver.
53326 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53327 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53328 libm_hidden_def.
53329 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53330 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53331 libm_hidden_ver.
53332 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53333 libm_hidden_def.
53334
53335 [BZ #3439]
53336 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53337 integer constant usable in #if and use that to give value to enum
53338 constant.
53339 (FE_DIVBYZERO): Likewise.
53340 (FE_UNDERFLOW): Likewise.
53341 (FE_OVERFLOW): Likewise.
53342 (FE_INVALID): Likewise.
53343 (FE_INVALID_SNAN): Likewise.
53344 (FE_INVALID_ISI): Likewise.
53345 (FE_INVALID_IDI): Likewise.
53346 (FE_INVALID_ZDZ): Likewise.
53347 (FE_INVALID_IMZ): Likewise.
53348 (FE_INVALID_COMPARE): Likewise.
53349 (FE_INVALID_SOFTWARE): Likewise.
53350 (FE_INVALID_SQRT): Likewise.
53351 (FE_INVALID_INTEGER_CONVERSION): Likewise.
53352 (FE_TONEAREST): Likewise.
53353 (FE_TOWARDZERO): Likewise.
53354 (FE_UPWARD): Likewise.
53355 (FE_DOWNWARD): Likewise.
53356 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53357 (FE_DIVBYZERO): Likewise.
53358 (FE_OVERFLOW): Likewise.
53359 (FE_UNDERFLOW): Likewise.
53360 (FE_INEXACT): Likewise.
53361 (FE_TONEAREST): Likewise.
53362 (FE_DOWNWARD): Likewise.
53363 (FE_UPWARD): Likewise.
53364 (FE_TOWARDZERO): Likewise.
53365 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53366 (FE_UNDERFLOW): Likewise.
53367 (FE_OVERFLOW): Likewise.
53368 (FE_DIVBYZERO): Likewise.
53369 (FE_INVALID): Likewise.
53370 (FE_TONEAREST): Likewise.
53371 (FE_TOWARDZERO): Likewise.
53372 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53373 (FE_OVERFLOW): Likewise.
53374 (FE_UNDERFLOW): Likewise.
53375 (FE_DIVBYZERO): Likewise.
53376 (FE_INEXACT): Likewise.
53377 (FE_TONEAREST): Likewise.
53378 (FE_TOWARDZERO): Likewise.
53379 (FE_UPWARD): Likewise.
53380 (FE_DOWNWARD): Likewise.
53381 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53382 (FE_DIVBYZERO): Likewise.
53383 (FE_OVERFLOW): Likewise.
53384 (FE_UNDERFLOW): Likewise.
53385 (FE_INEXACT): Likewise.
53386 (FE_TONEAREST): Likewise.
53387 (FE_DOWNWARD): Likewise.
53388 (FE_UPWARD): Likewise.
53389 (FE_TOWARDZERO): Likewise.
53390
53391 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
53392
53393 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53394
53395 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
53396
53397 * scripts/cross-test-ssh.sh (command): Use newlines to separate
53398 commands. Quote $PWD.
53399 (blacklist_exports): Don't use remove_newlines. Replace "declare
53400 -x" by "export".
53401 (remove_newlines): Remove.
53402
53403 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
53404
53405 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53406 * stdlib/stdlib.h (atof): Moved to ...
53407 * include/bits/stdlib-float.h: Here. New file.
53408 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53409 * stdlib/bits/stdlib-float.h: New file.
53410 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53411 -mno-sse -mno-mmx.
53412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53413 <xmmintrin.h>.
53414
53415 2012-11-02 Joseph Myers <joseph@codesourcery.com>
53416
53417 * conform/conformtest.pl (@headers): Add fenv.h.
53418 * conform/data/fenv.h-data: New file.
53419 * include/fenv.h [_ISOMAC]: Disable all contents of file except
53420 include of <math/fenv.h>.
53421
53422 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53423 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53424 && !UNIX98]. Enables tests for XOPEN2K8.
53425 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53426 POSIX2008]: Likewise.
53427
53428 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53429 (struct rusage): Do not expect type or its members.
53430
53431 [BZ #3439]
53432 * math/math.h (FP_NAN): Define macro to integer constant usable in
53433 #if and use that to give value to enum constant.
53434 (FP_INFINITE): Likewise.
53435 (FP_ZERO): Likewise.
53436 (FP_SUBNORMAL): Likewise.
53437 (FP_NORMAL): Likewise.
53438
53439 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
53440
53441 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53442 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53443 arguments.
53444
53445 2012-11-02 Roland McGrath <roland@hack.frob.com>
53446
53447 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53448 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53449 autoconf-time if not.
53450 * configure.in: Remove AC_PREREQ.
53451
53452 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53453
53454 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53455 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53456 of the internal implementation.
53457
53458 2012-11-02 Joseph Myers <joseph@codesourcery.com>
53459
53460 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53461 except include of <misc/sys/syslog.h>.
53462
53463 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
53464
53465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53466 function returns with a NULL context exit with zero.
53467
53468 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53469
53470 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53471
53472 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
53473
53474 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53475 (run_program_cmd): This.
53476 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53477 (tst_langinfo): New variable. Use it.
53478
53479 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
53480
53481 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53482 floating point opcodes.
53483
53484 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
53485
53486 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53487 variable.
53488
53489 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53490
53491 * sysdeps/mach/hurd/powerpc: Remove directory.
53492 * sysdeps/mach/powerpc: Likewise.
53493
53494 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
53495
53496 * scripts/check-local-headers.sh: Ignore c++ headers.
53497
53498 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
53499
53500 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53501 __libc_cleanup_region_start argument.
53502
53503 2012-11-01 Joseph Myers <joseph@codesourcery.com>
53504
53505 [BZ #14784]
53506 [BZ #14785]
53507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53508 x * y using scaling, not as x * y + z.
53509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53511 * math/libm-test.inc (fma_test): Add more tests.
53512 (fma_test_towardzero): Likewise.
53513 (fma_test_downward): Likewise.
53514 (fma_test_upward): Likewise.
53515
53516 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
53517
53518 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53519
53520 2012-10-31 Joseph Myers <joseph@codesourcery.com>
53521
53522 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53523 New variable.
53524
53525 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
53526
53527 * rt/tst-shm.c (worker): Correct checking for mmap failure.
53528
53529 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
53530
53531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53532 Fix sort order.
53533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53534 Likewise.
53535
53536 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53537
53538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53539 Fix the order of the list for glibc 2.17.
53540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53541 Likewise.
53542
53543 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
53544
53545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53546
53547 2012-10-31 Joseph Myers <joseph@codesourcery.com>
53548
53549 [BZ #14610]
53550 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53551 for low part of x being zero before using __atanl (y).
53552 * math/libm-test.inc (atan2_test): Add another test.
53553
53554 * manual/install.texi (Configuring and compiling): Document
53555 general use of test-wrapper and test-wrapper-env.
53556 * INSTALL: Regenerated.
53557
53558 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53559 (__fma): Do not extract and scale down low bits on after-rounding
53560 systems when result rounded to normal precision would have normal
53561 exponent.
53562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53563 (__fmal): Do not extract and scale down low bits on after-rounding
53564 systems when result rounded to normal precision would have normal
53565 exponent.
53566 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53567 (__fmal): Do not extract and scale down low bits on after-rounding
53568 systems when result rounded to normal precision would have normal
53569 exponent.
53570 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53571 macro.
53572 (fma_test): Add more tests.
53573 (fma_test_towardzero): Likewise.
53574 (fma_test_downward): Likewise.
53575 (fma_test_upward): Likewise.
53576
53577 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
53578
53579 * sysdeps/i386/tininess.h: Renamed to ...
53580 * sysdeps/x86/tininess.h: This.
53581 * sysdeps/x86_64/tininess.h: Removed.
53582
53583 2012-10-30 Joseph Myers <joseph@codesourcery.com>
53584
53585 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53586 input. Use $(build-program-cmd).
53587 ($(objpfx)tst-array1-static.out): Likewise.
53588 ($(objpfx)tst-array2.out): Likewise.
53589 ($(objpfx)tst-array3.out): Likewise.
53590 ($(objpfx)tst-array4.out): Likewise.
53591 ($(objpfx)tst-array5.out): Likewise.
53592 ($(objpfx)tst-array5-static.out): Likewise.
53593
53594 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
53595
53596 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53597 if defined.
53598
53599 * nss/nsswitch.h (nss_interface_function): Provide new
53600 macro for use with NSS functions.
53601 * grp/initgroups.c: Use new macro.
53602 * nss/getXXbyYY.c: Likewise.
53603 * nss/getXXbyYY_r.c: Likewise.
53604 * nss/getXXent.c: Likewise.
53605 * nss/getXXent_r.c: Likewise.
53606 * sysdeps/posix/getaddrinfo.c: Likewise.
53607
53608 2012-10-30 Andreas Jaeger <aj@suse.de>
53609
53610 * po/ru.po: Update Russion translation from translation project.
53611
53612 2012-10-30 Joseph Myers <joseph@codesourcery.com>
53613
53614 [BZ #14152]
53615 [BZ #14783]
53616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53617 result and shift together with sticky bit instead of replicating
53618 round-to-nearest rounding.
53619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53621 * math/libm-test.inc (fma_test): Add more tests. Do not permit
53622 missing underflow exceptions.
53623 (fma_test_towardzero): Add more tests.
53624 (fma_test_downward): Likewise.
53625 (fma_test_upward): Likewise.
53626
53627 [BZ #14047]
53628 * sysdeps/generic/tininess.h: New file.
53629 * sysdeps/i386/tininess.h: Likewise.
53630 * sysdeps/sh/tininess.h: Likewise.
53631 * sysdeps/x86_64/tininess.h: Likewise.
53632 * stdlib/tst-strtod-underflow.c: Likewise.
53633 * stdlib/tst-tininess.c: Likewise.
53634 * stdlib/strtod_l.c: Include <tininess.h>.
53635 (round_and_return): Do not set errno for exact underflow cases.
53636 Force an underflow exception when setting errno for underflow.
53637 Determine underflow based on rounding to normal precision if
53638 TININESS_AFTER_ROUNDING.
53639 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53640 ERANGE for exact underflow cases.
53641 * stdlib/Makefile (tests): Add tst-tininess and
53642 tst-strtod-underflow.
53643 ($(objpfx)tst-tininess): Use $(link-libm).
53644 ($(objpfx)tst-strtod-underflow): Likewise.
53645
53646 2012-10-30 Andreas Jaeger <aj@suse.de>
53647
53648 [BZ#14767]
53649 * elf/Makefile (tests): Remove conditional for have-initfini-array
53650 since this is now always required and the variable does not exist
53651 anymore.
53652 (tests-static): Likewise.
53653 (modules-names): Likewise.
53654
53655 * po/eo.po: Add Esperanto translation from translation project.
53656
53657 * elf/tst-array1.c (fini_array): Make writeable so that it can be
53658 merged with constructor/destructor.
53659 (init_array): Likewise.
53660 * elf/tst-array2dep.c (fini_array): Likewise.
53661 (init_array): Likewise.
53662
53663 2012-10-29 Mike Frysinger <vapier@gentoo.org>
53664
53665 * manual/message.texi: Delete @cartouche tags.
53666
53667 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
53668
53669 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53670 EOPNOTSUPP.
53671 * sysdeps/mach/hurd/fsync.c: Likewise.
53672
53673 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53674 [_POSIX_REALTIME_SIGNALS]: Change condition to
53675 [_POSIX_REALTIME_SIGNALS > 0].
53676
53677 2012-10-27 Andreas Jaeger <aj@suse.de>
53678
53679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53680 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53682 [__WORDSIZE != 64]: Likewise.
53683
53684 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
53685
53686 * iconvdata/tst-table.sh: Remove ${SHELL}.
53687 * iconvdata/tst-tables.sh: Likewise.
53688
53689 2012-10-25 David S. Miller <davem@davemloft.net>
53690
53691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53692 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53693 of strtoull.
53694
53695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53696 ifunc-impl-list.c
53697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53698 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53699 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53700 file.
53701
53702 2012-10-25 Roland McGrath <roland@hack.frob.com>
53703
53704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53705 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53706 __getdirentries.
53707
53708 2012-10-25 Joseph Myers <joseph@codesourcery.com>
53709 Jim Blandy <jimb@codesourcery.com>
53710
53711 * scripts/cross-test-ssh.sh: New file.
53712 * manual/install.texi (Configuring and compiling): Document use of
53713 cross-test-ssh.sh.
53714 * INSTALL: Regenerated.
53715
53716 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
53717
53718 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53719 EOPNOTSUPP.
53720
53721 2012-10-25 Joseph Myers <joseph@codesourcery.com>
53722
53723 * Makeconfig (run-program-prefix): Fix comment.
53724
53725 2012-10-24 Joseph Myers <joseph@codesourcery.com>
53726 Jim Blandy <jimb@codesourcery.com>
53727
53728 * Makeconfig (test-wrapper): New variable,
53729 (test-wrapper-env): Likewise.
53730 [$(cross-compiling) = yes && $(test-wrapper) != ""]
53731 (run-built-tests): Define to yes.
53732 (run-program-prefix): Use $(test-wrapper).
53733 (built-program-cmd): Likewise.
53734 * Rules (make-test-out): Use $(test-wrapper-env) and
53735 $(host-built-program-cmd).
53736 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53737 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53738 tst-pathopt.sh.
53739 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53740 $(test-wrapper-env) to tst-rtld-load-self.sh.
53741 ($(objpfx)order2.out): Use $(test-wrapper).
53742 ($(objpfx)tst-initorder.out): Likewise.
53743 ($(objpfx)tst-initorder2.out): Likewise.
53744 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53745 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53746 (test_wrapper_env): New variable. Use it to run ld.so.
53747 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53748 Use it to run ld.so.
53749 (test_wrapper_env): Likewise.
53750 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53751 $(test-wrapper) to run-iconv-test.sh.
53752 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53753 (ICONV): Use $test_wrapper.
53754 * posix/Makefile ($(objpfx)globtest.out): Pass
53755 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53756 globtest.sh, not $(run-program-prefix).
53757 * posix/globtest.sh (run_via_rtld_prefix): New variable.
53758 (test_wrapper): Likewise.
53759 (test_wrapper_env): Likewise. Use it to run globtest with HOME
53760 set together with run_via_rtld_prefix.
53761 (run_program_prefix): Define in terms of test_wrapper and
53762 run_via_rtld_prefix.
53763
53764 2012-10-24 Roland McGrath <roland@hack.frob.com>
53765
53766 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53767 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53768 Targets removed.
53769
53770 [BZ #14743]
53771 * include/time.h: Remove librt_hidden_proto (clock_gettime).
53772 Declare __clock_getres, __clock_gettime, __clock_settime,
53773 __clock_nanosleep, and __clock_getcpuclockid.
53774 * rt/clock_gettime.c: Define __clock_gettime as an alias.
53775 Remove librt_hidden_def (clock_gettime).
53776 * sysdeps/unix/clock_gettime.c: Likewise.
53777 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53779 * rt/clock_getres.c: Define __clock_getres as an alias.
53780 * sysdeps/posix/clock_getres.c: Likewise.
53781 * rt/clock_settime.c: Define __clock_settime as an alias.
53782 * sysdeps/unix/clock_settime.c: Likewise.
53783 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53784 * sysdeps/unix/clock_nanosleep.c: Likewise.
53785 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53786 * rt/clock-compat.c: New file.
53787 * rt/Makefile (librt-routines): Add clock-compat and move
53788 $(clock-routines) to ...
53789 (routines): ... here, new variable.
53790 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53791 Don't add get_clockfreq here.
53792 * rt/Versions (libc: GLIBC_2.17): New version set.
53793 Add clock_* symbols here.
53794 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
53795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53796 (GLIBC_2.17): Add clock_* symbols.
53797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53801 Likewise.
53802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53803 Likewise.
53804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53808 * NEWS: Mention the move.
53809
53810 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53811 Use __open, __read, __close rather than their public counterparts.
53812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53813 (__get_clockfreq_via_cpuinfo): Likewise.
53814 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53815 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53816
53817 * config.h.in (HAVE_IFUNC): New #undef.
53818 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53819 was successful.
53820 * configure: Regenerated.
53821
53822 2012-10-24 Mike Frysinger <vapier@gentoo.org>
53823
53824 * configure.in: Move READELF check to start of file.
53825 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53826 libc_cv_asm_gnu_indirect_function in the process.
53827 * configure: Regenerated.
53828
53829 2012-10-24 Mike Frysinger <vapier@gentoo.org>
53830
53831 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53832 send the output to /dev/null.
53833 (libc_cv_cc_with_libunwind): Likewise.
53834 (libc_cv_as_noexecstack): Likewise.
53835 * configure: Regenerate.
53836
53837 2012-10-24 Joseph Myers <joseph@codesourcery.com>
53838
53839 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53840
53841 * posix/globtest.sh (TMPDIR): Do not set.
53842 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53843 (testout): Likewise.
53844
53845 2012-10-24 Andreas Jaeger <aj@suse.de>
53846
53847 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53848 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53849 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53850 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53851 posix_fadvise64, posix_fallocate64.
53852
53853 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53854 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53855 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53856 Likewise.
53857 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53858 Likewise.
53859 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53860
53861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53862 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53863 <bits/fcntl-linux.h>.
53864 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53865
53866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53867 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53868 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53869 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53870 [__WORDSIZE != 64]: Likewise.
53871
53872 2012-10-23 Joseph Myers <joseph@codesourcery.com>
53873
53874 * Makeconfig (run-built-tests): New variable.
53875 * Rules [$(cross-compiling) = yes]: Change condition to
53876 [$(run-built-tests) = no].
53877 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53878 to [$(run-built-tests) = yes].
53879 * elf/Makefile [$(cross-compiling) = no]: Likewise.
53880 * grp/Makefile [$(cross-compiling) = no]: Likewise.
53881 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53882 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53883 * intl/Makefile [$(cross-compiling) = no]: Likewise.
53884 * io/Makefile [$(cross-compiling) = no]: Likewise.
53885 * libio/Makefile [$(cross-compiling) = no]: Likewise.
53886 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53887 * misc/Makefile [$(cross-compiling) = no]: Likewise.
53888 * posix/Makefile [$(cross-compiling) = no]: Likewise.
53889 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53890 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53891 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53892 * string/Makefile [$(cross-compiling) = no]: Likewise.
53893
53894 * posix/Makefile ($(objpfx)globtest.out): Pass
53895 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53896 $(rtld-installed-name).
53897 * posix/globtest.sh (elf_objpfx): Remove variable.
53898 (rtld_installed_name): Likewise.
53899 (library_path): Likewise.
53900 (run_program_prefix): New variable. Use for running globtest
53901 binary.
53902
53903 2012-10-23 Jim Blandy <jimb@codesourcery.com>
53904 Joseph Myers <joseph@codesourcery.com>
53905
53906 * Makeconfig (host-built-program-cmd): New variable.
53907 * elf/Makefile (tst-stackguard1-ARGS): Use
53908 $(host-built-program-cmd).
53909 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53910 (tst-spawn-ARGS): Likewise.
53911 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53912
53913 2012-10-23 Joseph Myers <joseph@codesourcery.com>
53914 Jim Blandy <jimb@codesourcery.com>
53915
53916 * Makeconfig (run-via-rtld-prefix): New variable.
53917 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53918 (built-program-cmd): Likewise.
53919
53920 2012-10-22 Andreas Jaeger <aj@suse.de>
53921
53922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53923 __O_RSYNC if it exists, otherwise to O_SYNC.
53924
53925 2012-10-22 Jim Blandy <jimb@codesourcery.com>
53926 Joseph Myers <joseph@codesourcery.com>
53927
53928 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53929 /dev/null.
53930 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53931 from /dev/null
53932 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53933 /dev/null.
53934
53935 2012-10-22 Andreas Jaeger <aj@suse.de>
53936
53937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53938 Define always.
53939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53940
53941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53942 bits/fcntl-linux.h.
53943
53944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53945 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53946
53947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53948 to __O_LARGEFILE.
53949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53950 to __O_LARGEFILE.
53951
53952 2012-10-21 Jim Blandy <jimb@codesourcery.com>
53953 Joseph Myers <joseph@codesourcery.com>
53954
53955 * config.make.in (NM): New variable.
53956
53957 2012-10-21 Andreas Jaeger <aj@suse.de>
53958
53959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53960 definitions and declarations that are provided by
53961 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53962
53963 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
53964
53965 [BZ #14683]
53966 * elf/Makefile (tests-static): Add tst-leaks1-static.
53967 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53968 ($(objpfx)tst-leaks1-static): New rule.
53969 ($(objpfx)tst-leaks1-static-mem): Likewise.
53970 (tst-leaks1-static-ENV): New macro.
53971 * elf/dl-open.c (dl_open_worker): Check the main application
53972 only if SHARED is defined.
53973 * elf/tst-leaks1-static.c: New file.
53974
53975 2012-10-20 Andreas Jaeger <aj@suse.de>
53976
53977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53978 generic values for Linux.
53979 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53980 and declarations that are provided by <bits/fcntl-linux.h> and
53981 include <bits/fcntl-linux.h>.
53982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53984
53985 2012-10-20 Roland McGrath <roland@hack.frob.com>
53986
53987 * io/fcntl.h: Move include of <bits/types.h> to the top and
53988 include it unconditionally.
53989
53990 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
53991
53992 * wcsmbs/Makefile (tests-ifunc): New variable.
53993 (tests): Add $(tests-ifunc).
53994 * wcsmbs/test-wcschr-ifunc.c: New file.
53995 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53996 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53997 * wcsmbs/test-wcslen-ifunc.c: Likewise.
53998 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53999 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54000
54001 * string/Makefile (tests-ifunc): New variable.
54002 (tests): Add $(tests-ifunc).
54003 * string/test-memccpy.c (TEST_NAME): New macro.
54004 * string/test-memchr.c (TEST_NAME): Likewise.
54005 * string/test-memcmp.c (TEST_NAME): Likewise.
54006 * string/test-memcpy.c (TEST_NAME): Likewise.
54007 * string/test-memmem.c (TEST_NAME): Likewise.
54008 * string/test-memmove.c (TEST_NAME): Likewise.
54009 * string/test-memset.c (TEST_NAME): Likewise.
54010 * string/test-rawmemchr.c (TEST_NAME): Likewise.
54011 * string/test-stpcpy.c (TEST_NAME): Likewise.
54012 * string/test-stpncpy.c (TEST_NAME): Likewise.
54013 * string/test-strcasecmp.c (TEST_NAME): Likewise.
54014 * string/test-strcasestr.c (TEST_NAME): Likewise.
54015 * string/test-strcat.c (TEST_NAME): Likewise.
54016 * string/test-strchr.c (TEST_NAME): Likewise.
54017 * string/test-strcmp.c(TEST_NAME): Likewise.
54018 * string/test-strcpy.c (TEST_NAME): Likewise.
54019 * string/test-strcspn.c (TEST_NAME): Likewise.
54020 * string/test-strlen.c (TEST_NAME): Likewise.
54021 * string/test-strncasecmp.c (TEST_NAME): Likewise.
54022 * string/test-strncmp.c (TEST_NAME): Likewise.
54023 * string/test-strncpy.c (TEST_NAME): Likewise.
54024 * string/test-strnlen.c (TEST_NAME): Likewise.
54025 * string/test-strpbrk.c (TEST_NAME): Likewise.
54026 * string/test-strrchr.c (TEST_NAME): Likewise.
54027 * string/test-strspn.c (TEST_NAME): Likewise.
54028 * string/test-strstr.c (TEST_NAME): Likewise.
54029 * string/test-bcopy-ifunc.c: New file.
54030 * string/test-bzero-ifunc.c: Likewise.
54031 * string/test-memccpy-ifunc.c: Likewise.
54032 * string/test-memchr-ifunc.c: Likewise.
54033 * string/test-memcmp-ifunc.c: Likewise.
54034 * string/test-memcpy-ifunc.c: Likewise.
54035 * string/test-memmem-ifunc.c: Likewise.
54036 * string/test-memmove-ifunc.c: Likewise.
54037 * string/test-mempcpy-ifunc.c: Likewise.
54038 * string/test-memset-ifunc.c: Likewise.
54039 * string/test-rawmemchr-ifunc.c: Likewise.
54040 * string/test-stpcpy-ifunc.c: Likewise.
54041 * string/test-stpncpy-ifunc.c: Likewise.
54042 * string/test-strcasecmp-ifunc.c: Likewise.
54043 * string/test-strcasestr-ifunc.c: Likewise.
54044 * string/test-strcat-ifunc.c: Likewise.
54045 * string/test-strchr-ifunc.c: Likewise.
54046 * string/test-strchrnul-ifunc.c: Likewise.
54047 * string/test-strcmp-ifunc.c: Likewise.
54048 * string/test-strcpy-ifunc.c: Likewise.
54049 * string/test-strcspn-ifunc.c: Likewise.
54050 * string/test-strlen-ifunc.c: Likewise.
54051 * string/test-strncasecmp-ifunc.c: Likewise.
54052 * string/test-strncat-ifunc.c: Likewise.
54053 * string/test-strncmp-ifunc.c: Likewise.
54054 * string/test-strncpy-ifunc.c: Likewise.
54055 * string/test-strnlen-ifunc.c: Likewise.
54056 * string/test-strpbrk-ifunc.c: Likewise.
54057 * string/test-strrchr-ifunc.c: Likewise.
54058 * string/test-strspn-ifunc.c: Likewise.
54059 * string/test-strstr-ifunc.c: Likewise.
54060
54061 * debug/Makefile (tests-ifunc): New variable.
54062 (tests): Add $(tests-ifunc).
54063 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54064 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54065 * debug/test-stpcpy_chk-ifunc.c: New file.
54066 * debug/test-strcpy_chk-ifunc.c: Likewise.
54067
54068 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
54069
54070 [BZ #13601]
54071 * elf/dl-load.c (open_verify): Retry read if the entire ELF
54072 header is not read in.
54073
54074 2012-10-19 Joseph Myers <joseph@codesourcery.com>
54075
54076 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
54077 script to $(SHELL) as $<. Pass $(common-objpfx) to script
54078 directly. Pass built executable to script as
54079 $(built-program-cmd).
54080 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
54081 $testprogram without using LD_LIBRARY_PATH and $ldso.
54082
54083 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54084 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54085 $(rtld-installed-name).
54086 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54087 (rtld_installed_name): Likewise.
54088 (library_path): Likewise.
54089 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
54090 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54091 $(run-program-prefix) to tst-tables.sh.
54092 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
54093 it to run tst-table-from and tst-table-to.
54094 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54095 Pass it to tst-table.sh.
54096 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54097 $(run-program-prefix) to tst-gettext.sh.
54098 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54099 tst-translit.sh.
54100 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54101 tst-gettext2.sh.
54102 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
54103 to run tst-gettext.
54104 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
54105 to run tst-gettext2.
54106 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
54107 to run tst-translit.
54108 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54109 $(run-program-prefix) to tst-mtrace.sh.
54110 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
54111 to run tst-mtrace.
54112 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54113 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54114 $(rtld-installed-name).
54115 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54116 (rtld_installed_name): Likewise.
54117 (run_program_prefix): New variable. Use it to run wordexp-test.
54118
54119 * Makeconfig (ARCH): Remove all definitions.
54120 (machine): Likewise.
54121 [ARCH]: Remove conditional code.
54122 [!objdir]: Give error.
54123 [!objdir] (objpfx): Remove.
54124 [!objdir] (common-objpfx): Likewise.
54125 [!objdir] (common-objdir): Likewise.
54126 * configure.in (config_makefile): Remove. Hardcode Makefile in
54127 AC_CONFIG_FILES call.
54128 * configure: Regenerated.
54129
54130 [BZ #13888]
54131 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54132 or TMPDIR.
54133 (testout): Likewise.
54134
54135 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54136 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54137 $(rtld-installed-name).
54138 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54139 (rtld_installed_name): Likwise.
54140 (runit): Remove function.
54141 (run_getconf): New variable, Use it for running getconf binary.
54142
54143 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
54144
54145 [BZ #14716]
54146 * string/test-memmem.c (check_result): New function.
54147 (do_one_test): Use it.
54148 (check1): New function.
54149 (test_main): Use it.
54150
54151 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
54152
54153 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54154
54155 2012-10-18 Joseph Myers <joseph@codesourcery.com>
54156
54157 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54158 (_G_LSEEK64): Likewise.
54159 (_G_MMAP64): Likewise.
54160 (_G_FSTAT64): Likewise.
54161 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54162 (_G_LSEEK64): Likewise.
54163 (_G_MMAP64): Likewise.
54164 (_G_FSTAT64): Likewise.
54165 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54166 unconditional. Call __mmap64 directly.
54167 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54168 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
54169 __lseek64 directly.
54170 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54171 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
54172 __mmap64 directly.
54173 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54174 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
54175 __lseek64 directly.
54176 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54177 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
54178 __lseek64 directly.
54179 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54180 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
54181 __lseek64 directly.
54182 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54183 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
54184 __fxstat64 directly.
54185 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54186 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54187 unconditional.
54188 (freopen64) [!_G_OPEN64]: Remove conditional code.
54189 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54190 unconditional.
54191 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54192 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54193 unconditional.
54194 (ftello64) [!_G_LSEEK64]: Remove conditional code.
54195 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54196 unconditional.
54197 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54198 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54199 unconditional.
54200 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54201 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54202 unconditional.
54203 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54204 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54205 unconditional.
54206 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54207 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54208 unconditional.
54209 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54210
54211 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54212
54213 [BZ #12140]
54214 * manual/memory.texi (Malloc Tunable Parameters): Add note
54215 about free list pointers overwriting some perturb bytes.
54216 Wording suggested by Roland McGrath.
54217
54218 2012-10-17 Joseph Myers <joseph@codesourcery.com>
54219
54220 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54221 (lgamma_test): Likewise.
54222 (tgamma_test): Likewise.
54223
54224 2012-10-16 Florian Weimer <fweimer@redhat.com>
54225
54226 [BZ #14700]
54227 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54228 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54229
54230 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
54231
54232 * NEWS: Mention BZ #14716.
54233 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54234 when removing AVAILABLE1_USES_J macro.
54235
54236 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
54237
54238 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54239 (__bswap_64): __uint64_t for unsigned 64-bit int.
54240
54241 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
54242
54243 * include/string.h (memmem): Declare libc hidden alias.
54244 * string/memmem.c (memmem): Define libc hidden alias.
54245 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54246 __read, __close instead of open, read, close.
54247
54248 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
54249
54250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54251 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54252 global and hidden.
54253 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54254 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54255 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54256 Likewise.
54257 (__rawmemchr_sse2): Likewise.
54258 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54259 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54260 (__strchr_sse2): Likewise.
54261 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54262 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54263 (__strcasecmp_sse2): Likewise.
54264 (__strncasecmp_sse2): Likewise.
54265 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54266 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54267 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54268 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54269 (__strrchr_sse2): Likewise.
54270 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54271 ifunc-impl-list.c.
54272 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54273 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54274 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54275 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54276 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54277 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54278 * sysdeps/x86_64/multiarch/memset.S: Likewise.
54279 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54280 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54281 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54282 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54283 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54284 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54285 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54286 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54287 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54288 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54289 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54290 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54291 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54292 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54293 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54294 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54295 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54296 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54298 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54300 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54301 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54302
54303 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54304 global and hidden.
54305 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54306 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54307 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54308 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54309 Likewise.
54310 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54311 Likewise.
54312 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54313 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54314 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54315 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54316 ifunc-impl-list.c.
54317 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54318 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54327 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54328 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54329 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54330 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54331 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54333 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54334 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54335 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54336 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54338 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54339 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54340 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54342 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54343 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54344 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54345 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54346 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54347 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54348 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54349 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54350 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54351 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54352 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54353 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54354 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54355 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54356 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54357 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54358
54359 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54360 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54361 * include/ifunc-impl-list.h: New file.
54362 * misc/ifunc-impl-list.c: Likewise.
54363 * misc/Makefile (routines): Add ifunc-impl-list.
54364 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54365 * string/test-string.h: Include <ifunc-impl-list.h>.
54366 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54367 TEST_NAME]: New variables.
54368 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54369 are defined.
54370 (test_init): Call __libc_ifunc_impl_list to initialize
54371 func_list if TEST_IFUNC and TEST_NAME are defined.
54372
54373 * string/Makefile (strop-tests): Add bcopy and bzero.
54374 * string/test-bcopy.c: New file.
54375 * string/test-bzero.c: Likewise.
54376 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54377 defined.
54378 * string/test-memset.c: Support bzero test if TEST_BZERO is
54379 defined.
54380 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54381 __libc_memmove.
54382 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54383 __libc_memset.
54384 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54385 of memset.
54386
54387 2012-10-10 Joseph Myers <joseph@codesourcery.com>
54388
54389 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54390 * configure: Regenerated.
54391
54392 * Makeconfig (+link-static-before-libc): Don't include
54393 $(link-static-libc).
54394
54395 * libio/libio.h (_IO_pos_t): Remove.
54396
54397 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
54398
54399 * NEWS: Add note about FIPS mode. Wording suggested by Roland
54400 McGrath.
54401
54402 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
54403
54404 * crypt/crypt-entry.c: Include fips-private.h.
54405 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54406 * crypt/md5c-test.c (main): Tolerate disabled MD5.
54407 * sysdeps/unix/sysv/linux/fips-private.h: New file.
54408 * sysdeps/generic/fips-private.h: New file, dummy fallback.
54409
54410 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
54411
54412 * crypt/crypt-private.h: Include stdbool.h.
54413 (_ufc_setup_salt_r): Return bool.
54414 * crypt/crypt-entry.c: Include errno.h.
54415 (__crypt_r): Return NULL with EINVAL for bad salt.
54416 * crypt/crypt_util.c (bad_for_salt): New.
54417 (_ufc_setup_salt_r): Check that salt is long enough and within
54418 the specified alphabet.
54419 * crypt/badsalttest.c: New file.
54420 * crypt/Makefile (tests): Add it.
54421 ($(objpfx)badsalttest): New.
54422
54423 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
54424
54425 * NEWS: Add entry for BZ #14602.
54426
54427 2012-10-09 Joseph Myers <joseph@codesourcery.com>
54428
54429 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54430 type-generic.
54431 * math/libm-test.inc: Update comment listing what functions and
54432 macros are tested.
54433 (isgreater_test): New function.
54434 (isgreaterequal_test): Likewise.
54435 (isless_test): Likewise.
54436 (islessequal_test): Likewise.
54437 (islessgreater_test): Likewise.
54438 (isunordered_test): Likewise.
54439 (main): Call the new functions.
54440
54441 2012-10-09 Roland McGrath <roland@hack.frob.com>
54442
54443 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54444 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54445 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54446 * sysdeps/i386/configure: Regenerated.
54447 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54448 * sysdeps/mach/configure: Regenerated.
54449 * sysdeps/mach/hurd/configure: Regenerated.
54450 * sysdeps/powerpc/configure: Regenerated.
54451 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54452 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54453 * sysdeps/s390/s390-32/configure: Regenerated.
54454 * sysdeps/s390/s390-64/configure: Regenerated.
54455 * sysdeps/sh/configure: Regenerated.
54456 * sysdeps/sparc/configure: Regenerated.
54457 * sysdeps/unix/sysv/linux/configure: Regenerated.
54458 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54459 * sysdeps/x86_64/configure: Regenerated.
54460
54461 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54462 defined. Don't check if MAP is NULL.
54463
54464 2012-10-09 Joseph Myers <joseph@codesourcery.com>
54465
54466 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54467 (_G_stat64): Likewise.
54468 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54469 (_G_stat64): Likewise.
54470 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54471 instead of struct _G_stat64.
54472 * libio/fileops.c (mmap_remap_check): Likewise.
54473 (decide_maybe_mmap): Likewise.
54474 (_IO_new_file_seekoff): Likewise.
54475 (_IO_file_stat): Likewise.
54476 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54477 _G_off64_t.
54478 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54479 instead of struct _G_stat64.
54480 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54481
54482 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
54483
54484 [BZ #14602]
54485 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54486 Replace with ...
54487 (CHECK_EOL): New macro.
54488 (two_way_short_needle): Check beginning of haystack for EOL. Use
54489 CHECK_EOL.
54490 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54491 Replace with CHECK_EOL.
54492 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54493 Replace with CHECK_EOL.
54494
54495 2012-10-08 Joseph Myers <joseph@codesourcery.com>
54496
54497 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54498 type-generic.
54499 * math/libm-test.inc: Update comment listing what functions and
54500 macros are tested.
54501 (finite_test): New function.
54502 (isinf_test): Likewise.
54503 (isnan_test): Likewise.
54504 (fpclassify_test): Test subnormal input.
54505 (isfinite_test): Likewise.
54506 (isnormal_test): Likewise.
54507 (main): Call the new functions.
54508
54509 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
54510
54511 [BZ #14660]
54512 * Makerules (%.dynsym): Force C locale when running
54513 $(OBJDUMP) --dynamic-syms.
54514
54515 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
54516
54517 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54518 <stdint.h>.
54519
54520 2012-10-06 David S. Miller <davem@davemloft.net>
54521
54522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54523 upper 32-bits of the length value in %o2 since we use branch-on-register
54524 tests which consider the entire 64-bit register.
54525
54526 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
54527
54528 * string/test-strstr.c (check2): Add a test for page boundary.
54529
54530 2012-10-05 David S. Miller <davem@davemloft.net>
54531
54532 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54533 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54534 file.
54535 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54536 sysdep_routines.
54537 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54538 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54539 and bzero when HWCAP_SPARC_CRYPTO is present.
54540
54541 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
54542
54543 [BZ #14602]
54544 * string/test-strstr.c (check2): New function.
54545 (test_main): Call check2.
54546
54547 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54548 and bug-strchr1.
54549 * string/bug-strcasestr1.c (do_test): Moved to ...
54550 * string/test-strcasestr.c (check1): Here. New function.
54551 (do_one_test): Break out result checking code into ...
54552 (check_result): This. New function.
54553 (do_one_test): Call check_result.
54554 (test_main): Call check1.
54555 * string/bug-strchr1.c (do_test): Moved to ...
54556 * string/test-strchr.c (check1): Here. New function.
54557 (do_one_test): Break out result checking code into ...
54558 (check_result): This. New function.
54559 (do_one_test): Call check_result.
54560 (test_main): Call check1.
54561 * string/bug-strstr1.c (main): Moved to ...
54562 * string/test-strstr.c (check1): Here. New function.
54563 (do_one_test): Break out result checking code into ...
54564 (check_result): This. New function.
54565 (do_one_test): Call check_result.
54566 (test_main): Call check1.
54567 * string/bug-strcasestr1.c: Removed.
54568 * string/bug-strchr1.c: Likewise.
54569 * string/bug-strstr1.c: Likewise.
54570
54571 * elf/Makefile (dl-routines): Add hwcaps.
54572 * elf/dl-support.c (_dl_important_hwcaps): Removed.
54573 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54574 (_dl_important_hwcaps): Moved to ...
54575 * elf/dl-hwcaps.c: Here. New file.
54576 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54577
54578 [BZ #14557]
54579 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54580 if IS_IN_rtld isn't defined.
54581
54582 * elf/dl-support.c (_dl_sysinfo_map): New.
54583 Include "get-dynamic-info.h" and "setup-vdso.h".
54584 (_dl_non_dynamic_init): Call setup_vdso.
54585 * elf/dynamic-link.h: Don't include <assert.h>.
54586 (elf_get_dynamic_info): Moved to ...
54587 * elf/get-dynamic-info.h: Here. New file.
54588 * elf/dynamic-link.h: Include "get-dynamic-info.h".
54589 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54590 * elf/setup-vdso.h: Here. New file.
54591 * elf/rtld.c: Include "setup-vdso.h".
54592 (dl_main): Call setup_vdso.
54593
54594 2012-10-05 Joseph Myers <joseph@codesourcery.com>
54595
54596 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54597 creal in comment listing functions tested. List finite, isinf,
54598 isnan, isless, islessequal, isgreater, isgreaterequal,
54599 islessgreater, isunordered, lgamma_r and pow10 as functions and
54600 macros not tested. Mention which functions not tested are aliases
54601 for other functions. Fix typo. Note that signs of NaNs are not
54602 tested.
54603
54604 * scripts/config.guess: Update from config.git.
54605 * scripts/config.sub: Likewise.
54606
54607 2012-10-04 Roland McGrath <roland@hack.frob.com>
54608
54609 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54610 * misc/madvise.c (madvise): Renamed to __madvise.
54611 Make madvise a weak alias.
54612 * include/sys/mman.h: Declare __madvise.
54613 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54614 * sysdeps/unix/syscalls.list
54615 (madvise): Make __madvise the strong name, and madvise a weak alias.
54616 * sysdeps/unix/sysv/linux/syscalls.list
54617 (madvise, mmap): Remove redundant entries.
54618 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54619 * malloc/malloc.c (mtrim): Likewise.
54620 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54621
54622 2012-10-03 Roland McGrath <roland@hack.frob.com>
54623
54624 * sysdeps/mach/hurd/dl-cache.c: File removed.
54625 * config.h.in (USE_LDCONFIG): New #undef.
54626 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54627 * configure: Regenerated.
54628 * elf/Makefile (dl-routines): Add dl-cache only under
54629 [$(use-ldconfig) = yes].
54630 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54631 cache on [USE_LDCONFIG].
54632 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54633 [USE_LDCONFIG].
54634 * elf/rtld.c (dl_main): Likewise.
54635
54636 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
54637
54638 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54639 _SC_LEVEL4_CACHE_LINESIZE.
54640
54641 2012-10-03 Roland McGrath <roland@hack.frob.com>
54642
54643 * sysdeps/unix/bsd/confstr.h: File removed.
54644
54645 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
54646
54647 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54648 sys/sdt-config.h.
54649
54650 2012-10-02 Roland McGrath <roland@hack.frob.com>
54651
54652 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54653 Make 'mapoff' field ElfW(Off) rather than off_t.
54654
54655 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
54656
54657 * nscd/Makefile: Remove nscd-cflags and all its users.
54658 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54659 (CFLAGS-nonlib): Add compiler flags for nscd modules.
54660
54661 [BZ #10631]
54662 * malloc.c (malloc_printerr): Clarify error message.
54663
54664 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
54665
54666 [BZ #14648]
54667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54668 Set bit_FMA_Usable if FMA is supported.
54669 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54670 macro.
54671 (bit_FMA4_Usable): Updated.
54672 (index_FMA_Usable): New macro.
54673 (CPUID_FMA): Likewise.
54674 (HAS_FMA): Defined with bit_FMA_Usable.
54675
54676 2012-10-01 Roland McGrath <roland@hack.frob.com>
54677
54678 * bits/types.h (__swblk_t): Type removed.
54679 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54680 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54682 (__SWBLK_T_TYPE): Likewise.
54683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54684 (__SWBLK_T_TYPE): Likewise.
54685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54686 (__SWBLK_T_TYPE): Likewise.
54687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54688 (__SWBLK_T_TYPE): Likewise.
54689
54690 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
54691 Honza Horak <hhorak@redhat.com>
54692
54693 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54694 (xdr_mapname): Use YPMAXMAP as maxsize.
54695 (xdr_peername): Use YPMAXPEER as maxsize.
54696 (xdr_keydat): Use YPAXRECORD as maxsize.
54697 (xdr_valdat): Use YPMAXRECORD as maxsize.
54698
54699 2012-10-01 Roland McGrath <roland@hack.frob.com>
54700
54701 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54702
54703 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54704 * csu/init-first.c: ... here.
54705 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54706 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54707 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54708 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54709 * sysdeps/i386/init-first.c: File removed.
54710 * sysdeps/sh/init-first.c: File removed.
54711
54712 2012-10-01 Joseph Myers <joseph@codesourcery.com>
54713
54714 [BZ #14645]
54715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54716 if x * y might underflow to zero and z is zero.
54717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54719 * math/libm-test.inc (min_subnorm_value): New variable.
54720 (fma_test): Add more tests.
54721 (fma_test_towardzero): Likewise.
54722 (fma_test_downward): Likewise.
54723 (fma_test_upward): Likewise.
54724 (initialize): Set min_subnorm_value.
54725
54726 2012-09-29 Joseph Myers <joseph@codesourcery.com>
54727
54728 [BZ #14638]
54729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54730 0 + 0.
54731 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54732 mode for addition resulting in exact zero.
54733 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54735 exact 0 + 0.
54736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54738 * math/libm-test.inc (fma_test): Add more tests.
54739 (fma_test_towardzero): New function.
54740 (fma_test_downward): Likewise.
54741 (fma_test_upward): Likewise.
54742 (main): Call the new functions.
54743
54744 2012-09-28 David S. Miller <davem@davemloft.net>
54745
54746 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54747
54748 2012-09-28 Roland McGrath <roland@hack.frob.com>
54749
54750 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54751 instead of SIGALRM.
54752
54753 * sysdeps/gnu/_G_config.h: Moved to ...
54754 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54755 * sysdeps/mach/hurd/_G_config.h: Moved to ...
54756 * sysdeps/generic/_G_config.h: ... here.
54757
54758 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
54759
54760 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54761
54762 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54763 Conditionalize target on [libnss_test1.so-version].
54764
54765 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54766
54767 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54768 (elfobjdir): Move out of conditionals.
54769
54770 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54771 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54772 (__nss_lookup_function): Conditionalize label remove_from_tree on
54773 [!DO_STATIC_NSS || SHARED], matching its only use.
54774
54775 2012-09-28 David S. Miller <davem@davemloft.net>
54776
54777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54778 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54779 file.
54780 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54781 sysdep_routines.
54782 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54784 when HWCAP_SPARC_CRYPTO is present.
54785
54786 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
54787
54788 * io/tst-mknodat.c: Create a FIFO instead of a socket.
54789
54790 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
54791
54792 [BZ #6530]
54793 * stdio-common/vfprintf.c (process_string_arg): Revert
54794 2000-07-22 change.
54795
54796 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
54797
54798 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54799 for testcase.
54800 * stdio-common/tst-sprintf.c: Include <locale.h>
54801 (main): Test sprintf's handling of incomplete multibyte
54802 characters.
54803
54804 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
54805
54806 * elf/dl-runtime.c (VERSYMIDX): Removed.
54807 * elf/dl-version.c (VERSYMIDX): Likewise.
54808 * elf/do-rel.h (VERSYMIDX): Likewise.
54809 (VALIDX): Likewise.
54810 * elf/dynamic-link.h (VERSYMIDX): Likewise.
54811 * elf/rtld.c (VALIDX): Likewise.
54812 (ADDRIDX): Likewise.
54813 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54814 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54815 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54816 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54817 (VALIDX): Likewise.
54818 (ADDRIDX): Likewise.
54819
54820 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
54821
54822 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54823
54824 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
54825
54826 [BZ #11438]
54827 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54828 to global scope.
54829 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54830 addresses are in the same scope as 192.0.2/24.
54831 * posix/gai.conf: Document new scope table defaults.
54832
54833 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54834
54835 [BZ #5298]
54836 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54837 for ftell. Compute offsets from write pointers instead.
54838 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54839
54840 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54841
54842 [BZ #14543]
54843 * libio/Makefile (tests): New test case tst-fseek.
54844 * libio/tst-fseek.c: New test case to verify that fseek/ftell
54845 combination works in wide mode.
54846 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54847 state when the external buffer state changes.
54848
54849 2012-09-27 David S. Miller <davem@davemloft.net>
54850
54851 [BZ #14376]
54852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54853 pass reloc->r_addend in as the 'high' argument to
54854 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54855
54856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54857
54858 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
54859
54860 * rt/tst-aio2.c: Include <pthread.h>.
54861 * rt/tst-aio3.c: Likewise.
54862
54863 2012-09-27 Steve Ellcey <sellcey@mips.com>
54864
54865 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54866
54867 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
54868
54869 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54870 contents on [SHARED].
54871
54872 2012-09-26 Marek Polacek <polacek@redhat.com>
54873
54874 [BZ #14530]
54875 [BZ #13741]
54876 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54877 for C++ and GCC <4.3 as well as for non GCC compilers.
54878
54879 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
54880
54881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54882
54883 2012-09-25 Roland McGrath <roland@hack.frob.com>
54884
54885 * Makefile.in (all, install): Declare with .PHONY.
54886 Reported by Michael Hope <michael.hope@linaro.org>.
54887
54888 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54889
54890 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54891 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54892 system header.
54893 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54894 Likewise.
54895 (sydep_routines): Add the new and the internal functions.
54896 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54897 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54899 (GLIBC_2.17): Add the new function.
54900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54901 (GLIBC_2.17): Likewise.
54902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54903 (GLIBC_2.17): Likewise.
54904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54905 (GLIBC_2.17): Likewise.
54906 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54907
54908 2012-09-25 Alan Modra <amodra@gmail.com>
54909
54910 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54911 Add release barrier before setting once_control to say
54912 initialisation is done. Add hints on lwarx. Use macro in
54913 place of isync.
54914 (clear_once_control): Add release barrier.
54915
54916 2012-09-25 Joseph Myers <joseph@codesourcery.com>
54917
54918 [BZ #13629]
54919 * math/s_clog.c (__clog): Handle more values close to |z| = 1
54920 specially.
54921 * math/s_clog10.c (__clog10): Likewise.
54922 * math/s_clog10f.c (__clog10f): Likewise.
54923 * math/s_clog10l.c (__clog10l): Likewise.
54924 * math/s_clogf.c (__clogf): Likewise.
54925 * math/s_clogl.c (__clogl): Likewise.
54926 * math/Makefile (libm-calls): Add x2y2m1.
54927 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54928 (__x2y2m1): Likewise.
54929 (__x2y2m1l): Likewise.
54930 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54931 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54932 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54933 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54934 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54935 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54936 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54937 * sysdeps/i386/fpu/libm-test-ulps: Update.
54938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54939
54940 [BZ #14621]
54941 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54942 int as type of variable DEPTH.
54943 (glob): Use size_t instead of int as type of variables NEWCOUNT
54944 and OLD_PATHC.
54945
54946 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54947
54948 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54949 Add s_sincosf-sse2.
54950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54951 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54952 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54953 macros for using routine as __sincosf_ia32.
54954 Use macro for function declaration and weak_alias.
54955 * sysdeps/i386/fpu/libm-test-ulps: Update.
54956
54957 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54959
54960 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54961 subnormal argument.
54962 * math/s_cexpf.c (__cexpf): Likewise.
54963 * math/s_csinf.c (__csinf): Likewise.
54964 * math/s_csinhf.c (__csinhf): Likewise.
54965 * math/s_ctanf.c (__ctanf): Likewise.
54966 * math/s_ctanhf.c (__ctanhf): Likewise.
54967 * math/s_ccosh.c (__ccoshf): Likewise.
54968 * math/s_cexp.c (__cexpl): Likewise.
54969 * math/s_csin.c (__csin): Likewise.
54970 * math/s_csinh.c (__csinh): Likewise.
54971 * math/s_ctan.c (__ctan): Likewise.
54972 * math/s_ctanh.c (ctanh): Likewise.
54973 * math/s_ccoshl.c (__ccoshl): Likewise.
54974 * math/s_cexpl.c (__cexpl): Likewise.
54975 * math/s_csinl.c (__csinl): Likewise.
54976 * math/s_csinhl.c (__csinhl): Likewise.
54977 * math/s_ctanl.c (__ctanl): Likewise.
54978 * math/s_ctanhl.c (__ctanhl): Likewise.
54979
54980 2012-09-25 Joseph Myers <joseph@codesourcery.com>
54981
54982 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54983 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54984 (_IO_off_t): Define to __off_t, not _G_off_t.
54985 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54986 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54987 (_IO_wint_t): Define to wint_t, not _G_wint_t.
54988 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54989 type of __dummy and __dummy2 fields.
54990 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54991 (_G_ssize_t): Likewise.
54992 (_G_off_t): Likewise.
54993 (_G_pid_t): Likewise.
54994 (_G_uid_t): Likewise.
54995 (_G_wchar_t): Likewise.
54996 (_G_wint_t): Likewise.
54997 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54998 (_G_ssize_t): Likewise.
54999 (_G_off_t): Likewise.
55000 (_G_pid_t): Likewise.
55001 (_G_uid_t): Likewise.
55002 (_G_wchar_t): Likewise.
55003 (_G_wint_t): Likewise.
55004 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55005 (_G_ssize_t): Likewise.
55006 (_G_off_t): Likewise.
55007 (_G_pid_t): Likewise.
55008 (_G_uid_t): Likewise.
55009 (_G_wchar_t): Likewise.
55010 (_G_wint_t): Likewise.
55011
55012 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
55013
55014 * malloc/arena.c: Include malloc-sysdep.h.
55015 (shrink_heap): Use check_may_shrink_heap to decide if madvise
55016 is sufficient to shrink the heap or an unmap is needed.
55017 * sysdeps/generic/malloc-sysdep.h: New file. Define
55018 new function check_may_shrink_heap.
55019 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
55020 new function check_may_shrink_heap.
55021
55022 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
55023
55024 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55025 comments.
55026
55027 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
55028
55029 * catgets/test-gencat.sh: Add "set -e".
55030 * elf/tst-pathopt.sh: Likewise.
55031 * grp/tst_fgetgrent.sh: Likewise.
55032 * iconvdata/run-iconv-test.sh: Likewise.
55033 * intl/tst-gettext.sh: Likewise.
55034 * intl/tst-gettext2.sh: Likewise.
55035 * intl/tst-gettext4.sh: Likewise.
55036 * intl/tst-gettext6.sh: Likewise.
55037 * intl/tst-translit.sh: Likewise.
55038 * io/ftwtest-sh: Likewise.
55039 * libio/test-freopen.sh: Likewise.
55040 * malloc/tst-mtrace.sh: Likewise.
55041 * posix/globtest.sh: Likewise.
55042 * posix/tst-getconf.sh: Likewise.
55043 * posix/wordexp-tst.sh: Likewise.
55044 * stdio-common/tst-printf.sh: Likewise.
55045 * stdio-common/tst-unbputc.sh: Likewise.
55046 * stdlib/tst-fmtmsg.sh: Likewise.
55047 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55048 * catgets/Makefile: Do not specify -e option when running
55049 testsuite shell scripts.
55050 * elf/Makefile: Likewise.
55051 * grp/Makefile: Likewise.
55052 * iconvdata/Makefile: Likewise.
55053 * intl/Makefile: Likewise.
55054 * io/Makefile: Likewise.
55055 * libio/Makefile: Likewise.
55056 * malloc/Makefile: Likewise.
55057 * posix/Makefile: Likewise.
55058 * stdio-common/Makefile: Likewise.
55059 * stdlib/Makefile: Likewise.
55060 * sysdeps/x86_64/Makefile: Likewise.
55061
55062 * io/ftwtest-sh: Add copyright header.
55063 * posix/globtest.sh: Likewise.
55064 * posix/tst-getconf.sh: Likewise.
55065 * posix/wordexp-tst.sh: Likewise.
55066 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55067
55068 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
55069
55070 [BZ #13679]
55071 * Makeconfig (+link): Defined as $(+link-static) if
55072 $(build-shared) isn't yes.
55073 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55074 isn't yes.
55075 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55076
55077 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55078
55079 [BZ #14562]
55080 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55081 new chunk size with MALLOC_ALIGN_MASK.
55082
55083 2012-09-24 Joseph Myers <joseph@codesourcery.com>
55084
55085 [BZ #5044]
55086 * stdio-common/printf_fphex.c: Include <stdbool.h> and
55087 <rounding-mode.h>.
55088 (__printf_fphex): Determine rounding using get_rounding_mode and
55089 round_away.
55090 * stdio-common/tst-printf-round.c (struct hex_test): New
55091 structure.
55092 (hex_tests): New variable.
55093 (test_hex_in_one_mode): New function.
55094 (do_test): Also run tests for hex float output.
55095
55096 2012-09-21 Joseph Myers <joseph@codesourcery.com>
55097
55098 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55099 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55100 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55101 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55102 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55103 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55104 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55105 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55106
55107 2012-09-20 Joseph Myers <joseph@codesourcery.com>
55108
55109 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55110 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55111 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55112 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55113
55114 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
55115
55116 [BZ #14579]
55117 * elf/rtld.c (dl_main): Limit the check for self loading to normal
55118 mode only.
55119 * elf/tst-rtld-load-self.sh: New test.
55120 * elf/Makefile: Run it.
55121
55122 2012-09-18 Joseph Myers <joseph@codesourcery.com>
55123
55124 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55125 (tst-writev-ENV): Remove.
55126 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55127
55128 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
55129
55130 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55131
55132 2012-09-17 Joseph Myers <joseph@codesourcery.com>
55133
55134 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55135 unconditional.
55136 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55137 Likewise.
55138 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55139 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55140 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55141 Likewise.
55142
55143 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
55144
55145 [BZ #14587]
55146 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55147 * config.make.in (have-cpp-asm-debuginfo): Removed.
55148 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55149 * configure: Regenerated.
55150
55151 2012-09-14 Joseph Myers <joseph@codesourcery.com>
55152
55153 [BZ #5044]
55154 * stdio-common/printf_fp.c: Include <stdbool.h> and
55155 <rounding-mode.h>.
55156 (___printf_fp): Determine rounding using get_rounding_mode and
55157 round_away.
55158 * stdio-common/tst-printf-round.c: New file.
55159 * stdio-common/Makefile (tests): Add tst-printf-round.
55160 (link-libm): New variable.
55161 ($(objpfx)tst-printf-round): Depend in $(link-libm).
55162
55163 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
55164
55165 [BZ #14576]
55166 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55167 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55168 Likewise.
55169 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55170 Likewise.
55171
55172 2012-09-13 Joseph Myers <joseph@codesourcery.com>
55173
55174 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55175 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55176 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55177 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55178
55179 2012-09-12 Joseph Myers <joseph@codesourcery.com>
55180
55181 [BZ #14518]
55182 * include/rounding-mode.h: New file.
55183 * sysdeps/generic/get-rounding-mode.h: Likewise.
55184 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55185 * stdlib/strtod_l.c: Include <rounding-mode.h>.
55186 (MAX_VALUE): New macro.
55187 (MIN_VALUE): Likewise.
55188 (overflow_value): New function.
55189 (underflow_value): Likewise.
55190 (round_and_return): Use overflow_value and underflow_value to
55191 determine return values in overflow and underflow cases. Use
55192 round_away to determine rounding depending on rounding mode.
55193 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55194 determine return values in overflow and underflow cases.
55195 * stdlib/tst-strtod-round.c: Include <fenv.h>.
55196 (struct test_results): New structure.
55197 (struct test): Use struct test_results to store expected results
55198 for all rounding modes.
55199 (TEST): Include expected results for all rounding modes.
55200 (test_in_one_mode): New function.
55201 (do_test): Use test_in_one_mode to compute and check results.
55202 Check results for all rounding modes.
55203 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55204 $(link-libm).
55205
55206 2012-12-09 Allan McRae <allan@archlinux.org>
55207
55208 * sysdeps/i386/fpu/libm-test-ulps: Update
55209
55210 2012-09-11 Joseph Myers <joseph@codesourcery.com>
55211
55212 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55213 (_G_int32_t): Likewise.
55214 (_G_uint16_t): Likewise.
55215 (_G_uint32_t): Likewise.
55216 (_G_HAVE_BOOL): Likewise.
55217 (_G_HAVE_ATEXIT): Likewise.
55218 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55219 (_G_HAVE_IO_FILE_OPEN): Likewise.
55220 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55221 (_G_int32_t): Likewise.
55222 (_G_uint16_t): Likewise.
55223 (_G_uint32_t): Likewise.
55224 (_G_HAVE_BOOL): Likewise.
55225 (_G_HAVE_ATEXIT): Likewise.
55226 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55227 (_G_HAVE_IO_FILE_OPEN): Likewise.
55228 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55229 (_G_int32_t): Likewise.
55230 (_G_uint16_t): Likewise.
55231 (_G_uint32_t): Likewise.
55232 (_G_HAVE_BOOL): Likewise.
55233 (_G_HAVE_ATEXIT): Likewise.
55234 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55235 (_G_HAVE_IO_FILE_OPEN): Likewise.
55236
55237 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
55238
55239 * csu/libc-tls.c: Update copyright years.
55240
55241 2012-09-10 Joseph Myers <joseph@codesourcery.com>
55242
55243 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55244 [!_G_USING_THUNKS]: Remove conditional code.
55245 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55246 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55247
55248 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55249 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55250 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55251 (_G_VTABLE_LABEL_PREFIX): Likewise.
55252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55253 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55254 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55255 (_G_VTABLE_LABEL_PREFIX): Likewise.
55256 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55257 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55258 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55259 (_G_VTABLE_LABEL_PREFIX): Likewise.
55260 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55261
55262 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
55263
55264 * libio/Makefile: Include ../Makeconfig before tests.
55265 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55266 only if $(build-shared) is yes.
55267
55268 * iconv/gconv_db.c: Update copyright years.
55269
55270 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55271
55272 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55273 unwind info if defined PIC. Fix special cases description.
55274 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55275
55276 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55277 DP_HI_MASK entry.
55278 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55279
55280 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
55281
55282 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55283
55284 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55285 is NULL.
55286
55287 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55288 (LDLIBS-tst-chk4): This.
55289 (LDFLAGS-tst-chk5): Renamed to ...
55290 (LDLIBS-tst-chk5): This.
55291 (LDFLAGS-tst-chk6): Renamed to ...
55292 (LDLIBS-tst-chk6): This.
55293 (LDFLAGS-tst-lfschk4): Renamed to ...
55294 (LDLIBS-tst-lfschk4): This.
55295 (LDFLAGS-tst-lfschk5): Renamed to ...
55296 (LDLIBS-tst-lfschk5): This.
55297 (LDFLAGS-tst-lfschk6): Renamed to ...
55298 (LDLIBS-tst-lfschk6): This.
55299
55300 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55301 on $(common-objpfx)soversions.mk.
55302
55303 2012-09-07 Joseph Myers <joseph@codesourcery.com>
55304
55305 [BZ #10014]
55306 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55307 example host name.
55308
55309 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
55310
55311 * malloc/arena.c (arena_get_retry): New function that gets
55312 another arena for the caller to try its request on.
55313 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55314 current arena cannot fulfill the request.
55315 (__libc_memalign): Likewise.
55316 (__libc_memalign): Likewise.
55317 (__libc_pvalloc): Likewise.
55318 (__libc_calloc): Likewise.
55319
55320 2012-09-05 John Tobey <john.tobey@gmail.com>
55321
55322 [BZ #13542]
55323 * manual/arith.texi (Operations on Complex): Fix description
55324 of carg branch cut.
55325
55326 2012-09-06 Joseph Myers <joseph@codesourcery.com>
55327
55328 [BZ #10014]
55329 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55330 host name.
55331
55332 [BZ #10038]
55333 * manual/memory.texi (Memory): Make order of menu items match
55334 order of sections.
55335
55336 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
55337
55338 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55339 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
55340 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55341
55342 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
55343
55344 * csu/libc-tls.c (static_dtv): Renamed to ...
55345 (_dl_static_dtv): This. Make it global.
55346 (_dl_initial_dtv): Removed.
55347 (__libc_setup_tls): Updated.
55348 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55349 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55350 DL_INITIAL_DTV.
55351
55352 2012-09-06 Petr Machata <pmachata@redhat.com>
55353
55354 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55355 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55356 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55357 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55358
55359 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
55360
55361 [BZ #14545]
55362 * csu/libc-tls.c (_dl_initial_dtv): New variable.
55363 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55364 freeing dtv[-1].
55365
55366 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
55367
55368 [BZ #14544]
55369 * Makeconfig (link-static-before-libc): Replace $(+prector)
55370 with $(+prectorT).
55371 (link-static-after-libc): Replace $(+postctor) with
55372 $(+postctorT).
55373 (link-bounded): Replace $(+prector)/$(+postctor) with
55374 $(+prectorT)/$(+postctorT).
55375 (+prectorT): New macro.
55376 (+postctorT): Likewise.
55377
55378 2012-09-06 Joseph Myers <joseph@codesourcery.com>
55379
55380 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55381 (round_str): Handle values above the maximum for IBM long double
55382 as inexact.
55383 * stdlib/tst-strtod-round.c (tests): Regenerated.
55384
55385 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55386
55387 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55388 assembler flag.
55389 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55390 zarch_nohighgprs around the zarch optimized routines.
55391 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55392 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55394 for zarch.
55395
55396 2012-09-05 David S. Miller <davem@davemloft.net>
55397
55398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55399
55400 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55401 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55402 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55403 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55404 entries.
55405
55406 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
55407
55408 * malloc/arena.c: Fold copyright years.
55409 * malloc/mcheck.c, malloc/memusage.c: Likewise.
55410
55411 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
55412
55413 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55414
55415 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
55416
55417 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
55418
55419 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
55420
55421 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55422 change internal state upon failure.
55423
55424 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
55425
55426 * malloc/mcheck.c (mcheck_check_all): Fix typo.
55427 * malloc/memusage.c (mmap): Likewise.
55428 (mmap64, mremap): Likewise. Adjust name in comment.
55429
55430 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55431
55432 * libio/fileops.c: Fix typos in comments.
55433 * libio/oldfileops.c: Likewise.
55434 * libio/wfileops.c: Likewise.
55435
55436 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55437
55438 [BZ #1349]
55439 * malloc/Makefile (tests): Add tst-malloc-usable test case.
55440 (tst-malloc-usable-ENV): Set environment for test case.
55441 * malloc/hooks.c (malloc_check_get_size): New function to get
55442 requested size.
55443 * malloc/malloc.c (musable): Use malloc_check_get_size.
55444 * malloc/tst-malloc-usable.c: New test case.
55445
55446 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
55447
55448 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55449
55450 2012-09-05 Allan McRae <allan@archlinux.org>
55451
55452 [BZ #13966]
55453 * configure.in (CXX_SYSINCLUDES): Use compiler output to
55454 determine header location.
55455 * configure: Regenerated.
55456
55457 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
55458
55459 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55460 float format.
55461 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55462 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55463 format.
55464 (test): Regenerate.
55465
55466 2012-09-04 David S. Miller <davem@davemloft.net>
55467
55468 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55469 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55471
55472 2012-09-04 Florian Weimer <fweimer@redhat.com>
55473
55474 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55475 failures.
55476
55477 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55478
55479 2012-09-04 Joseph Myers <joseph@codesourcery.com>
55480
55481 [BZ #9914]
55482 * libio/iogetdelim.c: Include <limits.h>.
55483 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55484 + len + 1 would overflow.
55485
55486 2012-09-03 Andreas Jaeger <aj@suse.de>
55487
55488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55489 * sysdeps/i386/fpu/libm-test-ulps: Update.
55490
55491 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55492
55493 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55494 Add s_sinf-sse2, s_conf-sse2.
55495
55496 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55497 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55498 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55499 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55500
55501 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55502 for using routine as __sinf_ia32.
55503 Use macro for function declaration and weak_alias.
55504 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55505 for using routine as __cosf_ia32.
55506 Use macro for function declaration and weak_alias.
55507
55508 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55509 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55510
55511 * sysdeps/x86_64/fpu/s_sinf.S: New file.
55512 * sysdeps/x86_64/fpu/s_cosf.S: New file.
55513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55514
55515 * math/libm-test.inc (cos_test): Add more test cases.
55516 (sin_test): Likewise.
55517 (sincos_test): Likewise.
55518
55519 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55520
55521 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55522 (IFUNC_RESOLVE): Make pointers to the specialized implementations
55523 hidden.
55524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55525
55526 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
55527
55528 [BZ #14538]
55529 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55530 first element of the GOT.
55531 (elf_machine_load_address): Return the difference between
55532 the runtime address of _DYNAMIC and elf_machine_dynamic ().
55533
55534 2012-09-01 Allan McRae <allan@archlinux.org>
55535
55536 [BZ #13412]
55537 * configure.in (AWK): Require gawk version 3.0 or later.
55538 * configure: Regenerated.
55539
55540 2012-09-01 Joseph Myers <joseph@codesourcery.com>
55541
55542 * sysdeps/unix/sysv/linux/kernel-features.h
55543 (__ASSUME_POSIX_CPU_TIMERS): Remove.
55544 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55545 [__NR_clock_getres]: Make code unconditional.
55546 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55547 (clock_getcpuclockid): Remove code left unreachable by removal of
55548 conditionals.
55549 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55550 code unconditional.
55551 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55552 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55553 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55554 Make code unconditional.
55555 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55556 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55557 * sysdeps/unix/sysv/linux/clock_settime.c
55558 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55559 conditional code.
55560 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55561 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55562
55563 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
55564
55565 [BZ #14476]
55566 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55567 scripts/test-installation.pl.
55568
55569 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55570 and $ld_so_version if it is set.
55571
55572 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55573
55574 [BZ #14516]
55575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55576 failure if reading from procfs failed.
55577 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55578
55579 2012-08-27 Joseph Myers <joseph@codesourcery.com>
55580
55581 * sysdeps/unix/sysv/linux/kernel-features.h
55582 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55583 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55584 Remove conditional code.
55585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55586 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55587 Remove conditional code.
55588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55589 * sysdeps/unix/sysv/linux/i386/fxstat.c
55590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55592 * sysdeps/unix/sysv/linux/i386/fxstatat.c
55593 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55595 * sysdeps/unix/sysv/linux/i386/lxstat.c
55596 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55598 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55599 Remove conditional code.
55600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55601 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55602 Remove conditional code.
55603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55604 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55605 <kernel-features.h>.
55606 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55607 Remove.
55608 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55609 Remove conditional code.
55610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55611 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55612 Remove conditional.
55613
55614 2012-08-27 Mike Frysinger <vapier@gentoo.org>
55615
55616 [BZ #5400]
55617 * NEWS: Add fixed bug number.
55618
55619 2012-08-27 Joseph Myers <joseph@codesourcery.com>
55620
55621 [BZ #14519]
55622 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55623 underflowing exponent in case of negative sign.
55624 * stdlib/tst-strtod-round-data: Add more tests.
55625 * stdlib/tst-strtod-round.c (tests): Regenerated.
55626
55627 [BZ #3479]
55628 * stdlib/strtod_l.c (NDIG): Remove.
55629 (HEXNDIG): Likewise.
55630 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55631 smallest representable value.
55632 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55633 lie within an exact representation of 1/2 ulp of the result.
55634 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55635 unconditionally.
55636 (TENS_P9_IDX): Define unconditionally.
55637 (TENS_P9_SIZE): Likewise.
55638 (TENS_P10_IDX): Likewise.
55639 (TENS_P10_SIZE): Likewise.
55640 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55641 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55642 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55643 entries for 10^2^13 and 10^2^14.
55644 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55645 (TENS_P13_IDX): Define.
55646 (TENS_P13_SIZE): Likewise.
55647 (TENS_P14_IDX): Likewise.
55648 (TENS_P14_SIZE): Likewise.
55649 (_fpioconst_pow10): Change array size to
55650 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
55651 unconditional.
55652 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55653 1024]: Add entries for 10^2^13 and 10^2^14.
55654 [LAST_POW10 > _LAST_POW10]: Remove #error.
55655 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55656 (_fpioconst_pow10): Change array size to
55657 FPIOCONST_POW10_ARRAY_SIZE.
55658 * stdlib/gen-fpioconst.c: New file.
55659 * stdlib/gen-tst-strtod-round.c: Likewise.
55660 * stdlib/tst-strtod-round-data: Likewise.
55661 * stdlib/tst-strtod-round.c: Likewise.
55662 * stdlib/Makefile (tests): Add tst-strtod-round.
55663
55664 [BZ #14459]
55665 * stdlib/strtod_l.c: Include <stdint.h>.
55666 (NDEBUG): Do not define.
55667 (round_and_return): Change EXPONENT parameter to type intmax_t.
55668 Rearrange calculations to avoid internal overflow possibilities.
55669 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55670 Rearrange calculations to avoid internal overflow possibilities.
55671 Assert that number fits inside MPNSIZE limbs.
55672 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55673 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
55674 calculations and add assertions to avoid internal overflow
55675 possibilities. Add casts to avoid signed/unsigned operations.
55676 * stdlib/tst-strtod-overflow.c: New file.
55677 * stdlib/Makefile (tests): Add tst-strtod-overflow.
55678
55679 2012-08-25 Marek Polacek <polacek@redhat.com>
55680
55681 * time/time.h: Fix some typos in comments.
55682
55683 2012-08-23 Roland McGrath <roland@hack.frob.com>
55684
55685 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55686 * posix/tst-rfc3484-2.c: Likewise.
55687 * posix/tst-rfc3484-3.c: Likewise.
55688
55689 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
55690
55691 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55692 (EF_ARM_ABI_FLOAT_HARD): Likewise.
55693
55694 2012-08-23 Joseph Myers <joseph@codesourcery.com>
55695
55696 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55697 #include of fxstatat64.c.
55698
55699 2012-08-22 Roland McGrath <roland@hack.frob.com>
55700
55701 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55702 * shadow/getspent_r.c: Likewise.
55703 * shadow/getspnam.c: Likewise.
55704 * shadow/getspnam_r.c: Likewise.
55705 * gshadow/getsgent.c: Likewise.
55706 * gshadow/getsgent_r.c: Likewise.
55707 * gshadow/getsgnam.c: Likewise.
55708 * gshadow/getsgnam_r.c: Likewise.
55709 * inet/getnetbyad.c: Likewise.
55710 * inet/getnetbyad_r.c: Likewise.
55711 * inet/getnetbynm.c: Likewise.
55712 * inet/getnetbynm_r.c: Likewise.
55713 * inet/getnetent.c: Likewise.
55714 * inet/getnetent_r.c: Likewise.
55715 * inet/getproto.c: Likewise.
55716 * inet/getproto_r.c: Likewise.
55717 * inet/getprtent.c: Likewise.
55718 * inet/getprtent_r.c: Likewise.
55719 * inet/getprtname.c: Likewise.
55720 * inet/getprtname_r.c: Likewise.
55721 * inet/getrpcbyname.c: Likewise.
55722 * inet/getrpcbyname_r.c: Likewise.
55723 * inet/getrpcbynumber.c: Likewise.
55724 * inet/getrpcbynumber_r.c: Likewise.
55725 * inet/getrpcent.c: Likewise.
55726 * inet/getrpcent_r.c: Likewise.
55727 * inet/getaliasent.c: Likewise.
55728 * inet/getaliasent_r.c: Likewise.
55729 * inet/getaliasname.c: Likewise.
55730 * inet/getaliasname_r.c: Likewise.
55731 * nscd/getgrgid_r.c: Likewise.
55732 * nscd/getgrnam_r.c: Likewise.
55733 * nscd/gethstbyad_r.c: Likewise.
55734 * nscd/gethstbynm3_r.c: Likewise.
55735 * nscd/getpwnam_r.c: Likewise.
55736 * nscd/getpwuid_r.c: Likewise.
55737 * nscd/getsrvbynm_r.c: Likewise.
55738 * nscd/getsrvbypt_r.c: Likewise.
55739 * nscd/gai.c: Likewise.
55740
55741 * configure.in (build_nscd): New substituted variable, set
55742 by --disable-build-nscd and defaults to $use_nscd.
55743 * configure: Regenerated.
55744 * config.make.in (build-nscd): New substituted variable.
55745 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55746 Change conditional to require [$(build-nscd) = yes] as well.
55747 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55748
55749 [BZ# 13696]
55750 * configure.in (use_nscd): New substituted variable, set by
55751 --disable-nscd. If enabled, define USE_NSCD.
55752 * configure: Regenerated.
55753 * config.h.in: Add USE_NSCD.
55754 * config.make.in (use-nscd): New substituted variable.
55755 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55756 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55757 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55758 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55759 (CFLAGS-getgrnam_r.c): Likewise.
55760 (CFLAGS-initgroups.c): Likewise.
55761 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55762 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55763 Variables removed.
55764 * inet/getnetgrent_r.c
55765 (nscd_setnetgrent): New function, broken out of ...
55766 (setnetgrent): ... here. Call it.
55767 (innetgr): Conditionalize nscd bits on [USE_NSCD].
55768 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55769 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55770 * nscd/Makefile (routines, aux): Move definitions after include of
55771 Makeconfig. Conditionalize on [$(use-nscd) != no].
55772 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55773 Conditionalize on [USE_NSCD].
55774 (is_nscd, nscd_init_cb): Likewise.
55775 (nss_load_library): Conditionalize init callback on [USE_NSCD].
55776 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55777 * nss/nss_db/db-init.c: Likewise.
55778 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55779 [USE_NSCD].
55780 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55781 (make_request): Use it.
55782 (cache_valid_p): New function.
55783 (__check_pf): Use it.
55784 * NEWS: Add item for --disable-nscd.
55785
55786 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
55787
55788 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55789 to support sed >= 4.2.1-20-ga9bf076.
55790 * configure: Regenerated.
55791
55792 2012-08-22 Roland McGrath <roland@hack.frob.com>
55793
55794 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55795 Conditionalize whole body on [IREL].
55796
55797 2012-08-22 Jeff Law <law@redhat.com>
55798
55799 [BZ #14505]
55800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55801 if the family is PF_UNSPEC.
55802
55803 2012-08-22 Mike Frysinger <vapier@gentoo.org>
55804
55805 * Makerules (lib-version): Rename from V.
55806 (install-lib-nosubdir): Change V to lib-version.
55807
55808 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
55809
55810 [BZ #14252]
55811 * powerpc32/power6/wcschr.c: New file.
55812 * powerpc32/power6/wcscpy.c: New file.
55813 * powerpc32/power6/wcsrchr.c: New file.
55814 * powerpc64/power6/wcschr.c: New file.
55815 * powerpc64/power6/wcscpy.c: New file.
55816 * powerpc64/power6/wcsrchr.c: New file.
55817
55818 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
55819
55820 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55821 (two_way_short_needle): Use it.
55822 * string/strstr.c (AVAILABLE1_USES_J): Define.
55823 * string/strcasestr.c: Likewise.
55824
55825 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55826 array references.
55827 * string/strcasestr.c (TOLOWER): Make side-effect safe.
55828
55829 [BZ #11607]
55830 * NEWS: Add an entry.
55831 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55832 define their defaults.
55833 (two_way_short_needle): Detect end-of-string on-the-fly.
55834 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55835 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55836 * string/bug-strcasestr1.c: New test.
55837 * string/Makefile: Run it.
55838
55839 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
55840
55841 [BZ #11607]
55842 * string/str-two-way.h (two_way_short_needle): Optimize matching of
55843 the first character.
55844
55845 2012-08-21 Roland McGrath <roland@hack.frob.com>
55846
55847 * csu/elf-init.c (__libc_csu_irel): Function removed.
55848 * csu/libc-start.c (apply_irel): New function.
55849 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55850
55851 2012-08-21 Joseph Myers <joseph@codesourcery.com>
55852
55853 * sysdeps/unix/sysv/linux/kernel-features.h
55854 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55855 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55856 <kernel-features.h>.
55857 [__NR_fadvise64_64]: Make code unconditional.
55858 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55859 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55860 !__NR_fadvise64_64)]: Likewise.
55861 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55862 !__NR_fadvise64_64))]: Likewise.
55863 [__NR_fadvise64]: Make code unconditional.
55864 [!__NR_fadvise64]: Remove conditional code.
55865 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55866 <kernel-features.h>.
55867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55868 unconditional.
55869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55870 conditional code.
55871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55872 not include <kernel-features.h>.
55873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55874 unconditional.
55875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55876 conditional code.
55877 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55878 include <kernel-features.h>.
55879 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55880 unconditional.
55881 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55882 conditional code.
55883
55884 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55885
55886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55887 slight instruction rearrangements per scrollpipe analysis.
55888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55889
55890 2012-08-20 Roland McGrath <roland@hack.frob.com>
55891
55892 * manual/syslog.texi (syslog; vsyslog, closelog):
55893 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55894 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55895
55896 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55897 DSOCAPS to match condition on defining it.
55898
55899 2012-08-20 Joseph Myers <joseph@codesourcery.com>
55900
55901 * sysdeps/unix/sysv/linux/kernel-features.h
55902 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55907 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55908 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55910 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55911 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55912
55913 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55914 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55915
55916 * sysdeps/unix/sysv/linux/kernel-features.h
55917 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55918 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55919 unconditional.
55920 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55921 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55922 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55923 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55924 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55925 Make code unconditional.
55926 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55927 (__mmap64) [!__NR_mmap2]: Likewise.
55928 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55929 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55930 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55931 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55932 [__NR_mmap2]: Make code unconditional.
55933 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55934 (__mmap64) [!__NR_mmap2]: Likewise.
55935
55936 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55937
55938 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55939
55940 2012-08-18 Andreas Jaeger <aj@suse.de>
55941
55942 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55943
55944 2012-08-18 Mike Frysinger <vapier@gentoo.org>
55945
55946 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55947 * include/unistd.h (__have_sock_cloexec): Likewise.
55948 (__have_pipe2): Likewise.
55949 (__have_dup3): Likewise.
55950
55951 2012-08-18 Mike Frysinger <vapier@gentoo.org>
55952
55953 [BZ #9685]
55954 * include/unistd.h (__have_pipe2): Change define into an extern int.
55955 (__have_dup3): Likewise.
55956 * socket/have_sock_cloexec.c: Include fcntl.h.
55957 (__have_pipe2): New variable.
55958 (__have_dup3): Likewise.
55959
55960 2012-08-17 Mike Frysinger <vapier@gentoo.org>
55961
55962 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55963
55964 2012-08-17 Marek Polacek <polacek@redhat.com>
55965
55966 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55967 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55968
55969 2012-08-17 Roland McGrath <roland@hack.frob.com>
55970
55971 * configure.in: Add AC_SUBST for sysheaders.
55972 * configure: Regenerated.
55973 * config.make.in (sysheaders): New substituted variable.
55974
55975 * sysdeps/unix/mkfifo.c: Moved ...
55976 * sysdeps/posix/mkfifo.c: ... here.
55977 * sysdeps/unix/mkfifoat.c: Moved ...
55978 * sysdeps/posix/mkfifoat.c: ... here.
55979
55980 * sysdeps/unix/utime.c: Moved ...
55981 * sysdeps/posix/utime.c: ... here.
55982
55983 * sysdeps/unix/time.c: Moved ...
55984 * sysdeps/posix/time.c: ... here.
55985 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55986 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55987
55988 * sysdeps/unix/nice.c: Moved ...
55989 * sysdeps/posix/nice.c: ... here.
55990
55991 * sysdeps/unix/alarm.c: Moved ...
55992 * sysdeps/posix/alarm.c: ... here.
55993
55994 * intl/Makefile ($(codeset_mo)): Depend on the input file.
55995
55996 2012-08-17 Jeff Law <law@redhat.com>
55997
55998 * intl/Makefile (codeset_mo): New variable.
55999 ($(codeset_mo)): New target.
56000 (tst-codeset.out): Depend on that. Remove explicit rule.
56001 (tst-gettext3.out, tst-gettext5.out): Likewise.
56002 (LOCPATH-ENV, tst-codeset-ENV): New variables.
56003 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56004 * intl/tst-codeset.sh: Remove.
56005 * intl/tst-gettext3.sh: Likewise.
56006 * intl/tst-gettext5.sh: Likewise.
56007
56008 2012-08-17 Roland McGrath <roland@hack.frob.com>
56009
56010 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
56011 * sysdeps/unix/syscalls.list: ... here.
56012
56013 * sysdeps/posix/getaddrinfo.c
56014 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56015 (gaiconf_init, gaiconf_reload): Use them.
56016 [!_STATBUF_ST_NSEC]
56017 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56018 Define using time_t rather than struct timespec.
56019
56020 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56021 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56022 Macros removed.
56023 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56024 [!NO_THREADS].
56025 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56026 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56027 Likewise.
56028
56029 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56030 __libc_cleanup_push argument.
56031
56032 * bits/param.h: New file.
56033 * misc/sys/param.h: New file.
56034 * include/sys/param.h: New file.
56035 * misc/Makefile (headers): Add bits/param.h.
56036 * sysdeps/generic/sys/param.h: File removed.
56037 * sysdeps/unix/sysv/linux/bits/param.h: New file.
56038 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56039 * sysdeps/mach/hurd/bits/param.h: New file.
56040 * sysdeps/mach/hurd/sys/param.h: File removed.
56041
56042 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56043 last change.
56044
56045 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56046 [_IO_MTSAFE_IO].
56047 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56048 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56049 New macros.
56050
56051 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56052 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56053 rather than -D_IO_MTSAFE_IO conditionally.
56054 * stdio-common/Makefile (CPPFLAGS): Likewise.
56055 * wcsmbs/Makefile (CPPFLAGS): Likewise.
56056 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56057 Use $(libio-mtsafe).
56058 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56059 of -D_IO_MTSAFE_IO.
56060 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56061 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56062 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56063 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56064 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56065 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56066 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56067 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56068 (CFLAGS-fread_u_chk.c): Likewise.
56069 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56070 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56071 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56072 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56073 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56074 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56075 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56076 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56077 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56078
56079 * libio/Makefile: Test [$(libc-reentrant) = yes]
56080 instead of [$(filter %REENTRANT, $(defines)) nonempty].
56081
56082 * Makeconfig
56083 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56084 * sysdeps/pthread/configure: File removed.
56085 * sysdeps/pthread/Makeconfig: New file.
56086 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56087 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56088
56089 2012-08-16 Gary Benson <gbenson@redhat.com>
56090
56091 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56092 unmapping the first object in a namespace.
56093
56094 2012-08-16 Roland McGrath <roland@hack.frob.com>
56095
56096 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56097 (__internal_setnetgrent): ... this. Add internal_function to
56098 definition. Add libc_hidden_def.
56099 (setnetgrent): Update caller.
56100 (internal_endnetgrent): Renamed to ...
56101 (__internal_endnetgrent): ... this. Add internal_function to
56102 definition. Add libc_hidden_def.
56103 (endnetgrent): Update caller.
56104 (internal_getnetgrent_r): Renamed to ...
56105 (__internal_getnetgrent_r): ... this. Add internal_function to
56106 definition. Add libc_hidden_def.
56107 (__getnetgrent_r): Update caller.
56108 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
56109
56110 2012-08-16 Joseph Myers <joseph@codesourcery.com>
56111
56112 * stdlib/longlong.h: Update from GCC.
56113
56114 2012-08-16 Roland McGrath <roland@hack.frob.com>
56115
56116 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56117 on _QL, which is set by umul_ppmm but never used.
56118 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56119 variables, which are set by GMP macros but never used.
56120 * stdio-common/_itowa.c (_itowa): Likewise.
56121 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56122 * stdlib/mod_1.c (mpn_mod_1): Likewise.
56123
56124 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
56125
56126 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56127 struct La_sh_regs is not constant.
56128 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56129 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56130 and struct La_sparc64_regs are not constant.
56131
56132 2012-08-16 Joseph Myers <joseph@codesourcery.com>
56133
56134 * sysdeps/unix/sysv/linux/kernel-features.h
56135 (__ASSUME_POSIX_TIMERS): Remove.
56136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56138 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56139 Make code unconditional.
56140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56141 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56142 Make code unconditional.
56143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56144 * sysdeps/unix/sysv/linux/clock_nanosleep.c
56145 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56147 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56148 Make code unconditional.
56149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56150 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56151 (__libc_missing_posix_timers): Remove.
56152
56153 2012-08-15 Roland McGrath <roland@hack.frob.com>
56154
56155 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56156 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56157
56158 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56159
56160 * elf/dl-sym.c: Include <stdlib.h>.
56161
56162 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56163 constants, which avoids warnings in 32-bit builds.
56164
56165 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56166 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56167
56168 * misc/lseek.c: File moved to ...
56169 * io/lseek.c: ... here.
56170
56171 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56172
56173 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56174 shifting LEN more than 31 bits at once.
56175
56176 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56177
56178 [BZ #14195]
56179 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56180 segmentation fault for a case of two empty input strings.
56181 * string/test-strncasecmp.c (check1): Renamed to...
56182 (bz12205): ...this.
56183 (bz14195): Add new testcase for two empty input strings and N > 0.
56184 (test_main): Call new testcase, adapt for renamed function.
56185
56186 2012-08-15 Andreas Jaeger <aj@suse.de>
56187
56188 [BZ #14090]
56189 * crypt/md5test2.c: New test, based on test supplied by Serge
56190 Belyshev <belyshev@depni.sinp.msu.ru>.
56191 * crypt/Makefile (xtests): Add md5test-giant..
56192 * crypt/Makefile ($(objpfx)md5test-giant): Add.
56193
56194 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
56195
56196 [BZ #14090]
56197 * crypt/md5.c (md5_process_block): Don't assume the buffer
56198 length is less than 2**32.
56199 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56200 length is less than 2**64.
56201
56202 2012-08-15 Roland McGrath <roland@hack.frob.com>
56203
56204 * string/str-two-way.h: Include <sys/param.h>.
56205 (MAX): Macro removed.
56206
56207 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56208 Move #define and #undef of memmove to just before and after
56209 including <string.h>.
56210
56211 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56212 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56213 and after including <string.h>. Move declarations of
56214 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56215 to before #include "string/memmove.c".
56216
56217 * include/dirent.h: Declare __getdirentries.
56218
56219 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56220 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56221
56222 2012-08-14 Mike Frysinger <vapier@gentoo.org>
56223
56224 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56225 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56226 * sysdeps/i386/configure: Regenerated.
56227 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56228 STABS_CURRENT_FILE, and STABS_FUN.
56229 (END): Remove call to STABS_FUN_END.
56230 (STABS_CURRENT_FILE1): Delete.
56231 (STABS_CURRENT_FILE): Likewise.
56232 (STABS_FUN): Likewise.
56233 (STABS_FUN_END): Likewise.
56234 (STABS_FUN2): Likewise.
56235 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56236 * sysdeps/x86_64/configure: Regenerated.
56237
56238 2012-08-14 Roland McGrath <roland@hack.frob.com>
56239
56240 * elf/dl-open.c: Include <atomic.h>.
56241 * elf/dl-lookup.c: Likewise.
56242
56243 2012-08-14 Joseph Myers <joseph@codesourcery.com>
56244
56245 * sysdeps/unix/sysv/linux/kernel-features.h
56246 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56247 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56248 unconditionally.
56249 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56250 unconditionally.
56251 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56252 condition on __ASSUME_CLONE_THREAD_FLAGS.
56253
56254 2012-08-14 Andreas Jaeger <aj@suse.de>
56255
56256 * sysdeps/i386/fpu/libm-test-ulps: Update.
56257
56258 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
56259
56260 * include/atomic.h (atomic_exchange_and_add): Split into ...
56261 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56262 New atomic macros.
56263
56264 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
56265
56266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56267
56268 2012-08-13 Jeff Law <law@redhat.com>
56269
56270 * manual/stdio.texi (snprintf): Clarify handling of the trailing
56271 null byte in the output string.
56272
56273 2012-08-10 Joseph Myers <joseph@codesourcery.com>
56274
56275 * sysdeps/unix/sysv/linux/kernel-features.h
56276 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56277 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56278 (__ASSUME_ARG_MAX_STACK_BASED): Define.
56279 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56280 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56281 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
56282 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56283
56284 2012-08-09 Jeff Law <law@redhat.com>
56285
56286 [BZ #13939]
56287 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56288 When avoid_arena is set, don't retry in the that arena. Pick the
56289 next one, whatever it might be.
56290 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56291 (arena_lock): Pass in new parameter to arena_get2.
56292 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56293 arena_get2.
56294 (__libc_malloc): Unify retrying after main arena failure with
56295 __libc_memalign version.
56296 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56297
56298 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
56299
56300 [BZ #14166]
56301 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56302 to __redirect_strstr.
56303 (__strstr_sse42): Use typeof __redirect_strstr.
56304 (__strstr_ia32): Likewise.
56305 (__libc_strstr): New prototype.
56306 (strstr): Renamed to ...
56307 (__libc_strstr): This.
56308 (strstr): New strong alias of __libc_strstr.
56309 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56310 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56311 __redirect_time.
56312 Include <time.h>.
56313 (__libc_time): New prototype.
56314 (time_ifunc): Replace time with __libc_time.
56315 (time): New strong alias and hidden definition of __libc_time.
56316 (__GI_time): Remove strong alias.
56317 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56318 Include <stddef.h>.
56319 (memmove): Redefined to __redirect_memmove.
56320 (__memmove_sse2): Use typeof __redirect_memmove.
56321 (__memmove_ssse3): Likewise.
56322 (__memmove_ssse3_back): Likewise.
56323 (__libc_memmove): New prototype.
56324 (memmove): Renamed to ...
56325 (__libc_memmove): This.
56326 (memmove): New strong alias of __libc_memmove.
56327
56328 2012-08-08 Mark Salter <msalter@redhat.com>
56329
56330 * elf/elf.h
56331 (R_MN10300_TLS_GD): Define.
56332 (R_MN10300_TLS_LD): Likewise.
56333 (R_MN10300_TLS_LDO): Likewise.
56334 (R_MN10300_TLS_GOTIE): Likewise.
56335 (R_MN10300_TLS_IE): Likewise.
56336 (R_MN10300_TLS_LE): Likewise.
56337 (R_MN10300_TLS_DTPMOD): Likewise.
56338 (R_MN10300_TLS_DTPOFF): Likewise.
56339 (R_MN10300_TLS_TPOFF): Likewise.
56340 (R_MN10300_SYM_DIFF): Likewise.
56341 (R_MN10300_ALIGN): Likewise.
56342 (R_MN10300_NUM): Update.
56343
56344 2012-08-08 Joseph Myers <joseph@codesourcery.com>
56345
56346 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56347 Remove.
56348
56349 2012-08-08 Roland McGrath <roland@hack.frob.com>
56350
56351 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56352
56353 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56354 sysdeps/unix -> sysdeps/posix move.
56355 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56356
56357 2012-08-07 Allan McRae <allan@archlinux.org>
56358
56359 [BZ #14303]
56360 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56361 (SUNOS_CPP): Likewise.
56362 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56363 not found.
56364 (open_input): Call CPP using execvp.
56365
56366 2012-08-07 Joseph Myers <joseph@codesourcery.com>
56367
56368 * sysdeps/unix/sysv/linux/kernel-features.h
56369 (__ASSUME_PROT_GROWSUPDOWN): Remove.
56370 (__ASSUME_NO_CLONE_DETACHED): Likewise.
56371 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56372 (__ASSUME_WAITID_SYSCALL): Likewise.
56373 * sysdeps/unix/sysv/linux/dl-execstack.c
56374 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56375 code unconditional.
56376 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56377 conditional code.
56378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56379 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56380 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56381 code.
56382 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56383 unconditional.
56384 [__ASSUME_WAITID_SYSCALL]: Likewise.
56385 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56386
56387 2012-08-07 Roland McGrath <roland@hack.frob.com>
56388
56389 * sysdeps/unix/closedir.c: Renamed to ...
56390 * sysdeps/posix/closedir.c: ... here.
56391 * sysdeps/unix/dirfd.c: Renamed to ...
56392 * sysdeps/posix/dirfd.c: ... here.
56393 * sysdeps/unix/dirstream.h: Renamed to ...
56394 * sysdeps/posix/dirstream.h: ... here.
56395 * sysdeps/unix/fdopendir.c: Renamed to ...
56396 * sysdeps/posix/fdopendir.c: ... here.
56397 * sysdeps/unix/opendir.c: Renamed to ...
56398 * sysdeps/posix/opendir.c: ... here.
56399 * sysdeps/unix/readdir.c: Renamed to ...
56400 * sysdeps/posix/readdir.c: ... here.
56401 * sysdeps/unix/readdir_r.c: Renamed to ...
56402 * sysdeps/posix/readdir_r.c: ... here.
56403 * sysdeps/unix/rewinddir.c: Renamed to ...
56404 * sysdeps/posix/rewinddir.c: ... here.
56405 * sysdeps/unix/seekdir.c: Renamed to ...
56406 * sysdeps/posix/seekdir.c: ... here.
56407 * sysdeps/unix/telldir.c: Renamed to ...
56408 * sysdeps/posix/telldir.c: ... here.
56409 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56410 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56411 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56412 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56413
56414 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56415 * bits/fcntl.h: ... here.
56416
56417 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56418 not 0.
56419 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56420 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56421 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56422 (struct flock): Move l_start, l_len to the beginning.
56423 Use __pid_t for l_pid.
56424 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56425 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56426 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56427 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56428 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56429 [__USE_LARGEFILE64] (struct flock64): New type.
56430 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56431
56432 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56433 * bits/dirent.h: ... here.
56434
56435 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56436 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56437
56438 2012-08-07 Joseph Myers <joseph@codesourcery.com>
56439
56440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56441 Change from 2.6.0 to 2.6.16.
56442 * sysdeps/unix/sysv/linux/configure: Regenerated.
56443 * sysdeps/unix/sysv/linux/kernel-features.h
56444 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56445 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56446 version.
56447 (__ASSUME_UTIMES): Likewise.
56448 (__ASSUME_CLONE_STOPPED): Remove.
56449 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56450 architectures, not kernel version.
56451 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56452 (__ASSUME_NO_CLONE_DETACHED): Likewise.
56453 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56454 (__ASSUME_WAITID_SYSCALL): Likewise.
56455 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56456 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56457 * README: State 2.6.16 as minimum Linux kernel version. Do not
56458 refer to older versions.
56459
56460 2012-08-06 Roland McGrath <roland@hack.frob.com>
56461
56462 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56463 Define alphasort64 as an alias.
56464 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56465 Define versionsort64 as an alias.
56466 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56467 Define scandir64 as an alias.
56468 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56469 Define scandirat64 as an alias.
56470 * dirent/alphasort64.c (alphasort64):
56471 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56472 * dirent/versionsort64.c: Likewise.
56473 * dirent/scandir64.c: Likewise.
56474 * dirent/scandirat64.c: Likewise.
56475 * sysdeps/wordsize-64/alphasort.c: File removed.
56476 * sysdeps/wordsize-64/alphasort64.c: File removed.
56477 * sysdeps/wordsize-64/scandir.c: File removed.
56478 * sysdeps/wordsize-64/scandir64.c: File removed.
56479 * sysdeps/wordsize-64/scandirat.c: File removed.
56480 * sysdeps/wordsize-64/scandirat64.c: File removed.
56481 * sysdeps/wordsize-64/versionsort.c: File removed.
56482 * sysdeps/wordsize-64/versionsort64.c: File removed.
56483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56484 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56486 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56488 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56490 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56491
56492 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56494 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56496 [defined __arch64__ || defined __sparcv9]
56497 (__INO_T_MATCHES_INO64_T): New macro.
56498 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56499 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56500 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56501 * sysdeps/unix/sysv/linux/bits/dirent.h
56502 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56503 (_DIRENT_MATCHES_DIRENT64): New macro.
56504
56505 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56506 Define lockf64 as an alias.
56507 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56508 Define fseeko64 as an alias.
56509 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56510 Define ftello64 as an alias.
56511 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56512 Define _IO_fgetpos64 and fgetpos64 as aliases.
56513 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56514 Define _IO_fsetpos64 and fsetpos64 as aliases.
56515 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56516 Conditionalize body on this.
56517 * libio/fseeko64.c: Likewise.
56518 * libio/ftello64.c: Likewise.
56519 * libio/iofgetpos64.c: Likewise.
56520 * libio/iofsetpos64.c: Likewise.
56521 * sysdeps/wordsize-64/lockf.c: File removed.
56522 * sysdeps/wordsize-64/lockf64.c: File removed.
56523 * sysdeps/wordsize-64/fseeko.c: File removed.
56524 * sysdeps/wordsize-64/fseeko64.c: File removed.
56525 * sysdeps/wordsize-64/ftello.c: File removed.
56526 * sysdeps/wordsize-64/ftello64.c: File removed.
56527 * sysdeps/wordsize-64/iofgetpos.c: File removed.
56528 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56529 * sysdeps/wordsize-64/iofsetpos.c: File removed.
56530 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56532 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56538 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56540 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56541
56542 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56544 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56546 [defined __arch64__ || defined __sparcv9]
56547 (__OFF_T_MATCHES_OFF64_T): New macro.
56548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56549 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56551 (__OFF_T_MATCHES_OFF64_T): New macro.
56552
56553 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
56554
56555 * stdlib/secure-getenv.c (__secure_getenv): Replace
56556 GLIBC_2_16 with GLIBC_2_17.
56557
56558 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
56559
56560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56561 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56562
56563 2012-08-03 David S. Miller <davem@davemloft.net>
56564
56565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56566
56567 2012-08-03 Joseph Myers <joseph@codesourcery.com>
56568
56569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56570 Remove.
56571 (__ASSUME_CORRECT_SI_PID): Likewise.
56572 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56573 (__ASSUME_TMPFS_NAME): Likewise.
56574 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56575 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56576 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56577 (HAVE_AUX_SECURE): Make definition unconditional.
56578 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56579 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56580
56581 2012-08-03 Roland McGrath <roland@hack.frob.com>
56582
56583 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56584 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56585 * sysdeps/mach/hurd/eloop-threshold.h: New file.
56586 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56587 __eloop_threshold instead of SYMLOOP_MAX.
56588
56589 * sysdeps/generic/eloop-threshold.h: New file.
56590 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56591 of MAXSYMLINKS.
56592 * elf/chroot_canon.c (chroot_canon): Likewise.
56593
56594 2012-08-03 Joseph Myers <joseph@codesourcery.com>
56595
56596 [BZ #13717]
56597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56598 Change to 2.6.0 everywhere.
56599 * sysdeps/unix/sysv/linux/configure: Regenerated.
56600 * sysdeps/unix/sysv/linux/kernel-features.h
56601 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56602 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56603 kernel versions.
56604 (__ASSUME_POSIX_TIMERS): Define unconditionally.
56605 (__ASSUME_FUTEX_REQUEUE): Remove.
56606 (__ASSUME_STATFS64): Define unconditionally.
56607 (__ASSUME_AT_SECURE): Likewise.
56608 (__ASSUME_CORRECT_SI_PID): Likewise.
56609 (__ASSUME_TGKILL): Define without depending on kernel version for
56610 i386.
56611 (__ASSUME_UTIMES): Likewise.
56612 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56613 kernel version.
56614 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56615 (__ASSUME_TMPFS_NAME): Likewise.
56616 * README: Update reference to Linux kernel versions.
56617
56618 2012-08-02 Marek Polacek <polacek@redhat.com>
56619
56620 [BZ# 14150]
56621 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
56622 libc_cv_asm_type_prefix with %.
56623 * configure: Regenerated.
56624 * include/libc-symbols.h: Remove comment about
56625 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56626 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56627 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56628 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56629 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56630 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56632 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56633 * elf/tst-unique2mod1.c: Likewise.
56634 * elf/tst-unique1mod2.c: Likewise.
56635 * elf/tst-unique1mod1.c: Likewise.
56636 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56637 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56638 Replace ASM_TYPE_DIRECTIVE with .type.
56639 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56640 * sysdeps/i386/sysdep.h: Likewise.
56641 * sysdeps/x86_64/sysdep.h: Likewise.
56642 * sysdeps/sh/sysdep.h: Likewise.
56643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56644 Do not define ASM_TYPE_DIRECTIVE.
56645 * sysdeps/powerpc/sysdep.h: Likewise.
56646 * sysdeps/powerpc/powerpc32/sysdep.h:
56647 Replace ASM_TYPE_DIRECTIVE with .type.
56648 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56650 * sysdeps/i386/fpu/e_powf.S: Likewise.
56651 * sysdeps/i386/fpu/e_expl.S: Likewise.
56652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56653 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56654 * sysdeps/i386/fpu/e_pow.S: Likewise.
56655 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56656 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56657 * sysdeps/i386/fpu/s_expm1.S: Likewise.
56658 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56659 * sysdeps/i386/fpu/e_log2.S: Likewise.
56660 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56661 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56662 * sysdeps/i386/fpu/e_powl.S: Likewise.
56663 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56664 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56665 * sysdeps/i386/fpu/e_logl.S: Likewise.
56666 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56667 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56668 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56671 * sysdeps/i386/fpu/e_log.S: Likewise.
56672 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56673 * sysdeps/i386/fpu/e_logf.S: Likewise.
56674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56675 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56676 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56677 * sysdeps/i386/fpu/e_log10.S: Likewise.
56678 * sysdeps/i386/fpu/s_frexp.S: Likewise.
56679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56680 * sysdeps/i386/fpu/s_asinh.S: Likewise.
56681 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56684 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56685 * sysdeps/i386/i686/strtok.S: Likewise.
56686 * sysdeps/i386/i386-mcount.S: Likewise.
56687 * sysdeps/i386/strtok.S: Likewise.
56688 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56689 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56691 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56692 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56693 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56694 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56695 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56696 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56697 * sysdeps/x86_64/_mcount.S: Likewise.
56698 * sysdeps/x86_64/strtok.S: Likewise.
56699 * sysdeps/sh/_mcount.S: Likewise.
56700
56701 2012-08-01 Roland McGrath <roland@hack.frob.com>
56702
56703 * libio/iofopen.c: Include <fcntl.h>.
56704 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56705 (_IO_fopen64, fopen64): Define as aliases.
56706 * libio/iofopen64.c: Include <fcntl.h>.
56707 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56708 Conditionalize body on this.
56709 * sysdeps/wordsize-64/iofopen.c: File removed.
56710 * sysdeps/wordsize-64/iofopen64.c: File removed.
56711
56712 2012-08-01 Marek Polacek <polacek@redhat.com>
56713
56714 * libc/Makeconfig: Use elf in place of binfmt-subdir.
56715 Use dlfcn directly instead of a variable.
56716 (binfmt-subdir): Do not define.
56717 (dlfcn): Likewise.
56718
56719 2012-08-01 Joseph Myers <joseph@codesourcery.com>
56720
56721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56722 Remove all definitions.
56723 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56724 <kernel-features.h>.
56725 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56726 (miss_F_GETOWN_EX): Remove all definitions.
56727 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56728 macro definition.
56729 [!__ASSUME_FCNTL64]: Remove conditional code.
56730 [__ASSUME_FCNTL64]: Make code unconditional.
56731 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56732 <kernel-features.h>.
56733 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56734 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56735 (lockf64) [__NR_fcntl64]: Make code unconditional.
56736 (lockf64) [__ASSUME_FCNTL64]: Likewise.
56737
56738 * sysdeps/unix/sysv/linux/kernel-features.h
56739 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56740 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56741 Make code unconditional.
56742 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56743 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56745 [__NR_vfork]: Make code unconditional.
56746 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56747 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56749 [__NR_vfork]: Make code unconditional.
56750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56752
56753 2012-08-01 Roland McGrath <roland@hack.frob.com>
56754
56755 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56756 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56757
56758 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56759 Define mkstemp64 as an alias.
56760 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56761 Define mkstemps64 as an alias.
56762 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56763 Define mkostemp64 as an alias.
56764 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56765 Define mkostemps64 as an alias.
56766 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56767 Conditionalize body on this.
56768 * misc/mkostemp64.c: Likewise.
56769 * misc/mkostemps64.c: Likewise.
56770 * misc/mkstemps64.c: Likewise.
56771 * sysdeps/wordsize-64/mkstemp64.c: File removed.
56772 * sysdeps/wordsize-64/mkostemp64.c: File removed.
56773 * sysdeps/wordsize-64/mkostemp.c: File removed.
56774 * sysdeps/wordsize-64/mkstemp.c: File removed.
56775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56779
56780 [BZ #14138]
56781 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56782 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56783 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56784 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56785
56786 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56787 compat_symbol macros from <shlib-compat.h> rather than the underlying
56788 default_symbol_version and symbol_version macros, so that DEFAULT
56789 lines in shlib-versions are respected.
56790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56791
56792 2012-08-01 Florian Weimer <fweimer@redhat.com>
56793
56794 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56795 Declare with warn_unused_result.
56796 (setgid, setregid, setegid, setresgid): Likewise.
56797 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56798 Likewise.
56799 * WUR-REPORT: Remove set*id functions.
56800
56801 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
56802
56803 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56804
56805 2012-07-31 Roland McGrath <roland@hack.frob.com>
56806
56807 [BZ #10191]
56808 * include/sys/socket.h (__libc_accept, __libc_accept4):
56809 Add attribute_hidden.
56810 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56811
56812 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56813 use of PTR_MANGLE.
56814 * inet/getnetgrent_r.c (setup): Likewise.
56815
56816 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56817
56818 2012-07-31 David S. Miller <davem@davemloft.net>
56819
56820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56821
56822 2012-07-31 Joseph Myers <joseph@codesourcery.com>
56823
56824 [BZ #13629]
56825 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56826 value between 1.0 and 2.0 and smaller part has absolute value less
56827 than 1.0.
56828 * math/s_clog10.c (__clog10): Likewise.
56829 * math/s_clog10f.c (__clog10f): Likewise.
56830 * math/s_clog10l.c (__clog10l): Likewise.
56831 * math/s_clogf.c (__clogf): Likewise.
56832 * math/s_clogl.c (__clogl): Likewise.
56833 * math/libm-test.inc (clog_test): Add more tests.
56834 (clog10_test): Likewise.
56835 * sysdeps/i386/fpu/libm-test-ulps: Update.
56836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56837
56838 2012-07-31 Florian Weimer <fweimer@redhat.com>
56839
56840 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56841 Exit with zero in case no suitable GID is found, and write a
56842 message to standard error.
56843
56844 2012-07-30 Roland McGrath <roland@hack.frob.com>
56845
56846 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56847 rather than to 1.
56848 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56849 (MAXPATHLEN): Removed.
56850 (NOGROUP, NODEV): New macros.
56851 (setbit, clrbit, isset, isclr): New macros.
56852 (howmany, roundup, powerof2): New macros.
56853 (DEV_BSIZE): New macro.
56854
56855 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56856 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56857
56858 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56859 definition on [!__NO_LONG_DOUBLE_MATH].
56860
56861 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56862 PTR_MANGLE and PTR_DEMANGLE.
56863
56864 * socket/accept4.c (accept4): Rename to __libc_accept4.
56865 Define accept4 as a weak alias.
56866
56867 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56868 on [_DIRENT_HAVE_D_TYPE].
56869 * io/ftw.c (ftw_dir): Likewise.
56870
56871 * io/xmknod.c (__xmknod): Don't check PATH for being null.
56872
56873 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56874
56875 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56876 Use the BSD numbers rather than the arbitrary ones we had.
56877 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56878 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56879 (SIGXCPU, SIGXFSZ): New macros.
56880 (_NSIG): Now 32.
56881
56882 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56883 initializer on [_LIBC_REENTRANT].
56884
56885 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56886 definitions inside [_POSIX_MAPPED_FILES].
56887
56888 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56889
56890 * dirent/opendir.c: Include <fcntl.h>.
56891
56892 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56893 (__libc_getspecific): Likewise.
56894 (__libc_key_create): Likewise.
56895
56896 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56897 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56898 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56899 (tmpfile64): Define as alias.
56900 * sysdeps/wordsize-64/tmpfile.c: File removed.
56901 * sysdeps/wordsize-64/tmpfile64.c: File removed.
56902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56903 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56904
56905 * stdio-common/vfscanf.c: Include <stdbool.h>.
56906 * nss/makedb.c: Likewise.
56907 * stdio-common/_i18n_number.h: Likewise.
56908 * argp/argp-help.c: Likewise.
56909 * posix/wordexp.c: Likewise.
56910 * sysdeps/posix/spawni.c: Likewise.
56911 * nss/nss_files/files-initgroups.c: Likewise.
56912 * stdio-common/reg-modifier.c: Include <stdlib.h>.
56913 * nss/nss_files/files-initgroups.c: Likewise.
56914 * nss/nss_db/db-netgrp.c: Likewise.
56915 * nss/nss_db/db-initgroups.c: Likewise.
56916 * io/fchmodat.c: Include <sys/stat.h>.
56917
56918 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56919 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56920
56921 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56922 [HAVE_MMAP].
56923
56924 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56925 Add multiple inclusion protection.
56926
56927 2012-07-27 David S. Miller <davem@davemloft.net>
56928
56929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56930
56931 2012-07-27 Gary Benson <gbenson@redhat.com>
56932
56933 [BZ #14298]
56934 * elf/rtld.c: Include <stap-probe.h>.
56935 (dl_main): Added static probes "init_start" and "init_complete".
56936 * elf/dl-load.c: Include <stap-probe.h>.
56937 (lose): Take new parameter "nsid".
56938 Added static probe "map_failed".
56939 (_dl_map_object_from_fd): Pass namespace id to lose.
56940 Added static probe "map_start".
56941 (open_verify): Pass namespace id to lose.
56942 * elf/dl-open.c: Include <stap-probe.h>.
56943 (dl_open_worker) Added static probes "map_complete", "reloc_start"
56944 and "reloc_complete".
56945 * elf/dl-close.c: Include <stap-probe.h>.
56946 (_dl_close_worker): Added static probes "unmap_start" and
56947 "unmap_complete".
56948 * elf/rtld-debugger-interface.txt: New file documenting the above.
56949
56950 2012-07-26 Roland McGrath <roland@hack.frob.com>
56951
56952 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56953 rather than a string variable.
56954 * sunrpc/rpc_main.c (h_output): Likewise.
56955 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56956
56957 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
56958
56959 * inet/check_native.c: New file.
56960
56961 2012-07-26 Joseph Myers <joseph@codesourcery.com>
56962
56963 [BZ #13629]
56964 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56965 if larger part has absolute value 1.0.
56966 * math/s_clog10.c (__clog10): Likewise.
56967 * math/s_clog10f.c (__clog10f): Likewise.
56968 * math/s_clog10l.c (__clog10l): Likewise.
56969 * math/s_clogf.c (__clogf): Likewise.
56970 * math/s_clogl.c (__clogl): Likewise.
56971 * math/libm-test.inc (clog_test): Add more tests.
56972 (clog10_test): Likewise.
56973 * sysdeps/i386/fpu/libm-test-ulps: Update.
56974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56975
56976 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56977 (pltexit): Likewise.
56978 (La_regs): Likewise.
56979 (La_retval): Likewise.
56980 (int_retval): Likewise.
56981 Update #error for removed macros to refer only to definitions in
56982 tst-audit.h.
56983 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56984 macro.
56985 (pltexit): Likewise.
56986 (La_regs): Likewise.
56987 (La_retval): Likewise.
56988 (int_retval): Likewise.
56989 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56990 macro.
56991 (pltexit): Likewise.
56992 (La_regs): Likewise.
56993 (La_retval): Likewise.
56994 (int_retval): Likewise.
56995 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56996 macro.
56997 (pltexit): Likewise.
56998 (La_regs): Likewise.
56999 (La_retval): Likewise.
57000 (int_retval): Likewise.
57001 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57002 macro.
57003 (pltexit): Likewise.
57004 (La_regs): Likewise.
57005 (La_retval): Likewise.
57006 (int_retval): Likewise.
57007 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57008 macro.
57009 (pltexit): Likewise.
57010 (La_regs): Likewise.
57011 (La_retval): Likewise.
57012 (int_retval): Likewise.
57013 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57014 macro.
57015 (pltexit): Likewise.
57016 (La_regs): Likewise.
57017 (La_retval): Likewise.
57018 (int_retval): Likewise.
57019 * sysdeps/generic/tst-audit.h: Update comment to refer only to
57020 macro definitions in tst-audit.h.
57021 * sysdeps/i386/tst-audit.h: New file.
57022 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57023 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57024 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57025 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57026 * sysdeps/sh/tst-audit.h: Likewise.
57027 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57028 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57029 * sysdeps/x86_64/tst-audit.h: Likewise.
57030
57031 2012-07-26 Andreas Jaeger <aj@suse.de>
57032
57033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57034 ptrace.
57035
57036 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57037 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57038 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57039 PTRACE_O_MASK.
57040 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57041 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57042 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57043
57044 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57045 value.
57046
57047 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57048 _sigsys.
57049 (si_call_addr, si_syscall, si_arch): Define new macro.
57050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57051 _sigsys.
57052 (si_call_addr, si_syscall, si_arch): Define new marcro.
57053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57054 _sigsys.
57055 (si_call_addr, si_syscall, si_arch): Define new macro.
57056 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57057 _sigsys.
57058 (si_call_addr, si_syscall, si_arch): Define new macro.
57059
57060 2012-07-25 Joseph Myers <joseph@codesourcery.com>
57061
57062 [BZ #13717]
57063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57064 Change to 2.4.21 where previously 2.4.1.
57065 * sysdeps/unix/sysv/linux/configure: Regenerated.
57066 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57067 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57068 Linux kernel version.
57069 (__ASSUME_STD_AUXV): Remove.
57070 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57071 kernel version.
57072 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57073 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57074 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57075 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57076 (__ASSUME_NETLINK_SUPPORT): Likewise.
57077 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57078 (__no_netlink_support): Remove conditional definition.
57079 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57080 Remove.
57081 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57082 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57083 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57084 (if_nameindex_ioctl): Remove.
57085 (if_nameindex_netlink): Do not handle __no_netlink_support.
57086 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57087 code.
57088 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57089 Remove conditional code.
57090 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57091 code.
57092 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57093 unconditional.
57094 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57095 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57096 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57097 Remove.
57098 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57099 [!__ASSUME_STD_AUXV]: Remove conditional code.
57100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57101 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57102 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57104 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57105 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57106 code.
57107 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57109 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57110 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57111 conditional code.
57112 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57114 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57115 code.
57116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57117 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57118 conditional code.
57119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57120 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57121 code unconditional.
57122 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57123 conditional code.
57124 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57125 unconditional.
57126 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57127 conditional code.
57128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57129 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57130 unconditional.
57131 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57132 conditional code.
57133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57134 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57135 code unconditional.
57136 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57137 conditional code.
57138 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57139 unconditional.
57140 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57141 conditional code.
57142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57143 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57144 code unconditional.
57145 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57146 conditional code.
57147 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57148 unconditional.
57149 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57150 conditional code.
57151
57152 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
57153
57154 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57155 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57156 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57157 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57158 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57159 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57160 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57161 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57162 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57163 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57164 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57165 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57166 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57167 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57169 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57170 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57172 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57174 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57175 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57176 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57177
57178 2012-07-25 Florian Weimer <fweimer@redhat.com>
57179
57180 * Versions.def: Add GLIBC_2.17.
57181 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57182 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57183 Introduce __libc_secure_getenv.
57184 * stdlib/Versions (2.17): Add secure_getenv
57185 (GLIBC_PRIVATE): Add __libc_secure_getenv.
57186 * stdlib/secure-getenv.c: Rename __secure_getenv to
57187 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
57188 symbol __secure_getenv for GLIBC_2.0.
57189 * stdlib/tst-secure-getenv.c: New.
57190 * stdlib/Makefile (tests): Add testcase.
57191 * manual/startup.texi (Environment Access): Document
57192 secure_getenv.
57193 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57194 __libc_secure_getenv.
57195 * inet/ruserpass.c (ruserpass): Likewise.
57196 * malloc/mtrace.c (mtrace): Likewise.
57197 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57198 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57199 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57200 * sysdeps/posix/tempname.c: Likewise. Evaluate
57201 HAVE_SECURE_GETENV.
57202 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57203 __secure_getenv to __libc_secure_getenv.
57204 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57206 Likewise.
57207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57208 Likewise.
57209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57216
57217 2012-07-25 Joseph Myers <joseph@codesourcery.com>
57218
57219 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57220 (struct La_i86_retval): Likewise.
57221 (struct La_x86_64_regs): Likewise.
57222 (struct La_x86_64_retval): Likewise.
57223 (struct La_x32_regs): Likewise.
57224 (struct La_x32_retval): Likewise.
57225 (struct La_ppc32_regs): Likewise.
57226 (struct La_ppc32_retval): Likewise.
57227 (struct La_ppc64_regs): Likewise.
57228 (struct La_ppc64_retval): Likewise.
57229 (struct La_sh_regs): Likewise.
57230 (struct La_sh_retval): Likewise.
57231 (struct La_s390_32_regs): Likewise.
57232 (struct La_s390_32_retval): Likewise.
57233 (struct La_s390_64_regs): Likewise.
57234 (struct La_s390_64_retval): Likewise.
57235 (struct La_sparc32_regs): Likewise.
57236 (struct La_sparc32_retval): Likewise.
57237 (struct La_sparc64_regs): Likewise.
57238 (struct La_sparc64_retval): Likewise.
57239 (struct audit_ifaces): Remove architecture-specific pltenter and
57240 pltexit members.
57241 * sysdeps/i386/ldsodefs.h: New file.
57242 * sysdeps/powerpc/ldsodefs.h: Likewise.
57243 * sysdeps/s390/ldsodefs.h: Likewise.
57244 * sysdeps/sh/ldsodefs.h: Likewise.
57245 * sysdeps/sparc/ldsodefs.h: Likewise.
57246 * sysdeps/x86_64/ldsodefs.h: Likewise.
57247
57248 2012-07-25 Marek Polacek <polacek@redhat.com>
57249
57250 [BZ #6808]
57251 * math/libm-test.inc (yn_test): Add another test.
57252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57253 to ERANGE when the result is +-Inf.
57254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57255 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57256 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57257 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57258
57259 2012-07-24 Joseph Myers <joseph@codesourcery.com>
57260
57261 * conform/data/time.h-data (NULL): Use macro-constant. Require
57262 equal to 0.
57263 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
57264 clock_t.
57265 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
57266
57267 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
57268
57269 * configure.in <sysdeps resolving>: Correct printing
57270 Implies_before.
57271 * configure: Regenerate.
57272
57273 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
57274
57275 * math/w_ilogb.c: Include <limits.h>.
57276 * math/w_ilogbl.c: Likewise.
57277
57278 2012-07-20 Joseph Myers <joseph@codesourcery.com>
57279
57280 * manual/lang.texi (__va_copy): Document primarily as ISO C99
57281 va_copy. Document allowing for unavailable va_copy only as
57282 pre-C99 compatibility.
57283 * manual/string.texi (Copying and Concatenation): Use va_copy
57284 instead of __va_copy in concat example.
57285
57286 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
57287
57288 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57289 (__sendto): Use create_address_port. Initialize APORT and deallocate
57290 it if not null.
57291
57292 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57293 with O_NOLINK passed to __file_name_lookup.
57294
57295 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57296 with O_NOLINK passed to __file_name_lookup.
57297
57298 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57299 negative N or less than NGIDS.
57300
57301 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57302 type to string_t. Set ERANGE as errno and return it if NAME is not big
57303 enough. Use memcpy instead of strncpy.
57304
57305 2012-07-20 Joseph Myers <joseph@codesourcery.com>
57306
57307 * elf/Makefile (check-data): Remove.
57308 (localplt.data): New vpath directive.
57309 ($(objpfx)check-localplt.out): Use localplt.data from vpath
57310 instead of $(check-data).
57311 * scripts/data/localplt-generic.data: Move to ...
57312 * sysdeps/generic/localplt.data: ... here.
57313 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57314 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57315 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57317 ... here.
57318 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57320 ... here.
57321 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57323 ... here.
57324 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57326 ... here.
57327 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57329 ... here.
57330 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57332 ... here.
57333
57334 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57335
57336 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57337 PPC32 and PPC64 files.
57338 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57339 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57340
57341 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57342
57343 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57344 __makecontext_ret to ...
57345 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57346 ... here and call exit if uc_link is NULL. New file.
57347 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57348 __makecontext_ret.S.
57349 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57350 __makecontext_ret to ...
57351 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57352 ... here and call exit if uc_link is NULL. New file.
57353 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57354 __makecontext_ret.S.
57355
57356 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57357
57358 * elf/elf.h (R_390_IRELATIVE): New definition.
57359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57360 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
57361 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57362 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57363 (elf_machine_lazy_rel): Likewise.
57364 * sysdeps/s390/dl-irel.h: New file.
57365 * sysdeps/s390/s390-64/memcpy.S: New asm code.
57366 * sysdeps/s390/s390-64/memset.S: New asm code.
57367 * sysdeps/s390/s390-64/memcmp.S: New asm code.
57368 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57369 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57370 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57371 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57372 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57373 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57374 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57375 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57376 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57377 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57378 * sysdeps/s390/s390-32/memcpy.S: New asm code.
57379 * sysdeps/s390/s390-32/memset.S: New asm code.
57380 * sysdeps/s390/s390-32/memcmp.S: New asm code.
57381
57382 2012-07-17 Marek Polacek <polacek@redhat.com>
57383
57384 [BZ #14349]
57385 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57386 * sysdeps/s390/s390-64/configure.in: Likewise.
57387 * sysdeps/sparc/configure.in: Likewise.
57388 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57389 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57390 * sysdeps/i386/configure.in: Likewise.
57391 * sysdeps/x86_64/configure.in: Likewise.
57392 * sysdeps/sh/configure.in: Likewise.
57393 * sysdeps/s390/s390-32/configure: Regenerated.
57394 * sysdeps/s390/s390-64/configure: Likewise.
57395 * sysdeps/x86_64/configure: Likewise.
57396 * sysdeps/sh/configure: Likewise.
57397 * sysdeps/powerpc/powerpc64/configure: Likewise.
57398 * sysdeps/powerpc/powerpc32/configure: Likewise.
57399 * sysdeps/sparc/configure: Likwise.
57400 * sysdeps/i386/configure: Likewise.
57401
57402 * elf/dl-open.c: Comment fixes.
57403
57404 2012-07-17 Joseph Myers <joseph@codesourcery.com>
57405
57406 * Makefile [CXX] (check-data): Remove.
57407 [CXX] (c++-types.data): New vpath directive.
57408 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57409 vpath. Do not allow for C++ type data being missing.
57410 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57411 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57412 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57413 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57414 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57415 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57416 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57418 ... here.
57419 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57421 ... here.
57422 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57424 ... here.
57425 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57427 ... here.
57428 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57430 ... here.
57431 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57433 ... here.
57434 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57436 ... here.
57437 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57439
57440 * elf/tls-macros.h (TLS_LE): Move architecture-specific
57441 definitions to architecture-specific files.
57442 (TLS_IE): Likewise.
57443 (TLS_LD): Likewise.
57444 (TLS_GD): Likewise.
57445 * sysdeps/i386/tls-macros.h: New file.
57446 * sysdeps/powerpc/tls-macros.h: Likewise.
57447 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57448 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57449 * sysdeps/sh/tls-macros.h: Likewise.
57450 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57451 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57452 * sysdeps/x86_64/tls-macros.h: Likewise.
57453
57454 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
57455
57456 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57457 zero value for regular exit case.
57458
57459 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57460 (__start_context): Preserve zero value for regular exit case.
57461
57462 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
57463 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57464
57465 * manual/setjmp.texi (setcontext): Clarify normal process
57466 termination when uc_link is the null pointer.
57467 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57468 exit call.
57469
57470 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
57471
57472 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57473 preprocessor. Test for each exception mask separately.
57474
57475 2012-07-16 Andreas Jaeger <aj@suse.de>
57476
57477 * po/ru.po: Update from translation team.
57478
57479 2012-07-15 Joseph Myers <joseph@codesourcery.com>
57480
57481 * conform/data/string.h-data (NULL): Use macro-constant. Require
57482 equal to 0.
57483 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57484 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57485 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57486 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
57488
57489 2012-07-13 Andreas Jaeger <aj@suse.de>
57490
57491 * po/fr.po: Update from translation team.
57492
57493 2012-07-12 Marek Polacek <polacek@redhat.com>
57494
57495 [BZ #14173]
57496 * math/libm-test.inc (yn_test): Add test for BZ #14173.
57497 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57498 loop condition.
57499
57500 2012-07-12 Joseph Myers <joseph@codesourcery.com>
57501
57502 [BZ #13717]
57503 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57504 Change to 2.4.1 where previously 2.4.0.
57505 * sysdeps/unix/sysv/linux/configure: Regenerated.
57506 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57507 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57508 version.
57509 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57510 (__ASSUME_AT_CLKTCK): Remove.
57511 (__ASSUME_AT_PAGESIZE): Likewise.
57512 (__ASSUME_AT_XID): Likewise.
57513 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57514 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57515 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57516 unconditionally.
57517 (HAVE_AUX_PAGESIZE): Likewise.
57518 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57519 [__ASSUME_AT_CLKTCK]: Make code unconditional.
57520 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57521
57522 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
57523
57524 [BZ #14307]
57525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57526 the temporary buffer used to invoke __gethostbyname2_r,
57527 __gethostbyaddr_r and gethostbyname4_r to make room for struct
57528 host_data / struct gaih_addrtuple.
57529 * resolv/nss_dns/dns-host.c (global scope): Move definition of
57530 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57531 header file nss/nsswitch.h.
57532 * nss/nsswitch.h (global scope): Add definition of implementation
57533 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57534 resolv/nss_dns/dns-host.c).
57535
57536 2012-07-11 Andreas Jaeger <aj@suse.de>
57537
57538 * po/fr.po: Update from translation team.
57539
57540 * po/sv.po: Update from translation team
57541 * po/fr.po: Another update from translation team.
57542
57543 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57544
57545 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57546 for subnormals or multiply small sinh result by itself.
57547 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57549
57550 2012-07-11 David S. Miller <davem@davemloft.net>
57551
57552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57553
57554 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
57555
57556 [BZ #14347]
57557 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57558 (INTERNAL_MARK): Shift it here.
57559
57560 2012-07-10 Marek Polacek <polacek@redhat.com>
57561
57562 [BZ #14151]
57563 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
57564 libc_cv_asm_global_directive with .globl.
57565 * configure: Regenerated.
57566 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57567 with .globl.
57568 * sysdeps/i386/configure: Regenerated.
57569 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57570 with .globl.
57571 * sysdeps/x86_64/configure: Regenerated.
57572 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57573 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57574 * elf/tst-unique2mod2.c: Likewise.
57575 * elf/tst-unique2mod1.c: Likewise.
57576 * elf/tst-unique1mod2.c: Likewise.
57577 * elf/tst-unique1mod1.c: Likewise.
57578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57579 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57581 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57582 * sysdeps/mach/sysdep.h: Likewise.
57583 * sysdeps/i386/sysdep.h: Likewise.
57584 * sysdeps/i386/i386-mcount.S: Likewise.
57585 * sysdeps/x86_64/_mcount.S: Likewise.
57586 * sysdeps/x86_64/sysdep.h: Likewise.
57587 * sysdeps/sh/_mcount.S: Likewise.
57588 * sysdeps/sh/sysdep.h: Likewise.
57589 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57590 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57591 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57592 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57593 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57594 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57595 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57596 * locale/localeinfo.h: Likewise.
57597 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57598 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57599
57600 2012-07-09 Roland McGrath <roland@hack.frob.com>
57601
57602 [BZ #14336]
57603 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57604 system".
57605 * manual/message.texi (The Uniforum approach): Likewise.
57606 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57607 (glibc iconv Implementation): Likewise.
57608
57609 2012-07-09 Joseph Myers <joseph@codesourcery.com>
57610
57611 [BZ #14337]
57612 * math/s_clog.c (__clog): Avoid scaling a value down where that
57613 could result in underflow.
57614 * math/s_clog10.c (__clog10): Likewise.
57615 * math/s_clog10f.c (__clog10f): Likewise.
57616 * math/s_clog10l.c (__clog10l): Likewise.
57617 * math/s_clogf.c (__clogf): Likewise.
57618 * math/s_clogl.c (__clogl): Likewise.
57619 * math/libm-test.inc (clog_test): Add more tests.
57620 (clog10_test): Likewise.
57621 * sysdeps/i386/fpu/libm-test-ulps: Update.
57622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57623
57624 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
57625
57626 [BZ #14283]
57627 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57628 by 7 not 8 to examine high bit of fractional part.
57629
57630 [BZ #14042]
57631 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57632 for call to __mcount_internal.
57633 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57634 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57635 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57636
57637 2012-07-06 Joseph Myers <joseph@codesourcery.com>
57638
57639 [BZ #14154]
57640 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57641 approximation for values within 0x1p-13f of an odd multiple of
57642 pi/4.
57643 * math/libm-test.inc (tan_test): Do not allow spurious underflow
57644 exception. Add more tests.
57645 * sysdeps/i386/fpu/libm-test-ulps: Update.
57646
57647 [BZ #6778]
57648 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57649 inputs and return -1 for them. Do not check for +Inf in case not
57650 reachable for +Inf.
57651 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57652 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57653 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57654 and return -1 for them. Do not check for +Inf in case not
57655 reachable for +Inf.
57656 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57657 define.
57658 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57659 and return -1 for them. Do not check for +Inf in case not
57660 reachable for +Inf.
57661 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
57662 spurious underflow.
57663 * sysdeps/i386/fpu/libm-test-ulps: Update.
57664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57665
57666 2012-07-06 Mike Frysinger <vapier@gentoo.org>
57667
57668 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57669
57670 2012-07-05 Joseph Myers <joseph@codesourcery.com>
57671
57672 [BZ #14157]
57673 [BZ #14331]
57674 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57675 could result in spurious underflow. Scale down values above
57676 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57677 * math/s_csqrtf.c (__csqrtf): Likewise.
57678 * math/s_csqrtl.c (__csqrtl): Likewise.
57679 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
57680 spurious underflow.
57681 * sysdeps/i386/fpu/libm-test-ulps: Update.
57682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57683
57684 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
57685
57686 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57687 xopen-msg.sed.
57688 * catgets/xopen-msg.awk: New file.
57689 * catgets/xopen-msg.sed: Removed.
57690
57691 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57692 po2text.sed.
57693 * intl/po2test.awk: New file.
57694 * intl/po2test.sed: Removed.
57695
57696 2012-07-04 Joseph Myers <joseph@codesourcery.com>
57697
57698 [BZ #14328]
57699 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57700 or multiply small sinh result by itself.
57701 * math/s_ctanf.c (__ctanf): Likewise.
57702 * math/s_ctanh.c (__ctanh): Likewise.
57703 * math/s_ctanhf.c (__ctanhf): Likewise.
57704 * math/s_ctanhl.c (__ctanhl): Likewise.
57705 * math/s_ctanl.c (__ctanl): Likewise.
57706 * math/libm-test.inc (ctan_test_tonearest): New function.
57707 (ctan_test_towardzero): Likewise.
57708 (ctan_test_downward): Likewise.
57709 (ctan_test_upward): Likewise.
57710 (ctanh_test_tonearest): Likewise.
57711 (ctanh_test_towardzero): Likewise.
57712 (ctanh_test_downward): Likewise.
57713 (ctanh_test_upward): Likewise.
57714 (main): Call these new functions.
57715 * sysdeps/i386/fpu/libm-test-ulps: Update.
57716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57717
57718 2012-07-03 Mike Frysinger <vapier@gentoo.org>
57719
57720 * .gitignore: Delete /ports entry.
57721
57722 2012-07-03 Andreas Jaeger <aj@suse.de>
57723
57724 * po/bg.po: Update from translation team.
57725 * po/cs.po: Likewise.
57726 * po/de.po: Likewise.
57727 * po/hr.po: Likewise.
57728 * po/nl.pl: Likewise.
57729 * po/pl.po: Likewise.
57730 * po/vi.po: Likewise.
57731
57732 2012-07-03 Joseph Myers <joseph@codesourcery.com>
57733
57734 * Makeconfig [!+link] (+link-before-libc): New variable.
57735 [!+link] (+link-after-libc): Likewise.
57736 [!+link] (+link-tests): Likewise.
57737 [!+link] (+link): Define in terms of $(+link-before-libc) and
57738 $(+link-after-libc).
57739 [!+link-static] (+link-static-before-libc): New variable.
57740 [!+link-static] (+link-static-after-libc): Likewise.
57741 [!+link-static] (+link-static-tests): Likewise.
57742 [!+link-static] (+link-static): Define in terms of
57743 $(+link-static-before-libc) and $(+link-static-after-libc).
57744 [build-shared] (link-libc-before-gnulib): New variable.
57745 [build-shared] (link-libc-tests): Likewise.
57746 [build-shared] (link-libc): Define in terms of
57747 $(link-libc-before-gnulib).
57748 [!build-shared] (link-libc-tests): New variable.
57749 (link-libc-static-tests): New variable.
57750 [!gnulib] (gnulib-arch): New variable.
57751 [!gnulib] (gnulib-tests): Likewise.
57752 [!gnulib] (static-gnulib-arch): Likewise.
57753 [!gnulib] (static-gnulib-tests): Likewise.
57754 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
57755 Define with "=" instead of ":=".
57756 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
57757 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
57758 * Rules (binaries-all-notests): New variable.
57759 (binaries-all-tests): Likewise.
57760 (binaries-static-notests): Likewise.
57761 (binaries-static-tests): Likewise.
57762 (binaries-all): Define using $(binaries-all-notests) and
57763 $(binaries-all-tests).
57764 (binaries-static): Define using $(binaries-static-notests) and
57765 $(binaries-static-tests).
57766 (binaries-shared-tests): New variable.
57767 (binaries-shared-notests): Likewise.
57768 (binaries-shared): Remove variable.
57769 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57770 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57771 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57772 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57773 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57774 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57775 * elf/Makefile (sln-modules): New variable.
57776 (extra-objs): Add $(sln-modules:=.o).
57777 (ldconfig-modules): Add static-stubs.
57778 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57779 * elf/static-stubs.c: New file.
57780
57781 [BZ #14283]
57782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57783 by 7 not 8 to examine high bit of fractional part. Use volatile
57784 variables when splitting into final array of floats if
57785 __FLT_EVAL_METHOD__ != 0.
57786 * math/libm-test.inc (cos_test): Add another test.
57787 (sin_test): Likewise.
57788 * sysdeps/i386/fpu/libm-test-ulps: Update.
57789
57790 [BZ #14273]
57791 * math/libm-test.inc (cosh_test): Add more tests.
57792
57793 * version.h (RELEASE): Set to "development".
57794 (VERSION): Set to "2.16.90".
57795
57796 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
57797
57798 * NEWS: Update copyright. Remove last-updated date.
57799 Mention math library bug fixes and timezone data changes.
57800 * README: Mention GNU/Hurd, x32, and HPPA support status.
57801
57802 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
57803
57804 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57805
57806 2012-06-27 Andreas Jaeger <aj@suse.de>
57807
57808 * manual/contrib.texi (Contributors): Add Samuel Thibault.
57809
57810 2012-06-25 Andreas Jaeger <aj@suse.de>
57811
57812 * sysdeps/s390/fpu/libm-test-ulps: Update.
57813
57814 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
57815 Thomas Schwinge <thomas@codesourcery.com>
57816
57817 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57818 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57820 fanotify_mark.
57821
57822 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
57823
57824 * sysdeps/mach/start.c: Remove file.
57825 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57826 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57827 * sysdeps/sh/init-first.c: Likewise.
57828
57829 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57830 registers for frame unwinding purposes, add CFI directives.
57831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57832 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57833 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57834 Likewise.
57835
57836 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57837 __fortify_fail returning.
57838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57839
57840 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57841 sysdeps/sh/____longjmp_chk.S.
57842 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57843 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57844 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57845 (gen-as-const-headers): Append sigaltstack-offsets.sym.
57846
57847 * sysdeps/sh/abort-instr.h: New file.
57848 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57849 process in case exit returns.
57850
57851 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57852 initialize the GOT register before use.
57853
57854 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57855 calculation of ARGC > 4.
57856
57857 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57858 meaningful names to some local labels.
57859
57860 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57861 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57862
57863 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57864 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57865 (__arch_compare_and_exchange_val_16_acq): Likewise.
57866 (__arch_compare_and_exchange_val_32_acq): Likewise.
57867 (atomic_exchange_and_add): Fix gUSA sequence.
57868 (atomic_add): Likewise.
57869 (atomic_add_negative): Likewise.
57870 (atomic_add_zero): Likewise.
57871 (atomic_bit_test_set): Likewise.
57872
57873 2012-06-22 Andreas Schwab <schwab@redhat.com>
57874
57875 [BZ #13579]
57876 * include/link.h (struct link_map): Add l_free_initfini.
57877 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57878 l_initfini.
57879 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57880 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57881 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57882 set.
57883
57884 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
57885
57886 * configure.in: Use AC_LANG_SOURCE.
57887 * configure: Regenerate.
57888
57889 2012-06-22 Roland McGrath <roland@hack.frob.com>
57890
57891 * configure.in (libc_cv_localstatedir): New substituted variable.
57892 * configure: Regenerated.
57893 * config.make.in (localstatedir): New variable, substituted from
57894 libc_cv_localstatedir.
57895 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57896 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57897 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57898 * sysdeps/gnu/configure: Regenerated.
57899
57900 2012-06-21 Jeff Law <law@redhat.com>
57901
57902 [BZ #14277]
57903 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57904 free. Simplify list management for _LIBC case.
57905
57906 2012-06-21 Joseph Myers <joseph@codesourcery.com>
57907
57908 [BZ #14273]
57909 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57910 Clear sign bit of 64-bit integer value before comparing against
57911 overflow value.
57912
57913 * sysdeps/mach/configure: Regenerated.
57914
57915 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
57916
57917 [BZ #14278]
57918 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57919
57920 2012-06-21 Jeff Law <law@redhat.com>
57921
57922 [BZ #13882]
57923 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
57924 uint16_t for elements in the "seen" array to avoid char overflows.
57925 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57926 * elf/dl-open.c (dl_open_worker): Likewise.
57927
57928 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
57929
57930 * scripts/list-sources.sh: Scan PORTS for translations.
57931 * po/libc.pot: Regenerated.
57932
57933 2012-06-21 Andreas Jaeger <aj@suse.de>
57934
57935 [BZ #12194]
57936 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57937 warning.
57938 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57939 * bits/byteswap-16.h (__bswap_16): Likewise.
57940 * bits/byteswap.h (__bswap_constant_16): Likewise.
57941
57942 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
57943
57944 [BZ #14117]
57945 * sysdeps/i386/fpu_control.h: Removed.
57946 * sysdeps/x86_64/fpu_control.h: Moved to ...
57947 * sysdeps/x86/fpu_control.h: Here.
57948
57949 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57950 (_FPU_SETCW): Likewise.
57951
57952 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
57953
57954 [BZ #14117]
57955 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57956 * sysdeps/x86/fpu/bits/mathinline.h: This.
57957 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57958
57959 [BZ #14050]
57960 [BZ #14117]
57961 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57962 functions if __x86_64__ is defined.
57963
57964 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
57965
57966 * string/endian.h: Add !__ASSEMBLER__ condition for including
57967 conversion interfaces.
57968
57969 2012-06-15 Joseph Myers <joseph@codesourcery.com>
57970
57971 [BZ #14241]
57972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57973 of ABS(x) in calculating zero to negative powers other than odd
57974 integers.
57975 * math/libm-test.inc (pow_test): Add more tests.
57976
57977 2012-06-15 Andreas Jaeger <aj@suse.de>
57978
57979 * manual/contrib.texi (Contributors): Update entry of Liubov
57980 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57981 Machado Filho.
57982
57983 2012-06-15 Cyril Hrubis <metan@ucw.cz>
57984
57985 * string/string.h: Add __wur to GNU version of strerror_r.
57986
57987 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
57988
57989 [BZ #14229]
57990 * string/Makefile (tests): Add tst-strtok_r.
57991 * string/tst-strtok_r.c: New file.
57992 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57993 RAX_LP/RDX_LP on SAVE_PTR.
57994
57995 2012-06-14 Roland McGrath <roland@hack.frob.com>
57996
57997 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57998
57999 2012-06-14 Joseph Myers <joseph@codesourcery.com>
58000
58001 * libm_test.inc (csqrt_test): Allow more spurious underflow
58002 exceptions.
58003 (j0_test): Likewise.
58004 (j1_test): Likewise.
58005 (y0_test): Likewise.
58006 (y1_test): Likewise.
58007
58008 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
58009
58010 * po/Makefile (libc.pot): Use UTF-8 charset.
58011
58012 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
58013
58014 [BZ #14210]
58015 Suppress sign-conversion warning from FD_SET.
58016 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58017 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58018 not unsigned long int.
58019 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58020
58021 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
58022
58023 [BZ #14050]
58024 [BZ #14117]
58025 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58026 __extern_always_inline instead of __extern_inline.
58027 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58028 (__signbit): Likewise.
58029 (__signbitl): Support C++ namespace.
58030 (lrintf): New inline function.
58031 (lrint): Likewise.
58032 (llrintf): Likewise.
58033 (llrint): Likewise.
58034 (fmaxf): Likewise.
58035 (fmax): Likewise.
58036 (fminf): Likewise.
58037 (fmin): Likewise.
58038 (rint): Likewise.
58039 (rintf): Likewise.
58040 (ceil): Likewise.
58041 (ceilf): Likewise.
58042 (floor): Likewise.
58043 (floorf): Likewise.
58044 (nearbyint): Likewise.
58045 (nearbyintf): Likewise.
58046
58047 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
58048
58049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58050 non-default versions.
58051
58052 2012-06-11 Roland McGrath <roland@hack.frob.com>
58053
58054 [BZ #14218]
58055 * manual/argp.texi (Argp): Reword argp_parse description slightly.
58056
58057 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
58058
58059 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58060 (FE_UPWARD, FE_DOWNWARD): Don't define.
58061 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58062 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58063
58064 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58065 reading it.
58066 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58067 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58068
58069 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58070
58071 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58072 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58073 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58074 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58075
58076 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
58077
58078 [BZ #14117]
58079 * sysdeps/i386/fpu/bits/fenv.h: Removed.
58080 * sysdeps/i386/fpu/Implies: New file.
58081 * sysdeps/x86_64/fpu/Implies: Likewise.
58082 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58083 * sysdeps/x86/fpu/bits/fenv.h: This.
58084
58085 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58086 __SSE_MATH__.
58087
58088 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58089
58090 [BZ #14134]
58091 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58092 character 0xffff that matches the last element of the
58093 conversion table.
58094
58095 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58096
58097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58098 fmodl commit.
58099
58100 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58101
58102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58103 values higher than 25.6283.
58104
58105 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58106
58107 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58108 subnormal exponent extraction and add some __builtin_expect.
58109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58110 Fix for subnormal mantissa calculation.
58111
58112 2012-06-04 Mike Frysinger <vapier@gentoo.org>
58113
58114 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58115 cpu2 is -1 and errno is not ENOSYS.
58116
58117 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
58118
58119 [BZ #14117]
58120 * sysdeps/i386/i486/bits/string.h: Renamed to ...
58121 * sysdeps/x86/bits/string.h: This.
58122 * sysdeps/x86_64/bits/string.h: Removed.
58123
58124 * sysdeps/i386/i486/bits/string.h: Define inline functions only
58125 if not compiling for x86-64, but compiling for >= i486.
58126
58127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58128 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58129
58130 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58131 New macro from Linux kernel 3.4.0.
58132 (FP_XSTATE_MAGIC2): Likewise.
58133 (FP_XSTATE_MAGIC2_SIZE): Likewise.
58134 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58135 (struct _fpx_sw_bytes): New struct.
58136 (struct _xsave_hdr): Likewise.
58137 (struct _ymmh_state): Likewise.
58138 (struct _xstate): Likewise.
58139
58140 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58141 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58143 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58144 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58145 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58146
58147 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58148 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58149 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58150 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58151 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58152 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58153
58154 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58155
58156 [BZ #13743]
58157 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58158 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58159 (sysdep_headers): Include sys/platform/ppc.h.
58160 * sysdeps/powerpc/test-gettimebase.c: Test for
58161 __ppc_get_timebase() to catch future ISA opcode/insn changes.
58162 * manual/Makefile (appendices): Include platform.texi.
58163 * manual/contrib.texi (Contributors): Update @node pointers.
58164 * manual/maint.texi (Maintenance): Likewise.
58165 (Platform): New node.
58166 * manual/platform.texi: New file. Document the new features.
58167
58168 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
58169 Jakub Jelinek <jakub@redhat.com>
58170
58171 [BZ #14188]
58172 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58173 where __builtin_expect is unavailable.
58174
58175 2012-06-03 David S. Miller <davem@davemloft.net>
58176
58177 * stdlib/longlong.h: Updated from GCC.
58178
58179 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
58180
58181 [BZ #14042]
58182 * sysdeps/powerpc/powerpc32/mcount.c: New file.
58183 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58184 __mcount_internal.
58185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58186 (GLIBC_2.16): Likewise.
58187
58188 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
58189
58190 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58191
58192 2012-06-01 Joseph Myers <joseph@codesourcery.com>
58193
58194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58195 (default-abi): New variable.
58196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58197 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58198 variable.
58199 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58200 Likewise.
58201 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58202 Likewise.
58203 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58204 Likewise.
58205
58206 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58207 definition. Document in comment.
58208
58209 2012-06-01 David S. Miller <davem@davemloft.net>
58210
58211 * stdlib/longlong.h: Updated from GCC.
58212
58213 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
58214
58215 [BZ #14117]
58216 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58217 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58218 sys/debugreg.h sys/io.h here.
58219 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58220 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58221 sys/io.h.
58222 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58223 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58224 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58225 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58226 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58227 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58228
58229 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58230 Define only if __x86_64__ is defined.
58231
58232 2012-06-01 Joseph Myers <joseph@codesourcery.com>
58233
58234 [BZ #14048]
58235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58236 Use int64_t for variable i.
58237 * math/libm-test.inc (fmod_test): Add more tests.
58238
58239 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58240 z computation is not scheduled after fetestexcept.
58241 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58242 Use math_force_eval instead of asm to ensure calculation scheduled
58243 before exception test.
58244 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58245 Ensure a1 + u.d computation is not scheduled after fetestexcept.
58246
58247 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
58248
58249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58250 computation is not scheduled after fetestexcept.
58251
58252 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
58253
58254 [BZ #14117]
58255 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58256 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58257
58258 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58259
58260 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58261 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58262
58263 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
58264
58265 [BZ #14117]
58266 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58267 <bits/wordsize.h>.
58268 (__WCHAR_MIN): Support __WORDSIZE == 64.
58269 (__WCHAR_MAX): Likewise.
58270
58271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58272 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58273
58274 [BZ #14183]
58275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58276 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58277
58278 [BZ #14117]
58279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58280 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58281
58282 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58283 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58284
58285 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58286 Defined to 1 if __x86_64__ isn't defined.
58287 (_STAT_VER_LINUX_OLD): New.
58288 (st_atime): Remove duplicate.
58289 (st_mtime): Likewise.
58290 (st_ctime): Likewise.
58291
58292 2012-05-31 David S. Miller <davem@davemloft.net>
58293
58294 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58295 entries.
58296
58297 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
58298
58299 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58300 gen-libm-test.pl.
58301
58302 [BZ #14132]
58303 * elf/dl-reloc.c: Include <_itoa.h>.
58304 (_dl_reloc_bad_type): Remove use of INTUSE.
58305 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58306 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58307 * stdio-common/psiginfo.c (psiginfo): Likewise.
58308 * stdio-common/psignal.c (psignal): Likewise.
58309 * string/strsignal.c (strsignal): Likewise.
58310 * include/signal.h (_sys_siglist): Declare hidden proto.
58311 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
58312 INTVARDEF with libc_hidden_data_def.
58313 * stdio-common/itoa-udigits.c: Likewise.
58314 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58315 (_itoa_lower_digits_internal): Remove declaration.
58316 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58317 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58318 (_sys_sigabbrev_internal): Remove aliases.
58319 (_sys_siglist): Define hidden alias.
58320
58321 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
58322
58323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58324 bits/sysctl.h.
58325
58326 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
58327
58328 [BZ #14117]
58329 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58330 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58331
58332 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58333 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58334 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58335 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58337 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58338
58339 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58340 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58341 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58342
58343 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58344 with __addr.
58345 (insw): Likewise.
58346 (insl): Likewise.
58347 (outsb): Likewise.
58348 (outsw): Likewise.
58349 (outsl): Likewise.
58350
58351 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58352 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58353 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58354
58355 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58356 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58358 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58359 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58360 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58361
58362 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58363 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58364
58365 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58366 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58367
58368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58370 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58371
58372 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58373 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58374 to ...
58375 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58376
58377 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58378 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58379 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58380
58381 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58382 for x86-64.
58383 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58384
58385 2012-05-31 Joseph Myers <joseph@codesourcery.com>
58386
58387 * math/math.h (M_El): Use two more decimal places.
58388 (M_LOG2El): Likewise.
58389 (M_LOG10El): Likewise.
58390 (M_LN2l): Likewise.
58391 (M_LN10l): Likewise.
58392 (M_PIl): Likewise.
58393 (M_PI_2l): Likewise.
58394 (M_PI_4l): Likewise.
58395 (M_1_PIl): Likewise.
58396 (M_2_PIl): Likewise.
58397 (M_2_SQRTPIl): Likewise.
58398 (M_SQRT2l): Likewise.
58399 (M_SQRT1_2l): Likewise.
58400
58401 2012-05-31 David S. Miller <davem@davemloft.net>
58402
58403 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58404 values between float registers.
58405 * sysdeps/sparc/sparc64/memset.S: Likewise.
58406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58407
58408 2012-05-31 Mike Frysinger <vapier@gentoo.org>
58409
58410 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58411 -D_FORTIFY_SOURCE=1.
58412 (CPPFLAGS-tst-longjmp_chk.c): Define.
58413 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58414 (CPPFLAGS-tst-longjmp_chk2.c): Define.
58415 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58416 CFLAGS-tst-wchar-h.c.
58417
58418 2012-05-31 Marek Polacek <polacek@redhat.com>
58419
58420 [BZ #14132]
58421 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58422 __endmntent_internal): Remove declaration.
58423 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58424 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58425 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58426
58427 2012-05-30 David S. Miller <davem@davemloft.net>
58428
58429 * sysdeps/sparc/sparc32/soft-fp/q_util.c
58430 (___Q_simulate_exceptions): Use real FP ops rather than writing
58431 into the %fsr.
58432 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58433 Likewise.
58434
58435 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
58436
58437 [BZ #14117]
58438 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58439 * sysdeps/x86/bits/xtitypes.h: This.
58440
58441 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58442 * sysdeps/x86/bits/wordsize.h: This.
58443
58444 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58445 * sysdeps/x86/bits/huge_vall.h: This.
58446
58447 * sysdeps/i386/bits/select.h: Removed.
58448 * sysdeps/x86_64/bits/select.h: Renamed to ...
58449 * sysdeps/x86/bits/select.h: This.
58450
58451 * sysdeps/i386/bits/setjmp.h: Removed.
58452 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58453 * sysdeps/x86/bits/setjmp.h: This.
58454
58455 * sysdeps/i386/bits/mathdef.h: Removed.
58456 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58457 * sysdeps/x86/bits/mathdef.h: This.
58458
58459 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
58460
58461 [BZ #14132]
58462 * include/sys/socket.h (__connect_internal)
58463 (__libc_sa_len_internal): Remove declaration.
58464 (__connect, __libc_sa_len): Declare hidden_proto.
58465 (SA_LEN): Remove use of INTUSE.
58466 * socket/connect.c: Add libc_hidden_def.
58467 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58468 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58469 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58470 alias.
58471 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58472 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58473 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58474 of adding _internal alias.
58475
58476 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
58477
58478 [BZ #14117]
58479 * sysdeps/i386/bits/link.h: Removed.
58480 * sysdeps/i386/bits/linkmap.h: Likewise.
58481 * sysdeps/x86_64/bits/link.h: Renamed to ...
58482 * sysdeps/x86/bits/link.h: This.
58483 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58484 * sysdeps/x86/bits/linkmap.h: This.
58485
58486 * sysdeps/i386/bits/endian.h: Removed.
58487 * sysdeps/x86_64/bits/endian.h: Renamed to ...
58488 * sysdeps/x86/bits/endian.h: This.
58489
58490 * sysdeps/i386/bits/byteswap.h: Removed.
58491 * sysdeps/i386/bits/byteswap-16.h: Likewise.
58492 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58493 * sysdeps/x86/bits/byteswap.h: This.
58494 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58495 * sysdeps/x86/bits/byteswap-16.h: This.
58496 * sysdeps/i386/Implies: Add x86.
58497 * sysdeps/x86_64/Implies: Likewise.
58498
58499 2012-05-30 David S. Miller <davem@davemloft.net>
58500
58501 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58502 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58503 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58504 (FP_TRAPPING_EXCEPTIONS): Define.
58505 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58506 (FP_TRAPPING_EXCEPTIONS): Define.
58507 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58508 subnormals only when inexact has been signalled or underflow
58509 exceptions are enabled.
58510 (_FP_PACK_CANONICAL): Likewise.
58511
58512 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
58513
58514 [BZ #14183]
58515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58516 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58517
58518 2012-05-30 Richard Henderson <rth@twiddle.net>
58519
58520 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58521 with #ifndef NOT_IN_libc.
58522
58523 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
58524 marked to avoid plt entry.
58525
58526 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
58527
58528 [BZ #14112]
58529 * Makeconfig (default-abi): New macro.
58530 (abi-includes): Likewise.
58531 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
58532 $(abi-$(default-abi)-lib-soname) for soname if defined.
58533 ($(common-objpfx)gnu/lib-names.stmp): Generate from
58534 abi-variants.
58535 * Makefile (installed-stubs): Likewise.
58536 * include/stubs-biarch.h: Removed.
58537 * scripts/lib-names.awk: Only handle one library at a time.
58538 * scripts/soversions.awk: Remove WORDSIZE support.
58539 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58540 entries.
58541 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58542 Removed.
58543 (syscall-list-default-condition): Likewise.
58544 (syscall-list-default-condition): Likewise.
58545 (syscall-list-includes): Likewise.
58546 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58547 syscall-list-* with abi-*. Handle undefined abi-variants.
58548 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58549 * sysdeps/unix/sysv/linux/i386/Implies: New file.
58550 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58551 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58552 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58553 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58554 Removed.
58555 (syscall-list-32-options): Likewise.
58556 (syscall-list-32-condition): Likewise.
58557 (syscall-list-64-options): Likewise.
58558 (syscall-list-64-condition): Likewise.
58559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58560 macro.
58561 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58562 Renamed to ...
58563 (abi-*): This.
58564 (abi-64-ld-soname): New macro.
58565 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58566 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58567 Renamed to ...
58568 (abi-*): This.
58569 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58570 * sysdeps/x86_64/x32/shlib-versions: Likewise.
58571
58572 2012-05-30 Joseph Myers <joseph@codesourcery.com>
58573
58574 * sysdeps/unix/sysv/linux/kernel-features.h
58575 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58576 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58577 include <kernel-features.h>.
58578 [!__NR_ftruncate64]: Remove conditional code.
58579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58580 [__NR_ftruncate64]: Make code unconditional.
58581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58582 * sysdeps/unix/sysv/linux/truncate64.c: Do not
58583 include <kernel-features.h>.
58584 [!__NR_ftruncate64]: Remove conditional code.
58585 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58586 [__NR_ftruncate64]: Make code unconditional.
58587 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58589 include <kernel-features.h>.
58590 [!__NR_ftruncate64]: Remove conditional code.
58591 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58592 [__NR_ftruncate64]: Make code unconditional.
58593 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58595 include <kernel-features.h>.
58596 [!__NR_ftruncate64]: Remove conditional code.
58597 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58598 [__NR_ftruncate64]: Make code unconditional.
58599 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58600
58601 * configure.in (libc_cv_fpie): Weaken to a compile test using
58602 LIBC_TRY_CC_OPTION.
58603 * configure: Regenerated.
58604
58605 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58606
58607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58611 Refreshed.
58612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58618 Refreshed.
58619
58620 2012-05-27 David S. Miller <davem@davemloft.net>
58621
58622 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58623 (___Q_zero): New.
58624 (__Q_simulate_exceptions): Return void. Change to simulate
58625 exceptions by writing into the %fsr.
58626 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58627 (__Qp_handle_exceptions): Likewise.
58628 (numbers): Delete.
58629 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58630 __Qp_handle_exceptions.
58631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58632 __Qp_handle_exceptions.
58633 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58634 as unused and give dummy FP_RND_NEAREST initializer.
58635 (FP_INHIBIT_RESULTS): Define.
58636 (___Q_simulate_exceptions): Update declaration.
58637 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58638 formatting.
58639 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58640 as unused and give dummy FP_RND_NEAREST initializer.
58641 (__Qp_handle_exceptions): Update declaration.
58642 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58643 formatting.
58644
58645 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
58646
58647 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58648 the temporary FPU control word.
58649 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58650 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58651 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58652 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58653 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58654 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58655 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58656 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58657 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58658 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58659 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58660
58661 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58662
58663 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58664 fields.
58665
58666 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
58667
58668 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58669 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58670 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58671 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58672 Likewise.
58673 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58674 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58675 Likewise.
58676
58677 2012-05-27 Ulrich Drepper <drepper@gmail.com>
58678
58679 * po/h.po: Update from translation team.
58680
58681 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
58682
58683 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58684
58685 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58686 handling of denormals.
58687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58688 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58689 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58690 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58694 Likewise.
58695
58696 2012-05-26 Marek Polacek <polacek@redhat.com>
58697
58698 [BZ #14152]
58699 * math/libm-test.inc (fma_test): Don't always expect underflow
58700 exception.
58701
58702 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58703
58704 [BZ #12416]
58705 * elf/tst-execstack.c: Include stackinfo.h.
58706 (do_test): Adjust test case to ensure that pthread_getattr_np
58707 behaviour remains the same after marking stack executable.
58708
58709 2012-05-25 Joseph Myers <joseph@codesourcery.com>
58710
58711 * sysdeps/unix/sysv/linux/kernel-features.h
58712 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58713 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58714 kernel-features.h.
58715 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58716 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58717 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58718 kernel-features.h.
58719 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58720 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58721
58722 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
58723
58724 * configure.in: Define the default includes to being none.
58725 * configure: Regenerated.
58726
58727 2012-05-25 Roland McGrath <roland@hack.frob.com>
58728
58729 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58730 * sysdeps/x86_64/setjmp.S: Likewise.
58731 * sysdeps/i386/bsd-setjmp.S: Likewise.
58732 * sysdeps/i386/bsd-_setjmp.S: Likewise.
58733 * sysdeps/i386/setjmp.S: Likewise.
58734 * sysdeps/i386/__longjmp.S: Likewise.
58735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58736 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58737
58738 * include/stap-probe.h: New file.
58739 * configure.in: Handle --enable-systemtap.
58740 * configure: Regenerated.
58741 * config.h.in (USE_STAP_PROBE): New #undef.
58742 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58743 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58744 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58745
58746 2012-05-25 Joseph Myers <joseph@codesourcery.com>
58747
58748 [BZ #13717]
58749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58750 to 2.4.0 where earlier.
58751 * sysdeps/unix/sysv/linux/configure: Regenerated.
58752 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58753 <kernel-features.h>.
58754 [__ASSUME_32BITUIDS]: Make code unconditional.
58755 [!__ASSUME_32BITUIDS]: Remove conditional code.
58756 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58757 <kernel-features.h>.
58758 [__ASSUME_32BITUIDS]: Make code unconditional.
58759 [!__ASSUME_32BITUIDS]: Remove conditional code.
58760 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58761 [__ASSUME_32BITUIDS]: Make code unconditional.
58762 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58763 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58764 <kernel-features.h>.
58765 [__ASSUME_32BITUIDS]: Make code unconditional.
58766 [!__ASSUME_32BITUIDS]: Remove conditional code.
58767 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58768 <kernel-features.h>.
58769 [__ASSUME_32BITUIDS]: Make code unconditional.
58770 [!__ASSUME_32BITUIDS]: Remove conditional code.
58771 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58772 <kernel-features.h>.
58773 [__ASSUME_32BITUIDS]: Make code unconditional.
58774 [!__ASSUME_32BITUIDS]: Remove conditional code.
58775 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58776 <kernel-features.h>.
58777 [__ASSUME_32BITUIDS]: Make code unconditional.
58778 [!__ASSUME_32BITUIDS]: Remove conditional code.
58779 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58780 <kernel-features.h>.
58781 [__ASSUME_32BITUIDS]: Make code unconditional.
58782 [!__ASSUME_32BITUIDS]: Remove conditional code.
58783 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58784 <kernel-features.h>.
58785 [__ASSUME_32BITUIDS]: Make code unconditional.
58786 [!__ASSUME_32BITUIDS]: Remove conditional code.
58787 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58788 <kernel-features.h>.
58789 [__ASSUME_32BITUIDS]: Make code unconditional.
58790 [!__ASSUME_32BITUIDS]: Remove conditional code.
58791 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58792 <kernel-features.h>.
58793 [__ASSUME_32BITUIDS]: Make code unconditional.
58794 [!__ASSUME_32BITUIDS]: Remove conditional code.
58795 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58796 <kernel-features.h>.
58797 [__ASSUME_32BITUIDS]: Make code unconditional.
58798 [!__ASSUME_32BITUIDS]: Remove conditional code.
58799 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58800 <kernel-features.h>.
58801 [__ASSUME_32BITUIDS]: Make code unconditional.
58802 [!__ASSUME_32BITUIDS]: Remove conditional code.
58803 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58804 <kernel-features.h>.
58805 [__NR_setresgid] (__setresgid): Do not declare.
58806 [__ASSUME_32BITUIDS]: Make code unconditional.
58807 [!__ASSUME_32BITUIDS]: Remove conditional code.
58808 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58809 <kernel-features.h>.
58810 [__NR_setresuid] (__setresuid): Do not declare.
58811 [__ASSUME_32BITUIDS]: Make code unconditional.
58812 [!__ASSUME_32BITUIDS]: Remove conditional code.
58813 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58814 <kernel-features.h>.
58815 [__ASSUME_32BITUIDS]: Make code unconditional.
58816 [!__ASSUME_32BITUIDS]: Remove conditional code.
58817 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58818 <kernel-features.h>.
58819 [__ASSUME_32BITUIDS]: Make code unconditional.
58820 [!__ASSUME_32BITUIDS]: Remove conditional code.
58821 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58822 <kernel-features.h>.
58823 [__ASSUME_32BITUIDS]: Make code unconditional.
58824 [!__ASSUME_32BITUIDS]: Remove conditional code.
58825 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58826 <kernel-features.h>.
58827 [__ASSUME_32BITUIDS]: Make code unconditional.
58828 [!__ASSUME_32BITUIDS]: Remove conditional code.
58829 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58830 <kernel-features.h>.
58831 [__ASSUME_32BITUIDS]: Make code unconditional.
58832 [!__ASSUME_32BITUIDS]: Remove conditional code.
58833 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58834 <kernel-features.h>.
58835 [__ASSUME_32BITUIDS]: Make code unconditional.
58836 [!__ASSUME_32BITUIDS]: Remove conditional code.
58837 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58838 <kernel-features.h>.
58839 [__ASSUME_32BITUIDS]: Make code unconditional.
58840 [!__ASSUME_32BITUIDS]: Remove conditional code.
58841 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58842 <kernel-features.h>.
58843 [__ASSUME_32BITUIDS]: Make code unconditional.
58844 [!__ASSUME_32BITUIDS]: Remove conditional code.
58845 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58846 <kernel-features.h>.
58847 [__ASSUME_32BITUIDS]: Make code unconditional.
58848 [!__ASSUME_32BITUIDS]: Remove conditional code.
58849 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58850 <kernel-features.h>.
58851 [__ASSUME_32BITUIDS]: Make code unconditional.
58852 [!__ASSUME_32BITUIDS]: Remove conditional code.
58853 * sysdeps/unix/sysv/linux/kernel-features.h
58854 (__ASSUME_SETRESUID_SYSCALL): Remove.
58855 (__ASSUME_SETRESGID_SYSCALL): Likewise.
58856 (__ASSUME_32BITUIDS): Likewise.
58857 (__ASSUME_LDT_WORKS): Likewise.
58858 (__ASSUME_O_DIRECTORY): Likewise.
58859 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58860 architecture but not kernel version.
58861 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58862 (__ASSUME_MMAP2_SYSCALL): Likewise.
58863 (__ASSUME_STAT64_SYSCALL): Likewise.
58864 (__ASSUME_IPC64): Likewise.
58865 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58866 <kernel-features.h>.
58867 [__ASSUME_32BITUIDS]: Make code unconditional.
58868 [!__ASSUME_32BITUIDS]: Remove conditional code.
58869 * sysdeps/unix/sysv/linux/opendir.c: Do not include
58870 <kernel-features.h>.
58871 [__ASSUME_O_DIRECTORY]: Make code unconditional.
58872 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58873 132096]: Remove conditional code.
58874 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58875 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58876 <kernel-features.h>.
58877 [__ASSUME_32BITUIDS]: Make code unconditional.
58878 [!__ASSUME_32BITUIDS]: Remove conditional code.
58879 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58880 <kernel-features.h>.
58881 [__ASSUME_32BITUIDS]: Make code unconditional.
58882 [!__ASSUME_32BITUIDS]: Remove conditional code.
58883 * sysdeps/unix/sysv/linux/setegid.c: Do not include
58884 <kernel-features.h>.
58885 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58886 unconditional.
58887 (__setresgid): Do not declare.
58888 [__ASSUME_32BITUIDS]: Make code unconditional.
58889 [!__ASSUME_32BITUIDS]: Remove conditional code.
58890 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58891 <kernel-features.h>.
58892 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58893 unconditional.
58894 (__setresuid): Do not declare.
58895 [__ASSUME_32BITUIDS]: Make code unconditional.
58896 [!__ASSUME_32BITUIDS]: Remove conditional code.
58897 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58898 <kernel-features.h>.
58899 [__ASSUME_32BITUIDS]: Make code unconditional.
58900 [!__ASSUME_32BITUIDS]: Remove conditional code.
58901 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58902 <kernel-features.h>.
58903 [__ASSUME_32BITUIDS]: Make code unconditional.
58904 [!__ASSUME_32BITUIDS]: Remove conditional code.
58905
58906 2012-05-25 Richard Henderson <rth@twiddle.net>
58907
58908 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58909 dl_hwcap to ifunc resolver.
58910 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58911 elf_ifunc_invoke.
58912 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58913 dl_hwcap to ifunc resolver.
58914 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58915
58916 2012-05-24 Joseph Myers <joseph@codesourcery.com>
58917
58918 [BZ #14153]
58919 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58920 for |x| <= 2**-26, not 2**-57.
58921 * math/libm-test.inc (acos_test): Do not allow spurious underflow
58922 exception.
58923
58924 2012-05-24 Jeff Law <law@redhat.com>
58925
58926 * stdio-common/Makefile (tests): Add bug25.
58927 * stdio-common/bug25.c: New test.
58928
58929 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
58930
58931 [BZ #13576]
58932 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58933 multiple of MALLOC_ALIGNMENT in size.
58934 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58935
58936 2012-05-24 Joseph Myers <joseph@codesourcery.com>
58937
58938 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58939 Require >= 256.
58940 (FILENAME_MAX): Use macro-int-constant.
58941 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
58942 (_IOFBF): Use macro-int-constant.
58943 (_IOLBF): Likewise.
58944 (_IONBF): Likewise.
58945 (SEEK_CUR): Likewise.
58946 (SEEK_END): Likewise.
58947 (SEEK_SET): Likewise.
58948 (TMP_MAX): Likewise.
58949 (EOF): Use macro-int-constant. Require < 0.
58950 (NULL): Use macro-constant. Require == 0.
58951 (stdin): Require type to be FILE *.
58952 (stdout): Likewise.
58953 (stderr): Likewise.
58954 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58955 macro-int-constant.
58956 (EXIT_SUCCESS): Likewise.
58957 (NULL): Use macro-constant. Require == 0.
58958 (RAND_MAX): Use macro-int-constant.
58959 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58960 [C99-based standards] (strtof): Require function.
58961 [C99-based standards] (strtold): Likewise.
58962 [C99-based standards] (strtoll): Likewise.
58963 [C99-based standards] (strtoull): Likewise.
58964 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58965 [ISO || ISO99 || ISO11] (limits.h): Likewise.
58966 [ISO || ISO99 || ISO11] (math.h): Likewise.
58967 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58968 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58970
58971 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
58972
58973 [BZ #14132]
58974 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58975 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58976 * intl/dgettext.c (DCGETTEXT): Likewise.
58977 * intl/gettext.c (DCGETTEXT): Likewise.
58978 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58979 * posix/regex_internal.h (gettext): Likewise.
58980 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58981 Remove declaration.
58982 * include/argz.h (__argz_count_internal)
58983 (__argz_stringify_internal): Remove declaration.
58984 (__argz_count, __argz_stringify): Declare hidden proto.
58985 * intl/dcgettext.c: Remove use of INTDEF.
58986 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58987 * string/argz-stringify.c: Likewise.
58988 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58989 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58990 Declare hidden proto.
58991 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58992 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58993 Declare hidden proto.
58994 * include/stdio.h (__asprintf_internal): Don't declare.
58995 (__asprintf): Don't define as macro. Declare hidden proto.
58996 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58997 (__fsetlocking): Declare hidden proto.
58998 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58999 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59000 hidden proto.
59001 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59002 (_IO_setlinebuf): Remove use of INTUSE.
59003 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59004 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59005 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59006 Remove declaration.
59007 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59008 (_IO_do_flush): Remove use of INTUSE.
59009 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59010 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59011 (_IO_adjust_column, _IO_least_wmarker)
59012 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59013 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59014 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59015 (_IO_default_doallocate, _IO_wdefault_doallocate)
59016 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59017 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59018 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59019 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59020 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59021 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59022 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59023 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59024 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59025 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59026 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59027 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59028 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59029 proto.
59030 (_IO_flush_all_internal, _IO_adjust_column_internal)
59031 (_IO_default_uflow_internal, _IO_default_finish_internal)
59032 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59033 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59034 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59035 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59036 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59037 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59038 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59039 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59040 (_IO_file_close_internal, _IO_file_close_it_internal)
59041 (_IO_file_underflow_internal, _IO_file_overflow_internal)
59042 (_IO_file_init_internal, _IO_file_attach_internal)
59043 (_IO_file_fopen_internal, _IO_file_read_internal)
59044 (_IO_file_sync_internal, _IO_file_seek_internal)
59045 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59046 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59047 (_IO_str_underflow_internal, _IO_str_overflow_internal)
59048 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59049 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59050 (_IO_list_all_internal, _IO_link_in_internal)
59051 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59052 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59053 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59054 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59055 (_IO_do_write_internal, _IO_padn_internal)
59056 (_IO_getline_info_internal, _IO_getline_internal)
59057 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59058 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59059 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59060 (_IO_vfscanf_internal, _IO_vfprintf_internal)
59061 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59062 (_IO_init_internal, _IO_un_link_internal): Don't declare.
59063 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59064 with libc_hidden_ver, remove use of INTUSE.
59065 * libio/genops.c: Likewise.
59066 * libio/freopen.c: Likewise.
59067 * libio/freopen64.c: Likewise.
59068 * libio/iofclose.c: Likewise.
59069 * libio/iofdopen.c: Likewise.
59070 * libio/iofflush.c: Likewise.
59071 * libio/iofflush_u.c: Likewise.
59072 * libio/iofgets.c: Likewise.
59073 * libio/iofgets_u.c: Likewise.
59074 * libio/iofopen.c: Likewise.
59075 * libio/iofopncook.c: Likewise.
59076 * libio/iofread.c: Likewise.
59077 * libio/iofread_u.c: Likewise.
59078 * libio/ioftell.c: Likewise.
59079 * libio/iofwrite.c: Likewise.
59080 * libio/iogetline.c: Likewise.
59081 * libio/iogets.c: Likewise.
59082 * libio/iogetwline.c: Likewise.
59083 * libio/iopadn.c: Likewise.
59084 * libio/iopopen.c: Likewise.
59085 * libio/ioseekoff.c: Likewise.
59086 * libio/ioseekpos.c: Likewise.
59087 * libio/iosetbuffer.c: Likewise.
59088 * libio/iosetvbuf.c: Likewise.
59089 * libio/ioungetc.c: Likewise.
59090 * libio/ioungetwc.c: Likewise.
59091 * libio/iovdprintf.c: Likewise.
59092 * libio/iovsprintf.c: Likewise.
59093 * libio/iovsscanf.c: Likewise.
59094 * libio/memstream.c: Likewise.
59095 * libio/obprintf.c: Likewise.
59096 * libio/oldfileops.c: Likewise.
59097 * libio/oldiofclose.c: Likewise.
59098 * libio/oldiofdopen.c: Likewise.
59099 * libio/oldiofopen.c: Likewise.
59100 * libio/oldiopopen.c: Likewise.
59101 * libio/oldstdfiles.c: Likewise.
59102 * libio/putc.c: Likewise.
59103 * libio/setbuf.c: Likewise.
59104 * libio/setlinebuf.c: Likewise.
59105 * libio/stdfiles.c: Likewise.
59106 * libio/strops.c: Likewise.
59107 * libio/vasprintf.c: Likewise.
59108 * libio/vscanf.c: Likewise.
59109 * libio/vsnprintf.c: Likewise.
59110 * libio/vswprintf.c: Likewise.
59111 * libio/wfiledoalloc.c: Likewise.
59112 * libio/wfileops.c: Likewise.
59113 * libio/wgenops.c: Likewise.
59114 * libio/wmemstream.c: Likewise.
59115 * libio/wstrops.c: Likewise.
59116 * libio/__fpurge.c: Likewise.
59117 * libio/__fsetlocking.c: Likewise.
59118 * assert/assert.c: Likewise.
59119 * debug/fgets_chk.c: Likewise.
59120 * debug/fgets_u_chk.c: Likewise.
59121 * debug/fread_chk.c: Likewise.
59122 * debug/fread_u_chk.c: Likewise.
59123 * debug/gets_chk.c: Likewise.
59124 * debug/obprintf_chk.c: Likewise.
59125 * debug/vasprintf_chk.c: Likewise.
59126 * debug/vdprintf_chk.c: Likewise.
59127 * debug/vsnprintf_chk.c: Likewise.
59128 * debug/vsprintf_chk.c: Likewise.
59129 * malloc/mtrace.c: Likewise.
59130 * misc/error.c: Likewise.
59131 * misc/syslog.c: Likewise.
59132 * stdio-common/asprintf.c: Likewise.
59133 * stdio-common/fxprintf.c: Likewise.
59134 * stdio-common/getw.c: Likewise.
59135 * stdio-common/isoc99_fscanf.c: Likewise.
59136 * stdio-common/isoc99_scanf.c: Likewise.
59137 * stdio-common/isoc99_vfscanf.c: Likewise.
59138 * stdio-common/isoc99_vscanf.c: Likewise.
59139 * stdio-common/isoc99_vsscanf.c: Likewise.
59140 * stdio-common/printf-prs.c: Likewise.
59141 * stdio-common/printf_fp.c: Likewise.
59142 * stdio-common/printf_fphex.c: Likewise.
59143 * stdio-common/printf_size.c: Likewise.
59144 * stdio-common/putw.c: Likewise.
59145 * stdio-common/scanf.c: Likewise.
59146 * stdio-common/sprintf.c: Likewise.
59147 * stdio-common/tmpfile.c: Likewise.
59148 * stdio-common/vfprintf.c: Likewise.
59149 * stdio-common/vfscanf.c: Likewise.
59150 * stdlib/strfmon_l.c: Likewise.
59151 * sunrpc/openchild.c: Likewise.
59152 * sunrpc/xdr_stdio.c: Likewise.
59153 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59154 * sysdeps/mach/hurd/tmpfile.c: Likewise.
59155
59156 2012-05-24 Roland McGrath <roland@hack.frob.com>
59157
59158 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59159
59160 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59161 in the third column, to generate for the shared library an IFUNC
59162 that uses _dl_vdso_vsym.
59163 * Makerules (COMPILE.c, compile-stdin.c): New variables.
59164 * Makeconfig (object-suffixes-noshared): New variable.
59165
59166 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59167 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59168 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59169 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59170
59171 [BZ #14132]
59172 * include/sys/time.h (__gettimeofday): Remove macro.
59173 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59174 * time/gettimeofday.c (__gettimeofday): Remove #undef.
59175 Remove INTDEF.
59176 (__gettimeofday): Add libc_hidden_def.
59177 (gettimeofday): Add libc_hidden_weak.
59178 * sysdeps/mach/gettimeofday.c: Likewise.
59179 * sysdeps/posix/gettimeofday.c: Likewise.
59180 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59181 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59183 (__gettimeofday_internal): Remove strong_alias.
59184 (__gettimeofday): Add libc_hidden_def.
59185 (gettimeofday): Add libc_hidden_weak.
59186 * sysdeps/unix/syscalls.list (gettimeofday):
59187 Remove __gettimeofday_internal alias.
59188
59189 2012-05-24 Daniel Jacobowitz <drow@false.org>
59190 H.J. Lu <hongjiu.lu@intel.com>
59191
59192 [BZ #12495]
59193 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59194 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59195 (largebin_index_32_big): New.
59196 (largebin_index): Use it for 16-byte alignment.
59197 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
59198 correction with front_misalign.
59199
59200 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
59201
59202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59204 Likewise.
59205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59206 Likewise.
59207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59208 Likewise.
59209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59210 Likewise.
59211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59212 Likewise.
59213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59214 Likewise.
59215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59216 Likewise.
59217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59218 Likewise.
59219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59220 Likewise.
59221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59222 Likewise.
59223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59224 Likewise.
59225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59226 Likewise.
59227
59228 * scripts/data/c++-types-x32-linux-gnu.data: New file.
59229 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59230
59231 2012-05-24 Joseph Myers <joseph@codesourcery.com>
59232
59233 [BZ #10846]
59234 [BZ #14036]
59235 * math/libm-test.inc (exp_test): Add test from bug 14036.
59236 (pow_test): Add test from bug 10846.
59237
59238 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59239 and other flags.
59240 (special_function): Do not include flags in test name.
59241 (parse_args): Likewise.
59242 * sysdeps/i386/fpu/libm-test-ulps: Update.
59243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59244 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59245 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59247
59248 * math/gen-libm-test.pl (%beautify): Add entries for underflow
59249 exceptions.
59250 * math/libm-test.inc ("Philosophy"): Update comment about
59251 exception testing.
59252 (UNDERFLOW_EXCEPTION): New macro.
59253 (UNDERFLOW_EXCEPTION_OK): Likewise.
59254 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59255 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59256 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59257 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59258 (INVALID_EXCEPTION_OK): Update value.
59259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59260 (OVERFLOW_EXCEPTION_OK): Likewise.
59261 (IGNORE_ZERO_INF_SIGN): Likewise.
59262 (test_exceptions): Handle underflow exceptions.
59263 (acos_test): Update for underflow exception expectations.
59264 (cexp_test): Likewise.
59265 (clog_test): Likewise.
59266 (clog10_test): Likewise.
59267 (csqrt_test): Likewise.
59268 (ctan_test): Likewise.
59269 (ctanh_test): Likewise.
59270 (exp_test): Likewise.
59271 (exp10_test): Likewise.
59272 (exp2_test): Likewise.
59273 (expm1_test): Likewise.
59274 (fma_test): Likewise.
59275 (j0_test): Likewise.
59276 (jn_test): Likewise.
59277 (nexttoward_test): Likewise.
59278 (pow_test): Likewise.
59279 (scalbn_test): Likewise.
59280 (scalbln_test): Likewise.
59281 (tan_test): Likewise.
59282 (y1_test): Likewise.
59283 * sysdeps/i386/fpu/libm-test-ulps: Update.
59284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59285
59286 2012-05-23 David S. Miller <davem@davemloft.net>
59287
59288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59289 (__libc_sigaction): Remove unused local variables.
59290
59291 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
59292
59293 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59294
59295 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
59296
59297 mktime: avoid signed integer overflow
59298 * time/mktime.c (__mktime_internal): Do not mishandle the case
59299 where diff == INT_MIN.
59300
59301 mktime: simplify computation of average
59302 * time/mktime.c (ranged_convert): Use new time_t_avg function
59303 instead of rolling our own (probably-slower) code.
59304
59305 mktime: do not assume signed right shift propagates sign bit
59306 * time/mktime.c (isdst_differ): New static function.
59307 (__mktime_internal): No need to normalize tm_isdst now.
59308 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59309 tm_isdst values.
59310
59311 mktime: merge another wrapv change from gnulib
59312 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59313 from some compilers.
59314
59315 mktime: remove incorrect attempt at unusual arithmetics
59316 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59317 The code didn't really work on such machines anyway.
59318 (TYPE_MINIMUM): Assume two's complement.
59319 (twos_complement_arithmetic): Verify that long_int and time_t
59320 are two's complement (or unsigned, in the latter case).
59321
59322 mktime: check signed shifts on long_int and time_t, too
59323 * time/mktime.c (SHR): Check that shifts work as desired
59324 on the types long_int and time_t too, as SHR is used on
59325 such types.
59326
59327 mktime: do not assume 'long' is wide enough
59328 * time/mktime.c (verify): Move decl up.
59329 (long_int): New type.
59330 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59331 to remove assumption in the code that 'long' is wide enough to
59332 store year values. This assumption is not true on x32 and on
59333 some non-glibc platforms.
59334
59335 mktime: merge wrapv change from gnulib
59336 * time/mktime.c (WRAPV): New macro.
59337 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59338 (guess_time_tm, __mktime_internal): Do not assume that signed
59339 integer overflow wraps around; modern compilers generate code
59340 where this assumption is no longer valid.
59341
59342 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
59343
59344 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59345 Replace "jmp L(pseudo_end)" with "ret".
59346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59347 Likewise.
59348
59349 2012-05-23 Andreas Jaeger <aj@suse.de>
59350
59351 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59352 * sysdeps/unix/sysv/linux/poll.c: Remove file.
59353
59354 2012-05-23 Andreas Jaeger <aj@suse.de>
59355 Maximilian Attems <max@stro.at>
59356
59357 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59358 New macros.
59359
59360 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
59361
59362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59363 code so that pseudo_end is just ret and the stack pointer is
59364 correct also for static library in error case.
59365
59366 2012-05-23 Joseph Myers <joseph@codesourcery.com>
59367
59368 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59369 move to syscalls.list.
59370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59374
59375 * manual/install.texi (Running make install): Do not mention Linux
59376 kernel version for which pt_chown is not needed.
59377 (Linux): Do not mention problems with nscd with 2.0 kernels.
59378 * INSTALL: Regenerated.
59379
59380 2012-05-23 Andreas Jaeger <aj@suse.de>
59381
59382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59383 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59384 macro.
59385 * sysdeps/unix/sysv/linux/s390/bits/mman.h
59386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59387 * sysdeps/unix/sysv/linux/sh/bits/mman.h
59388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59389 * sysdeps/unix/sysv/linux/i386/bits/mman.h
59390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59393 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59395 * sysdeps/unix/sysv/linux/bits/in.h
59396 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59397
59398 2012-05-22 Roland McGrath <roland@hack.frob.com>
59399
59400 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59401 (PREPARE_VERSION): Just use assert instead, it will be elided
59402 under [NDEBUG] anyway.
59403
59404 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
59405
59406 * sysdeps/unix/sysv/linux/Makefile: Include
59407 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59408 (sysdep_routines): Remove sysctl.
59409 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59410 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59411 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59412 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59413 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59414
59415 2012-05-22 Andreas Jaeger <aj@suse.de>
59416
59417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59418 that pseudo_end is just ret and the stack pointer is correct also
59419 for static library in error case.
59420
59421 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
59422
59423 [BZ #14122]
59424 * nss/nsswitch.c (defconfig_entries): New variable.
59425 (__nss_database_lookup): Don't leak defconfig entries.
59426 (nss_parse_service_list): Don't leak on error paths.
59427 (free_database_entries): New function.
59428 (free_defconfig): New function.
59429 (free_mem): Move common code to free_database_entries.
59430
59431 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
59432
59433 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59434 Add arch_prctl.
59435 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59436
59437 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59438 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59440 New macro.
59441 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59442 (INTERNAL_SYSCALL_TYPES): Likewise.
59443 (LOAD_ARGS_TYPES_[1-6]): Likewise.
59444 (LOAD_REGS_TYPES_[1-6]): Likewise.
59445 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59446 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59447
59448 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59449
59450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59451 copysignl for GLIBC_2_0.
59452 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59453 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59455 logbl for GLIBC_2_0.
59456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59457 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59458
59459 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
59460
59461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59462 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
59463
59464 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59465 Use "neg %eax".
59466
59467 * time/mktime.c: Update copyright years.
59468
59469 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
59470
59471 mktime: merge comment-quoting-style change from gnulib
59472 * time/mktime.c: Quote 'like this' in comments.
59473 The GNU coding standards suggest that we no longer quote `like this',
59474 as "`" and "'" are typically rendered asymmetrically nowadays.
59475 The typical gnulib style is to quote 'like this' when quoting
59476 code, and "like this" when quoting English.
59477
59478 * time/mktime.c (compile-command): Add "-I.".
59479
59480 mktime: merge mktime-internal.h change from gnulib
59481 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59482
59483 mktime: merge time_r change from gnulib
59484 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59485
59486 mktime: merge DEBUG change from gnulib
59487 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59488 case system <time.h> has a #define.
59489
59490 mktime: merge <sys/types.h> change from gnulib
59491 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59492 since <time.t> is now guaranteed to define time_t.
59493
59494 mktime: merge HAVE_CONFIG_H change from gnulib
59495 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59496
59497 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
59498
59499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59500 Use "neg %eax".
59501
59502 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59503 __rlim_t cast.
59504 (struct rusage): Use anonymous union to pad each field to
59505 __syscall_slong_t.
59506
59507 2012-05-21 David S. Miller <davem@davemloft.net>
59508
59509 * Makefules (o-iterator): Remove .s cases.
59510 (compile-command.s): Delete.
59511 (COMPILE.s): Delete.
59512 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59513
59514 2012-05-21 Joseph Myers <joseph@codesourcery.com>
59515
59516 * configure.in (libc_cv_predef_stack_protector): Only consider
59517 "foobar" and "__stack_chk_fail" lines in libc_undefs.
59518 * configure: Regenerated.
59519
59520 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
59521
59522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59523 New macro. Use R*LP on int and pointer.
59524 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59525 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59526 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59527 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59528
59529 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59530 [__WORDSIZE_TIME64_COMPAT32] instead of
59531 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59532 (struct utmp): Likewise.
59533 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59534 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59535 Renamed to ...
59536 (__WORDSIZE_TIME64_COMPAT32): This.
59537 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59538 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59539 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59540 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59541 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59542 (__WORDSIZE_TIME64_COMPAT32): New macro.
59543
59544 2012-05-21 Andreas Jaeger <aj@suse.de>
59545
59546 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59547 only if [SHARED]. Add prototype for __wcschr_ia32.
59548
59549 2012-05-21 Roland McGrath <roland@hack.frob.com>
59550
59551 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59552 of %rbp unmolested in the jmp_buf while mangling the low bits.
59553 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59554 unmolested high bits of %rbp while demangling the low bits.
59555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59556
59557 2012-05-21 Andreas Jaeger <aj@suse.de>
59558
59559 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59560 * sunrpc/svc_simple.c: Use it for registerrpc.
59561 * sunrpc/xcrypt.c: Use it for passwd2des.
59562
59563 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59564
59565 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
59566
59567 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59568 Don't define if [__SYSCALL_WORDSIZE != 32].
59569 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59570 New macro.
59571
59572 2012-05-21 Bruno Haible <bruno@clisp.org>
59573 Andreas Jaeger <aj@suse.de>
59574
59575 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59576 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59577 inptr and inend for must_buffer_ch.
59578 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59579 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59580 * stdio-common/Makefile (tests): Remove bug15.
59581 (bug15-ENV): Remove macro.
59582 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59583 anymore.
59584
59585 2012-05-19 Andreas Jaeger <aj@suse.de>
59586 Roland McGrath <roland@hack.frob.com>
59587
59588 * manual/contrib.texi: Completely rewritten. It contains now an
59589 alphabetical list of contributors and their contributions.
59590
59591 2012-05-21 Richard Henderson <rth@twiddle.net>
59592
59593 * misc/getauxval.c (__getauxval): Use unsigned long int.
59594 * misc/sys/auxv.h: Include <sys/cdefs.h>.
59595 (getauxval): Use unsigned long int.
59596
59597 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
59598
59599 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59600
59601 2012-05-21 Roland McGrath <roland@hack.frob.com>
59602
59603 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59604 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59605 __alignof__ (long double).
59606
59607 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59608
59609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59610
59611 2012-05-20 Richard Henderson <rth@twiddle.net>
59612
59613 * misc/getauxval.c: New file.
59614 * misc/sys/auxv.h: New file.
59615 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59616 (routines): Add getauxval.
59617 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59618 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59619 * elf/dl-sysdep.c (_dl_auxv): Remove.
59620 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59621 * elf/dl-support.c (_dl_auxv): New variable.
59622 (_dl_aux_init): Initialize it.
59623 * manual/startup.texi (Auxiliary Vector): New node.
59624 * sysdeps/generic/bits/hwcap.h: New file.
59625 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59626 * sysdeps/powerpc/sysdep.h: ... here. Include it.
59627 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59628 * sysdeps/sparc/sysdep.h: ... here. Include it.
59629 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59630 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59632 Update.
59633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59641
59642 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59643
59644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59645
59646 2012-05-19 David S. Miller <davem@davemloft.net>
59647
59648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59649
59650 2012-05-19 Joseph Myers <joseph@codesourcery.com>
59651
59652 [BZ #14123]
59653 * math/s_ccosh.c: Include <float.h>
59654 (__ccosh): Avoid internal overflow calculating sinh and cosh
59655 values before multiplying by sin and cos values.
59656 * math/s_ccoshf.c: Likewise.
59657 * math/s_ccoshl.c: Likewise.
59658 * math/s_csin.c: Likewise.
59659 * math/s_csinf.c: Likewise.
59660 * math/s_csinl.c: Likewise.
59661 * math/s_csinh.c: Likewise.
59662 * math/s_csinhf.c: Likewise.
59663 * math/s_csinhl.c: Likewise.
59664 * math/libm-test.inc (ccos_test): Add more tests.
59665 (ccosh_test): Likewise.
59666 (csin_test): Likewise.
59667 (csinh_test): Likewise.
59668 * sysdeps/i386/fpu/libm-test-ulps: Update.
59669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59670
59671 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
59672
59673 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59674 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59675
59676 * sysdeps/x86_64/x32/_itoa.h: Add comment.
59677
59678 2012-05-19 Joseph Myers <joseph@codesourcery.com>
59679
59680 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59681 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59682 * sysdeps/powerpc/soft-fp/Versions: Likewise.
59683 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59684 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59685 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59686 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59687 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59688 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59689 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59690 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59691 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59692 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59693 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59694 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59695 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59696 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59697 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59698 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59699 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59700 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59701 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59702 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59703 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59704 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59705 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59706 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59707 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59708 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59709 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59710 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59711
59712 2012-05-18 Andreas Jaeger <aj@suse.de>
59713
59714 * csu/.gitignore: Delete.
59715
59716 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
59717
59718 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59719 (timex): Use __syscall_slong_t.
59720
59721 2012-05-18 Andreas Jaeger <aj@suse.de>
59722 Carlos O'Donell <carlos_odonell@mentor.com>
59723
59724 * manual/install.texi (Configuring and compiling): Update
59725 description about files modified in the source directory.
59726 * INSTALL: Regenerated.
59727
59728 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
59729
59730 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59731 value. Use "or" to set return value to -1.
59732 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59733 negate return value.
59734
59735 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59736
59737 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59738 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59739 failure if the compiler has Graphite support disabled.
59740 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59741 Likewise.
59742 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59743 (CFLAGS-memmove.c): Likewise.
59744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59745 Likewise.
59746
59747 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
59748
59749 * sysdeps/x86_64/x32/_itoa.h: New file.
59750
59751 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59752 getdents system call only if kernel and user dirents have the
59753 same d_ino and d_off.
59754
59755 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59756 LLONG_MAX != LONG_MAX.
59757 (_itoa_word): Use _ITOA_WORD_TYPE on value.
59758 (_fitoa_word): Likewise.
59759
59760 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59761 years.
59762 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59763 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59764 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59765
59766 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59767 include <bits/wordsize.h>. Check __x86_64__ instead of
59768 __WORDSIZE.
59769 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59770 if __x86_64__ is defined. Use anonymous union on fpstate.
59771
59772 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59773 anonymous union.
59774
59775 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
59776
59777 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59778 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59780 Refer to _rtld_local_ro instead of _rtld_global_ro.
59781 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59782 Likewise.
59783 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59784 Likewise.
59785 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59786 Likewise.
59787 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59788 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59789 of _rtld_global, and rtld_progname instead of _dl_argv[0].
59790
59791 [BZ #10882]
59792 * sysdeps/powerpc/powerpc32/dl-machine.c
59793 (__elf_machine_runtime_setup) [PROF]: Don't reference
59794 _dl_prof_resolve.
59795
59796 2012-05-18 Andreas Jaeger <aj@suse.de>
59797
59798 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59799 function only available for GCCs before 3.4 since GCC 3.4
59800 introduced a builtin.
59801 (lrint): Likewise.
59802 (llrintf): Likewise.
59803 (llrint): Likewise.
59804 (fmaxf): Likewise.
59805 (fmax): Likewise.
59806 (fminf): Likewise.
59807 (fmin): Likewise.
59808 (rint): Likewise.
59809 (rintf): Likewise.
59810 (nearbyint): Likewise.
59811 (nearbyintf): Likewise.
59812 (ceil): Likewise.
59813 (ceilf): Likewise.
59814 (floor): Likewise.
59815 (floorf): Likewise.
59816
59817 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
59818
59819 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59820 on both fields and cast pointer to __syscall_ulong_t.
59821
59822 * bits/types.h (__fsword_t): New type.
59823 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59824 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59826 (__FSWORD_T_TYPE): Likewise.
59827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59828 (__FSWORD_T_TYPE): Likewise.
59829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59830 (__FSWORD_T_TYPE): Likewise.
59831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59832 (__FSWORD_T_TYPE): Likewise.
59833 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59834 __SWORD_TYPE with __fsword_t.
59835 (statfs64): Likewise.
59836
59837 2012-05-17 David S. Miller <davem@davemloft.net>
59838
59839 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59840
59841 2012-05-17 Andreas Jaeger <aj@suse.de>
59842
59843 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59844 warning.
59845
59846 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
59847
59848 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59849
59850 2012-05-17 Andreas Jaeger <aj@suse.de>
59851
59852 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59853 when it is used.
59854
59855 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
59856
59857 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59858
59859 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
59860
59861 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59862 * sysdeps/x86_64/tst-mallocalign1.c: New file.
59863
59864 2012-05-17 Andreas Jaeger <aj@suse.de>
59865 Carlos O'Donell <carlos_odonell@mentor.com>
59866
59867 [BZ #14059]
59868 * sysdeps/x86_64/multiarch/init-arch.h
59869 (bit_YMM_Usable): Rename to...
59870 (bit_AVX_Usable): ... this.
59871 (bit_FMA4_Usable): New macro.
59872 (bit_XMM_state): New macro.
59873 (bit_YMM_state): New macro.
59874 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59875 [__ASSEMBLER__] (index_AVX_Usable): ... this.
59876 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59877 (CPUID_OSXSAVE): New macro.
59878 (CPUID_AVX): New macro.
59879 (CPUID_FMA4): New macro.
59880 (index_YMM_Usable): Rename to...
59881 (index_AVX_Usable): ... this.
59882 (HAS_AVX): Use HAS_ARCH_FEATURE.
59883 (HAS_FMA4): Likewise.
59884 (HAS_YMM_USABLE): Remove.
59885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59886 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59887 are present.
59888 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59889 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59890 * sysdeps/x86_64/multiarch/Makefile: Likewise.
59891 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59892 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59893
59894 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
59895
59896 * math/libm-test.c: Support platforms without multiple rounding modes.
59897 * math/bug-nextafter.c: Support platforms without FP exceptions.
59898 * math/bug-nexttoward.c: Likewise.
59899 * math/test-fenv.c: Likewise.
59900 * math/test-misc.c: Likewise.
59901 * stdlib/bug-getcontext.c: Likewise.
59902
59903 2012-05-17 Andreas Jaeger <aj@suse.de>
59904
59905 * manual/examples/search.c (critter_cmp): Change signature to
59906 avoid warnings.
59907 * manual/string.texi (Collation Functions): Likewise.
59908
59909 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59910
59911 * bits/types.h: Fold copyright years.
59912 * bits/typesizes.h: Likewise.
59913 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59917 * time/time.h: Likewise.
59918
59919 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
59920
59921 [BZ #208]
59922 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59923 in instead of returning them. Return void.
59924 (__libc_mallinfo): Accumulate over all arenas.
59925 (__malloc_stats): Adjust for change in int_mallinfo interface.
59926
59927 2012-05-16 Roland McGrath <roland@hack.frob.com>
59928
59929 [BZ #10375]
59930 * configure.in (NM): Add AC_CHECK_TOOL for it.
59931 (libc_extra_cflags): New substituted variable.
59932 Check for -fstack-protector being used implicitly.
59933 * configure: Regenerated.
59934 * config.make.in (config-extra-cflags): New variable,
59935 gets @libc_extra_cflags@.
59936 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59937
59938 [BZ #10375]
59939 * configure.in: Check for _FORTIFY_SOURCE being predefined.
59940 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59941 * configure: Regenerated.
59942 * config.make.in (CPPUNDEFS): New substituted variable.
59943 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59944 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59945 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59946
59947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59948
59949 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59950 (mq_attr): Use __syscall_slong_t.
59951
59952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59953
59954 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59955 Check __x86_64__ instead of __WORDSIZE.
59956 (_STAT_VER_LINUX): Likewise.
59957 (stat): Check __x86_64__ instead of __WORDSIZE. Use
59958 __syscall_ulong_t and __syscall_slong_t.
59959 (stat64): Likewise.
59960
59961 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59962
59963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59964
59965 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59966
59967 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59968
59969 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
59970
59971 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59972 __syscall_ulong_t.
59973
59974 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59975 include <bits/wordsize.h>. Check __x86_64__ instead of
59976 __WORDSIZE.
59977 (greg_t): Use "__extension__ long long int" if __x86_64__ is
59978 defined.
59979 (mcontext_t): Replace "unsigned long" with "unsigned long long".
59980
59981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59982 include <bits/wordsize.h>. Check __x86_64__ instead of
59983 __WORDSIZE.
59984 (user_regs_struct): Use "__extension__ unsigned long long"
59985 instead of "unsigned long" if __x86_64__ is defined.
59986 (user): Likewise. Pad after pointer field if __ILP32__ is
59987 defined.
59988
59989 2012-05-16 Joseph Myers <joseph@codesourcery.com>
59990
59991 * configure.in (makeinfo): Require version 4.5 or later. Allow
59992 versions 5 to 9.
59993 * configure: Regenerated.
59994 * manual/install.texi (texinfo): Increase version requirement to
59995 4.5 or later.
59996 * INSTALL: Regenerated.
59997
59998 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59999
60000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
60001
60002 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60003
60004 * sysdeps/x86_64/x32/ffs.c: New file.
60005
60006 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60007 __syscall_ulong_t.
60008 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60009 defined. Use __syscall_ulong_t.
60010 (shminfo): Use __syscall_ulong_t.
60011 (shm_info): Likewise.
60012
60013 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60014 __syscall_ulong_t.
60015
60016 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60017 <bits/wordsize.h>.
60018 (msgqnum_t): Use __syscall_ulong_t.
60019 (msglen_t): Likewise.
60020 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
60021 __syscall_ulong_t.
60022
60023 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60024 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
60025
60026 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60027
60028 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60029 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60030
60031 * sysvipc/sys/msg.h (msgbuf): Replace long int with
60032 __syscall_slong_t.
60033
60034 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60035 include <bits/wordsize.h>. Check __x86_64__ instead of
60036 __WORDSIZE.
60037
60038 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60039 "unsigned long long int" if __x86_64__ is defined.
60040 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60041
60042 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60043 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
60044 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60045
60046 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60047 <stdint.h>.
60048 (GET_PC): Cast to uintptr_t first.
60049 (GET_FRAME): Likewise.
60050 (GET_STACK): Likewise.
60051
60052 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60053 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60058 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60059 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60060 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60061 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60062 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60063 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60064 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60065 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60067 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60068 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60069 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60070 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60071 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60072 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60077 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60078 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60079 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60080 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60081
60082 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
60083
60084 * Makerules (+depfiles): Also collect depfiles from .oS in
60085 $(extra-objs).
60086 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60087 .oS, $(libnldbl-routines)).
60088
60089 * Makerules (native-compile-mkdep-flags): Define.
60090 * sunrpc/Makefile (extra-objs): Add $(addprefix
60091 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60092 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60093 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
60094 calling $(make-target-directory).
60095
60096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60097
60098 * bits/types.h (__snseconds_t): Removed.
60099 * time/time.h (struct timespec): Replace __snseconds_t with
60100 __syscall_slong_t.
60101 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60102 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60103 Likewise.
60104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60105 (__SNSECONDS_T_TYPE): Likewise.
60106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60107 (__SNSECONDS_T_TYPE): Likewise.
60108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60109 (__SNSECONDS_T_TYPE): Likewise.
60110
60111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60112
60113 * sysdeps/mach/hurd/bits/typesizes.h
60114 (__SYSCALL_SLONG_TYPE): New macro.
60115 (__SYSCALL_ULONG_TYPE): Likewise.
60116
60117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60118
60119 * bits/types.h (__syscall_slong_t): New type.
60120 (__syscall_ulong_t): Likewise.
60121
60122 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60123 (__SYSCALL_ULONG_TYPE): Likewise.
60124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60125 (__SYSCALL_SLONG_TYPE): Likewise.
60126 (__SYSCALL_ULONG_TYPE): Likewise.
60127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60128 (__SYSCALL_SLONG_TYPE): Likewise.
60129 (__SYSCALL_ULONG_TYPE): Likewise.
60130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60131 (__SYSCALL_SLONG_TYPE): Likewise.
60132 (__SYSCALL_ULONG_TYPE): Likewise.
60133
60134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60135
60136 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60137 Add sigaltstack-offsets.sym.
60138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60139 <sigaltstack-offsets.h>.
60140 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
60141 longjmp_msg pointer.
60142 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
60143 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60144 signal stack.
60145 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60146
60147 2012-05-15 Joseph Myers <joseph@codesourcery.com>
60148
60149 * elf/stackguard-macros.h: Remove file.
60150 * sysdeps/generic/stackguard-macros.h: New file.
60151 * sysdeps/i386/stackguard-macros.h: Likewise.
60152 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60153 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60154 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60155 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60156 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60157 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60158 * sysdeps/x86_64/stackguard-macros.h: Likewise.
60159 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60160 <elf/stackguard-macros.h>.
60161
60162 [BZ #14109]
60163 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60164 __aligned__ in attribute.
60165 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60166 (gregset_t): Likewise.
60167
60168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60169
60170 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60171 * sysdeps/x86_64/64/Implies-after: Here. New file.
60172 * sysdeps/x86_64/x32/Implies-after: New file.
60173
60174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60175
60176 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60177 and access return value for _dl_profile_fixup. Use R10_LP to
60178 load frame size.
60179
60180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60181
60182 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60183
60184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60185
60186 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60187 * sysdeps/x86_64/x32/sysdep.h: New file.
60188
60189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60190
60191 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60192 * sysdeps/x86_64/setjmp.S: Likewise.
60193
60194 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60195
60196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60197 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60198 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60200 remove unused global constant.
60201
60202 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
60203
60204 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60205 include of <not-cancel.h>.
60206
60207 2012-05-15 Roland McGrath <roland@hack.frob.com>
60208
60209 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60210
60211 2012-05-15 Jeff Law <law@redhat.com>
60212 Andreas Jaeger <aj@suse.de>
60213
60214 [BZ #13594]
60215 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60216 out from...
60217 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60218 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60219 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60220 code changing __hst_map_handle.map.
60221
60222 2012-05-15 Roland McGrath <roland@hack.frob.com>
60223
60224 * configure.in (sysnames): Look for Implies-before and Implies-after
60225 files.
60226 * configure: Regenerated.
60227
60228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60229
60230 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60231 8-byte data alignment with LP_SIZE alignment.
60232
60233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60234
60235 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60236 into R10_LP.
60237
60238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60239
60240 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60241
60242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60243
60244 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60245 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60247 Likewise.
60248 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60249
60250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60251
60252 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60253 (stackinfo_sub_sp): Likewise.
60254
60255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60256
60257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60258 RAX_LP.
60259
60260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60261
60262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60263 into R*_LP.
60264
60265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60266
60267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60268 sizes into R*_LP.
60269
60270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60271
60272 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60273
60274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60275
60276 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60277 into R11_LP and load __x86_64_shared_cache_size_half into
60278 R8_LP.
60279
60280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60281
60282 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60283 R8_LP.
60284
60285 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60286
60287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60288 logb for POWER7.
60289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60290 logbf for POWER7.
60291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60292 logbl for POWER7.
60293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60294 powerpc32/power7/fpu/s_logb.c via #include.
60295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60296 powerpc32/power7/fpu/s_logbf.c via #include.
60297 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60298 powerpc32/power7/fpu/s_logbl.c via #include.
60299
60300 2012-05-15 Joseph Myers <joseph@codesourcery.com>
60301
60302 * README.libm: Remove file.
60303
60304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60305
60306 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60307 count for x32. Use R*_LP and omit operand-size suffix.
60308
60309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60310
60311 * shlib-versions: Move x86_64-.*-linux.* entries to ...
60312 * sysdeps/x86_64/64/shlib-versions: Here. New file.
60313 * sysdeps/x86_64/x32/shlib-versions: New file.
60314
60315 2012-05-14 Roland McGrath <roland@hack.frob.com>
60316
60317 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60318 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60319 Use _dl_fatal_printf instead.
60320
60321 2012-05-14 Joseph Myers <joseph@codesourcery.com>
60322
60323 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60324 set if not set by the user. Do not allow for being unset.
60325 * sysdeps/unix/sysv/linux/configure: Regenerated.
60326
60327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60328
60329 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60330 the `q' suffix from lea and replace .quad with ASM_ADDR.
60331
60332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60333
60334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60335 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
60336 instead of $17.
60337 (PTR_DEMANGLE): Likewise.
60338
60339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60340
60341 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60342 (LP_OP): Likewise.
60343 (ASM_ADDR): Likewise.
60344 (RAX_LP): Likewise.
60345 (RBP_LP): Likewise.
60346 (RBX_LP): Likewise.
60347 (RCX_LP): Likewise.
60348 (RDI_LP): Likewise.
60349 (RSI_LP): Likewise.
60350 (RSP_LP): Likewise.
60351 (R8_LP): Likewise.
60352 (R9_LP): Likewise.
60353 (R10_LP): Likewise.
60354 (R10_LP): Likewise.
60355 (R11_LP): Likewise.
60356 (R12_LP): Likewise.
60357 (R13_LP): Likewise.
60358 (R14_LP): Likewise.
60359 (R15_LP): Likewise.
60360
60361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60362
60363 * sysdeps/x86_64/x32/dl-machine.h: New file.
60364
60365 2012-05-14 Andreas Jaeger <aj@suse.de>
60366
60367 * manual/Makefile (subdir): Remove export of subdir.
60368 (all): Remove target.
60369 (.PHONY): Remove all from list.
60370 (mkinstalldirs): Remove.
60371 (.PHONY): Remove installdirs from list.
60372 ($(inst_infodir)/libc.info): Use make-target-directory.
60373 (installdirs): Remove.
60374 (subdir_%): Remove.
60375 (glibc-targets): Remove.
60376 (lib): Remove.
60377 (stubs): Remove.
60378 ($(objpfx)stubs ../po/manual.pot): Remove.
60379 ($(objpfx)stamp%): Remove.
60380 (make-target-directory): Remove.
60381 (subdir_install): Remove.
60382 (routines): Remove.
60383 (aux): Remove.
60384 (sources): Remove.
60385 (objects): Remove.
60386 (headers): Remove.
60387
60388 [BZ #13750]
60389 * manual/.gitignore: Remove, it's not needed anymore.
60390 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60391 all files in it.
60392 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60393 directory.
60394 (texis): Renamed to $(objpfx)texis.
60395 (texis-path): New, contains path to generated files.
60396 (chapters.%): Use texis-path for complete path, add extra argument
60397 libc-texinfo.sh.
60398 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60399 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60400 (summary,texi, stamp-summary): Use complete path of
60401 files. Generate files in build dir.
60402 (dir-add.texi): Build in build dir.
60403 (libm-err.texi,stamp-libm-err): Likewise.
60404 (version.texi, stamp-version): Likewise.
60405 (.%c.texi): Likewise.
60406 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60407 (mostlyclean): Remove target.
60408 (realclean): Remove target.
60409 (generated): Add new variable with contents from mostlyclean and
60410 realclean, remove entries duplicated in common-mostlyclean, add
60411 stamp-libm-err and stamp-version.
60412 (generated-dirs): Add libc directory.
60413 ($(inst_infodir)/libc.info): Install files from build dir.
60414
60415 * manual/install.texi (Configuring and compiling): Adjust since
60416 the info files are not part of the tar ball anymore.
60417
60418 2012-05-14 Andreas Jaeger <aj@suse.de>
60419
60420 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60421 variable.
60422
60423 2012-05-14 Joseph Myers <joseph@codesourcery.com>
60424
60425 [BZ #13717]
60426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60427 to 2.2.0 where earlier.
60428 * sysdeps/unix/sysv/linux/configure: Regenerated.
60429 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60430 Remove conditional code.
60431 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60432 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60433 Remove conditional code.
60434 [!__NR_lchown]: Likewise.
60435 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60436 [__NR_lchown]: Likewise.
60437 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60438 comment referencing __ASSUME_LCHOWN_SYSCALL.
60439 * sysdeps/unix/sysv/linux/i386/sigaction.c
60440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60442 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60443 Remove conditional code.
60444 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60445 (__protocol_available): Remove #if 0 code.
60446 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60447 conditional code.
60448 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60449 * sysdeps/unix/sysv/linux/kernel-features.h
60450 (__ASSUME_GETCWD_SYSCALL): Don't define.
60451 (__ASSUME_REALTIME_SIGNALS): Likewise.
60452 (__ASSUME_PREAD_SYSCALL): Likewise.
60453 (__ASSUME_PWRITE_SYSCALL): Likewise.
60454 (__ASSUME_POLL_SYSCALL): Likewise.
60455 (__ASSUME_LCHOWN_SYSCALL): Likewise.
60456 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60457 non-SPARC.
60458 (__ASSUME_SIOCGIFNAME): Don't define.
60459 (__ASSUME_MSG_NOSIGNAL): Likewise.
60460 (__ASSUME_SENDFILE): Define unconditionally.
60461 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60462 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60463 conditional code.
60464 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60465 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60466 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60467 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60468 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60469 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60470 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60495 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60496 Remove conditional code.
60497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60498 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60499 Remove conditional code.
60500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60501 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60502 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60503 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60504 Remove conditional code.
60505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60506 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60507 Remove conditional code.
60508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60509 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60510 Remove conditional code.
60511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60512 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60513 Remove conditional code.
60514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60515 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60516 Remove conditional code.
60517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60518 * sysdeps/unix/sysv/linux/sh/pwrite64.c
60519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60521 * sysdeps/unix/sysv/linux/sigaction.c
60522 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60523 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60524 * sysdeps/unix/sysv/linux/sigpending.c
60525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60527 * sysdeps/unix/sysv/linux/sigprocmask.c
60528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60530 * sysdeps/unix/sysv/linux/sigsuspend.c
60531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60534 (__libc_missing_rt_sigs): Remove.
60535 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60536 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60537 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60538 Remove conditional code.
60539 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60540 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60541 return 1.
60542 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60543 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60544 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60545 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60546
60547 2012-05-14 Andreas Jaeger <aj@suse.de>
60548
60549 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60550 it's not used in glibc.
60551 (__coshm1): Likewise.
60552 (__acosh1p): Likewise.
60553 (__sgn): Likewise.
60554
60555 * manual/string.texi (Copying and Concatenation): Add missing
60556 variable in concat example.
60557 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60558
60559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60560
60561 [BZ #14103]
60562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60563 __builtin_clzl with __builtin_clzll.
60564
60565 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
60566
60567 [BZ #14104]
60568 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60569 libc_freeres_ptr.
60570
60571 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60572
60573 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60574 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60575 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60576 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60577
60578 2012-05-14 Mike Frysinger <vapier@gentoo.org>
60579
60580 * NEWS: Update ia64 info.
60581
60582 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
60583
60584 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60585 used as bcopy.
60586
60587 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
60588
60589 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60590 * sysdeps/unix/syscalls.list (dup3): Likewise.
60591 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60592 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60593
60594 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
60595
60596 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60597 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60598
60599 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
60600
60601 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60602 thread pointer.
60603 (TLS_IE): Use mov/add instead of movq/addq to load thread
60604 pointer.
60605 (TLS_GD_PREFIX): New.
60606 (TLS_GD): Use it.
60607
60608 2012-05-11 David S. Miller <davem@davemloft.net>
60609
60610 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60611 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60612 (_FPU_SETCW): Likewise.
60613
60614 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
60615
60616 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60617 is 32-byte aligned.
60618
60619 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
60620
60621 [BZ #11837]
60622 * iconvdata/gb18030.c: Update tables.
60623 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
60624 characters specially.
60625 (BODY for TO_LOOP): Add encoding of missing ranges.
60626
60627 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
60628
60629 [BZ #13673]
60630 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60631 * sysdeps/mach/hurd/dup3.c: Likewise.
60632 * sysdeps/mach/hurd/readlinkat.c: Likewise.
60633 * sysdeps/powerpc/memmove.c:: Likewise.
60634
60635 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
60636
60637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60638 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60639
60640 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
60641
60642 * elf/elf.h (R_X86_64_RELATIVE64): New.
60643 (R_X86_64_NUM): Updated.
60644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60645 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
60646 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60647 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60648 tst-quad1pie tst-quad2pie
60649 (modules-names): Add tst-quadmod1 tst-quadmod2.
60650 ($(objpfx)tst-quad1): New dependency.
60651 ($(objpfx)tst-quad2): Likewise.
60652 ($(objpfx)tst-quad1pie): Likewise.
60653 ($(objpfx)tst-quad2pie): Likewise.
60654 * sysdeps/x86_64/tst-quad1.c: New file.
60655 * sysdeps/x86_64/tst-quad1pie.c: New file.
60656 * sysdeps/x86_64/tst-quad2.c: Likewise.
60657 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60658 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60659 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60660 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60661 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60662
60663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60664
60665 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60666 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60667 * streams/stropts.h (t_scalar_t): Define type.
60668
60669 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60670 (_PATH_PRESERVE): Set to "/var/lib".
60671 (_PATH_RWHODIR): Set to "/var/spool/rwho".
60672
60673 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60674 instead of int.
60675
60676 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60677 if __dir_mkfile succeeded.
60678
60679 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60680 checking for _hurd_dtablesize. Unlock it right after having
60681 finished _hurd_dtable allocation.
60682
60683 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60684
60685 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60686 * sysdeps/mach/hurd/configure: Regenerated.
60687 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60688 special-casing to...
60689 * sysdeps/gnu/configure.in: ... this new file.
60690 * sysdeps/unix/sysv/linux/configure: Regenerated.
60691 * sysdeps/gnu/configure: New generated file.
60692
60693 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60694 for Linux: use nsec instead of usec, as well as:
60695 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60696 members of type struct timespec.
60697 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60698 New macros.
60699 (struct stat64): Likewise.
60700 (_STATBUF_ST_NSEC): New macro.
60701 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60702
60703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60704 __strtoul_internal rather than strtoul.
60705
60706 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
60707
60708 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60709 and reject them.
60710
60711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60712
60713 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60714 which preserves existing values.
60715 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60716
60717 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
60718
60719 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60720 TIMEOUT values. Return EINVAL for NFDS values either negative or
60721 greater than FD_SETSIZE.
60722
60723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60724
60725 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60726 allocated, call __vm_protect to finish enabling the existing space, and
60727 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60728 allocate the remainder.
60729
60730 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
60731
60732 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60733 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
60734
60735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60736
60737 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60738 sysdeps/mach/hurd/readlink.c.
60739
60740 * posix/tst-sysconf.c (posix_options): Only use
60741 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60742 _POSIX_SYNCHRONIZED_IO when they are defined
60743 * sysdeps/mach/hurd/bits/posix_opt.h:
60744 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60745 (_XOPEN_REALTIME): Undefine macro.
60746 (_XOPEN_REALTIME_THREADS): Undefine macro.
60747 (_XOPEN_SHM): Undefine macro.
60748 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60749 macro to -1.
60750 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60751 macro to -1.
60752 (_POSIX_ASYNC_IO): Undefine macro.
60753 (_POSIX_PRIORITIZED_IO): Undefine macro.
60754 (_POSIX_SPIN_LOCKS): Define macro to -1.
60755
60756 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60757 SA_NODEFER, SA_RESETHAND.
60758 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60759 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60760 F_DUPFD_CLOEXEC.
60761
60762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60763
60764 * elf/Makefile (pldd-modules): Define unconditionally.
60765
60766 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60767
60768 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60769
60770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60771
60772 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60773 Return ENOENT when name is empty.
60774 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60775
60776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60777
60778 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60779
60780 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60781
60782 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60783
60784 Fix mlock in all cases except non-readable pages.
60785 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60786 instead of VM_PROT_ALL as parameter to __vm_wire function.
60787
60788 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60789 (__mkdir): When path is `/', just fail with EEXIST.
60790 * sysdeps/mach/hurd/mkdirat.c: Likewise.
60791
60792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60793
60794 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60795 <sys/uio.h> (for writev).
60796 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60797 and <sys/param.h> (for MIN).
60798
60799 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
60800
60801 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60802 REQUESTED_TIME. Properly set the remaining time and return EINTR
60803 if interrupted.
60804
60805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60806
60807 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60808 Depend on against $(link-rpcuserlibs).
60809
60810 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60811
60812 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60813 (__libc_stack_end): Do not use attribute_relro.
60814 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60815 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60816 to libthread-provided value.
60817 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60818 attribute_relro.
60819
60820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60821
60822 [BZ #3748]
60823 * bits/libc-lock.h (__libc_once_get): New macro.
60824 * sysdeps/mach/bits/libc-lock.h: Likewise.
60825 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60826 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60827 instead of using implementation details.
60828
60829 * libio/fileops.c: Unconditionally include <kernel-features.h>.
60830 * libio/freopen.c: Likewise.
60831 * libio/freopen64.c: Likewise.
60832 * misc/syslog.c: Likewise.
60833 * nscd/connections.c: Likewise.
60834 * nscd/netgroupcache.c: Likewise.
60835 * sysdeps/posix/getcwd.c: Likewise.
60836
60837 2012-05-10 Roland McGrath <roland@hack.frob.com>
60838
60839 * math/w_ilogbf.c: Add #include <limits.h>.
60840
60841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60842
60843 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60844 path instead of returning without unlocking.
60845
60846 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60847 immediate-write ioctls.
60848 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60849
60850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60851
60852 * sysdeps/mach/hurd/i386/init-first.c (init): Use
60853 __builtin_frame_address instead of making assumptions about the
60854 location of the return address relative to DATA. Force early load of
60855 the return address.
60856 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60857 __builtin_frame_address.
60858
60859 dup3 for GNU Hurd.
60860 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60861 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
60862 implement dup3 and do some further code clean-ups.
60863 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60864 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60865
60866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60867
60868 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60869
60870 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60871 HURD_CRITICAL_END around holding _hurd_dtable_lock.
60872 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60873 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60874 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60875 d->port.lock.
60876
60877 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60878 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
60879 when handler == SIG_ERR, not when handler != SIG_ERR.
60880
60881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60882
60883 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60884 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60885 definitions.
60886
60887 accept4 for GNU Hurd.
60888 * include/sys/socket.h (__libc_accept4): New prototype.
60889 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
60890 to implement __libc_accept4.
60891 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60892 __libc_accept4.
60893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60894
60895 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60896 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60897 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60898 signal-defines.sym.
60899
60900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60901
60902 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60903
60904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
60905
60906 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60907 assertion on O_CLOEXEC flag.
60908 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60909 * hurd/intern-fd.c: Likewise.
60910 * hurd/port2fd.c: Likewise.
60911
60912 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
60913
60914 [BZ #3906]
60915 * bits/in.h (IPV6_PKTINFO): Define new macro.
60916 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60917
60918 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60919
60920 [BZ #13954]
60921 [BZ #13955]
60922 [BZ #13956]
60923 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60924 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60925 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60926 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60928 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60929 * math/libm-test.inc (logb_test) : Additional logb tests.
60930
60931 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
60932 Andreas Jaeger <aj@suse.de>
60933
60934 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60935 * configure: Regenerated.
60936 * config.h.in (LINK_OBSOLETE_RPC): New macro.
60937 * config.make.in (link-obsolete-rpc): New substituted variable.
60938 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60939 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60940 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60941 (shared-only-routines): Don't set it under [link-obsolete-rpc],
60942 so that libc.a contains the symbols.
60943 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60944 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60945 * sunrpc/auth_none.c: Likewise.
60946 * sunrpc/auth_unix.c: Likewise.
60947 * sunrpc/authdes_prot.c: Likewise.
60948 * sunrpc/authuxprot.c: Likewise.
60949 * sunrpc/clnt_gen.c: Likewise.
60950 * sunrpc/clnt_perr.c: Likewise.
60951 * sunrpc/clnt_raw.c: Likewise.
60952 * sunrpc/clnt_simp.c: Likewise.
60953 * sunrpc/clnt_tcp.c: Likewise.
60954 * sunrpc/clnt_udp.c: Likewise.
60955 * sunrpc/clnt_unix.c: Likewise.
60956 * sunrpc/des_crypt.c: Likewise.
60957 * sunrpc/des_soft.c: Likewise.
60958 * sunrpc/get_myaddr.c: Likewise.
60959 * sunrpc/key_call.c: Likewise.
60960 * sunrpc/key_prot.c: Likewise.
60961 * sunrpc/netname.c: Likewise.
60962 * sunrpc/pm_getmaps.c: Likewise.
60963 * sunrpc/pm_getport.c: Likewise.
60964 * sunrpc/pmap_clnt.c: Likewise.
60965 * sunrpc/pmap_prot.c: Likewise.
60966 * sunrpc/pmap_prot2.c: Likewise.
60967 * sunrpc/pmap_rmt.c: Likewise.
60968 * sunrpc/publickey.c: Likewise.
60969 * sunrpc/rpc_cmsg.c: Likewise.
60970 * sunrpc/rpc_common.c: Likewise.
60971 * sunrpc/rpc_dtable.c: Likewise.
60972 * sunrpc/rpc_prot.c: Likewise.
60973 * sunrpc/rpc_thread.c: Likewise.
60974 * sunrpc/rtime.c: Likewise.
60975 * sunrpc/svc.c: Likewise.
60976 * sunrpc/svc_auth.c: Likewise.
60977 * sunrpc/svc_raw.c: Likewise.
60978 * sunrpc/svc_run.c: Likewise.
60979 * sunrpc/svc_tcp.c: Likewise.
60980 * sunrpc/svc_udp.c: Likewise.
60981 * sunrpc/svc_unix.c: Likewise.
60982 * sunrpc/svcauth_des.c: Likewise.
60983 * sunrpc/xcrypt.c: Likewise.
60984 * sunrpc/xdr.c: Likewise.
60985 * sunrpc/xdr_array.c: Likewise.
60986 * sunrpc/xdr_float.c: Likewise.
60987 * sunrpc/xdr_intXX_t.c: Likewise.
60988 * sunrpc/xdr_mem.c: Likewise.
60989 * sunrpc/xdr_rec.c: Likewise.
60990 * sunrpc/xdr_ref.c: Likewise.
60991 * sunrpc/xdr_sizeof.c: Likewise.
60992 * sunrpc/xdr_stdio.c: Likewise.
60993
60994 2012-05-10 Roland McGrath <roland@hack.frob.com>
60995
60996 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60997 change. Update copyright years.
60998
60999 2012-05-10 Joseph Myers <joseph@codesourcery.com>
61000
61001 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61002
61003 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
61004 Joseph Myers <joseph@codesourcery.com>
61005 Paul Pluzhnikov <ppluzhnikov@google.com>
61006
61007 [BZ #14012]
61008 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61009 requiring rpcgen.
61010 [cross-compiling] (extra-libs): Likewise.
61011 [cross-compiling] (extra-libs-others): Likewise.
61012 [cross-compiling] (librpcsvc-routines): Likewise.
61013 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61014 [cross-compiling] (omit-deps): Likewise.
61015 (sunrpc-CPPFLAGS): New variable.
61016 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61017 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61018 (cross-rpcgen-objs): New variable.
61019 (extra-objs): Append $(cross-rpcgen-objs).
61020 ($(cross-rpcgen-objs)): New rule.
61021 ($(objpfx)cross-rpcgen): Likewise.
61022 (rpcgen-cmd): Define to use $(built-program-file). Expand
61023 comment.
61024 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61025 ($(objpfx)x%.stmp): Likewise.
61026 * sunrpc/proto.h [IS_IN_build] (_): Define.
61027 [IS_IN_build] (_libc_intl_domainname): Likewise.
61028
61029 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
61030
61031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61032 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61033 and R_X86_64_TPOFF64.
61034
61035 2012-05-10 Joseph Myers <joseph@codesourcery.com>
61036
61037 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61038 sysdeps/unix/sysv/syscalls.list.
61039 (stime): Likewise.
61040 (utime): Likewise.
61041 * sysdeps/unix/sysv/syscalls.list: Remove file.
61042
61043 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
61044
61045 [BZ #3440]
61046 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61047 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61048 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61049 (__LC_IDENTIFICATION): Make these macros useful in #if
61050 expressions, as required by C99.
61051
61052 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
61053
61054 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61055 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
61056 after this.
61057
61058 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
61059
61060 * stdlib/longlong.h: Updated from GCC.
61061
61062 2012-05-09 Andreas Jaeger <aj@suse.de>
61063
61064 * nscd/nscd.c (run_modes): Make named enum, reorder so that
61065 default is first entry.
61066 (run_mode): Set type.
61067 (main): Remove informal message about syslog.
61068 (options): Fix typo.
61069
61070 [BZ #14053]
61071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61072 to asm.
61073 (lrint): Likewise.
61074 (llrintf): Likewise.
61075 (llrint): Likewise.
61076 (rint): Likewise.
61077 (rintf): Likewise.
61078 (nearbyint): Likewise.
61079 (nearbyintf): Likewise.
61080
61081 2012-05-09 Andreas Jaeger <aj@suse.de>
61082 Pedro Alves <palves@redhat.com>
61083
61084 * nscd/nscd.c (run_mode): Use enum.
61085 (main): Cleanup coding style issue.
61086
61087 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
61088 Andreas Jaeger <aj@suse.de>
61089
61090 * nscd/nscd.c (go_background): Replaced with...
61091 (run_mode): ... this.
61092 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61093 (options): Add -F --foreground.
61094 (main): Implement it.
61095 (parse_opt): Parse it.
61096
61097 2012-05-09 Andreas Jaeger <aj@suse.de>
61098
61099 [BZ #14083]
61100 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61101 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61102 -Wconversion warning.
61103 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61104 Likewise.
61105
61106 2012-05-09 Joseph Myers <joseph@codesourcery.com>
61107
61108 * conform/data/locale.h-data (NULL): Use macro-constant. Require
61109 == 0.
61110 (LC_ALL): Use macro-int-constant.
61111 (LC_COLLATE): Likewise.
61112 (LC_CTYPE): Likewise.
61113 (LC_MESSAGES): Likewise.
61114 (LC_MONETARY): Likewise.
61115 (LC_NUMERIC): Likewise.
61116 (LC_TIME): Likewise.
61117 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61118 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61120 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61121 Specify type.
61122 [C99-based standards] (float_t): Expect type.
61123 [C99-based standards] (double_t): Expect type.
61124 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
61125 type.
61126 [C99-based standards] (HUGE_VALL): Likewise.
61127 [C99-based standards] (INFINITY): Likewise.
61128 [C99-based standards] (NAN): Likewise.
61129 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61130 [C99-based standards] (FP_NAN): Likewise.
61131 [C99-based standards] (FP_NORMAL): Likewise.
61132 [C99-based standards] (FP_SUBNORMAL): Likewise.
61133 [C99-based standards] (FP_ZERO): Likewise.
61134 [C99-based standards] (FP_FAST_FMA): Use
61135 optional-macro-int-constant. Specify type. Require == 1.
61136 [C99-based standards] (FP_FAST_FMAF): Likewise.
61137 [C99-based standards] (FP_FAST_FMAL): Likewise.
61138 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61139 [C99-based standards] (FP_ILOGBNAN): Likewise.
61140 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61141 Specify type.
61142 [C99-based standards] (MATH_ERREXCEPT): Likewise.
61143 [C99-based standards] (math_errhandling): Specify type.
61144 [ISO99 || ISO11] (signgam): Do not allow.
61145 [non-C99-based standards] (copysignf): Do not allow.
61146 [non-C99-based standards] (exp2f): Likewise.
61147 [non-C99-based standards] (log2f): Likewise.
61148 [non-C99-based standards] (modff): Allow.
61149 [non-C99-based standards] (erff): Do not allow.
61150 [non-C99-based standards] (erfcf): Likewise.
61151 [non-C99-based standards] (gammaf): Likewise.
61152 [non-C99-based standards] (hypotf): Likewise.
61153 [non-C99-based standards] (j0f): Likewise.
61154 [non-C99-based standards] (j1f): Likewise.
61155 [non-C99-based standards] (jnf): Likewise.
61156 [non-C99-based standards] (lgammaf): Likewise.
61157 [non-C99-based standards] (tgammaf): Likewise.
61158 [non-C99-based standards] (y0f): Likewise.
61159 [non-C99-based standards] (y1f): Likewise.
61160 [non-C99-based standards] (ynf): Likewise.
61161 [non-C99-based standards] (isnanf): Likewise.
61162 [non-C99-based standards] (acoshf): Likewise.
61163 [non-C99-based standards] (asinhf): Likewise.
61164 [non-C99-based standards] (atanhf): Likewise.
61165 [non-C99-based standards] (cbrtf): Likewise.
61166 [non-C99-based standards] (expm1f): Likewise.
61167 [non-C99-based standards] (ilogbf): Likewise.
61168 [non-C99-based standards] (log1pf): Likewise.
61169 [non-C99-based standards] (logbf): Likewise.
61170 [non-C99-based standards] (nextafterf): Likewise.
61171 [non-C99-based standards] (remainderf): Likewise.
61172 [non-C99-based standards] (rintf): Likewise.
61173 [non-C99-based standards] (scalbf): Likewise.
61174 [non-C99-based standards] (copysignl): Likewise.
61175 [non-C99-based standards] (exp2l): Likewise.
61176 [non-C99-based standards] (log2l): Likewise.
61177 [non-C99-based standards] (modfl): Allow.
61178 [non-C99-based standards] (erfl): Do not allow.
61179 [non-C99-based standards] (erfcl): Likewise.
61180 [non-C99-based standards] (gammal): Likewise.
61181 [non-C99-based standards] (hypotl): Likewise.
61182 [non-C99-based standards] (j0l): Likewise.
61183 [non-C99-based standards] (j1l): Likewise.
61184 [non-C99-based standards] (jnl): Likewise.
61185 [non-C99-based standards] (lgammal): Likewise.
61186 [non-C99-based standards] (tgammal): Likewise.
61187 [non-C99-based standards] (y0l): Likewise.
61188 [non-C99-based standards] (y1l): Likewise.
61189 [non-C99-based standards] (ynl): Likewise.
61190 [non-C99-based standards] (isnanl): Likewise.
61191 [non-C99-based standards] (acoshl): Likewise.
61192 [non-C99-based standards] (asinhl): Likewise.
61193 [non-C99-based standards] (atanhl): Likewise.
61194 [non-C99-based standards] (cbrtl): Likewise.
61195 [non-C99-based standards] (expm1l): Likewise.
61196 [non-C99-based standards] (ilogbl): Likewise.
61197 [non-C99-based standards] (log1pl): Likewise.
61198 [non-C99-based standards] (logbl): Likewise.
61199 [non-C99-based standards] (nextafterl): Likewise.
61200 [non-C99-based standards] (remainderl): Likewise.
61201 [non-C99-based standards] (rintl): Likewise.
61202 [non-C99-based standards] (scalbl): Likewise.
61203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61204 [non-C99-based standards] (FP_*): Do not allow.
61205 [C99-based standards] (FP_*): Change to
61206 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61207 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61208 allow.
61209 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61210 (SIG_ERR): Likewise.
61211 [X/Open-based standards] (SIG_HOLD): Likewise.
61212 (SIG_IGN): Likewise.
61213 (SIGABRT): Use macro-int-constant. Specify type. Require
61214 positive value.
61215 (SIGFPE): Likewise.
61216 (SIGILL): Likewise.
61217 (SIGINT): Likewise.
61218 (SIGSEGV): Likewise.
61219 (SIGTER): Likewise.
61220 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61221 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61222 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61223 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61224 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61225 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61226 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61227 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61228 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61229 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61230 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61231 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61232 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61233 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61234 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61235 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61236 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61237 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61238 [X/Open-based standards] (SIGTRAP): Likewise.
61239 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61240 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61241 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61242 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61243 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61244 allow.
61245
61246 2012-05-08 Ian Wienand <ianw@vmware.com>
61247
61248 [BZ #14080]
61249 * time/tzset.c (__tzset_parse_tz): Update default rules for
61250 daylight time changes in the Energy Policy Act of 2005.
61251
61252 2012-05-09 Andreas Jaeger <aj@suse.de>
61253
61254 [BZ #13983]
61255 * elf/ldconfig.c (parse_conf): Change string to make clear that
61256 ldconfig only issued a warning if ld.so.conf does not exist.
61257
61258 2012-05-08 David S. Miller <davem@davemloft.net>
61259
61260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61261 movxtod instead of popping the value on the stack.
61262
61263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61264
61265 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
61266
61267 * config.h.in: Add HAVE_ARM_PCS_VFP.
61268
61269 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
61270
61271 [BZ #13979]
61272 * include/features.h: Warn if user requests __FORTIFY_SOURCE
61273 checking but the checks are disabled for any reason.
61274
61275 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
61276
61277 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61278 and ELF64_R_TYPE with ELFW(R_TYPE).
61279
61280 2012-05-08 Joseph Myers <joseph@codesourcery.com>
61281
61282 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61283 (ulimit): Likewise.
61284
61285 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61286 (settimeofday): Likewise.
61287
61288 2012-05-08 Mike Frysinger <vapier@gentoo.org>
61289
61290 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
61291 a struct th_u2 inside the union, and move tu_block/tu_code into
61292 a new th_u3 union of tu_block/tu_code inside of that. Move
61293 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
61294 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
61295 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61296 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61297 (th_stuff): Change to th_u1.tu_stuff.
61298 (th_data): Define.
61299 (th_msg): Change to th_u1.th_u2.tu_data.
61300
61301 2012-05-07 David S. Miller <davem@davemloft.net>
61302
61303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61304
61305 [BZ #14074]
61306 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61307 (SETUP_PIC_REG): Use it.
61308 (SETUP_PIC_REG_LEAF): Use it.
61309
61310 2012-05-07 Joseph Myers <joseph@codesourcery.com>
61311
61312 [BZ #13885]
61313 [BZ #13923]
61314 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61315 USE_AS_EXPM1L.
61316 (EXPL_FINITE): Likewise.
61317 (FLDLOG): Likewise.
61318 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61319 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61320 e_expl.S.
61321 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61322 USE_AS_EXPM1L.
61323 (EXPL_FINITE): Likewise.
61324 (FLDLOG): Likewise.
61325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61326 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61327 e_expl.S.
61328 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
61329 test of -max_value argument for long double.
61330 * sysdeps/i386/fpu/libm-test-ulps: Update.
61331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61332
61333 2012-05-06 David S. Miller <davem@davemloft.net>
61334
61335 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61336 quad soft-float symbols whose references which are compiler
61337 generated.
61338 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61339
61340 2012-05-06 Joseph Myers <joseph@codesourcery.com>
61341
61342 [BZ #13884]
61343 [BZ #13914]
61344 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61345 USE_AS_EXP10L.
61346 (EXPL_FINITE): Likewise.
61347 (FLDLOG): Likewise.
61348 (c0): Likewise.
61349 (c1): Likewise.
61350 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
61351 Adjust comments for base varying.
61352 (__expl_finite): Change alias to EXPL_FINITE.
61353 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61354 e_expl.S.
61355 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61356 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61357 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61358 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61359 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61360 USE_AS_EXP10L.
61361 (EXPL_FINITE): Likewise.
61362 (FLDLOG): Likewise.
61363 (c0): Likewise.
61364 (c1): Likewise.
61365 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
61366 Adjust comments for base varying.
61367 (__expl_finite): Change alias to EXPL_FINITE.
61368 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
61369 tests for bugs.
61370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61371
61372 [BZ #14064]
61373 * math/libm-test.inc (check_float_internal): Correct ulp
61374 calculation for subnormal expected results.
61375
61376 2012-05-06 Andreas Jaeger <aj@suse.de>
61377
61378 * Makeconfig (+math-flags): New, set to -frounding-math.
61379 (+cflags): Add +math-flags so that all of glibc gets compiled with
61380 it.
61381
61382 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61383
61384 2012-05-05 Joseph Myers <joseph@codesourcery.com>
61385
61386 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61387 Disable one test.
61388
61389 [BZ #13787]
61390 [BZ #13922]
61391 [BZ #14036]
61392 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61393 (__ieee754_expl): Allow for and saturate large arguments.
61394 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61395 (u_threshold): Likewise.
61396 (__exp): Call __ieee754_exp before checking for overflow and
61397 underflow.
61398 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61399 (u_threshold): Likewise.
61400 (__expf): Call __ieee754_expf before checking for overflow and
61401 underflow.
61402 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61403 (u_threshold): Likewise.
61404 (__expl): Call __ieee754_expl before checking for overflow and
61405 underflow.
61406 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61407 (__ieee754_expl): Allow for and saturate large arguments.
61408 * math/libm-test.inc (exp_test): Add another test. Do not allow
61409 missing overflow exception on overflow.
61410 (expm1_test): Do not allow missing overflow exception on overflow.
61411
61412 * sysdeps/i386/fpu/e_expl.c: Move to ...
61413 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
61414 rather than using inline asm.
61415 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61416 * sysdeps/x86_64/fpu/e_expl.S: Copy from
61417 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61418
61419 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61420 (nice): Likewise.
61421 (poll): Likewise.
61422 (signal): Likewise.
61423 (time): Likewise.
61424 (times): Likewise.
61425
61426 2012-05-04 Joseph Myers <joseph@codesourcery.com>
61427
61428 * sysdeps/unix/syscalls.list (adjtime): Add entry from
61429 sysdeps/unix/common/syscalls.list.
61430 (fchmod): Likewise.
61431 (fchown): Likewise.
61432 (ftruncate): Likewise.
61433 (getrusage): Likewise.
61434 (gettimeofday): Likewise.
61435 (setpgid): Likewise.
61436 (setregid): Likewise.
61437 (setreuid): Likewise.
61438 (sigaction): Likewise.
61439 (truncate): Likewise.
61440 (vhangup): Likewise.
61441 * sysdeps/unix/common/syscalls.list: Remove file.
61442 * sysdeps/unix/bsd/Implies: Don't include unix/common.
61443 * sysdeps/unix/sysv/linux/Implies: Likewise.
61444
61445 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
61446
61447 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61449 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61450 Moved to ...
61451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61452 Here.
61453 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61454 to ...
61455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61456 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61457 to ...
61458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61459 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61460 to ...
61461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61462 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61463 to ...
61464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61465 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61466 to ...
61467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61468 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61469 to ...
61470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61471 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61472 to ...
61473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61474 Here.
61475 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61476 to ...
61477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61478 Here.
61479 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61480 to ...
61481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61482 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61483 Moved to ...
61484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61485 Here.
61486 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61487 to ...
61488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61489
61490 2012-05-04 Joseph Myers <joseph@codesourcery.com>
61491
61492 * sysdeps/unix/common/bits/dirent.h: Remove file.
61493 * sysdeps/unix/common/bits/fcntl.h: Likewise.
61494
61495 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61496 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61497 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61498 * sysdeps/unix/bsd/isatty.c: Likewise.
61499 * sysdeps/unix/bsd/tcdrain.c: Likewise.
61500 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61501 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61502
61503 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61504
61505 [BZ #13563]
61506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61507 long double comparison inaccuracies.
61508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61510
61511 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
61512
61513 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61515
61516 2012-05-04 Joseph Myers <joseph@codesourcery.com>
61517
61518 [BZ #14049]
61519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61520 nonzero digits before rounding a hex value.
61521 * stdlib/tst-strtod.c (tests): Add another test.
61522
61523 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61524
61525 * sysdeps/s390/fpu/libm-test-ulps: Update.
61526
61527 2012-05-03 Andreas Jaeger <aj@suse.de>
61528
61529 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61530 does not get optimized out.
61531 (malloc_opt_barrier): New.
61532
61533 2012-05-03 Andreas Jaeger <aj@suse.de>
61534 Roland McGrath <roland@hack.frob.com>
61535
61536 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61537 intermediate file deletion.
61538 (generated): Add .symlist files.
61539
61540 2012-05-03 Joseph Myers <joseph@codesourcery.com>
61541
61542 [BZ #13775]
61543 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61544 Redirect under this condition.
61545 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61546 [__USE_GNU] (__dprintf_chk): Not under this condition.
61547 [__USE_GNU] (__vdprintf_chk): Likewise.
61548 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61549 under this condition.
61550 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61551 [__USE_XOPEN2K8] (dprintf): Define under this condition.
61552 [__USE_XOPEN2K8] (vdprintf): Likewise.
61553 [__USE_GNU] (__dprintf_chk): Not under this condition.
61554 [__USE_GNU] (__vdprintf_chk): Likewise.
61555 [__USE_GNU] (dprintf): Likewise.
61556 [__USE_GNU] (vdprintf): Likewise.
61557
61558 2012-05-03 Roland McGrath <roland@hack.frob.com>
61559
61560 * elf/Makefile (common-generated): Set this instead of generated for
61561 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
61562 $(all-built-dso)-derived lists.
61563
61564 2012-05-03 Andreas Jaeger <aj@suse.de>
61565
61566 * sysdeps/i386/fpu/libm-test-ulps: Update.
61567
61568 * FAQ: Removed.
61569 * FAQ.in: Likewise.
61570 * scripts/gen-FAQ.pl: Likewise.
61571 * manual/install.texi (Installation): Point to online location of
61572 FAQ.
61573 * Makefile (files-for-dist): Remove FAQ.
61574 (FAQ): Remove.
61575
61576 2012-05-02 Allan McRae <allan@archlinux.org>
61577
61578 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61579 (LDFLAGS-reldepmod5.so): Likewise.
61580 (LDFLAGS-reldep6mod1.so): Likewise.
61581 (LDFLAGS-reldep6mod4.so): Likewise.
61582 (LDFLAGS-reldep8mod3.so): Likewise.
61583 (LDFLAGS-unload4mod1.so): Likewise.
61584 (LDFLAGS-unload4mod2.so): Likewise.
61585 (LDFLAGS-tst-initorder): Likewise.
61586 (LDFLAGS-tst-initordera2.so): Likewise.
61587 (LDFLAGS-tst-initordera3.so): Likewise.
61588 (LDFLAGS-tst-initordera4.so): Likewise.
61589 (LDFLAGS-tst-initorderb2.so): Likewise.
61590 (LDFLAGS-noload): Likewise.
61591 (LDFLAGS-next): Likewise.
61592 (LDFLAGS-order2mod1.so): Likewise.
61593 (LDFLAGS-order2mod2.so): Likewise.
61594 (LDFLAGS-tst-initorder2): Likewise.
61595 (LDFLAGS-tst-initorder2a.so): Likewise.
61596 (LDFLAGS-tst-initorder2b.so): Likewise.
61597 (LDFLAGS-tst-initorder2c.so): Likewise.
61598 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61599
61600 2012-05-02 David S. Miller <davem@davemloft.net>
61601
61602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61603
61604 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
61605
61606 [BZ #14055]
61607 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61608
61609 2012-05-02 Andreas Jaeger <aj@suse.de>
61610
61611 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61612 since we manipulate rounding mode.
61613 (CPPFLAGS-test-idouble.c): Likewise.
61614 (CPPFLAGS-test-ifloat.c): Likewise.
61615 (CFLAGS-test-ldouble.c): Likewise.
61616 (CFLAGS-test-double.c): Likewise.
61617 (CFLAGS-test-float.c): Likewise.
61618 (CFLAGS-test-misc.c): Likewise.
61619 (CFLAGS-test-test-fenv.c): Likewise.
61620
61621 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61622
61623 [BZ #2550]
61624 [BZ #2570]
61625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61626 comparisons to determine direction to adjust input.
61627
61628 2012-05-01 Roland McGrath <roland@hack.frob.com>
61629
61630 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61631 output to the target.
61632
61633 * scripts/localplt.awk: New file.
61634 * elf/Makefile ($(objpfx)check-localplt): Target removed.
61635 (check-localplt-CFLAGS): Variable removed.
61636 ($(all-built-dso:=.jmprel)): New static pattern rule.
61637 (generated): Add those targets.
61638 (localplt-built-dso): New variable.
61639 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61640
61641 * elf/check-localplt.c: File removed.
61642
61643 * scripts/check-execstack.awk: New file.
61644 * elf/Makefile ($(objpfx)check-execstack): Target removed.
61645 (check-execstack-CFLAGS): Variable removed.
61646 ($(objpfx)check-execstack.h): Target removed.
61647 ($(objpfx)execstack-default): New target.
61648 (generated): Add that instead of check-execstack.h.
61649 ($(all-built-dso:=.phdr)): New static pattern rule.
61650 (generated): Add those targets.
61651 * elf/check-execstack.c: File removed.
61652
61653 * scripts/check-textrel.awk: New file.
61654 * elf/Makefile ($(objpfx)check-textrel): Target removed.
61655 (check-textrel-CFLAGS): Variable removed.
61656 (all-built-dso): Use := to define.o
61657 ($(all-built-dso:=.dyn)): New static pattern rule.
61658 (generated): Add those targets.
61659 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61660 * config.make.in (READELF): New substituted variable.
61661 * elf/check-textrel.c: File removed.
61662
61663 2012-05-01 Joseph Myers <joseph@codesourcery.com>
61664
61665 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61666 allow.
61667 * conform/data/ctype.h-data [C99-based standards] (isblank):
61668 Expect function.
61669 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61670 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61672 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61673 Specify type. Require positive value.
61674 (EILSEQ): Likewise.
61675 (ERANGE): Likewise.
61676 [ISO || POSIX] (EILSEQ): Do not expect.
61677 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61678 Specify type. Require positive value.
61679 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61680 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61681 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61682 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61683 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61684 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61685 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61686 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61687 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61688 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61689 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61690 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61691 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61692 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61693 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61694 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61695 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61696 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61697 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61698 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61699 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61700 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61701 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61702 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61703 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61704 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61705 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61706 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61707 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61708 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61709 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61710 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61711 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61712 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61713 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61714 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61715 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61716 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61717 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61718 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61719 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61720 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61721 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61722 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61723 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61724 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61725 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61726 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61727 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61728 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61729 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61730 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61731 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61732 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61733 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61734 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61735 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61736 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61737 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61738 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61739 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61740 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61741 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61742 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61743 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61744 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61745 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61746 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61747 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61748 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61749 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61750 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61751 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61752 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61753 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61754 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61755 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61756 Require >= 2.
61757 (FLT_ROUNDS): Expect as macro, not constant.
61758 (FLT_MANT_DIG): Use macro-int-constant.
61759 (DBL_MANT_DIG): Likewise.
61760 (LDBL_MANT_DIG): Likewise.
61761 (FLT_DIG): Likewise.
61762 (DBL_DIG): Likewise.
61763 (LDBL_DIG): Likewise.
61764 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
61765 (DBL_MIN_EXP): Likewise.
61766 (LDBL_MIN_EXP): Likewise.
61767 (FLT_MAX_EXP): Use macro-int-constant.
61768 (DBL_MAX_EXP): Likewise.
61769 (LDBL_MAX_EXP): Likewise.
61770 (FLT_MAX_10_EXP): Likewise.
61771 (DBL_MAX_10_EXP): Likewise.
61772 (LDBL_MAX_10_EXP): Likewise.
61773 (FLT_MAX): Use macro-constant.
61774 (DBL_MAX): Likewise.
61775 (LDBL_MAX): Likewise.
61776 (FLT_EPSILON): Use macro-constant. Give upper bound.
61777 (DBL_EPSILON): Likewise.
61778 (LDBL_EPSILON): Likewise.
61779 (FLT_MIN): Likewise.
61780 (DBL_MIN): Likewise.
61781 (LDBL_MIN): Likewise.
61782 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61783 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61784 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61785 [ISO11] (FLT_HAS_SUBNORM): Likewise.
61786 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61787 [ISO11] (DBL_DECIMAL_DIG): Likewise.
61788 [ISO11] (FLT_DECIMAL_DIG): Likewise.
61789 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61790 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61791 [ISO11] (FLT_TRUE_MIN): Likewise.
61792 [ISO11] (LDBL_TRUE_MIN): Likewise.
61793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61794 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61795 (SCHAR_MIN): Use macro-int-constant. Specify type.
61796 (SCHAR_MAX): Likewise.
61797 (UCHAR_MAX): Likewise.
61798 (CHAR_MIN): Likewise.
61799 (CHAR_MAX): Likewise.
61800 (MB_LEN_MAX): Use macro-int-constant.
61801 (SHRT_MIN): Use macro-int-constant. Specify type.
61802 (SHRT_MAX): Likewise.
61803 (USHRT_MAX): Likewise.
61804 (INT_MAX): Likewise.
61805 (INT_MIN): Use macro-int-constant. Specify type. Make upper
61806 bound negative.
61807 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
61808 bound with "U".
61809 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
61810 bound with "L".
61811 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
61812 bound negative. Suffix upper bound with "L".
61813 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
61814 bound with "UL".
61815 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61816 Specify type.
61817 [C99-based standards] (LLONG_MAX): Likewise.
61818 [C99-based standards] (ULLONG_MAX): Likewise.
61819 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
61820 == 0.
61821 [ISO11] (max_align_t): Require type.
61822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61823
61824 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61825 from $CFLAGS, without defining away __attribute__ calls.
61826 (checknamespace): Use $CFLAGS_namespace.
61827
61828 * conform/conformtest.pl (@keywords): Only include C99 keywords
61829 for standards based on C99 or C11.
61830
61831 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61832 Disable tests.
61833 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61834 UNIX98]: Likewise.
61835
61836 * conform/conformtest.pl: Handle "macro-int-constant" and test for
61837 usability of symbols in #if.
61838
61839 * conform/conformtest.pl: If macro or constant types start
61840 "promoted:", expect the symbol to be of the following type
61841 promoted by the integer promotions.
61842
61843 * conform/conformtest.pl: Parse all "constant" and "macro" lines
61844 in one place. Also handle "macro-constant".
61845
61846 * conform/conformtest.pl: Only accept expected macro values with
61847 "==". Parse all "macro" lines in one place.
61848 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61849
61850 * conform/conformtest.pl: Handle braced types on "constant" lines
61851 instead of handling "typed-constant".
61852 * conform/data/signal.h-data: Use "constant" instead of
61853 "typed-constant".
61854
61855 * conform/conformtest.pl: Handle "optional-" at start of lines in
61856 one place rather than duplicating several cases. Handle each
61857 format of "macro" line with initial "optional-".
61858
61859 * conform/conformtest.pl: Only accept expected constant or
61860 optional-constant values with "==". Parse all "constant" lines in
61861 one place. Parse all "optional-constant" lines in one place.
61862 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61863 * conform/data/fmtmsg.h-data: Likewise.
61864 * conform/data/netinet/in.h-data: Likewise.
61865 * conform/data/tar.h-data: Likewise.
61866 * conform/data/limits.h-data: Use "==" form on "constant" and
61867 "optional-constant" lines.
61868
61869 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61870 Use -std=c99 for XOPEN2K.
61871 (@knownproblems): Remove.
61872 (newtoken): Don't check %isknown.
61873
61874 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61875 Do not expect macro.
61876 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61877 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61878 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61879 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61880 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61881 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61882 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61883 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61884 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61885 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61886 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61887 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61888 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61889 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61890 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61891 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61892 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61893 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61894 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61895 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61896 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61898 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61899 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61900 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61901 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61902 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61903 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61904 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61905 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61906 [XPG3] (acosh): Likewise.
61907 [XPG3] (asinh): Likewise.
61908 [XPG3] (atanh): Likewise.
61909 [XPG3] (cbrt): Likewise.
61910 [XPG3] (expm1): Likewise.
61911 [XPG3] (ilogb): Likewise.
61912 [XPG3] (log1p): Likewise.
61913 [XPG3] (logb): Likewise.
61914 [XPG3] (nextafter): Likewise.
61915 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61916 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61917 [XPG3] (remainder): Likewise.
61918 [XPG3] (rint): Likewise.
61919 [XPG3 || XPG4 || UNIX98] (round): Likewise.
61920 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61921 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61922 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61923 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61924 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61925 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61926 [UNIX98 || XOPEN2K] (scalb): Expect.
61927 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61928 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61929 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61930 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61931 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61932 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61933 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61934 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61935 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61936 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61937 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61938 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61939 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61940 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61941 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61942 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61943 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61944 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61945 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61946 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61947 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61948 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61949 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61950 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61951 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61952 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61953 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61954 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61955 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61956 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61957 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61958 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61959 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61960 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61961 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61962 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61963 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61964 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61965 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61966 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61967 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61968 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61969 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61970 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61971 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61972 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61973 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61974 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61975 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61976 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61977 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61978 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61979 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61980 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61981 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61982 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61983 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61984 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61985 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61986 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61987 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61988 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61989 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61990 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61991 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61992 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61993 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61994 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61995 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61996 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61997 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61998 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61999 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62000 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62001 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62002 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62003 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62004 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62005 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62006 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62007 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62008 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62009 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62010 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62011 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62012 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62013 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62014 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62015 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62016 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62017 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62018 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62019 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62020 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62021 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62022 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62023 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62024 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62025 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62026 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62027 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62028 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62029 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62030 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62031 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62032 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62033 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62034 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62035 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62036 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62037 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62038 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62039 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62040 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62041 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62042 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62043 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62044 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62045 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62046 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62047 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62048 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62049 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62050 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62051 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62052 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62053 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62054 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62055 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62056 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62057 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62058 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62059 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62060 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62061 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62062 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62063 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62064
62065 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62066 _XOPEN_SOURCE_EXTENDED for XPG4.
62067
62068 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62069
62070 * Makeconfig (localtime): Remove variable.
62071 (inst_localtime-file): Likewise.
62072
62073 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
62074
62075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62076 Update.
62077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62078 Update.
62079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62080 Update.
62081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62082 Update.
62083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62084 Update.
62085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62086 Update.
62087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62088 Update.
62089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62090 Update.
62091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62092 Update.
62093
62094 2012-05-01 Joseph Myers <joseph@codesourcery.com>
62095
62096 [BZ #2550]
62097 [BZ #2570]
62098 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62099 comparisons to determine direction to adjust input.
62100 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62101 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62103 Likewise.
62104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62105 Likewise.
62106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62107 Likewise.
62108 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62109 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62110 Likewise.
62111 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62112 Likewise.
62113 * math/libm-test.inc (nexttoward_test): Add more tests.
62114
62115 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
62116
62117 [BZ #14040]
62118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62119 in version GLIBC_2.1, not GLIBC_2.0.
62120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62121 Likewise.
62122
62123 2012-04-30 Joseph Myers <joseph@codesourcery.com>
62124
62125 [BZ #13942]
62126 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62127 (1 - x) * (1 + x).
62128 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62129 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62130 * math/libm-test.inc (acos_test): Add more tests.
62131 (asin_test): Likewise.
62132 * sysdeps/i386/fpu/libm-test-ulps: Update.
62133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62134
62135 [BZ #14034]
62136 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62137 of square root.
62138 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62139 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62140 * math/libm-test.inc (acos_test_tonearest): New function.
62141 (acos_test_towardzero): Likewise.
62142 (acos_test_downward): Likewise.
62143 (acos_test_upward): Likewise.
62144 (asin_test_tonearest): Likewise.
62145 (asin_test_towardzero): Likewise.
62146 (asin_test_downward): Likewise.
62147 (asin_test_upward): Likewise.
62148 (main): Call the new functions.
62149 * sysdeps/i386/fpu/libm-test-ulps: Update.
62150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62151
62152 [BZ #13884]
62153 [BZ #13924]
62154 * math/e_exp10.c: Include <float.h>.
62155 (__ieee754_exp10): Handle underflow here rather than multiplying
62156 large negative argument by M_LN10.
62157 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62158 of __ieee754_expf.
62159 * math/e_exp10l.c: Include <float.h>.
62160 (__ieee754_exp10l): Handle underflow here rather than multiplying
62161 large negative argument by M_LN10l.
62162 * math/libm-test.inc (exp10_test): Add another test. Do not allow
62163 spurious overflow exception on underflow.
62164
62165 2012-04-29 Marek Polacek <polacek@redhat.com>
62166
62167 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62168 (__fortify_function): New macro.
62169 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62170 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62171 __extern_always_inline.
62172 * libio/bits/stdio2.h: Likewise.
62173 * libio/bits/stdio.h: Likewise.
62174 * string/string.h: Likewise.
62175 * string/bits/string3.h: Likewise.
62176 * include/stdio.h: Likewise.
62177 * stdlib/bits/stdlib.h: Likewise.
62178 * stdlib/stdlib.h: Likewise.
62179 * rt/bits/mqueue2.h: Likewise.
62180 * rt/mqueue.h: Likewise.
62181 * posix/bits/unistd.h: Likewise.
62182 * posix/unistd.h: Likewise.
62183 * io/bits/poll2.h: Likewise.
62184 * io/bits/fcntl2.h: Likewise.
62185 * io/fcntl.h: Likewise.
62186 * io/sys/poll.h: Likewise.
62187 * misc/bits/syslog.h: Likewise.
62188 * misc/bits/syslog-ldbl.h: Likewise.
62189 * misc/sys/syslog.h: Likewise.
62190 * socket/bits/socket2.h: Likewise.
62191 * socket/sys/socket.h: Likewise.
62192 * debug/tst-chk1.c: Likewise.
62193 * wcsmbs/bits/wchar2.h: Likewise.
62194 * wcsmbs/bits/wchar-ldbl.h: Likewise.
62195 * wcsmbs/wchar.h: Likewise.
62196
62197 2012-04-29 Andreas Jaeger <aj@suse.de>
62198
62199 * Makerules (tests): Remove enable-check-abi protection.
62200 (check-abi-warn): Remove.
62201 (check-abi-%): Remove check-abi-warn usage.
62202
62203 * configure.in: Remove check-abi configure option.
62204 * configure: Regenerated.
62205 * config.make.in (enable-check-abi): Remove.
62206
62207 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
62208
62209 [BZ #14033]
62210 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62211 double functions to double *_finite functions.
62212
62213 [BZ #13941]
62214 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62215 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62216 LDBL_MIN_EXP.
62217 * stdio-common/Makefile (tests): Add tst-sprintf3.
62218 * stdio-common/tst-sprintf3.c: New file.
62219
62220 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62221 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62222
62223 2012-04-28 Joseph Myers <joseph@codesourcery.com>
62224
62225 * conform/conformtest.pl: Remove duplicate typed-constant
62226 handling.
62227
62228 2012-04-28 David S. Miller <davem@davemloft.net>
62229
62230 * Makerules (%.abilist): Add vpath on sysdep_dirs.
62231 (check-abi-%): Remove AWK script prerequisite and explicit
62232 abilist directory.
62233 (check-abi): Rewrite to just diff the symlist with the abilist.
62234 (config-tls, config-abi-config): Delete, no longer used.
62235 (update-abi-%): Remove AWK script and explicit abilist directory.
62236 (update-abi): Rewrite to simply compare and conditionally copy the
62237 symlist and the sysdep abilist file. Remove update-abi-config
62238 checks.
62239 * abilist/ld.abilist: Remove.
62240 * abilist/libBrokenLocale.abilist: Remove.
62241 * abilist/libanl.abilist: Remove.
62242 * abilist/libcrypt.abilist: Remove.
62243 * abilist/libdl.abilist: Remove.
62244 * abilist/librt.abilist: Remove.
62245 * abilist/libthread_db.abilist: Remove.
62246 * abilist/libutil.abilist: Remove.
62247 * scripts/extract-abilist.awk: Remove.
62248 * scripts/merge-abilist.awk: Remove.
62249 * sysdeps/generic/libcidn.abilist: New file.
62250 * sysdeps/generic/libnss_compat.abilist: New file.
62251 * sysdeps/generic/libnss_db.abilist: New file.
62252 * sysdeps/generic/libnss_dns.abilist: New file.
62253 * sysdeps/generic/libnss_files.abilist: New file.
62254 * sysdeps/generic/libnss_hesiod.abilist: New file.
62255 * sysdeps/generic/libnss_nis.abilist: New file.
62256 * sysdeps/generic/libnss_nisplus.abilist: New file.
62257 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62258 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62259 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62260 file.
62261 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62262 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62263 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62264 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62265 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62266 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62267 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62268 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62269 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62270 file.
62271 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62272 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62273 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62274 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62275 file.
62276 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62277 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62278 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62279 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62280 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62281 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62282 file.
62283 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62284 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62285 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62286 file.
62287 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62289 New file.
62290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62291 New file.
62292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62293 New file.
62294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62295 New file.
62296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62297 New file.
62298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62299 New file.
62300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62301 New file.
62302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62303 New file.
62304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62305 New file.
62306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62307 New file.
62308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62309 New file.
62310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62311 New file.
62312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62313 New file.
62314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62315 file.
62316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62317 New file.
62318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62319 New file.
62320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62321 file.
62322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62323 New file.
62324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62325 New file.
62326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62327 file.
62328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62329 New file.
62330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62331 New file.
62332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62333 New file.
62334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62335 New file.
62336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62337 New file.
62338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62339 New file.
62340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62342 file.
62343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62344 New file.
62345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62346 file.
62347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62348 file.
62349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62350 file.
62351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62352 file.
62353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62354 file.
62355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62356 New file.
62357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62358 file.
62359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62360 file.
62361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62362 New file.
62363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62364 file.
62365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62367 file.
62368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62369 New file.
62370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62371 file.
62372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62373 file.
62374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62375 file.
62376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62377 file.
62378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62379 file.
62380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62381 New file.
62382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62383 file.
62384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62385 file.
62386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62387 New file.
62388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62389 file.
62390 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62391 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62392 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62393 file.
62394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62395 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62396 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62397 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62398 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62399 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62400 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62401 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62402 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62403 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62406 file.
62407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62408 New file.
62409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62410 file.
62411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62412 file.
62413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62414 file.
62415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62416 file.
62417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62418 file.
62419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62420 New file.
62421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62422 New file.
62423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62424 file.
62425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62426 New file.
62427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62428 file.
62429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62431 file.
62432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62433 New file.
62434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62435 file.
62436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62437 file.
62438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62439 file.
62440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62441 file.
62442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62443 file.
62444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62445 New file.
62446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62447 New file.
62448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62449 file.
62450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62451 New file.
62452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62453 file.
62454
62455 2012-04-28 Joseph Myers <joseph@codesourcery.com>
62456
62457 * conform/conformtest.pl: Fix typo in handling typed-constant from
62458 allow-header.
62459
62460 2012-04-27 Joseph Myers <joseph@codesourcery.com>
62461
62462 * README: Cut down references to pre-2.6 Linux kernels and
62463 Linuxthreads. Update lists of configurations in libc and ports
62464 and sort alphabetically. Say "or newer" with Linux kernel version
62465 requirements.
62466
62467 * config.h.in [IS_IN_build]: Allow compiling without optimization.
62468
62469 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62470
62471 [BZ #887]
62472 * math/libm-test.inc (logb_test_downward): New test to expose
62473 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62474 rounding mode.
62475
62476 2012-04-27 Joseph Myers <joseph@codesourcery.com>
62477
62478 [BZ #14027]
62479 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62480 to be done.
62481 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62482 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62483
62484 2012-04-26 Joseph Myers <joseph@codesourcery.com>
62485
62486 * sysdeps/unix/i386/brk.S: Remove file.
62487 * sysdeps/unix/i386/dl-brk.S: Likewise.
62488 * sysdeps/unix/i386/pipe.S: Likewise.
62489 * sysdeps/unix/i386/sigreturn.S: Likewise.
62490 * sysdeps/unix/i386/syscall.S: Likewise.
62491 * sysdeps/unix/i386/vfork.S: Likewise.
62492 * sysdeps/unix/i386/wait.S: Likewise.
62493
62494 * sysdeps/unix/common/tcsendbrk.c: Move to ...
62495 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62496
62497 * configure.in (arm*-none*): Do not allow without
62498 --enable-hacker-mode.
62499 (netbsd*): Remove case setting base_os.
62500 (386bsd*): Likewise.
62501 (freebsd*): Likewise.
62502 (bsdi*): Likewise.
62503 (osf*): Likewise.
62504 (sunos*): Likewise.
62505 (ultrix*): Likewise.
62506 (newsos*): Likewise.
62507 (dynix*): Likewise.
62508 (*bsd*): Likewise.
62509 (sysv*): Likewise.
62510 (isc*): Likewise.
62511 (esix*): Likewise.
62512 (sco*): Likewise.
62513 (minix*): Likewise.
62514 (irix4*): Likewise.
62515 (irix6*): Likewise.
62516 (solaris[2-9]*): Likewise.
62517 (none): Likewise.
62518 * configure: Regenerated.
62519
62520 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62521
62522 [BZ #11521]
62523 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62524 overflow or cancellation in calculating denominator.
62525 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62527 down expression to avoid unexpected rounding in newer GCCs.
62528 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62529
62530 2012-04-26 David S. Miller <davem@davemloft.net>
62531
62532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62533 long-double compat symbols.
62534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62547
62548 2012-04-25 David S. Miller <davem@davemloft.net>
62549
62550 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62551 HWCAP_* values only after the memory barriers have been defined.
62552 (atomic_full_barrier): Define.
62553 (atomic_read_barrier): Define.
62554 (atomic_write_barrier): Define.
62555
62556 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62557
62558 * shlib-versions: Add libgcc_s version information.
62559 * sysdeps/generic/libgcc_s.h: Remove.
62560 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62561 libgcc_s.h.
62562 * sysdeps/gnu/unwind-resume.c: Likewise.
62563 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62564
62565 2012-04-25 David S. Miller <davem@davemloft.net>
62566
62567 * sysdeps/unix/sparc/brk.S: Delete.
62568 * sysdeps/unix/sparc/dl-brk.S: Delete.
62569 * sysdeps/unix/sparc/pipe.S: Delete.
62570 * sysdeps/unix/sparc/sysdep.S: Delete.
62571 * sysdeps/unix/sparc/sysdep.h: Delete.
62572 * sysdeps/unix/sparc/vfork.S: Delete.
62573 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62574 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62575 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62576 (ret_ERRVAL, r0, r1, MOVE): Define.
62577 (JUMPTARGET): Remove.
62578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62579 sysdeps/unix/sparc/sysdep.h
62580 (ENTRY, END): Remove.
62581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62582
62583 2012-04-25 Joseph Myers <joseph@codesourcery.com>
62584
62585 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62586 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62587 -DIS_IN_build.
62588
62589 * timezone/README: Update upstream location and email address for
62590 tzcode and tzdata.
62591 * timezone/zdump.c: Update from tzcode 2012b.
62592 * timezone/zic.c: Likewise.
62593
62594 * configure.in (libc_cv_as_needed): Remove test.
62595 * configure: Regenerated.
62596 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62597 conditional definition.
62598 [$(have-as-needed) != yes] (no-as-needed): Likewise.
62599 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62600 * config.make.in (have-as-needed): Remove variable.
62601
62602 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62603 Paul Pluzhnikov <ppluzhnikov@google.com>
62604
62605 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62606 strings correctly.
62607
62608 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
62609
62610 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62611 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62612 * sysdeps/sh/strlen.S: Likewise.
62613
62614 2012-04-24 Joseph Myers <joseph@codesourcery.com>
62615
62616 * sysdeps/unix/fork.S: Remove file.
62617 * sysdeps/unix/i386/fork.S: Likewise.
62618 * sysdeps/unix/sparc/fork.S: Likewise.
62619
62620 * sysdeps/unix/system.c: Remove file.
62621 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62622
62623 * sysdeps/unix/getegid.S: Remove file.
62624 * sysdeps/unix/geteuid.S: Likewise.
62625
62626 2012-04-24 Roland McGrath <roland@hack.frob.com>
62627
62628 * scripts/check-localplt.awk: New file.
62629 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62630 of diff.
62631 * scripts/data/localplt-generic.data: Add a comment.
62632
62633 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62634 NODE when __dir_mkfile failed.
62635 * sysdeps/mach/hurd/symlinkat.c: Likewise.
62636 Reported by Ludovic Courtès <ludo@gnu.org>.
62637
62638 2012-04-24 Andreas Jaeger <aj@suse.de>
62639
62640 * Makerules (common-clean): Also remove gen-as-const-headers
62641 files.
62642
62643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
62644
62645 * Makerules (native-compile): Do not change working directory for
62646 build. Use $(OUTPUT_OPTION) in command.
62647 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62648
62649 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62650
62651 [BZ #13886]
62652 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62653 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62654 * math/libm-test.inc (floor_test): Add more tests.
62655 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62656
62657 2012-04-24 Joseph Myers <joseph@codesourcery.com>
62658
62659 * sysdeps/unix/getdents.c: Remove file.
62660 * sysdeps/unix/sysv/getdents.c: Likewise.
62661 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62662
62663 * sysdeps/unix/syscalls.list (madvise): Add syscall from
62664 sysdeps/unix/mman/syscalls.list.
62665 (mmap): Likewise.
62666 (mprotect): Likewise.
62667 (msync): Likewise.
62668 (munmap): Likewise.
62669 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62670 * sysdeps/unix/mman/syscalls.list: Remove.
62671 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62672
62673 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62674 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62675 * configure: Regenerated.
62676 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62677 $(libgcc_s_suffix).
62678 * config.make.in (libgcc_s_suffix): Remove variable.
62679
62680 2012-04-23 Joseph Myers <joseph@codesourcery.com>
62681
62682 * sysdeps/unix/sysv/gethostname.c: Move to ...
62683 * sysdeps/posix/gethostname.c: ... here.
62684
62685 * sysdeps/unix/execve.S: Remove file.
62686
62687 * sysdeps/unix/_exit.S: Remove file.
62688
62689 2012-04-23 Andreas Jaeger <aj@suse.de>
62690
62691 [BZ #13739]
62692 * manual/Makefile: Remove make dist support, there's no
62693 need for a stand-alone documentation tar ball.
62694 (TEXI2DVI): Define always, it's not in Makeconfig.
62695 (dist): Removed.
62696 (tar-it): Removed.
62697 (edition): Removed.
62698 (glibc-doc-$(edition).tar): Removed
62699 (%.Z): Removed.
62700 (%.gz): Removed.
62701 (%.uu): Removed.
62702 (ETAGS): Remove, it's in Makeconfig.
62703 (move-if-change): Remove, it's in Makeconfig.
62704
62705 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
62706
62707 [BZ #13970]
62708 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62709 (strtod, strtof, strtold, strtol, strtoul, strtoq)
62710 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62711 (strtod_l, strtof_l, strtold_l): Remove __wur.
62712 It is not necessarily an error to ignore strtol's return value.
62713 One can reliably look at the stored endptr to decide whether
62714 the number had valid syntax.
62715
62716 2012-04-21 Andreas Jaeger <aj@suse.de>
62717
62718 [BZ #13739]
62719 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62720
62721 2012-04-21 Joseph Myers <joseph@codesourcery.com>
62722
62723 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62724 * sysdeps/unix/sysv/Versions: Remove file.
62725
62726 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
62727
62728 [BZ #13927]
62729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62730
62731 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
62732
62733 [BZ #7064]
62734 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62735 version from __vm86.
62736
62737 2012-04-20 Joseph Myers <joseph@codesourcery.com>
62738
62739 * sysdeps/unix/common/lxstat.c: Remove file.
62740 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62741
62742 * sysdeps/unix/sysv/Makefile: Remove file.
62743
62744 * sysdeps/unix/sysv/direct.h: Remove file.
62745
62746 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62747 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62748 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62749 * sysdeps/unix/sysv/bits/signum.h: Likewise.
62750 * sysdeps/unix/sysv/bits/stat.h: Likewise.
62751 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62752 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62753
62754 * sysdeps/unix/sysv/setrlimit.c: Remove file.
62755
62756 * sysdeps/unix/xmknod.c: Remove file.
62757 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62758
62759 * sysdeps/unix/sysv/settimeofday.c: Remove file.
62760
62761 * sysdeps/unix/sysv/i386/time.S: Remove file.
62762
62763 * sysdeps/unix/fxstat.c: Remove file.
62764 * sysdeps/unix/xstat.c: Likewise.
62765 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62766
62767 * sysdeps/unix/sysv/sigaction.c: Remove file.
62768
62769 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62770 (sysdep_headers): Remove variable.
62771 [termio.h not in sysdep_headers] (generated): Likewise.
62772 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62773 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62774 * sysdeps/unix/sysv/tcdrain.c: Likewise.
62775 * sysdeps/unix/sysv/tcflow.c: Likewise.
62776 * sysdeps/unix/sysv/tcflush.c: Likewise.
62777 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62778 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62779 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62780 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62781 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62782
62783 * sysdeps/unix/siglist.c: Remove file.
62784
62785 * sysdeps/unix/getppid.S: Remove file.
62786
62787 * sysdeps/unix/mkdir.c: Remove file.
62788 * sysdeps/unix/rmdir.c: Likewise.
62789
62790 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
62791
62792 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62793 ERR_MAX value.
62794 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62795 errlist-compat value.
62796
62797 2012-04-18 David S. Miller <davem@davemloft.net>
62798
62799 * sysdeps/generic/memcopy.h (reg_char): Delete.
62800 * debug/strcat_chk.c: Use char, not reg_char.
62801 * debug/strcpy_chk.c: Likewise.
62802 * debug/strncat_chk.c: Likewise.
62803 * debug/strncpy_chk.c: Likewise.
62804 * string/memchr.c: Likewise.
62805 * string/memrchr.c: Likewise.
62806 * string/rawmemchr.c: Likewise.
62807 * string/strcat.c: Likewise.
62808 * string/strchr.c: Likewise.
62809 * string/strchrnul.c: Likewise.
62810 * string/strcmp.c: Likewise.
62811 * string/strcpy.c: Likewise.
62812 * string/strncat.c: Likewise.
62813 * string/strncmp.c: Likewise.
62814 * string/strncpy.c: Likewise.
62815
62816 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
62817
62818 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62819 __builtin_memcopy is called when src and dest ranges are known to not
62820 overlap.
62821
62822 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
62823
62824 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62825 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62826 fwd_align_merge macro call.
62827 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62828 bwd_align_merge macro call.
62829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62830
62831 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
62832
62833 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62834 bwd_align_merge macros.
62835 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62836 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62838
62839 2012-04-18 David S. Miller <davem@davemloft.net>
62840
62841 * sysdeps/sparc/sparc64/memcopy.h: Delete.
62842
62843 2012-04-18 Andreas Jaeger <aj@suse.de>
62844
62845 [BZ# 6794]
62846 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62847 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62848 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62849
62850 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62851 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62852 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62853
62854 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62855 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62856 Adjust for changed ldbl-128 files.
62857
62858 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62859 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62860 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62861
62862 2012-04-17 David S. Miller <davem@davemloft.net>
62863
62864 * sysdeps/sparc/sparc32/memcopy.h: Delete.
62865
62866 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
62867
62868 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62869 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62870 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62871 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62872 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62873 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62874
62875 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62876
62877 [BZ #6794]
62878 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62879 * math/libm-test.inc: Add ilogb errno and exception tests.
62880 * math/w_ilogb.c: New file: ilogb wrapper.
62881 * math/w_ilogbf.c: New file: ilogbf wrapper.
62882 * math/w_ilogbl.c: New file: ilogbl wrapper.
62883 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62884 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62885 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62886 exception being thrown with 0.0 as argument.
62887 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62888 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62889 exception being thrown with 0.0 as argument.
62890 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62891 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62892 exception being thrown with 0.0 as argument.
62893 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62894 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62895 exception being thrown with 0.0 as argument.
62896 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62897 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62898 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62899 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62900 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62901 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62902 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62903 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62904 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62905
62906 2012-04-17 Petr Baudis <pasky@ucw.cz>
62907
62908 * include/sys/uio.h: Change __vector to __iovec to avoid clash
62909 with altivec.
62910
62911 2012-04-16 Marek Polacek <polacek@redhat.com>
62912
62913 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62914
62915 2012-04-16 Marek Polacek <polacek@redhat.com>
62916
62917 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62918 operands of fdivp instruction.
62919
62920 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
62921
62922 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62923 * elf/tst-auditmod3b.c: Likewise.
62924 * elf/tst-auditmod4b.c: Likewise.
62925 * elf/tst-auditmod5b.c: Likewise.
62926 * elf/tst-auditmod6b.c: Likewise.
62927 * elf/tst-auditmod6c.c: Likewise.
62928 * elf/tst-auditmod7b.c: Likewise.
62929 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62930 * sysdeps/x86_64/preconfigure.in: Likewise.
62931 * sysdeps/x86_64/preconfigure: Regenerated.
62932
62933 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
62934
62935 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62936 __ILP32__.
62937
62938 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
62939
62940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62941 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62942
62943 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
62944
62945 [BZ #13973]
62946 * locale/iso-639.def: Fix gl language name. Spotted by
62947 Yaron Shahrabani.
62948
62949 2012-04-12 Roland McGrath <roland@hack.frob.com>
62950
62951 [BZ #2074]
62952 * libio/libio.h (__io_write_fn): Update comment.
62953
62954 2012-04-12 Petr Baudis <pasky@ucw.cz>
62955
62956 [BZ #2074]
62957 * stdio.texi (Hook Functions): The user provided writer function
62958 is not allowed to return -1.
62959
62960 2012-04-11 David S. Miller <davem@davemloft.net>
62961
62962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62963
62964 2012-04-11 Mike Frysinger <vapier@gentoo.org>
62965
62966 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62967 Add a leading slash to rtkaio.
62968
62969 2012-04-11 Jim Meyering <meyering@redhat.com>
62970
62971 [BZ #11959]
62972 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62973 It is not necessarily an error to ignore fwrite's return
62974 value. One can reliably use ferror to test for errors after
62975 the fact.
62976
62977 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
62978
62979 * bits/types.h (__snseconds_t): New type.
62980 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62981
62982 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62984 (__SNSECONDS_T_TYPE): Likewise.
62985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62986 (__SNSECONDS_T_TYPE): Likewise.
62987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62988 (__SNSECONDS_T_TYPE): Likewise.
62989
62990 2012-04-10 Andreas Jaeger <aj@suse.de>
62991
62992 [BZ #2636]
62993 * manual/time.texi (Processor Time): Return type of times is
62994 elapsed real time since an arbitrary point in the past.
62995 (CPU Time): Move CLK_TCK from here...
62996 (Processor Time): ...to here. Correct description.
62997 * manual/conf.texi (Constants for Sysconf): Correct description of
62998 _SC_CLK_TCK.
62999
63000 2012-04-10 David S. Miller <davem@davemloft.net>
63001
63002 [BZ #13967]
63003 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63004 where the is a gap between DT_REL(A) and DT_JMPREL.
63005
63006 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
63007
63008 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63009 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63010 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63011
63012 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
63013
63014 * elf/dl-support.c (_dl_inhibit_cache): New variable.
63015 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63016 (dl_main): Handle --inhibit-cache.
63017 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63018 _dl_inhibit_cache.
63019 * elf/dl-load.c (_dl_map_object): Use it.
63020 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63021
63022 2012-04-09 Joseph Myers <joseph@codesourcery.com>
63023
63024 [BZ #13872]
63025 * sysdeps/i386/fpu/e_powl.S (p78): New object.
63026 (__ieee754_powl): Saturate large exponents rather than testing for
63027 overflow of y*log2(x).
63028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63029 * math/libm-test.inc (pow_test): Do not permit spurious overflow
63030 exceptions.
63031
63032 [BZ #11521]
63033 * math/s_ctan.c: Include <float.h>.
63034 (__ctan): Avoid internal overflow or cancellation in calculating
63035 denominator.
63036 * math/s_ctanf.c: Likewise.
63037 * math/s_ctanl.c: Likewise.
63038 * math/s_ctanh.c: Likewise.
63039 * math/s_ctanhf.c: Likewise.
63040 * math/s_ctanhl.c: Likewise.
63041 * math/libm-test.inc (ctan_test): Add more tests.
63042 (ctanh_test): Likewise.
63043 * sysdeps/i386/fpu/libm-test-ulps: Update.
63044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63045
63046 2012-04-09 Andreas Jaeger <aj@suse.de>
63047
63048 [BZ #6894]
63049 * manual/filesys.texi (Directory Entries): Mention that d_namlen
63050 is an optional BSD extension.
63051
63052 [BZ #10254]
63053 * manual/stdio.texi (Opening Streams): Document additional fopen
63054 parameters.
63055
63056 2012-04-09 Roland McGrath <roland@hack.frob.com>
63057
63058 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63059 %eax without telling the compiler.
63060
63061 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
63062
63063 [BZ # 13963]
63064 * manual/install.texi: Use sourceware.org.
63065
63066 2012-04-09 Joseph Myers <joseph@codesourcery.com>
63067
63068 [BZ #13873]
63069 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63070 (__ieee754_pow): Generate overflow and underflow using huge*huge
63071 and tiny*tiny rather than just returning constant infinity or zero
63072 for large exponents.
63073 * math/libm-test.inc (pow_test): Require overflow exceptions for
63074 applicable cases of large exponents.
63075
63076 [BZ #706]
63077 * sysdeps/i386/fpu/e_pow.S (p10): New object.
63078 (__ieee754_pow): Use iterative multiplication algorithm only for
63079 integer exponents with absolute value below 1024. Check for odd
63080 integer exponents when using algorithm for real exponents.
63081 * math/libm-test.inc (pow_test): Add more tests.
63082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63083
63084 2012-04-08 Joseph Myers <joseph@codesourcery.com>
63085
63086 [BZ #13705]
63087 * math/libm-test.inc (exp_test): Do not allow overflow exception
63088 on underflow test.
63089
63090 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
63091
63092 [BZ #13705]
63093 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63094 instead of __kernel_standard_f.
63095
63096 2012-04-08 Mike Frysinger <vapier@gentoo.org>
63097
63098 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63099 * sysdeps/x86_64/memset_chk.S: Likewise.
63100
63101 2012-04-08 Andreas Jaeger <aj@suse.de>
63102
63103 [BZ #10153]
63104 * manual/startup.texi (Environment Access): Describe return value
63105 for putenv and setenv.
63106
63107 [BZ #6895]
63108 * manual/filesys.texi (Directory Entries): Add description for
63109 DT_LNK.
63110
63111 [BZ #6890]
63112 * manual/filesys.texi (Directory Entries): Clarify that it's file
63113 system not operating system in the description of DT_UNKNOWN.
63114
63115 [BZ #6578]
63116 * manual/syslog.texi (closelog): Fix reference, it's openlog.
63117
63118 2012-04-08 Stephen Compall <s11@member.fsf.org>
63119
63120 [BZ #6649]
63121 * manual/llio.texi (Opening and Closing Files): Add cross
63122 reference to explain mode argument.
63123
63124 2012-04-07 Mike Frysinger <vapier@gentoo.org>
63125
63126 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63127 * sysdeps/x86_64/memset_chk.S: Likewise.
63128
63129 2012-04-07 David S. Miller <davem@davemloft.net>
63130
63131 * elf/elf.h (R_SPARC_WDISP10): Define.
63132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63133 R_SPARC_SIZE32.
63134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63135 R_SPARC_SIZE64 and R_SPARC_H34.
63136
63137 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
63138
63139 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63140 conditions and remove no longer applicable assertion.
63141
63142 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
63143
63144 * bits/byteswap.h: Include <features.h>.
63145 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63146 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63147
63148 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
63149
63150 * bits/byteswap.h (__bswap_16): Removed.
63151 Include <bits/byteswap-16.h> to get __bswap_16.
63152 * sysdeps/i386/bits/byteswap.h: Likewise.
63153 * sysdeps/s390/bits/byteswap.h: Likewise.
63154 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63155 * bits/byteswap-16.h: New file.
63156 * sysdeps/i386/bits/byteswap-16.h: Likewise.
63157 * sysdeps/s390/bits/byteswap-16.h: Likewise.
63158 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63159 * string/Makefile (headers): Add bits/byteswap-16.h.
63160
63161 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63162
63163 [BZ #13895]
63164 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63165 extra indirection.
63166 * nss/Makefile (tests-static, tests): Add tst-nss-static.
63167 * nss/tst-nss-static.c: New.
63168
63169 2012-04-06 Robert Millan <rmh@gnu.org>
63170
63171 [BZ #6486]
63172 * manual/llio.texi (File Position Primitive): lseek
63173 refers to WHENCE when it really means OFFSET.
63174
63175 2012-04-06 Andreas Jaeger <aj@suse.de>
63176
63177 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63178 strncmp declarations.
63179
63180 * abilist/libc.abilist: Add __poll and __ppoll.
63181
63182 2012-04-05 David S. Miller <davem@davemloft.net>
63183
63184 * scripts/check-local-headers.sh: Accept a host triplet in the
63185 path matched by the exclude regexp.
63186
63187 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63188 definition.
63189 * sysdeps/powerpc/powerpc32/dl-machine.h
63190 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63191 * sysdeps/s390/s390-32/dl-machine.h
63192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63193 * sysdeps/sparc/sparc32/dl-machine.h
63194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63195 * sysdeps/sparc/sparc64/dl-machine.h
63196 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63197
63198 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63199 lazy binding.
63200 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63201 undefined symbol errors.
63202
63203 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63204 DT_NEEDED entries.
63205
63206 2012-04-05 Michael Matz <matz@suse.de>
63207
63208 [BZ #13592]
63209 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63210
63211 2012-04-05 Andreas Jaeger <aj@suse.de>
63212
63213 [BZ #13908]
63214 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63215 comment.
63216
63217 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63218
63219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63220 which ROUND is no valid rounding mode.
63221
63222 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63223
63224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63225 read again.
63226 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63227
63228 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63229
63230 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63231 an exception using FPU order intentionally.
63232
63233 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63234
63235 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63236 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63237 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63238 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63239
63240 2012-04-05 Simon Josefsson <simon@josefsson.org>
63241
63242 [BZ #12340]
63243 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63244 EINVAL when BUFLEN is too smal.
63245
63246 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
63247
63248 [BZ #13553]
63249 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63250 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63251
63252 2012-04-03 Andreas Jaeger <aj@suse.de>
63253
63254 [BZ #13938]
63255 * manual/setjmp.texi (System V contexts): Fix sentence.
63256
63257 [BZ #13926]
63258 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63259 New macro for this case.
63260 [!__GNUC__] (__bswap_64): New inline function for this case.
63261 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63262 * bits/byteswap.h: Likewise.
63263 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63264 ull, guard with __GLIBC_HAVE_LONG_LONG.
63265
63266 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63267 __GLIBC_HAVE_LONG_LONG.
63268
63269 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63270 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63271
63272 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63273
63274 [BZ #13691]
63275 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63276 inptr and inend, rather than using last_ch.
63277
63278 2012-04-02 David S. Miller <davem@davemloft.net>
63279
63280 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63281 * stdio-common/printf-parse.h (read_int): Change return type to
63282 'int', return -1 on INT_MAX overflow.
63283 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63284 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
63285 overflows INT_MAX. Check for overflow of in-format-string precision
63286 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
63287 SIZE_MAX not INT_MAX for integer overflow test.
63288 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63289 skip the construct in the format string but do not record anything.
63290 * stdio-common/bug22.c: Adjust to test both width/prevision
63291 INT_MAX overflow as well as total length INT_MAX overflow. Check
63292 explicitly for proper errno values.
63293
63294 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
63295
63296 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63297 CHAR_MAX.
63298 * string/test-strcmp.c [! WIDE]: Likewise.
63299 * time/tst-mktime2.c: Likewise for INT_MAX.
63300 * string/test-string.h: #include <sys/param.h> for MIN.
63301
63302 * csu/init-first.c (__libc_init_first): Call __ctype_init.
63303 * sysdeps/i386/init-first.c (init): Likewise.
63304 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63305 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63306 * sysdeps/sh/init-first.c (init): Likewise.
63307
63308 2012-04-01 Ulrich Drepper <drepper@gmail.com>
63309
63310 * po/ru.po: Update from translation team.
63311 * po/vi.po: Likewise.
63312
63313 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
63314
63315 * resolv/nss_dns/dns-host.c: Merge copyright years.
63316
63317 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63318
63319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63320 Optimize memcpy with prefetch if
63321 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
63322 src, dst pointers have unequal 16 byte alignments.
63323
63324 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
63325
63326 [BZ #13928]
63327 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63328 from a CNAME entry and return the minimum ttl for the query.
63329 (gaih_getanswer_slice): Likewise.
63330
63331 2012-03-30 Jeff Law <law@redhat.com>
63332
63333 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63334 due to long keys.
63335 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63336 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63337
63338 * resolv/nss_dns/dns-host.c: Update copyright year.
63339
63340 2012-03-30 Ulrich Drepper <drepper@gmail.com>
63341
63342 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63343 requests to save a system call. Fix check that all bytes are sent.
63344
63345 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63346 comments for sendmmsg.
63347
63348 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63349
63350 [BZ #13691]
63351 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63352 with only 1 character between 0x0041 and 0x01b0.
63353 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63354 * wcsmbs/tst-mbsnrtowcs.c: New file.
63355
63356 2012-03-29 David S. Miller <davem@davemloft.net>
63357
63358 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63359 small copies by hand.
63360
63361 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63362
63363 [BZ #13761]
63364 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63365 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63366 group memberships.
63367
63368 2012-03-28 David S. Miller <davem@davemloft.net>
63369
63370 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63371 that branches into memcpy.
63372 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63373 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63375 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63377 bits.
63378 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63379 implementation too.
63380 * sysdeps/sparc/mempcpy.S: New file.
63381
63382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63383 the IFUNC routine in the libc case.
63384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63385
63386 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63387 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63388 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63389 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63390 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63391 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63392 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63393 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63394
63395 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63396 loop to 256 bytes instead of 64 bytes and fix test signedness.
63397
63398 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63399 * sysdeps/sparc/sparc32/Makefile: rather than here...
63400 * sysdeps/sparc/sparc64/Makefile: and here.
63401
63402 2012-03-28 Ulrich Drepper <drepper@gmail.com>
63403
63404 * malloc/mallocbug.c: Avoid warnings about unused variables.
63405
63406 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
63407
63408 [BZ #13760]
63409 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63410 in the right place. Discard and retry query if response is
63411 larger than input buffer size.
63412
63413 2012-03-28 Joseph Myers <joseph@codesourcery.com>
63414
63415 [BZ #369]
63416 [BZ #2678]
63417 [BZ #3866]
63418 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63419 x for large integer exponent.
63420 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63421 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
63422 sign of result as needed afterwards.
63423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63424 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63425 result for underflowing pow the same as for overflow.
63426 (__kernel_standard_l): Handle powl overflow and underflow here
63427 rather than calling __kernel_standard.
63428 * math/libm-test.inc (pow_test): Add more tests.
63429
63430 [BZ #3868]
63431 [BZ #13879]
63432 [BZ #13910]
63433 [BZ #13911]
63434 [BZ #13912]
63435 [BZ #13913]
63436 [BZ #13915]
63437 [BZ #13916]
63438 [BZ #13917]
63439 [BZ #13918]
63440 [BZ #13919]
63441 [BZ #13920]
63442 [BZ #13921]
63443 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63444 * sysdeps/ieee754/k_standard.c: Include <float.h>.
63445 (__kernel_standard_l): New function.
63446 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63447 __kernel_standard.
63448 * math/w_acosl.c (__acosl): Likewise.
63449 * math/w_asinl.c (__asinl): Likewise.
63450 * math/w_atan2l.c (__atan2l): Likewise.
63451 * math/w_atanhl.c (__atanhl): Likewise.
63452 * math/w_coshl.c (__coshl): Likewise.
63453 * math/w_exp10l.c (__exp10l): Likewise.
63454 * math/w_exp2l.c (__exp2l): Likewise.
63455 * math/w_fmodl.c (__fmodl): Likewise.
63456 * math/w_hypotl.c (__hypotl): Likewise.
63457 * math/w_j0l.c (__j0l, __y0l): Likewise.
63458 * math/w_j1l.c (__j1l, __y1l): Likewise.
63459 * math/w_jnl.c (__jnl, __ynl): Likewise.
63460 * math/w_lgammal.c (__lgammal): Likewise.
63461 * math/w_log10l.c (__log10l): Likewise.
63462 * math/w_log2l.c (__log2l): Likewise.
63463 * math/w_logl.c (__logl): Likewise.
63464 * math/w_powl.c (__powl): Likewise.
63465 * math/w_remainderl.c (__remainderl): Likewise.
63466 * math/w_scalbl.c (sysv_scalbl): Likewise.
63467 * math/w_sinhl.c (__sinhl): Likewise.
63468 * math/w_sqrtl.c (__sqrtl): Likewise.
63469 * math/w_tgammal.c (__tgammal): Likewise.
63470 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63471 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63472 * math/libm-test.inc (acos_test): Add more tests.
63473 (acosh_test): Likewise.
63474 (asin_test): Likewise.
63475 (atanh_test): Likewise.
63476 (exp_test): Likewise.
63477 (exp10_test): Likewise.
63478 (exp2_test): Likewise.
63479 (expm1_test): Likewise.
63480 (lgamma_test): Likewise.
63481 (log_test): Likewise.
63482 (log10_test): Likewise.
63483 (log1p_test): Likewise.
63484 (log2_test): Likewise.
63485 (pow_test): Do not allow some spurious overflow exceptions.
63486 (sqrt_test): Add more tests.
63487 (tgamma_test): Likewise.
63488 (y0_test): Likewise.
63489 (y1_test): Likewise.
63490 (yn_test): Likewise.
63491
63492 2012-03-27 Anton Blanchard <anton@samba.org>
63493
63494 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63495 MAP_HUGETLB.
63496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63497 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63498 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63499
63500 2012-03-27 David S. Miller <davem@davemloft.net>
63501
63502 * conform/Makefile: Run run-conformtest.sh using $(BASH).
63503
63504 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63505 have-as-vis3 check.
63506
63507 2012-03-27 Andreas Jaeger <aj@suse.de>
63508
63509 * sysdeps/x86_64/elf/configure.in: Moved to ...
63510 * sysdeps/x86_64/configure.in: ... here.
63511 * sysdeps/x86_64/elf/start.S: Moved to ...
63512 * sysdeps/x86_64/start.S: ... here.
63513 * sysdeps/x86_64/elf/configure: Delete.
63514
63515 * sysdeps/x86_64/configure.in: Merge contents from
63516 sysdeps/i386/configure.in (without i686 check).
63517
63518 * sysdeps/i386/elf/Versions: Merge into ...
63519 * sysdeps/i386/Versions: ... this.
63520 * sysdeps/i386/elf/Versions: Delete file.
63521 * sysdeps/i386/elf/start.S: Moved to ...
63522 * sysdeps/i386/start.S: ...here.
63523 * sysdeps/i386/elf/configure.in: Merge into...
63524 * sysdeps/i386/configure.in: ...here.
63525 * sysdeps/i386/elf/configure.in: Delete file.
63526 * sysdeps/i386/elf/configure: Delete file.
63527
63528 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63529 * debug/backtracesyms.c: ... here.
63530 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63531 * debug/backtracesymsfd.c: ... here.
63532 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63533 * sysdeps/generic/ifunc-sel.h: ... here.
63534
63535 * sysdeps/unix/i386/start.c: Delete file.
63536 * sysdeps/unix/sparc/start.c: Delete file.
63537 * sysdeps/unix/start.c: Delete file.
63538
63539 * sysdeps/sh/elf/configure.in: Moved to ...
63540 * sysdeps/sh/configure.in: ... here.
63541 * sysdeps/sh/elf/start.S: Moved to ...
63542 * sysdeps/sh/start.S: ... here.
63543 * sysdeps/sh/elf/configure: Delete file.
63544
63545 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63546 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63547 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63548 * sysdeps/powerpc/powerpc64/entry.h: ... here.
63549 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63550 * sysdeps/powerpc/powerpc64/start.S: here.
63551 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63552 * sysdeps/powerpc/powerpc64/Makefile: ... this.
63553 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63554 * sysdeps/powerpc/powerpc64/configure.in: ... this.
63555 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63556
63557 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63558 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63559 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63560 * sysdeps/powerpc/powerpc32/start.S: ... here.
63561 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63562 * sysdeps/powerpc/powerpc32/configure.in: ... this.
63563 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63564
63565 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63566 * sysdeps/powerpc/ifunc-sel.h: ... here.
63567 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63568 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63569
63570 * sysdeps/sparc/elf/configure.in: Moved to ...
63571 * sysdeps/sparc/configure.in: ... here.
63572 * sysdeps/sparc/elf/configure: Delete file.
63573 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63574 * sysdeps/sparc/sparc32/start.S: ... here.
63575 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63576 * sysdeps/sparc/sparc64/start.S: ... here.
63577 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63578 * sysdeps/sparc/sparc32/Makefile: ... this.
63579 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63580 * sysdeps/sparc/sparc64/Makefile: ... this.
63581
63582 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63583 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63584 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63585 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63586 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63587 * sysdeps/s390/s390-32/setjmp.S: ... here.
63588 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63589 * sysdeps/s390/s390-32/configure.in: ... here.
63590 * sysdeps/s390/s390-32/elf/configure: Delete file.
63591 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63592 * sysdeps/s390/s390-32/start.S: ... here.
63593
63594 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63595 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63596 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63597 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63598 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63599 * sysdeps/s390/s390-64/setjmp.S: ... here.
63600 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63601 * sysdeps/s390/s390-64/configure.in: ... here
63602 * sysdeps/s390/s390-64/elf/configure: Delete file.
63603 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63604 * sysdeps/s390/s390-64/start.S: ... here.
63605 * sysdeps/s390/s390-64/elf/configure: Delete.
63606
63607 * configure.in: Remove support for elf directories in sysdeps.
63608
63609 * configure: Regenerated.
63610 * sysdeps/i386/configure: Regenerated.
63611 * sysdeps/powerpc/powerpc32/configure: Regenerated.
63612 * sysdeps/powerpc/powerpc64/configure: Regenerated.
63613 * sysdeps/s390/s390-32/configure: Regenerated.
63614 * sysdeps/s390/s390-64/configure: Regenerated.
63615 * sysdeps/sh/configure: Regenerated.
63616 * sysdeps/sparc/configure: Regenerated.
63617 * sysdeps/x86_64/configure: Regenerated.
63618
63619 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
63620
63621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63622
63623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63624 denormal result into account.
63625
63626 2012-03-25 Roland McGrath <roland@hack.frob.com>
63627
63628 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63629 Reported by Allan McRae <allan@archlinux.org>.
63630
63631 2012-03-23 Jeff Law <law@redhat.com>
63632
63633 * nss/getnssent.c (__nss_getent): Fix typo.
63634
63635 2012-03-23 David S. Miller <davem@davemloft.net>
63636
63637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63638
63639 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
63640
63641 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63642 to pad to uint64_t for each field.
63643 (dl_tls_index): Replace unsigned long with uint64_t.
63644
63645 2012-03-23 Daniel Jacobowitz <dmj@google.com>
63646 Paul Pluzhnikov <ppluzhnikov@google.com>
63647
63648 [BZ #6528]
63649 * grp/Makefile (otherlibs): Don't set it.
63650 * inet/Makefile (otherlibs): Likewise.
63651 * login/Makefile (otherlibs): Likewise.
63652 * nscd/Makefile (otherlibs): Likewise.
63653 * posix/Makefile (otherlibs): Likewise.
63654 * pwd/Makefile (otherlibs): Likewise.
63655 * rt/Makefile (otherlibs): Likewise.
63656 * sunrpc/Makefile (otherlibs): Likewise.
63657 * nss/Makefile (otherlibs): Likewise.
63658 Add libnss_files to routines and static-only-routines.
63659 ($(objpfx)getent): Remove rule.
63660 * resolv/Makefile: Add libnss_dns and libresolv to routines and
63661 static-only-routines.
63662
63663 2012-03-22 Joseph Myers <joseph@codesourcery.com>
63664
63665 [BZ #13892]
63666 * math/s_cexp.c: Include <float.h>.
63667 (__cexp): Handle exp result overflowing not necessarily
63668 overflowing both real and imaginary parts of result.
63669 * math/s_cexpf.c: Likewise.
63670 * math/s_cexpl.c: Likewise.
63671 * math/libm-test.inc (cexp_test): Add more tests.
63672 * sysdeps/i386/fpu/libm-test-ulps: Update.
63673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63674
63675 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
63676
63677 * include/link.h (ELFW): New macro.
63678 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63679 Replace ELF64_R_TYPE with ELFW(R_TYPE).
63680
63681 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
63682
63683 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63684 with uint64_t.
63685
63686 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
63687
63688 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63689 declaration.
63690 (struct La_x32_retval): Likewise.
63691
63692 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
63693
63694 * sysdeps/x86_64/preconfigure.in: New file.
63695 * sysdeps/x86_64/preconfigure: New generated file.
63696
63697 2012-03-22 Joseph Myers <joseph@codesourcery.com>
63698
63699 [BZ #13824]
63700 * math/e_exp2l.c: Include <float.h>.
63701 (__ieee754_exp2l): Handle overflow and underflow cases
63702 separately. Only pass fractional part of argument to
63703 __ieee754_expl.
63704 * math/libm-test.inc (exp2_test): Add more tests.
63705
63706 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63707 negating x to take absolute value.
63708 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63709 Likewise.
63710 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63712 Likewise.
63713 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63714 computing low part if x was negated.
63715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63716
63717 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
63718
63719 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63720 la_x32_gnu_pltexit.
63721 (pltexit): Cast int_retval to ptrdiff_t.
63722 * elf/tst-auditmod3b.c: Likewise.
63723 * elf/tst-auditmod4b.c: Likewise.
63724 * elf/tst-auditmod5b.c: Likewise.
63725 * elf/tst-auditmod6b.c: Likewise.
63726 * elf/tst-auditmod6c.c: Likewise.
63727 * elf/tst-auditmod7b.c: Likewise.
63728
63729 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63730 and x32_gnu_pltexit.
63731
63732 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63733 __ELF_NATIVE_CLASS.
63734 (La_x32_regs): New macro.
63735 (La_x32_retval): Likewise.
63736 (la_x32_gnu_pltenter): New function prototype.
63737 (la_x32_gnu_pltexit): Likewise.
63738
63739 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
63740
63741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63742 exponent.
63743
63744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63745
63746 * configure.in (libc_cv_cc_nofma): Check for option to disable
63747 generation of FMA instructions.
63748 * configure: Regenerate.
63749 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63750 * sysdeps/ieee754/dbl-64/Makefile: New file.
63751 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63752 Remove brandred-fma4.
63753 (CFLAGS-brandred-fma4.c): Remove.
63754 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63756 define.
63757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63758 define.
63759
63760 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
63761
63762 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63763 LLONG_MAX != LONG_MAX.
63764 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63765 (_fitoa_word): Likewise.
63766 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63767 LLONG_MAX != LONG_MAX.
63768 * stdio-common/_itowa.h: Include <_itoa.h>.
63769 (_itowa_word): Use _ITOA_WORD_TYPE on value.
63770 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
63771 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
63772 only if not defined.
63773 (_ITOA_WORD_TYPE): Likewise.
63774 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63775 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63776
63777 2012-03-21 David S. Miller <davem@davemloft.net>
63778
63779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63780
63781 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
63782
63783 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63784 of x86_64 when setting libc_cv_slibdir, libdir and
63785 libc_cv_localedir.
63786 * sysdeps/unix/sysv/linux/configure: Regenerated.
63787
63788 2012-03-21 Joseph Myers <joseph@codesourcery.com>
63789
63790 * manual/lang.texi (Old Varargs): Remove section.
63791 (How Variadic): Update menu.
63792 (va_start): Do not mention varargs.h.
63793
63794 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
63795 Joseph Myers <joseph@codesourcery.com>
63796
63797 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63798 link test.
63799 * configure: Regenerated.
63800
63801 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
63802
63803 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63804 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63805 conformtest.pl
63806
63807 2012-03-21 Joseph Myers <joseph@codesourcery.com>
63808
63809 * NOTES: Remove.
63810 * Makefile (files-for-dist): Remove NOTES.
63811 (NOTES): Remove rule.
63812 * README: Don't refer to NOTES.
63813 * manual/creature.texi: Don't include macros.texi.
63814 * manual/intro.texi (creature.texi): Remove comment referring to
63815 NOTES.
63816
63817 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63818 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63819 * configure: Regenerated.
63820 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63821 LIBC_TRY_CC_OPTION.
63822 (libc_cv_as_i686): Likewise.
63823 (libc_cv_cc_avx): Likewise.
63824 (libc_cv_cc_sse2avx): Likewise.
63825 (libc_cv_cc_fma4): Likewise.
63826 (libc_cv_cc_novzeroupper): Likewise.
63827 * sysdeps/i386/configure: Regenerated.
63828
63829 [BZ #13883]
63830 * sysdeps/i386/fpu/s_cexp.S: Remove.
63831 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63833 * math/libm-test.inc (cexp_test): Add more tests.
63834 * sysdeps/i386/fpu/libm-test-ulps: Update.
63835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63836
63837 2012-03-21 Allan McRae <allan@archlinux.org>
63838
63839 * timezone/Makefile: Do not install iso3166.tab and zone.tab
63840
63841 2012-03-21 Joseph Myers <joseph@codesourcery.com>
63842
63843 [BZ #13871]
63844 * math/w_exp2.c: Do not include <float.h>.
63845 (o_threshold, u_threshold): Remove.
63846 (__exp2): Calculate result before checking finiteness and calling
63847 __kernel_standard.
63848 * math/w_exp2f.c: Likewise.
63849 * math/w_exp2l.c: Likewise.
63850 * math/libm-test.inc (exp2_test): Require overflow exception for
63851 1e6 input.
63852
63853 [BZ #3866]
63854 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63855 range of signed 64-bit integers before using fistpll. Remove
63856 checks for whether integers fit in mantissa bits.
63857 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63858 the range of signed 32-bit integers before using fistpl. Remove
63859 checks for whether integers fit in mantissa bits.
63860 * sysdeps/i386/fpu/e_powl.S (p64): New object.
63861 (__ieee754_powl): Test for y outside the range of signed 64-bit
63862 integers before using fistpll. Reduce 64-bit values to 63-bit
63863 ones as needed.
63864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63865 divide-by-zero is raised for zero to large negative powers.
63866 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63867 (__ieee754_powl): Test for y outside the range of signed 64-bit
63868 integers before using fistpll. Reduce 64-bit values to 63-bit
63869 ones as needed.
63870 * math/libm-test.inc (pow_test): Add more tests.
63871
63872 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
63873
63874 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63875 <stdio-common/_itoa.h>.
63876 * debug/segfault.c: Likewise.
63877 * elf/dl-cache.c: Likewise.
63878 * elf/dl-minimal.c: Likewise.
63879 * elf/dl-misc.c: Likewise.
63880 * elf/dl-sysdep.c: Likewise.
63881 * elf/dl-version.c: Likewise.
63882 * elf/rtld.c: Likewise.
63883 * hurd/hurdsock.c: Likewise.
63884 * hurd/lookup-retry.c: Likewise.
63885 * malloc/malloc.c: Likewise.
63886 * malloc/mtrace.c: Likewise.
63887 * nscd/nscd_getgr_r.c: Likewise.
63888 * nscd/nscd_getpw_r.c: Likewise.
63889 * nscd/nscd_getserv_r.c: Likewise.
63890 * posix/getopt_init.c: Likewise.
63891 * posix/wordexp.c: Likewise.
63892 * stdio-common/_itoa.c: Likewise.
63893 * stdio-common/printf_fphex.c: Likewise.
63894 * stdio-common/vfprintf.c: Likewise.
63895 * string/_strerror.c: Likewise.
63896 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63897 * sysdeps/i386/i686/hp-timing.h: Likewise.
63898 * sysdeps/mach/_strerror.c: Likewise.
63899 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63900 * sysdeps/mach/hurd/sethostid.c: Likewise.
63901 * sysdeps/mach/hurd/xmknodat.c: Likewise.
63902 * sysdeps/mach/xpg-strerror.c: Likewise.
63903 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63904 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63905 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63906 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63907 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63908 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63909 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63910 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63911 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63912 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63913 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63914 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63915 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63916 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63917 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63918 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63919 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63920 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63921 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63922 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63923 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63924
63925 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63926
63927 * stdio-common/_itoa.h: Moved to ...
63928 * sysdeps/generic/_itoa.h: Here.
63929
63930 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63931
63932 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63933 instead of "_itoa.h" and "_itowa.h".
63934 * stdio-common/vfprintf.: Likewise.
63935
63936 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
63937
63938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63939 <bits/wordsize.h>.
63940 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63941 (__signbit): Likwise.
63942 (llrintf): Likwise.
63943 (llrint): Likwise.
63944
63945 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
63946
63947 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63948 __WORDSIZE != 64.
63949
63950 2012-03-20 Joseph Myers <joseph@codesourcery.com>
63951
63952 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63953 OVERFLOW_EXCEPTION_OK.
63954 * math/libm-test.inc ("Philosophy"): Update comment about
63955 exception testing.
63956 (OVERFLOW_EXCEPTION): Define.
63957 (OVERFLOW_EXCEPTION_OK): Likewise.
63958 (INVALID_EXCEPTION_OK): Renumber.
63959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63960 (IGNORE_ZERO_INF_SIGN): Likewise.
63961 (test_exceptions): Handle FE_OVERFLOW.
63962 (exp10_test): Expect overflow exceptions.
63963 (exp2_test): Likewise.
63964 (expm1_test): Likewise.
63965 (nextafter_test): Likewise.
63966 (pow_test): Likewise.
63967 (scalbn_test): Likewise.
63968 (scalbln_test): Likewise.
63969
63970 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63971
63972 * sysdeps/x86_64/bits/atomic.h
63973 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63974 64bit integer.
63975 (atomic_exchange_acq): Likewise.
63976 (__arch_exchange_and_add_body): Likewise.
63977 (__arch_add_body): Likewise.
63978 (atomic_add_negative): Likewise.
63979 (atomic_add_zero): Likewise.
63980
63981 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63982
63983 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63984 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63985
63986 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63987
63988 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63989 Check __x86_64__ instead of __WORDSIZE.
63990
63991 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
63992
63993 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63994
63995 2012-03-19 David S. Miller <davem@davemloft.net>
63996
63997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63998
63999 * sysdeps/sparc/fpu/fenv_private.h: New file.
64000 * sysdeps/sparc/fpu/math_private.h: Use it.
64001 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64002 Remove.
64003 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64004 (libc_feholdexcept_setroundl): Remove.
64005 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64006 Remove.
64007 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64008 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64009
64010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
64011
64012 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64013 int64_t instead of long int.
64014 (INSERT_WORDS64): Likwise.
64015
64016 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
64017
64018 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64019 _Unwind_GetCFA return to _Unwind_Ptr first.
64020
64021 2012-03-19 Joseph Myers <joseph@codesourcery.com>
64022
64023 [BZ #13629]
64024 * math/s_clog.c: Include <float.h>.
64025 (__clog): Scale large or subnormal inputs.
64026 * math/s_clogf.c: Likewise.
64027 * math/s_clogl.c: Likewise.
64028 * math/s_clog10.c: Include <float.h>.
64029 (M_LOG10_2): Define.
64030 (__clog10): Scale large or subnormal inputs.
64031 * math/s_clog10f.c: Likewise.
64032 * math/s_clog10l.c: Likewise.
64033 * math/libm-test.inc (clog_test): Add more tests.
64034 (clog10_test): Likewise.
64035 * sysdeps/i386/fpu/libm-test-ulps: Update.
64036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64037
64038 [BZ #11451]
64039 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64040 x and y.
64041 * math/libm-test.inc (atan2_test): Add another test.
64042
64043 * Makerules (common-objdir-compile): Remove.
64044 * sysdeps/unix/Makefile (config-generated): Do not add
64045 $(unix-generated) to variable.
64046 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64047 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64048 Remove rule.
64049 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64050 Likewise.
64051 [generic bits/local_lim.h] (before-compile): Do not append to
64052 variable.
64053 [generic bits/local_lim.h] (common-generated): Likewise.
64054 [generic sys/param.h] (before-compile): Do not append to variable.
64055 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64056 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64057 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64058 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64059 include.
64060 [generic sys/param.h] (sys/param.h-includes): Remove variable.
64061 [generic sys/param.h] (sys/param.h-includes): Remove rule.
64062 [generic sys/param.h] ($(addprefix
64063 $(common-objpfx),$(sys/param.h-includes))): Likewise.
64064 [generic sys/param.h] (common-generated): Do not append to
64065 variable.
64066 [generic sys/param.h] (sysdep_headers): Likewise.
64067 [generic bits/errno.h] (before-compile): Do not append to
64068 variable.
64069 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64070 rule.
64071 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64072 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64073 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64074 [generic bits/errno.h] (common-generated): Do not append to
64075 variable.
64076 [generic bits/ioctls.h] (before-compile): Do not append to
64077 variable.
64078 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64079 rule.
64080 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64081 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64083 rule.
64084 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64085 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64086 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64087 [generic bits/ioctls.h] (common-generated): Do not append to
64088 variable.
64089 [generic sys/syscall.h] (syscall.h): Remove variable.
64090 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64091 rule.
64092 [generic sys/syscall.h] (before-compile): Do not append to
64093 variable.
64094 [generic sys/syscall.h] (common-generated): Likewise.
64095 * sysdeps/unix/errnos-tmpl.c: Remove file.
64096 * sysdeps/unix/errnos.awk: Likewise.
64097 * sysdeps/unix/ioctls-tmpl.c: Likewise.
64098 * sysdeps/unix/ioctls.awk: Likewise.
64099 * sysdeps/unix/mk-local_lim.c: Likewise.
64100 * sysdeps/unix/snarf-ioctls: Likewise.
64101
64102 2012-03-19 Richard Henderson <rth@twiddle.net>
64103
64104 * sysdeps/i386/fpu/fenv_private.h: New file.
64105 * sysdeps/i386/fpu/math_private.h: Use it.
64106 (math_opt_barrier, math_force_eval): Remove.
64107 (libc_feholdexcept_setround_53bit): Remove.
64108 (libc_feupdateenv_53bit): Remove.
64109 * sysdeps/x86_64/fpu/math_private.h: Likewise.
64110 (math_opt_barrier, math_force_eval): Remove.
64111 (libc_feholdexcept): Remove.
64112 (libc_feholdexcept_setround): Remove.
64113 (libc_fetestexcept, libc_fesetenv): Remove.
64114 (libc_feupdateenv_test): Remove.
64115 (libc_feupdateenv, libc_feholdsetround): Remove.
64116 (libc_feresetround): Remove.
64117
64118 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64119 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64120
64121 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64122 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64123 (libc_feupdateenv_testl): New.
64124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64125 (libc_feupdateenv_testf): New.
64126 (libc_feupdateenv): Use libc_feupdateenv_test.
64127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64128 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64129
64130 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64131 (libc_feholdsetroundf, libc_feholdsetroundl): New.
64132 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64133 (libc_feresetround_noex): New.
64134 (libc_feresetround_noexf): New.
64135 (libc_feresetround_noexl): New.
64136 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64137 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64138 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64139 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64140 SET_RESTORE_ROUND.
64141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64143 (__cos): Likewise.
64144 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64145 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64146 SET_RESTORE_ROUND_NOEX.
64147 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64148 SET_RESTORE_ROUND_NOEXF.
64149 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64150 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64151 (libc_feholdsetroundf): New.
64152 (libc_feresetround, libc_feresetroundf): New.
64153
64154 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64155 (libc_feholdexcept_setround_53bit): Convert from macro to function.
64156 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
64157
64158 * sysdeps/generic/math_private.h: Include <fenv.h>.
64159 (default_libc_feholdexcept): New.
64160 (default_libc_feholdexcept_setround): New.
64161 (default_libc_fesetenv, default_libc_feupdateenv): New.
64162 (libc_feholdexcept): Only define if undefined.
64163 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64164 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64165 (libc_feholdexcept_setroundl): Likewise.
64166 (libc_feholdexcept_setround_53bit): Likewise.
64167 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64168 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64169 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64170 (libc_feupdateenv_53bit): Likewise.
64171 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64172 (libc_feholdexcept): Convert from macro to inline function.
64173 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64174 (libc_fesetenv, libc_feupdateenv): Likewise.
64175
64176 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64177 not previously defined.
64178 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64179 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64180 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64181 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64182 * sysdeps/ieee754/flt-32/math_private.h: New file.
64183 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64184 math_private.h below SET_FLOAT_WORD.
64185 (__isnan, __isinf_ns, __finite): Remove.
64186 (__isnanf, __isinf_nsf, __finitef): Remove.
64187
64188 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
64189
64190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64191
64192 2012-03-17 David S. Miller <davem@davemloft.net>
64193
64194 [BZ #6471]
64195 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64196 for 2.16.
64197
64198 2012-03-16 David S. Miller <davem@davemloft.net>
64199
64200 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64201 warnings.
64202
64203 [BZ #6471]
64204 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64205 properly.
64206 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64207 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64208 sysdep_routines when subdir is sysvipc.
64209 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64210 __getshmlba helper.
64211
64212 * sysdeps/sparc/fpu/libm-test/ulps: Update.
64213
64214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64215
64216 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64217 [__LP64__].
64218
64219 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64220
64221 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64222 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64223 (__lround): Renamed to ...
64224 (__llround): This. Replace long int with long long int.
64225 Define lround functions as aliases of llround functions.
64226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64227
64228 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64229
64230 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64231 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
64232 adresses to uintptr_t. Replace "long int" and "unsigned long
64233 int" with "greg_t" on va_arg.
64234
64235 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64236
64237 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64238 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64239
64240 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64241 Move e_machine check before EI_CLASS check. Handle x32
64242 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64243 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64244 SKIP_EM_IA_64 and include
64245 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64246
64247 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64248 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64249 (add_system_dir): New macro.
64250
64251 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64252 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64253
64254 2012-03-16 Joseph Myers <joseph@codesourcery.com>
64255
64256 [BZ #2551]
64257 [BZ #2552]
64258 [BZ #2553]
64259 [BZ #2554]
64260 [BZ #2562]
64261 [BZ #2563]
64262 [BZ #2565]
64263 [BZ #2566]
64264 [BZ #2576]
64265 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64266 (y0): Likewise.
64267 * math/w_j0f.c (j0f): Likewise.
64268 (y0f): Likewise.
64269 * math/w_j0l.c (__j0l): Likewise.
64270 (__y0l): Likewise.
64271 * math/w_j1.c (j1): Likewise.
64272 (y1): Likewise.
64273 * math/w_j1f.c (j1f): Likewise.
64274 (y1f): Likewise.
64275 * math/w_j1l.c (__j1l): Likewise.
64276 (__y1l): Likewise.
64277 * math/w_jn.c (jn): Likewise.
64278 (yn): Likewise.
64279 * math/w_jnf.c (jnf): Likewise.
64280 (ynf): Likewise.
64281 * math/w_jnl.c (__jnl): Likewise.
64282 (__ynl): Likewise.
64283 * math/libm-test.inc (j0_test): Add more tests.
64284 (j1_test): Likewise.
64285 (jn_test): Likewise. Add trailing semicolon to existing test.
64286 (y0_test): Likewise.
64287 (y1_test): Likewise.
64288 * sysdeps/i386/fpu/libm-test-ulps: Update.
64289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64290
64291 [BZ #13851]
64292 [BZ #13854]
64293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64294 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64295 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64296 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64297 (__tanl): Set errno for infinite argument.
64298 * sysdeps/i386/fpu/mptan.c: Remove.
64299 * sysdeps/i386/fpu/s_tan.S: Likewise.
64300 * sysdeps/i386/fpu/s_tanl.S: Likewise.
64301 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64302 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64303 * math/libm-test.inc (tan_test): Add more tests and enable more
64304 tests for double and long double.
64305 * sysdeps/i386/fpu/libm-test-ulps: Update.
64306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64307
64308 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
64309
64310 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64311 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64312
64313 2012-03-16 Roland McGrath <roland@hack.frob.com>
64314
64315 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64316 * configure.in: Use it for both main tree and add-ons.
64317 * configure: Regenerated.
64318
64319 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64320
64321 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64322
64323 2012-03-16 Joseph Myers <joseph@codesourcery.com>
64324
64325 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64326 in comment.
64327
64328 [BZ #13851]
64329 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64330 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64331 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64332 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64333 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64334 infinite argument.
64335 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64337 != 0 for prec == 2.
64338 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64339 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64340 * sysdeps/i386/fpu/s_cosl.S: Likewise.
64341 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64342 * sysdeps/i386/fpu/s_sinl.S: Likewise.
64343 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64344 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64345 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64346 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64347 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64348 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64349 * math/libm-test.inc (cos_test): Add more tests and enable more
64350 tests for long double.
64351 (sin_test): Likewise.
64352 (sincos_test): Likewise.
64353 * sysdeps/i386/fpu/libm-test-ulps: Update.
64354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64355
64356 2012-03-16 David S. Miller <davem@davemloft.net>
64357
64358 * sysdeps/sparc/fpu/math_private.h: New file.
64359
64360 2012-03-15 David S. Miller <davem@davemloft.net>
64361
64362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64363 file.
64364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64366 file.
64367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64373 sysdep routines.
64374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64375
64376 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64377 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64378
64379 * sysdeps/sparc/sparc-ifunc.h: New file.
64380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64381 sparc-ifunc.h
64382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64384 Likewise.
64385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64386 Likewise.
64387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64391 Likewise.
64392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64397 Likewise.
64398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64399 Likewise.
64400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64424
64425 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
64426
64427 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64428 scaling.
64429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64430
64431 2012-03-15 Andreas Jaeger <aj@suse.de>
64432
64433 [BZ #13852]
64434 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64435 ieee754/flt-32 implementation for sin, cos and sincos.
64436 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64437 * sysdeps/i386/fpu/s_cosf.S: Likewise.
64438 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64439 * sysdeps/i386/fpu/s_sinf.S: Likewise.
64440 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64441 ieee754/flt-32 implementation for tan.
64442
64443 * math/libm-test.inc (cos_test): Enable some large input tests for
64444 float as well
64445 (sin_test): Likewise.
64446 (sincos_test): Likewise.
64447 (tan_test): Add tests for large input.
64448
64449 * sysdeps/i386/fpu/libm-test-ulps: Update.
64450
64451 2012-03-15 Andreas Jaeger <aj@suse.de>
64452
64453 [BZ #13658]
64454 * math/libm-test.inc (cos_test): Add more test cases.
64455 (sin_test): Likewise.
64456 (sincos_test): Likewise.
64457
64458 2012-03-15 Andreas Jaeger <aj@suse.de>
64459
64460 [BZ #13837]
64461 * math/libm-test.inc (cos_test): Add a test case for large input
64462 value.
64463 (sin_test): Likewise.
64464 (sincos_test): Likewise.
64465
64466 2012-03-15 Andreas Jaeger <aj@suse.de>
64467 Joseph Myers <joseph@codesourcery.com>
64468
64469 [BZ #13658]
64470 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64471 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64472 * sysdeps/i386/fpu/branred.c: Likewise.
64473 * sysdeps/i386/fpu/dosincos.c: Likewise.
64474 * sysdeps/i386/fpu/mpa.c: Likewise.
64475 * sysdeps/i386/fpu/s_cos.S: Likewise.
64476 * sysdeps/i386/fpu/s_sin.S: Likewise.
64477 * sysdeps/i386/fpu/s_sincos.S: Likewise.
64478 * sysdeps/i386/fpu/sincos32.c: Likewise.
64479
64480 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64481 Define.
64482 (libc_feupdateenv_53bit): Define.
64483 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64484 Define.
64485 (libc_feupdateenv_53bit): Define.
64486
64487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64488 53 bit (without extend i386 double precision).
64489
64490 * math/libm-test.inc (sincos_test): Add tests for large input.
64491 (sin): Likewise.
64492 (cos): Likewise.
64493
64494 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64495
64496 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
64497
64498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64499
64500 2012-03-15 David S. Miller <davem@davemloft.net>
64501
64502 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64503 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64504 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64505 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64518 file.
64519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64521 file.
64522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64524 file.
64525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64527 file.
64528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64530 fmin/fmax sysdep routines.
64531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64532
64533 2012-03-14 David S. Miller <davem@davemloft.net>
64534
64535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64564 routines.
64565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64566 file.
64567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64569 file.
64570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64572 file.
64573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64575 file.
64576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64578 file.
64579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64581 file.
64582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64583 file.
64584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64585 file.
64586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64587 file.
64588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64589 New file.
64590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64591 file.
64592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64593 file.
64594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64596 file.
64597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64599 file.
64600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64602 file.
64603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64605 VIS3 routines.
64606
64607 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64608 New file.
64609
64610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64611
64612 * sysdeps/sparc/configure.in: New file.
64613 * sysdeps/sparc/configure: Generate.
64614 * configure.in (libc_cv_sparc_as_vis3): Substitute.
64615 * configure: Regenerate.
64616 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64617 * config.make.in (have-as-vis3): New.
64618 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64619 available use -Av9d instead of -Av9a.
64620 * sysdeps/sparc/sparc64/Makefile: Likewise.
64621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64623 New file.
64624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64625 file.
64626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64627 New file.
64628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64629 file.
64630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64635
64636 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64637 fzeros/fnegs to load 0x80000000 into a float register instead of
64638 using the stack.
64639 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64640
64641 2012-03-14 Joseph Myers <joseph@codesourcery.com>
64642
64643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64644 bits/syscall.h.
64645 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64646 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64647 ($(inst_includedir)/bits/syscall.h): Remove rule.
64648 ($(objpfx)bits/syscall.d): Include instead of
64649 $(objpfx)syscall-list.d.
64650 (generated): Change syscall-list.h and syscall-list.d to
64651 bits/syscall.h and bits/syscall.d.
64652
64653 2012-03-14 Roland McGrath <roland@hack.frob.com>
64654
64655 [BZ #13846]
64656 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64657
64658 2012-03-14 Joseph Myers <joseph@codesourcery.com>
64659
64660 [BZ #13841]
64661 * math/s_csqrt.c: Include <float.h>.
64662 (__csqrt): Scale large or subnormal inputs.
64663 * math/s_csqrtf.c: Likewise.
64664 * math/s_csqrtl.c: Likewise.
64665 * math/libm-test.inc (csqrt_test): Add more tests.
64666 * sysdeps/i386/fpu/libm-test-ulps: Update.
64667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64668
64669 [BZ #13840]
64670 * math/libm-test.inc (hypot_test): Add more tests.
64671
64672 2012-03-13 David S. Miller <davem@davemloft.net>
64673
64674 [BZ #13840]
64675 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64676 double-precision for the calculation instead of scaling.
64677
64678 2012-03-13 Joseph Myers <joseph@codesourcery.com>
64679
64680 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64681 manipulate bits before adding and subtracting TWO52[sx].
64682 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64683 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64684 Likewise.
64685 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64686
64687 2012-03-13 David S. Miller <davem@davemloft.net>
64688
64689 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64690 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64692 rtld-global-offsets.h
64693 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64694
64695 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64696 large parameters.
64697
64698 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64699
64700 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64701 'err' in the ifdef scope in which it is actually used.
64702
64703 * nss/nss_db/db-init.c: Include string.h
64704
64705 2012-03-12 David S. Miller <davem@davemloft.net>
64706
64707 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64708 masking out of the most significant byte of random value used.
64709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64710 Fix coding style in previous change.
64711
64712 * sysdeps/unix/sysv/linux/kernel-features.h
64713 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64714 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64715 expression.
64716 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64717 later.
64718
64719 2012-03-11 David S. Miller <davem@davemloft.net>
64720
64721 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64722 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64724 for 'resultvar' otherwise things get truncated on 64-bit.
64725
64726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64727 Fix masking out of the most significant byte of random value used.
64728
64729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64730
64731 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
64732
64733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64734
64735 2012-03-09 David S. Miller <davem@davemloft.net>
64736
64737 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64738 variables with appropriate CPP guards.
64739 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64740 from the frame pointer, not the stack pointer. Correct layout
64741 comments. Fix test on resulting framesize and the management of
64742 the outregs buffer for pltexit. Preserve floating point return
64743 values across _dl_call_pltexit call.
64744 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64745 framesize and the management of the outregs buffer for pltexit.
64746 Preserve floating point return values across _dl_call_pltexit
64747 call.
64748 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64749 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64750 (la_sparc64_gnu_pltexit): New functions.
64751 (print_exit): Fix format string for return register value.
64752
64753 2012-03-10 Joseph Myers <joseph@codesourcery.com>
64754
64755 * sunrpc/Makefile (others): Add rpcgen.
64756 ($(objpfx)rpcgen): Remove special build rule and dependency on
64757 libc.
64758 * sunrpc/rpcgen.c: New file.
64759
64760 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
64761
64762 [BZ #13673]
64763 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64764 * stdio-common/bug-vfprintf-nargs.c: Likewise.
64765 * sysdeps/i386/crti.S: Likewise.
64766 * sysdeps/i386/crtn.S: Likewise.
64767 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64768 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64769 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64770 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64771 * sysdeps/sh/crti.S: Likewise.
64772 * sysdeps/sh/crtn.S: Likewise.
64773 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64774
64775 [BZ #13673]
64776 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64777 with URL.
64778 * locale/programs/locfile-kw.gperf: Likewise.
64779 * locale/programs/charmap-kw.h: Regenerated.
64780 * locale/programs/locfile-kw.h: Likewise.
64781
64782 [BZ #13673]
64783 * intl/plural.y: Replace FSF snail mail address with URL.
64784 * intl/plural.c: Regenerated.
64785
64786 2012-03-09 Richard Henderson <rth@twiddle.net>
64787
64788 * include/math_private.h: Remove file.
64789 * math/math_private.h: Move file ...
64790 * sysdeps/generic/math_private.h: ... here.
64791
64792 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64793 * sysdeps/powerpc/fpu/math_private.h: Likewise.
64794 * sysdeps/x86_64/fpu/math_private.h: Likewise.
64795
64796 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64797 and <math_private.h>.
64798 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64799 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64800 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64801 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64802 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64803 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64806 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64807 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64809 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64813 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64815 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64816 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64817 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64820 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64830 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64835 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64836 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64837 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64838 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64839 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64840 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64841 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64844 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64845 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64846 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64847 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64848 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64849 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64850 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64851 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64852 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64853 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64855 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64856 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64857 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64859 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64862 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64866 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64867 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64872 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64877 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64879 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64880 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64881 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64882 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64885 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64886 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64887 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64889 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64890 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64891 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64892 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64893 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64895 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64896 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64897 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64898 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64899 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64900 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64901 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64902 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64903 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64904 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64905 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64906 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64908 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64909 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64910 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64911 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64912 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64914 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64915 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64916 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64918 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64919 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64921 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64922 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64924 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64925 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64926 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64927 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64928 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64929 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64930 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64931 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64932 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64933 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64934 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64935 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64936 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64937 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64939 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64940 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64941 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64942 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64943 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64944 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64945 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64946 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64947 * sysdeps/ieee754/k_standard.c: Likewise.
64948 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64949 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64951 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64952 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64953 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64954 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64956 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64957 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64959 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64960 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64961 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64962 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64963 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64964 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64965 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64966 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64967 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64968 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64969 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64970 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64971 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64972 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64973 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64974 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64975 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64976 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64977 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64978 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64979 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64980 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64981 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64982 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64985 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64986 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64987 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64988 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64989 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64990 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64991 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64992 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64993 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64994 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64996 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64998 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64999 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65000 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65001 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65002 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65003 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65004 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65005 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65006 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65007 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65008 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65009 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65010 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65014 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65017 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65020 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65021 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65025 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65029 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65035 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65036 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65038 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65039 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65040 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65041 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65042 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65043 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65044 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65045 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65046 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65047 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65048 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65049 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65052 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65053 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65054 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65055 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65056 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65057 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65058 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65059 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65060 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65061 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65062 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65063 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65064 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65065 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65067 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65069 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65070 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65071 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65073 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65074 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65075 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65076 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65077 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65078 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65079 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65080 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65081 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65082 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65083 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65084 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65085 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65086 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65087 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65088 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65089 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65090 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65091 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65092 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65097 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65098 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65099 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65100 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65102 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65103 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65104 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65105 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65106 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65107 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65108 * sysdeps/ieee754/s_lib_version.c: Likewise.
65109 * sysdeps/ieee754/s_matherr.c: Likewise.
65110 * sysdeps/ieee754/s_signgam.c: Likewise.
65111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65113 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65114 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65115 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65116 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65117 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65118 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65119 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65120 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65121 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65122 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65123 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65124 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65125 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65132
65133 2012-03-09 Joseph Myers <joseph@codesourcery.com>
65134
65135 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65136 * sunrpc/rpc_main.c: Likewise.
65137 * sunrpc/rpc_svcout.c: Likewise.
65138
65139 2012-03-09 David S. Miller <davem@davemloft.net>
65140
65141 * include/math_private.h: New file.
65142
65143 2012-03-09 Joseph Myers <joseph@codesourcery.com>
65144
65145 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65146 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65147 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65148 from <bits/socket_type.h>.
65149 (enum __socket_type): Don't define here.
65150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65152 bits/socket_type.h.
65153
65154 [BZ #13566]
65155 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65156 checking __USE_GNU.
65157
65158 * Makerules ($(inst_includedir)/%.h): New rule.
65159 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65160 (install-others): Remove variable setting.
65161 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65162
65163 2012-03-08 Richard Henderson <rth@twiddle.net>
65164
65165 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65166 from macro to inline function; merge with the
65167 !__LIBC_INTERNAL_MATH_INLINES version.
65168 (__ieee754_sqrtf): Likewise.
65169
65170 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65171 to inline function.
65172 (__rintf, __floor, __floorf): Likewise.
65173
65174 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65175 macro to inline function.
65176 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65177
65178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65179 not <math/math_private.h>.
65180
65181 2012-03-08 David S. Miller <davem@davemloft.net>
65182
65183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65184 copyright year.
65185 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65186
65187 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
65188
65189 * resolv/gai_misc.c (handle_requests): Fix struct timespec
65190 normalization.
65191 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65192 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65193
65194 2012-03-08 Ulrich Drepper <drepper@gmail.com>
65195
65196 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
65197 be defined individually, they must be defined as a block. Define
65198 S for printing a string instead of hidint the different by using a
65199 macro for adding the 'l'.
65200 * stdio-common/tst-fphex-wide.c: Adjust.
65201
65202 2012-03-07 Marek Polacek <polacek@redhat.com>
65203
65204 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65205
65206 2012-03-08 Marek Polacek <polacek@redhat.com>
65207
65208 [BZ #13806]
65209 * stdio-common/Makefile (tests): Add tst-fphex-wide.
65210 * stdio-common/tst-fphex.c: Define a few macros to make the
65211 test reusable. Use them.
65212 * stdio-common/tst-fphex-wide.c: New file.
65213
65214 2012-03-08 Joseph Myers <joseph@codesourcery.com>
65215
65216 [BZ #6911]
65217 * manual/macros.texi (gnusystems): New macro.
65218 (nongnusystems): Likewise.
65219 (gnulinuxhurdsystems): Likewise.
65220 (gnuhurdsystems): Likewise..
65221 (gnulinuxsystems): Likewise.
65222 * manual/charset.texi: Use new macros or @theglibc{} to refer to
65223 variants of the GNU system, not "GNU system".
65224 * manual/conf.texi: Likewise.
65225 * manual/errno.texi: Likewise. Update example of errno macro
65226 expansion.
65227 * manual/filesys.texi: Likewise.
65228 (getumask): Document as specific to GNU/Hurd.
65229 * manual/install.texi: Likewise. Reword some references to
65230 GNU/Linux.
65231 * manual/intro.texi: Likewise.
65232 * manual/io.texi: Likewise.
65233 (File Name Portability): Detail which constraints are inapplicable
65234 to all GNU systems and which are only inapplicable to GNU/Hurd.
65235 * manual/job.texi: Likewise.
65236 * manual/llio.texi: Likewise.
65237 (O_NOCTTY): Document as present on GNU/Linux.
65238 * manual/maint.texi: Likewise.
65239 * manual/memory.texi: Likewise.
65240 * manual/pattern.texi: Likewise.
65241 * manual/pipe.texi: Likewise.
65242 * manual/process.texi: Likewise.
65243 * manual/resource.texi: Likewise.
65244 (RUSAGE_CHILDREN): Remove statement about specifying a particular
65245 child on GNU/Hurd.
65246 * manual/setjmp.texi: Likewise.
65247 * manual/signal.texi: Likewise.
65248 * manual/startup.texi: Likewise.
65249 * manual/stdio.texi: Likewise.
65250 * manual/terminal.texi: Likewise.
65251 (ONLCR): Document as POSIX.
65252 (OXTABS): Document availability on GNU/Linux as XTABS.
65253 (ONOEOT): Document availability separately from other bits.
65254 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65255 * manual/time.texi: Likewise.
65256 * manual/users.texi: Likewise.
65257 * INSTALL: Regenerated.
65258 * sysdeps/gnu/errlist.c: Regenerated.
65259
65260 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65261 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65262 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
65263 puts.
65264 * configure: Regenerated.
65265
65266 2012-03-07 Joseph Myers <joseph@codesourcery.com>
65267
65268 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65269 default includes instead of AC_HEADER_CHECK.
65270 * sysdeps/i386/configure: Regenerated.
65271
65272 [BZ #10716]
65273 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65274 * math/s_cacoshf.c (__cacoshf): Likewise.
65275 * math/s_cacoshl.c (__cacoshl): Likewise.
65276 * math/s_casinh.c (__casinh): Set signs of result from argument.
65277 * math/s_casinhf.c (__casinhf): Likewise.
65278 * math/s_casinhl.c (__casinhl): Likewise.
65279 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65280 (casinh_test): Add more tests.
65281 * sysdeps/i386/fpu/libm-test-ulps: Update.
65282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65283
65284 2012-03-07 Ulrich Drepper <drepper@gmail.com>
65285
65286 * po/zh_TW.po: Update from translation team.
65287
65288 * login/Makefile (distribute): Remove variable.
65289 * catgets/Makefile: Likewise.
65290 * mach/Makefile: Likewise.
65291 * malloc/Makefile: Likewise.
65292 * misc/Makefile: Likewise.
65293 * iconv/Makefile: Likewise.
65294 * nscd/Makefile: Likewise.
65295 * hurd/Makefile: Likewise.
65296 * manual/Makefile: Likewise.
65297 * locale/Makefile: Likewise.
65298 * intl/Makefile: Likewise.
65299 * conform/Makefile: Likewise.
65300 * nss/Makefile: Likewise.
65301 * time/Makefile: Likewise.
65302 * soft-fp/Makefile: Likewise.
65303 * dirent/Makefile: Likewise.
65304 * gmon/Makefile: Likewise.
65305 * po/Makefile: Likewise.
65306 * rt/Makefile: Likewise.
65307 * socket/Makefile: Likewise.
65308 * math/Makefile: Likewise.
65309 * signal/Makefile: Likewise.
65310 * debug/Makefile: Likewise.
65311 * elf/Makefile: Likewise.
65312 * timezone/Makefile: Likewise.
65313 * stdlib/Makefile: Likewise.
65314 * iconvdata/Makefile: Likewise.
65315 * sunrpc/Makefile: Likewise.
65316 * io/Makefile: Likewise.
65317 * argp/Makefile: Likewise.
65318 * inet/Makefile: Likewise.
65319 * hesiod/Makefile: Likewise.
65320 * grp/Makefile: Likewise.
65321 * csu/Makefile: Likewise.
65322 * wctype/Makefile: Likewise.
65323 * crypt/Makefile: Likewise.
65324 * libio/Makefile: Likewise.
65325 * string/Makefile: Likewise.
65326 * nis/Makefile: Likewise.
65327 * resolv/Makefile: Likewise.
65328 * stdio-common/Makefile: Likewise.
65329 * wcsmbs/Makefile: Likewise.
65330 * dlfcn/Makefile: Likewise.
65331 * posix/Makefile: Likewise.
65332
65333 [BZ #6959]
65334 * timezone/Makefile: Don't install timezone files, just the programs
65335 and scripts.
65336
65337 2012-03-06 Ulrich Drepper <drepper@gmail.com>
65338
65339 * nss/databases.def: Add missing gshadow entry.
65340
65341 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
65342
65343 2012-03-06 Marek Polacek <polacek@redhat.com>
65344
65345 [BZ #13726]
65346 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65347 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65348 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65349 * stdio-common/tst-long-dbl-fphex.c: New file.
65350
65351 2012-03-06 David S. Miller <davem@davemloft.net>
65352
65353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65354 (set_obp_int): New function.
65355 (get_obp_int): New function.
65356 (__get_clockfreq_via_dev_openprom): Likewise.
65357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65358 Avoid unused variable warnings on 'val' and use builtin_expect.
65359 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65360 __builtin_expect.
65361 (INLINE_CLONE_SYSCALL): Likewise.
65362
65363 2012-03-05 David S. Miller <davem@davemloft.net>
65364
65365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65366
65367 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
65368
65369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65370
65371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65372 only for |x| >= 40.
65373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65374
65375 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
65376
65377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65378 Replace gettimeofday with __vdso_gettimeofday.
65379
65380 * sysdeps/unix/sysv/linux/x86_64/init-first.c
65381 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65382 __vdso_clock_gettime and __vdso_getcpu.
65383
65384 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65385 time with __vdso_time.
65386
65387 2012-03-05 Joseph Myers <joseph@codesourcery.com>
65388
65389 * manual/lang.texi (size_t): Note types to which size_t may be
65390 equivalent with the GNU C Library, but do not describe when
65391 differences between them are significant.
65392
65393 2012-03-05 Andreas Jaeger <aj@suse.de>
65394
65395 * sysdeps/i386/fpu/libm-test-ulps: Update.
65396
65397 2012-03-05 Joseph Myers <joseph@codesourcery.com>
65398
65399 [BZ #3976]
65400 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65401 (__ieee754_pow): Save and restore rounding mode and use
65402 round-to-nearest for main computations.
65403 * math/libm-test.inc (pow_test_tonearest): New function.
65404 (pow_test_towardzero): Likewise.
65405 (pow_test_downward): Likewise.
65406 (pow_test_upward): Likewise.
65407 (main): Call the new functions.
65408 * sysdeps/i386/fpu/libm-test-ulps: Update.
65409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65410
65411 [BZ #3976]
65412 * math/libm-test.inc (cosh_test_tonearest): New function.
65413 (cosh_test_towardzero): Likewise.
65414 (cosh_test_downward): Likewise.
65415 (cosh_test_upward): Likewise.
65416 (sinh_test_tonearest): Likewise.
65417 (sinh_test_towardzero): Likewise.
65418 (sinh_test_downward): Likewise.
65419 (sinh_test_upward): Likewise.
65420 (main): Call the new functions.
65421 * sysdeps/i386/fpu/libm-test-ulps: Update.
65422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65423
65424 2012-03-05 Tom de Vries <tom@codesourcery.com>
65425
65426 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65427 default stack guard is set in last bytes.
65428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65429
65430 2012-03-05 Kees Cook <keescook@chromium.org>
65431
65432 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65433
65434 [BZ #13656]
65435 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65436 possibly allocate from heap instead of stack.
65437 * stdio-common/bug-vfprintf-nargs.c: New file.
65438 * stdio-common/Makefile (tests): Add nargs overflow test.
65439
65440 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
65441
65442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65443
65444 2012-03-03 Marek Polacek <polacek@redhat.com>
65445
65446 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65447 * math/math_private.h: Likewise.
65448 * stdlib/tst-strtod.c: Likewise.
65449 * sysdeps/i386/i486/bits/atomic.h: Likewise.
65450 * sysdeps/x86_64/bits/atomic.h: Likewise.
65451
65452 2012-03-02 David S. Miller <davem@davemloft.net>
65453
65454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65458 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65459 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65460 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65461 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65462
65463 2012-03-02 Roland McGrath <roland@hack.frob.com>
65464
65465 [BZ #13792]
65466 * manual/examples/README: New file, says the example source files
65467 can be used under GPL>=2.
65468 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65469 line containing just "*/".
65470 * manual/examples/add.c: Add copyright header (GPL>=2).
65471 * manual/examples/argp-ex1.c: Likewise.
65472 * manual/examples/argp-ex2.c: Likewise.
65473 * manual/examples/argp-ex3.c: Likewise.
65474 * manual/examples/argp-ex4.c: Likewise.
65475 * manual/examples/atexit.c: Likewise.
65476 * manual/examples/db.c: Likewise.
65477 * manual/examples/dir.c: Likewise.
65478 * manual/examples/dir2.c: Likewise.
65479 * manual/examples/execinfo.c: Likewise.
65480 * manual/examples/filecli.c: Likewise.
65481 * manual/examples/filesrv.c: Likewise.
65482 * manual/examples/fmtmsgexpl.c: Likewise.
65483 * manual/examples/genpass.c: Likewise.
65484 * manual/examples/inetcli.c: Likewise.
65485 * manual/examples/inetsrv.c: Likewise.
65486 * manual/examples/isockad.c: Likewise.
65487 * manual/examples/longopt.c: Likewise.
65488 * manual/examples/memopen.c: Likewise.
65489 * manual/examples/memstrm.c: Likewise.
65490 * manual/examples/mkfsock.c: Likewise.
65491 * manual/examples/mkisock.c: Likewise.
65492 * manual/examples/mygetpass.c: Likewise.
65493 * manual/examples/pipe.c: Likewise.
65494 * manual/examples/popen.c: Likewise.
65495 * manual/examples/rprintf.c: Likewise.
65496 * manual/examples/search.c: Likewise.
65497 * manual/examples/select.c: Likewise.
65498 * manual/examples/setjmp.c: Likewise.
65499 * manual/examples/sigh1.c: Likewise.
65500 * manual/examples/sigusr.c: Likewise.
65501 * manual/examples/stpcpy.c: Likewise.
65502 * manual/examples/strdupa.c: Likewise.
65503 * manual/examples/strftim.c: Likewise.
65504 * manual/examples/strncat.c: Likewise.
65505 * manual/examples/subopt.c: Likewise.
65506 * manual/examples/swapcontext.c: Likewise.
65507 * manual/examples/termios.c: Likewise.
65508 * manual/examples/testopt.c: Likewise.
65509 * manual/examples/testpass.c: Likewise.
65510 * manual/examples/timeval_subtract.c: Likewise.
65511
65512 [BZ #13792]
65513 * manual/time.texi (Elapsed Time): Move timeval_subtract example
65514 function to ...
65515 * manual/timeval_subtract.c.texi: ... here, new file.
65516
65517 2012-03-02 David S. Miller <davem@davemloft.net>
65518
65519 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65520
65521 2012-03-02 Joseph Myers <joseph@codesourcery.com>
65522
65523 [BZ #3976]
65524 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65525 (__sin): Save and restore rounding mode and use round-to-nearest
65526 for all computations.
65527 (__cos): Save and restore rounding mode and use round-to-nearest
65528 for all computations.
65529 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65530 <fenv.h>.
65531 (tan): Save and restore rounding mode and use round-to-nearest for
65532 all computations.
65533 * math/libm-test.inc (cos_test_tonearest): New function.
65534 (cos_test_towardzero): Likewise.
65535 (cos_test_downward): Likewise.
65536 (cos_test_upward): Likewise.
65537 (sin_test_tonearest): Likewise.
65538 (sin_test_towardzero): Likewise.
65539 (sin_test_downward): Likewise.
65540 (sin_test_upward): Likewise.
65541 (tan_test_tonearest): Likewise.
65542 (tan_test_towardzero): Likewise.
65543 (tan_test_downward): Likewise.
65544 (tan_test_upward): Likewise.
65545 (main): Call the new functions.
65546 * sysdeps/i386/fpu/libm-test-ulps: Update.
65547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65548
65549 [BZ #10135]
65550 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65551 small n, then large n, before computing and testing k+n.
65552 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65554 Likewise.
65555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65556 Likewise.
65557 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65558 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65561 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65562 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65563 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65565 * math/libm-test.inc (scalbn_test): Add more tests.
65566 (scalbln_test): Likewise.
65567
65568 * manual/filesys.texi (mode_t): Describe constraints on size and
65569 signedness, not exact equivalence to a particular type.
65570 (ino_t): Likewise.
65571 (ino64_t): Likewise.
65572 (dev_t): Likewise.
65573 (nlink_t): Likewise.
65574 (blkcnt_t): Likewise.
65575 (blkcnt64_t): Likewise.
65576 * manual/llio.texi (off_t): Likewise.
65577
65578 [BZ #3976]
65579 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65580 (__ieee754_exp): Save and restore rounding mode and use
65581 round-to-nearest for all computations.
65582 * math/libm-test.inc (exp_test_tonearest): New function.
65583 (exp_test_towardzero): Likewise.
65584 (exp_test_downward): Likewise.
65585 (exp_test_upward): Likewise.
65586 (main): Call the new functions.
65587 * sysdeps/i386/fpu/libm-test-ulps: Update.
65588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65589
65590 2012-03-01 Chris Demetriou <cgd@google.com>
65591
65592 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65593 have predictable order.
65594
65595 2012-03-01 David S. Miller <davem@davemloft.net>
65596
65597 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65598
65599 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65600 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65601 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65602 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65603
65604 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65605 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65606 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65608 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65609 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65610 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65611 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65612 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65613
65614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65615
65616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65617 * sysdeps/sparc/fpu/libm-test-ulps: to here.
65618 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65619
65620 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65622 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65623 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65624 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65625 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65628 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65629 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65630 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65633 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65634 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65636 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65637 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65638 * sysdeps/sparc/elf/configure: Regenerated.
65639
65640 2012-03-01 Joseph Myers <joseph@codesourcery.com>
65641
65642 * configure.in (AS, LD): Require binutils 2.20 or later.
65643 * configure: Regenerated.
65644 * manual/install.texi (Tools for Compilation): Give binutils 2.20
65645 as required minimum version.
65646 * INSTALL: Regenerated.
65647
65648 [BZ #2541]
65649 [BZ #4108]
65650 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65651 before squaring exponent.
65652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65653 bottom long double and 27 bits of top long double before squaring
65654 exponent.
65655 * math/libm-test.inc (erfc_test): Add more tests.
65656 * sysdeps/i386/fpu/libm-test-ulps: Update.
65657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65659
65660 2012-03-01 Kai Tietz <ktietz@redhat.com>
65661
65662 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65663 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65664 containing bit-fields.
65665 * soft-fp/extended.h (_FP_UNION_E): Likewise.
65666 * soft-fp/single.h (_FP_UNION_S): Likewise.
65667 * soft-fp/double.h (_FP_UNION_D): Likewise.
65668
65669 2012-02-29 Joseph Myers <joseph@codesourcery.com>
65670
65671 [BZ #13786]
65672 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65673 not include ../strcmp.S.
65674 [USE_AS_STRNCASECMP_L]: Likewise.
65675 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65676 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65677 * sysdeps/i386/i686/multiarch/strncase_l-c.c
65678 (__strncasecmp_l_ia32): Define as alias to
65679 __strncasecmp_l_nonascii.
65680
65681 [BZ #5794]
65682 * math/libm-test.inc (expm1_test): Add test for bug 5794.
65683 * sysdeps/i386/fpu/libm-test-ulps: Update.
65684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65685
65686 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65688
65689 2012-02-29 Jeff Law <law@redhat.com>
65690
65691 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65692 out of bounds read.
65693
65694 2012-02-29 Marek Polacek <polacek@redhat.com>
65695
65696 [BZ #13706]
65697 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65698 * elf/Makefile: Add rules to run tst-unused-dep.out.
65699
65700 2012-02-28 David S. Miller <davem@davemloft.net>
65701
65702 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65703 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65706 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65707 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65708
65709 2012-02-29 Joseph Myers <joseph@codesourcery.com>
65710
65711 * math/libm-test.inc (llround_test): Move one test from
65712 lround_test. Use TEST_f_L in moved test.
65713 (lround_test): Move misplaced test to llround_test. Add testcase
65714 from bug 2561.
65715
65716 2012-02-28 Ulrich Drepper <drepper@gmail.com>
65717
65718 * sysdeps/x86_64/fpu/e_expf.S: New file.
65719 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65720
65721 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
65722
65723 [BZ #13637]
65724 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65725 of remain_len that may cause incomplete multi-byte character and
65726 false match.
65727 * posix/bug-regex33.c: New file.
65728 * posix/Makefile (tests): Add bug-regex33.
65729
65730 2012-02-28 Joseph Myers <joseph@codesourcery.com>
65731
65732 * manual/macros.texi: New file.
65733 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65734 * manual/libc.texinfo: Include macros.texi.
65735 * manual/creatute.texi: Likewise.
65736 * manual/install.texi: Likewise.
65737 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65738 @glibcadj{} in references to the GNU C Library.
65739 * manual/charset.texi: Likewise.
65740 * manual/conf.texi: Likewise.
65741 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
65742 when not using those macros.
65743 * manual/creature.texi: Likewise.
65744 * manual/crypt.texi: Likewise.
65745 * manual/errno.texi: Likewise.
65746 * manual/filesys.texi: Likewise.
65747 * manual/header.texi: Likewise.
65748 * manual/install.texi: Likewise.
65749 * manual/intro.texi: Likewise.
65750 * manual/io.texi: Likewise.
65751 * manual/job.texi: Likewise.
65752 * manual/lang.texi: Likewise.
65753 * manual/libc.texiinfo: Likewise.
65754 * manual/llio.texi: Likewise.
65755 * manual/locale.texi: Likewise.
65756 * manual/maint.texi: Likewise.
65757 * manual/math.texi: Likewise.
65758 * manual/memory.texi: Likewise.
65759 * manual/message.texi: Likewise.
65760 * manual/nss.texi: Likewise.
65761 * manual/pattern.texi: Likewise.
65762 * manual/process.texi: Likewise.
65763 * manual/resource.texi: Likewise.
65764 * manual/search.texi: Likewise.
65765 * manual/setjmp.texi: Likewise.
65766 * manual/signal.texi: Likewise.
65767 * manual/socket.texi: Likewise.
65768 * manual/startup.texi: Likewise.
65769 * manual/stdio.texi: Likewise.
65770 * manual/string.texi: Likewise.
65771 * manual/sysinfo.texi: Likewise.
65772 * manual/syslog.texi: Likewise.
65773 * manual/terminal.texi: Likewise.
65774 * manual/time.texi: Likewise.
65775 * manual/users.texi: Likewise.
65776 * INSTALL: Regenerated.
65777 * NOTES: Regenerated.
65778 * sysdeps/gnu/errlist.c: Regenerated.
65779
65780 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
65781
65782 * include/dirent.h: Include <dirstream.h> before
65783 <dirent/dirent.h>.
65784
65785 2012-02-28 David S. Miller <davem@davemloft.net>
65786
65787 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65788 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65789 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65791
65792 2012-02-27 David S. Miller <davem@davemloft.net>
65793
65794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65796 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65797 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65798
65799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65800 frame pointer instead of stack pointer relative arg slot.
65801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65804
65805 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
65806
65807 [BZ #3992]
65808 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65809
65810 2012-02-27 David S. Miller <davem@davemloft.net>
65811
65812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65816 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65817 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65818 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65819 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65820
65821 2012-02-27 Joseph Myers <joseph@codesourcery.com>
65822
65823 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65824 later. Allow versions 5-9.
65825 * configure: Regenerated.
65826 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65827 required minimum version and 4.6 as recommended version. Do not
65828 mention bugs in GCC 2.7 and 2.8.
65829 * INSTALL: Regenerated.
65830
65831 2012-02-27 David S. Miller <davem@davemloft.net>
65832
65833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65839 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65841
65842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65843 manipulate bits before adding and subtracting TWO112[sx].
65844 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65845
65846 2012-02-27 Roland McGrath <roland@hack.frob.com>
65847
65848 [BZ #13775]
65849 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65850 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65851 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65852 being in POSIX, because they are in 1003.1-2008.
65853
65854 * rt/tst-aio.c: Include <fcntl.h>.
65855 * rt/tst-aio7.c: Likewise.
65856 * rt/tst-aio64.c: Likewise.
65857
65858 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65859
65860 2012-02-27 Joseph Myers <joseph@codesourcery.com>
65861
65862 * manual/install.texi (--with-headers): Describe headers as
65863 interface headers, not private headers.
65864 (Specific advice for GNU/Linux systems): Describe use of headers
65865 from "make headers_install", not private headers from older
65866 kernels.
65867 * INSTALL: Regenerated.
65868 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65869 Change to 2.6.19.
65870 * sysdeps/unix/sysv/linux/configure: Regenerated.
65871
65872 * manual/llio.texi (fclean): Remove documentation.
65873
65874 * manual/Makefile (libc-texi-generated): New variable. Include
65875 version.texi.
65876 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65877 $(libc-texi-generated), not duplicated list of files.
65878 (version.texi, stamp-version): New rules.
65879 (realclean): Remove $(libc-texi-generated), not individual files
65880 from that list. Do not remove dir-add.texinfo.
65881 * manual/libc.texinfo: Comment out uses of edition numbers and
65882 references to printed manual. Remove last-updated dates.
65883 (EDITION): Comment out.
65884 (ISBN): Likewise.
65885 (VERSION, UPDATED): Remove.
65886 (version.texi): Include.
65887
65888 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
65889
65890 * sysdeps/posix/spawni.c: Include <signal.h>.
65891 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65892 * sysdeps/pthread/aio_fsync.c: Likewise.
65893
65894 2012-02-26 Ulrich Drepper <drepper@gmail.com>
65895
65896 * conform/Makefile (tests): Run only when not cross-compiling and
65897 when fast-check is not defined.
65898
65899 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65900 * conform/data/limits.h-data: Fixes for POSIX2008.
65901 * conform/run-conformtest.sh: Run all tests.
65902 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65903 headers.
65904 * include/bits/dlfcn.h: Likewise.
65905 * include/langinfo.h: Likewise.
65906 * include/monetary.h: Likewise.
65907 * include/sys/poll.h: Likewise.
65908
65909 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65910 for __USE_GNU.
65911 * posix/spawn.h: Define __need_sigset_t.
65912 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65913 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65914 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
65915 to get sigevent_t only.
65916 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65917 only for __USE_GNU.
65918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65919 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65920 process_vm_writev only for __USE_GNU.
65921 * termios/termios.h: Declare tcgetsid also for POSIX2008.
65922
65923 * conform/Makefile: For now ignore errors from run-conformtest.
65924 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
65925 POSIX to avoid namespace pollution. Don't prepend headers.
65926 * conform/data/aio.h-data: Fixes for POSIX testing.
65927 * conform/data/fcntl.h-data: Likewise.
65928 * conform/data/glob.h-data: Likewise.
65929 * conform/data/grp.h-data: Likewise.
65930 * conform/data/pthread.h-data: Likewise.
65931 * conform/data/pwd.h-data: Likewise.
65932 * conform/data/signal.h-data: Likewise.
65933 * conform/data/spawn.h-data: Likewise.
65934 * conform/data/stdio.h-data: Likewise.
65935 * conform/data/stdlib.h-data: Likewise.
65936 * conform/data/stropts.h-data: Likewise.
65937 * conform/data/sys/mman.h-data: Likewise.
65938 * conform/data/sys/stat.h-data: Likewise.
65939 * conform/data/sys/types.h-data: Likewise.
65940 * conform/data/sys/wait.h-data: Likewise.
65941 * conform/data/time.h-data: Likewise.
65942 * conform/data/unistd.h-data: Likewise.
65943 * conform/data/utime.h-data: Likewise.
65944
65945 * io/sys/stat.h: fchmod was always in POSIX.
65946 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65947 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65948 * rt/aio.h: Define __need_timespec before including <time.h>.
65949 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65950 struct. Add forward declaration of pthread_attr_t and use it in
65951 sigevent.
65952 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65953 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65954 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65955 always remove CLK_TCK definition.
65956
65957 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
65958
65959 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65960
65961 2012-02-25 Ulrich Drepper <drepper@gmail.com>
65962
65963 * conform/run-conformtest.sh: New file.
65964 * conform/Makefile: Run run-conformtest for tests.
65965 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
65966 support.
65967
65968 * conform/data/uchar.h-data: New file.
65969 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65970 * conform/data/arpa/inet.h-data: Likewise.
65971 * conform/data/assert.h-data: Likewise.
65972 * conform/data/complex.h-data: Likewise.
65973 * conform/data/cpio.h-data: Likewise.
65974 * conform/data/ctype.h-data: Likewise.
65975 * conform/data/dirent.h-data: Likewise.
65976 * conform/data/dlfcn.h-data: Likewise.
65977 * conform/data/errno.h-data: Likewise.
65978 * conform/data/fcntl.h-data: Likewise.
65979 * conform/data/float.h-data: Likewise.
65980 * conform/data/fmtmsg.h-data: Likewise.
65981 * conform/data/fnmatch.h-data: Likewise.
65982 * conform/data/ftw.h-data: Likewise.
65983 * conform/data/glob.h-data: Likewise.
65984 * conform/data/grp.h-data: Likewise.
65985 * conform/data/iconv.h-data: Likewise.
65986 * conform/data/inttypes.h-data: Likewise.
65987 * conform/data/langinfo.h-data: Likewise.
65988 * conform/data/libgen.h-data: Likewise.
65989 * conform/data/limits.h-data: Likewise.
65990 * conform/data/locale.h-data: Likewise.
65991 * conform/data/math.h-data: Likewise.
65992 * conform/data/monetary.h-data: Likewise.
65993 * conform/data/mqueue.h-data: Likewise.
65994 * conform/data/ndbm.h-data: Likewise.
65995 * conform/data/net/if.h-data: Likewise.
65996 * conform/data/netdb.h-data: Likewise.
65997 * conform/data/netinet/in.h-data: Likewise.
65998 * conform/data/nl_types.h-data: Likewise.
65999 * conform/data/poll.h-data: Likewise.
66000 * conform/data/pthread.h-data: Likewise.
66001 * conform/data/pwd.h-data: Likewise.
66002 * conform/data/regex.h-data: Likewise.
66003 * conform/data/sched.h-data: Likewise.
66004 * conform/data/search.h-data: Likewise.
66005 * conform/data/semaphore.h-data: Likewise.
66006 * conform/data/setjmp.h-data: Likewise.
66007 * conform/data/signal.h-data: Likewise.
66008 * conform/data/spawn.h-data: Likewise.
66009 * conform/data/stdarg.h-data: Likewise.
66010 * conform/data/stdio.h-data: Likewise.
66011 * conform/data/stdlib.h-data: Likewise.
66012 * conform/data/string.h-data: Likewise.
66013 * conform/data/strings.h-data: Likewise.
66014 * conform/data/stropts.h-data: Likewise.
66015 * conform/data/sys/ipc.h-data: Likewise.
66016 * conform/data/sys/mman.h-data: Likewise.
66017 * conform/data/sys/msg.h-data: Likewise.
66018 * conform/data/sys/resource.h-data: Likewise.
66019 * conform/data/sys/select.h-data: Likewise.
66020 * conform/data/sys/sem.h-data: Likewise.
66021 * conform/data/sys/shm.h-data: Likewise.
66022 * conform/data/sys/socket.h-data: Likewise.
66023 * conform/data/sys/stat.h-data: Likewise.
66024 * conform/data/sys/statvfs.h-data: Likewise.
66025 * conform/data/sys/time.h-data: Likewise.
66026 * conform/data/sys/timeb.h-data: Likewise.
66027 * conform/data/sys/times.h-data: Likewise.
66028 * conform/data/sys/types.h-data: Likewise.
66029 * conform/data/sys/uio.h-data: Likewise.
66030 * conform/data/sys/un.h-data: Likewise.
66031 * conform/data/sys/utsname.h-data: Likewise.
66032 * conform/data/sys/wait.h-data: Likewise.
66033 * conform/data/syslog.h-data: Likewise.
66034 * conform/data/tar.h-data: Likewise.
66035 * conform/data/termios.h-data: Likewise.
66036 * conform/data/utime.h-data: Likewise.
66037 * conform/data/utmpx.h-data: Likewise.
66038 * conform/data/varargs.h-data: Likewise.
66039 * conform/data/wchar.h-data: Likewise.
66040 * conform/data/wctype.h-data: Likewise.
66041 * conform/data/wordexp.h-data: Likewise.
66042
66043 * include/stropts.h: New file.
66044 * include/uchar.h: New file.
66045 * include/aio.h: Changes to allow conformtest.pl to use the headers.
66046 * include/assert.h: Likewise.
66047 * include/ctype.h: Likewise.
66048 * include/dirent.h: Likewise.
66049 * include/dlfcn.h: Likewise.
66050 * include/fcntl.h: Likewise.
66051 * include/fnmatch.h: Likewise.
66052 * include/glob.h: Likewise.
66053 * include/grp.h: Likewise.
66054 * include/libio.h: Likewise.
66055 * include/locale.h: Likewise.
66056 * include/math.h: Likewise.
66057 * include/net/if.h: Likewise.
66058 * include/netdb.h: Likewise.
66059 * include/netinet/in.h: Likewise.
66060 * include/pthread.h: Likewise.
66061 * include/pwd.h: Likewise.
66062 * include/regex.h: Likewise.
66063 * include/sched.h: Likewise.
66064 * include/search.h: Likewise.
66065 * include/setjmp.h: Likewise.
66066 * include/signal.h: Likewise.
66067 * include/stdio.h: Likewise.
66068 * include/stdlib.h: Likewise.
66069 * include/string.h: Likewise.
66070 * include/sys/cdefs.h: Likewise.
66071 * include/sys/mman.h: Likewise.
66072 * include/sys/msg.h: Likewise.
66073 * include/sys/resource.h: Likewise.
66074 * include/sys/select.h: Likewise.
66075 * include/sys/socket.h: Likewise.
66076 * include/sys/stat.h: Likewise.
66077 * include/sys/statvfs.h: Likewise.
66078 * include/sys/time.h: Likewise.
66079 * include/sys/times.h: Likewise.
66080 * include/sys/uio.h: Likewise.
66081 * include/sys/utsname.h: Likewise.
66082 * include/sys/wait.h: Likewise.
66083 * include/termios.h: Likewise.
66084 * include/time.h: Likewise.
66085 * include/ulimit.h: Likewise.
66086 * include/unistd.h: Likewise.
66087 * include/utime.h: Likewise.
66088 * include/wchar.h: Likewise.
66089 * include/wctype.h: Likewise.
66090 * include/wordexp.h: Likewise.
66091
66092 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66093
66094 * time/time.h: TIME_UTC must be a macro.
66095 Make timespec_get available for ISO C11 only as well.
66096
66097 2012-02-24 Ulrich Drepper <drepper@gmail.com>
66098
66099 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66100 Reported by Peng Haitao <penght@cn.fujitsu.com>.
66101
66102 2012-02-24 Joseph Myers <joseph@codesourcery.com>
66103
66104 * configure.in: Use -o not -a in test for unsupported multi-arch.
66105
66106 2012-02-24 Joseph Myers <joseph@codesourcery.com>
66107
66108 * manual/texinfo.tex: Update to version 2012-01-19.16.
66109
66110 2012-02-24 Joseph Myers <joseph@codesourcery.com>
66111
66112 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66113
66114 2012-02-24 Roland McGrath <roland@hack.frob.com>
66115
66116 [BZ #13738]
66117 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66118 * manual/fdl-1.3.texi: New file.
66119 * manual/fdl-1.1.texi: File removed.
66120
66121 [BZ #13738]
66122 * manual/libc.texinfo (FDL_VERSION): New @set.
66123 Use it for mention of FDL in cover text.
66124 (Documentation License): Use it in @include file name.
66125
66126 2012-02-22 Joseph Myers <joseph@codesourcery.com>
66127 Roland McGrath <roland@hack.frob.com>
66128
66129 [BZ #5461]
66130 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66131 (not LONG_LONG_MAX and LONG_LONG_MIN.
66132 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66133 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
66134 name.
66135 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66136
66137 2012-02-22 Joseph Myers <joseph@codesourcery.com>
66138
66139 [BZ #2547]
66140 [BZ #11365]
66141 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66142 manipulate bits before adding and subtracting TWO23[sx].
66143 * math/libm-test.inc (nearbyint_test): Add more tests.
66144
66145 2012-02-22 Joseph Myers <joseph@codesourcery.com>
66146
66147 [BZ #2548]
66148 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66149 bits before adding and subtracting TWO23[sx].
66150 * math/libm-test.inc (rint_test): Add more tests.
66151 (rint_test_tonearest): Likewise.
66152 (rint_test_towardzero): Likewise.
66153 (rint_test_downward): Likewise.
66154 (rint_test_upward: Likewise.
66155
66156 2012-02-22 Joseph Myers <joseph@codesourcery.com>
66157
66158 [BZ #10110]
66159 * include/stdc-predef.h: New file. Extracted from features.h.
66160 * include/features.h: Include stdc-predef.h.
66161 * Makefile (headers): Add stdc-predef.h.
66162 * CONFORMANCE (Compiler limitations): Update.
66163
66164 2012-02-22 Joseph Myers <joseph@codesourcery.com>
66165
66166 * manual/libc.texinfo (VERSION, UPDATED): Revert.
66167
66168 2012-02-21 David S. Miller <davem@davemloft.net>
66169
66170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66172
66173 2012-02-20 David S. Miller <davem@davemloft.net>
66174
66175 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66176 using a normal save/restore sequence, rather than allocating a
66177 dummy stack frame just to store a frame pointer and restore.
66178 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66179
66180 2012-02-21 Joseph Myers <joseph@codesourcery.com>
66181
66182 * manual/install.texi: Fix stray word in line-wrapped comment.
66183
66184 2012-02-20 David S. Miller <davem@davemloft.net>
66185
66186 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66187 both binutils and gcc support GOTDATA.
66188
66189 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66190 "rd %pc" in the PIC register setup sequences.
66191
66192 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66193 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66194 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66195 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66196 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66198 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66201 (SYSCALL_ERROR_HANDLER): Likewise.
66202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66205 (SYSCALL_ERROR_HANDLER): Likewise.
66206
66207 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66208 (HAVE_GCC_GOTDATA): New.
66209 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66210 relocation support in both binutils and gcc.
66211 * sysdeps/sparc/elf/configure: Regenerate.
66212
66213 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66214 * sysdeps/sparc/sparc32/elf/configure: Delete.
66215 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66216 * sysdeps/sparc/sparc64/elf/configure: Delete.
66217 * sysdeps/sparc/elf/configure.in: New file.
66218 * sysdeps/sparc/elf/configure: Generate.
66219
66220 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66221 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66222 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66223 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66224 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66225
66226 2012-02-21 Joseph Myers <joseph@codesourcery.com>
66227
66228 * manual/install.texi: Do not mention specific glibc version
66229 numbers.
66230 * manual/libc.texinfo (VERSION, UPDATED): Update.
66231 (@copying): Use @copyright{} and range of years.
66232
66233 2012-02-21 Joseph Myers <joseph@codesourcery.com>
66234
66235 [BZ #13695]
66236 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66237 [crti.S not in sysdirs] (generated): Do not append.
66238 [crti.S not in sysdirs] (omit-deps): Likewise.
66239 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66240 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66241 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66242 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66243 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66244 Likewise.
66245 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66246 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66247 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66248 * csu/defs.awk: Remove file.
66249 * sysdeps/generic/initfini.c: Likewise.
66250 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66251 variable.
66252 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66253 Likewise.
66254
66255 2012-02-20 Joseph Myers <joseph@codesourcery.com>
66256
66257 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66258 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66259 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66262 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66263 <bits/epoll.h>.
66264 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66265 (__EPOLL_PACKED): Define to empty if not defined by
66266 <bits/epoll.h>.
66267 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66269 bits/epoll.h.
66270
66271 2012-02-20 Joseph Myers <joseph@codesourcery.com>
66272
66273 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66274 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66275 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66276 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66277 <bits/timerfd.h>.
66278 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66280 bits/timerfd.h.
66281
66282 2012-02-20 Joseph Myers <joseph@codesourcery.com>
66283
66284 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66285 in C locale.
66286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66287 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66290
66291 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
66292
66293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66295
66296 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
66297
66298 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66299 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66300 defined.
66301 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66302 Likewise.
66303 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66304 entry for 2.16.
66305
66306 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
66307
66308 * math/w_acos.c: Use non-signaling floating-point comparisons.
66309 * math/w_acosf.c: Likewise.
66310 * math/w_acosh.c: Likewise.
66311 * math/w_acoshf.c: Likewise.
66312 * math/w_acoshl.c: Likewise.
66313 * math/w_acosl.c: Likewise.
66314 * math/w_asin.c: Likewise.
66315 * math/w_asinf.c: Likewise.
66316 * math/w_asinl.c: Likewise.
66317 * math/w_atanh.c: Likewise.
66318 * math/w_atanhf.c: Likewise.
66319 * math/w_atanhl.c: Likewise.
66320 * math/w_exp2.c: Likewise.
66321 * math/w_exp2f.c: Likewise.
66322 * math/w_exp2l.c: Likewise.
66323 * math/w_j0.c: Likewise.
66324 * math/w_j0f.c: Likewise.
66325 * math/w_j0l.c: Likewise.
66326 * math/w_j1.c: Likewise.
66327 * math/w_j1f.c: Likewise.
66328 * math/w_j1l.c: Likewise.
66329 * math/w_jn.c: Likewise.
66330 * math/w_jnf.c: Likewise.
66331 * math/w_log.c: Likewise.
66332 * math/w_log10.c: Likewise.
66333 * math/w_log10f.c: Likewise.
66334 * math/w_log10l.c: Likewise.
66335 * math/w_log2.c: Likewise.
66336 * math/w_log2f.c: Likewise.
66337 * math/w_log2l.c: Likewise.
66338 * math/w_logf.c: Likewise.
66339 * math/w_logl.c: Likewise.
66340 * math/w_sqrt.c: Likewise.
66341 * math/w_sqrtf.c: Likewise.
66342 * math/w_sqrtl.c: Likewise.
66343 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66344 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66345 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66346 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66347 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66348
66349 2012-02-19 Joseph Myers <joseph@codesourcery.com>
66350
66351 [BZ #9739]
66352 * manual/string.texi (strnlen): Use correct parameter name in
66353 equivalent expression.
66354
66355 2012-02-19 Joseph Myers <joseph@codesourcery.com>
66356
66357 [BZ #11174]
66358 * manual/users.texi (seteuid): Consistently use neweuid for
66359 argument name.
66360
66361 2012-02-19 Joseph Myers <joseph@codesourcery.com>
66362
66363 [BZ #13704]
66364 * manual/nss.texi (Services in the NSS configuration): Correct
66365 list of services in example configuration file.
66366
66367 2012-02-19 Nick Bowler <nbowler@draconx.ca>
66368
66369 [BZ #11322]
66370 * manual/arith.texi: Remove statements about negative zero
66371 behaving identically to zero.
66372
66373 2012-02-18 Joseph Myers <joseph@codesourcery.com>
66374
66375 [BZ #5993]
66376 * manual/install.texi: Do not document upgrading from libc5.
66377
66378 2012-02-18 Joseph Myers <joseph@codesourcery.com>
66379
66380 [BZ #4596]
66381 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66382
66383 2012-02-18 David S. Miller <davem@davemloft.net>
66384
66385 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66386 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66387 %o7 across the call.
66388 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66389 instead.
66390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66391 SETUP_PIC_REG_LEAF.
66392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66393 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66394 * sysdeps/sparc/crtn.S: Likewise.
66395
66396 2012-02-17 Ulrich Drepper <drepper@gmail.com>
66397
66398 * aout/Makefile: Remove.
66399
66400 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
66401
66402 [BZ #13058]
66403 * manual/examples/argp-ex1.c (main): Format definition in GNU
66404 style.
66405 * manual/examples/argp-ex2.c (main): Likewise.
66406 * manual/examples/argp-ex3.c (main): Likewise.
66407 * manual/examples/argp-ex4.c (main): Likewise.
66408 * manual/examples/longopt.c (main): Use new-style prototype
66409 definition.
66410 * manual/examples/strncat.c (main): Specify return type and use
66411 (void) for arguments.
66412 * manual/examples/subopt.c (main): Use char **argv argument.
66413
66414 2012-02-17 Joseph Myers <joseph@codesourcery.com>
66415
66416 [BZ #5077]
66417 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66418 rounding modes.
66419
66420 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
66421
66422 [BZ #6907]
66423 * manual/string.texi (strchr): Change when strchrnul is
66424 recommended.
66425
66426 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
66427
66428 [BZ #174]
66429 * manual/locale.texi (setlocale): Document LOCPATH.
66430
66431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
66432
66433 [BZ #10210]
66434 * manual/process.texi (execle): Move @dots{} before last argument.
66435
66436 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
66437
66438 [BZ #12047]
66439 * manual/charset.texi (Generic Charset Conversion): Fix typo
66440 (LC_TYPE -> LC_CTYPE).
66441
66442 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
66443
66444 [BZ #5805]
66445 * manual/arith.texi (scalbn): Use @var{} on parameter names.
66446 (scalbnf): Likewise.
66447 (scalbnl): Likewise.
66448 (scalbln): Likewise.
66449 (scalblnf): Likewise.
66450 (scalblnl): Likewise.
66451 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66452 (vwarnx): Likewise.
66453 (verr): Likewise.
66454 (verrx): Likewise.
66455 * manual/filesys.texi (telldir): Use braces around return type.
66456 * manual/llio.texi (mmap): Add space after comma.
66457 (mmap64): Likewise.
66458 * manual/math.texi (jn): Use @var{} on parameter names.
66459 (jnf): Likewise.
66460 (jnl): Likewise.
66461 (yn): Likewise.
66462 (ynf): Likewise.
66463 (ynl): Likewise.
66464 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66465 line.
66466 * manual/resource.texi (ulimit): Use @dots{} instead of literal
66467 "...".
66468 (sched_get_priority_min): Remove semicolon on @deftypefun line.
66469 (sched_get_priority_max): Likewise.
66470 * manual/signal.texi (sigvec): Add space after comma.
66471 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66472 names.
66473 (if_indextoname): Likewise.
66474 (if_freenameindex): Likewise.
66475 (sendto): Use ',' instead of '.' in prototype.
66476 * manual/startup.texi (syscall): Use @dots{} instead of literal
66477 "...".
66478 * manual/stdio.texi (__fpending): Separate initial words of
66479 paragraph from @deftypefun line.
66480 * manual/syslog.texi (syslog): Use @dots{} instead of literal
66481 "...".
66482 (vsyslog): Use @var{} on parameter names.
66483 * manual/terminal.texi (stty): Use @var{} on parameter names.
66484 * manual/users.texi (getutmp): Use @var{} on parameter names.
66485 (getutmpx): Likewise.
66486
66487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
66488
66489 [BZ #6884]
66490 * manual/stdio.texi (fopen): Fix typos in description of
66491 ",ccs=STRING".
66492
66493 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
66494
66495 [BZ #4026]
66496 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66497 get clock_id definition.
66498
66499 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
66500
66501 [BZ #4822]
66502 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66503 (madvise): Cast every argument to void on its own.
66504
66505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
66506
66507 [BZ #9902]
66508 * manual/startup.texi (Exit Status): Fix typo.
66509
66510 2012-02-17 Joseph Myers <joseph@codesourcery.com>
66511
66512 [BZ #10140]
66513 * manual/examples/argp-ex1.c: Include <stdlib.h>.
66514 * manual/examples/argp-ex2.c: Likewise.
66515 * manual/examples/argp-ex3.c: Likewise.
66516
66517 2012-02-16 Richard Henderson <rth@redhat.com>
66518
66519 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66520 * sysdeps/s390/s390-32/initfini.c: Remove.
66521 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66522 * sysdeps/s390/s390-64/initfini.c: Remove.
66523
66524 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
66525
66526 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66527 compiler output for sysdeps/generic/initfini.c.
66528 * sysdeps/sh/elf/initfini.c: Remove file.
66529
66530 2012-02-16 David S. Miller <davem@davemloft.net>
66531
66532 [BZ #11494]
66533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66534
66535 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66536 * sysdeps/sparc/crti.S: New file.
66537 * sysdeps/sparc/crtn.S: New file.
66538 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66539 * sysdeps/sparc/sparc64/Makefile: Likewise.
66540
66541 2012-02-15 Mike Frysinger <vapier@gentoo.org>
66542
66543 [BZ #3335]
66544 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66545
66546 2012-02-15 Roland McGrath <roland@hack.frob.com>
66547
66548 [BZ #4822]
66549 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66550
66551 * mach/devstream.c (cookie_io_functions_t): Macro removed.
66552 (write, read, close): Likewise.
66553 Patch by Aurelien Jarno <aurelien@aurel32.net>.
66554
66555 2012-02-15 Joseph Myers <joseph@codesourcery.com>
66556
66557 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66558 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66559 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66560 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66561 <bits/signalfd.h>.
66562 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66564 bits/signalfd.h.
66565
66566 2012-02-14 Marek Polacek <polacek@redhat.com>
66567
66568 * sysdeps/x86_64/crti.S: New file.
66569 * sysdeps/x86_64/crtn.S: New file.
66570 * sysdeps/x86_64/elf/initfini.c: Remove file.
66571
66572 2012-02-13 Joseph Myers <joseph@codesourcery.com>
66573
66574 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66575 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66576 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66577 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66578 <bits/inotify.h>.
66579 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66581 bits/inotify.h.
66582
66583 2012-02-13 Joseph Myers <joseph@codesourcery.com>
66584
66585 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66586 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66587 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66588 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66589 <bits/eventfd.h>.
66590 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66592 bits/eventfd.h.
66593
66594 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
66595
66596 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66597 __feraiseexcept instead of feraiseexcept.
66598
66599 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66600 nanosleep invocations.
66601 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66602 strings, and add error checking for a nanosleep invocations.
66603
66604 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
66605
66606 Replace FSF snail mail address with URLs, as per GNU coding standards.
66607 Most of the snail mail addresses were wrong anyway, and omitting
66608 them makes the source code easier to maintain. Almost all of the
66609 changes are to license notices and to locale LC_IDENTIFICATION
66610 addresses, except for this one:
66611 * manual/libc.texinfo: In "Published by", give the FSF's URL,
66612 not its snail mail address.
66613
66614 2012-02-09 Richard Henderson <rth@twiddle.net>
66615
66616 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66617 of kernel-features.h.
66618
66619 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66620
66621 2012-02-08 Marek Polacek <polacek@redhat.com>
66622
66623 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66624 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66625 * sysdeps/gnu/_G_config.h: Likewise.
66626 * sysdeps/generic/_G_config.h: Likewise.
66627
66628 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
66629
66630 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66631 tests.
66632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66633
66634 * sysdeps/powerpc/powerpc32/crti.S: New file.
66635 * sysdeps/powerpc/powerpc32/crtn.S: New file.
66636 * sysdeps/powerpc/powerpc64/crti.S: New file.
66637 * sysdeps/powerpc/powerpc64/crtn.S: New file.
66638
66639 * Makeconfig (have-initfini): Don't set.
66640 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66641 * configure.in (nopic_initfini): Don't substitute.
66642 * config.h.in (HAVE_INITFINI): Don't #undef.
66643 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66644 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66645
66646 2012-02-08 Joseph Myers <joseph@codesourcery.com>
66647
66648 Support crti.S and crtn.S provided directly by architectures.
66649 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66650 [crti.S in sysdirs] (omit-deps): Likewise.
66651 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66652 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66653 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66654 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66655 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66656 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66657 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66658 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66659 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66660 compiler output for sysdeps/generic/initfini.c.
66661 * sysdeps/i386/elf/Makefile: Remove file.
66662 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66663
66664 2012-02-07 Marek Polacek <polacek@redhat.com>
66665
66666 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66667 * sysdeps/gnu/_G_config.h: Likewise.
66668 * sysdeps/mach/hurd/_G_config.h: Likewise.
66669
66670 2012-02-07 Marek Polacek <polacek@redhat.com>
66671
66672 * math/Makefile (tests): Add tst-CMPLX2.
66673 * math/tst-CMPLX2.c: New file.
66674
66675 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
66676
66677 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66678
66679 * math/libm-test.inc (jn_test): Add missing L suffix.
66680
66681 2012-02-06 Marek Polacek <polacek@redhat.com>
66682
66683 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66684 * sysdeps/i386/fpu/e_powf.S: Likewise.
66685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66686 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
66688 * sysdeps/i386/fpu/e_pow.S: Likewise.
66689 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66690 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66691 * sysdeps/i386/fpu/s_expm1.S: Likewise.
66692 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66693 * sysdeps/i386/fpu/e_log2.S: Likewise.
66694 * sysdeps/i386/fpu/e_log2l.S: Likewise.
66695 * sysdeps/i386/fpu/e_scalb.S: Likewise.
66696 * sysdeps/i386/fpu/e_powl.S: Likewise.
66697 * sysdeps/i386/fpu/s_log1p.S: Likewise.
66698 * sysdeps/i386/fpu/e_log10f.S: Likewise.
66699 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66700 * sysdeps/i386/fpu/e_logl.S: Likewise.
66701 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66702 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66703 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66704 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66705 * sysdeps/i386/fpu/e_log2f.S: Likewise.
66706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66707 * sysdeps/i386/fpu/e_log.S: Likewise.
66708 * sysdeps/i386/fpu/s_cexp.S: Likewise.
66709 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66710 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66711 * sysdeps/i386/fpu/e_logf.S: Likewise.
66712 * sysdeps/i386/fpu/e_log10l.S: Likewise.
66713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
66714 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66715 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66716 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66717 * sysdeps/i386/fpu/e_log10.S: Likewise.
66718 * sysdeps/i386/fpu/s_frexp.S: Likewise.
66719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66720 * sysdeps/i386/fpu/s_asinh.S: Likewise.
66721 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66723 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66724 * sysdeps/i386/asm-syntax.h: Likewise.
66725 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66727 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66728 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66729 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66730 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66731 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66732 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66733 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66734 * sysdeps/powerpc/sysdep.h: Likewise.
66735 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66736 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66737
66738 2012-02-06 Joseph Myers <joseph@codesourcery.com>
66739
66740 [BZ #411]
66741 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66742
66743 2012-02-06 Joseph Myers <joseph@codesourcery.com>
66744
66745 * sysdeps/i386/sysdep.h: Include <features.h>.
66746 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66747 version.
66748
66749 2012-02-05 Joseph Myers <joseph@codesourcery.com>
66750
66751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66752 Define.
66753 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66754 LOAD_PIC_REG_STR.
66755
66756 2012-02-03 Joseph Myers <joseph@codesourcery.com>
66757
66758 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66759 (SETUP_PIC_REG): Use GET_PC_THUNK.
66760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66761 macro.
66762
66763 2012-02-03 Joseph Myers <joseph@codesourcery.com>
66764
66765 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66766 for non-PIC compilation.
66767 (SETUP_PIC_REG): Add .p2align directive.
66768 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66769 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66770 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66771 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66773 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66774 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66775 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66776 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66777 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66778 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66779 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66780 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66781 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66782 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66783 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66784 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66785 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66786 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66787 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66788 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66790 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66791 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66792 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66794 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66795 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66796 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66797 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66798 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66800 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66801 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66802 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66805 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66806 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66807 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66809
66810 2012-02-03 Joseph Myers <joseph@codesourcery.com>
66811
66812 * math/tst-CMPLX.c: Include <stdio.h>.
66813
66814 2012-01-31 Joseph Myers <joseph@codesourcery.com>
66815
66816 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66817 float.
66818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66819 * sysdeps/sparc/bits/mathdef.h: Likewise.
66820
66821 2012-01-31 Marek Polacek <polacek@redhat.com>
66822
66823 * libio/libio.h: Don't define _PARAMS.
66824 * locale/programs/config.h: Don't define PARAMS.
66825 * stdlib/strtol_l.c: Likewise.
66826 (__strtol_l): Remove PARAMS from the prototype.
66827
66828 2012-01-31 Ulrich Drepper <drepper@gmail.com>
66829
66830 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
66831 names. Just use the correct names. Remove unnecessary wrapper
66832 functions.
66833 * malloc/arena.c: Likewise.
66834 * malloc/hooks.c: Likewise.
66835
66836 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66837 ARENA_TEST says not to. Simplify test for creation of a new arena.
66838 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66839
66840 2012-01-30 Ulrich Drepper <drepper@gmail.com>
66841
66842 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66843 into tail calls.
66844 (update_get_addr): New function.
66845 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66846 GET_ADDR_MODULE parameter.
66847
66848 2012-01-30 Joseph Myers <joseph@codesourcery.com>
66849
66850 * crypt/cert.c: Remove __STDC__ conditionals.
66851 * crypt/crypt-entry.c: Likewise.
66852 * crypt/crypt_util.c: Likewise.
66853 * libio/filedoalloc.c: Likewise.
66854 * libio/fileops.c: Likewise.
66855 * libio/genops.c: Likewise.
66856 * libio/iofclose.c: Likewise.
66857 * libio/iofdopen.c: Likewise.
66858 * libio/iofopen.c: Likewise.
66859 * libio/iofopen64.c: Likewise.
66860 * libio/iogetdelim.c: Likewise.
66861 * libio/iopopen.c: Likewise.
66862 * libio/obprintf.c: Likewise.
66863 * libio/oldfileops.c: Likewise.
66864 * libio/oldiofclose.c: Likewise.
66865 * libio/oldiofdopen.c: Likewise.
66866 * libio/oldiofopen.c: Likewise.
66867 * libio/oldiopopen.c: Likewise.
66868 * libio/wfiledoalloc.c: Likewise.
66869 * libio/wgenops.c: Likewise.
66870 * locale/programs/xmalloc.c: Likewise.
66871 * misc/syslog.c: Likewise.
66872 * stdio-common/xbug.c: Likewise.
66873 * string/memchr.c: Likewise.
66874 * string/memcmp.c: Likewise.
66875 * string/memrchr.c: Likewise.
66876 * string/rawmemchr.c: Likewise.
66877 * sysdeps/posix/getcwd.c: Likewise.
66878 * time/strftime_l.c: Likewise.
66879
66880 2012-01-30 Joseph Myers <joseph@codesourcery.com>
66881
66882 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66883 * config.make.in (config-cflags-sse2avx): Define.
66884 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66885 Fix typo.
66886
66887 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
66888
66889 * scripts/config.guess: Update from upstream config git repository.
66890 * scripts/config.sub: Likewise.
66891
66892 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
66893
66894 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66895 (EM_NUM): Update.
66896 (R_TILEPRO_*, R_TILEGX_*): New macros.
66897
66898 * scripts/firstversions.awk: Fix bug in version range handling.
66899
66900 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66901
66902 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66903
66904 * include/sys/epoll.h: New file.
66905 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66906 libc_hidden_def.
66907
66908 2012-01-28 Ulrich Drepper <drepper@gmail.com>
66909
66910 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66911 Avoid unnecessary __WORDSIZE == 64 test.
66912 (fmaxf): Use VEX format if possible.
66913 (fmax): Likewise.
66914 (fminf): Likewise.
66915 (fmin): Likewise.
66916
66917 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66918 * math/math_private.h: Remove libc_fegetround* and
66919 libc_fesetround*.
66920 * sysdeps/i386/configure.in: Check for -msse2avx.
66921 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66922 also if SSE2AVX is defined.
66923 Remove libc_fegetround* and libc_fesetround*.
66924 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66925 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
66926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66927 of HAS_YMM_USABLE.
66928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66933
66934 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66935
66936 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66937
66938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66939 size is not set.
66940 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66941
66942 2012-01-27 Ulrich Drepper <drepper@gmail.com>
66943
66944 [BZ #13618]
66945 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66946 relocation.
66947 * Makeconfig (libm): Define.
66948 * elf/Makefile: Add rules to build and run tst-relsort1.
66949 * elf/tst-relsort1.c: New file.
66950 * elf/tst-relsort1mod1.c: New file.
66951 * elf/tst-relsort1mod2.c: New file.
66952
66953 2012-01-27 Joseph Myers <joseph@codesourcery.com>
66954
66955 * math/s_ldexp.c: Remove __STDC__ conditionals.
66956 * math/s_ldexpf.c: Likewise.
66957 * math/s_ldexpl.c: Likewise.
66958 * math/s_nextafter.c: Likewise.
66959 * math/s_nexttowardf.c: Likewise.
66960 * math/s_significand.c: Likewise.
66961 * math/s_significandf.c: Likewise.
66962 * math/s_significandl.c: Likewise.
66963 * math/w_jnl.c: Likewise.
66964 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66965 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66966 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66967 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66968 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66970 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66971 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66972 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66973 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66974 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66976 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66977 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66978 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66979 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66980 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66981 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66983 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66984 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66985 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66986 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66987 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66988 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66989 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66991 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66992 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66993 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66995 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66997 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66998 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66999 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67000 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67001 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67002 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67003 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67004 * sysdeps/ieee754/k_standard.c: Likewise.
67005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67006 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67007 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67008 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67009 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67010 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67011 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67012 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67013 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67014 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67015 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67016 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67017 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67018 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67019 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67023 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67025 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67027 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67030 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67032 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67035 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67036 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67037 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67038 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67041 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67042 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67043 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67044 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67045 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67047 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67048 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67049 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67050 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67051 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67052 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67053 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67054 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67055 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67056 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67057 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67061 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67063 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67064 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67065 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67066 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67067 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67069 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67070 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67071 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67074 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67076 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67077 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67078 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67079 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67080 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67081 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67082 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67083 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67084 * sysdeps/ieee754/s_matherr.c: Likewise.
67085 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67086 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67089
67090 2012-01-26 Joseph Myers <joseph@codesourcery.com>
67091
67092 * crypt/md5.h: Remove __STDC__ conditionals.
67093 * libio/libioP.h: Likewise.
67094 * locale/programs/config.h: Likewise.
67095 * sysdeps/generic/sysdep.h: Likewise.
67096 * sysdeps/i386/asm-syntax.h: Likewise.
67097 * sysdeps/s390/asm-syntax.h: Likewise.
67098 * sysdeps/unix/sysdep.h: Likewise.
67099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67101
67102 2012-01-26 Joseph Myers <joseph@codesourcery.com>
67103
67104 * libio/libio.h: Remove __STDC__ conditionals.
67105 * malloc/obstack.h: Likewise.
67106 * math/complex.h: Likewise.
67107 * math/math.h: Likewise.
67108 * sysdeps/generic/_G_config.h: Likewise.
67109 * sysdeps/gnu/_G_config.h: Likewise.
67110 * sysdeps/mach/hurd/_G_config.h: Likewise.
67111 * sysdeps/powerpc/bits/mathdef.h: Likewise.
67112 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67113 * sysdeps/sparc/bits/mathdef.h: Likewise.
67114
67115 2012-01-26 Ulrich Drepper <drepper@gmail.com>
67116
67117 [BZ #13583]
67118 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67119 Clean up HAS_* macros.
67120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67121 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67122 possible.
67123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67124 HAS_AVX.
67125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67126 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67127 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67130
67131 2012-01-25 Joseph Myers <joseph@codesourcery.com>
67132
67133 * elf/tst-unique3.cc (gets): Remove declaration.
67134 * elf/tst-unique3lib.cc (gets): Likewise.
67135 * elf/tst-unique3lib2.cc (gets): Likewise.
67136 * elf/tst-unique4.cc (gets): Likewise.
67137
67138 2012-01-24 Ulrich Drepper <drepper@gmail.com>
67139
67140 * include/stdio.h: Add C++ protection. Add gets declarations and
67141 definitions.
67142 * debug/tst-chk1.c: Don't declare gets here.
67143 * stdio-common/tst-gets.c: Likewise.
67144
67145 2012-01-24 Joseph Myers <joseph@codesourcery.com>
67146
67147 * posix/glob: Remove directory.
67148
67149 2012-01-24 Joseph Myers <joseph@codesourcery.com>
67150
67151 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67152
67153 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
67154
67155 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67156 of the non-standard EPFNOSUPPORT.
67157
67158 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
67159
67160 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67161 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67162 ANYWHERE set to 1 only on KERN_NO_SPACE error.
67163
67164 2012-01-21 Ulrich Drepper <drepper@gmail.com>
67165
67166 * wcsmbs/uchar.h: Test __STDC_VERSION__.
67167
67168 2012-01-20 Ulrich Drepper <drepper@gmail.com>
67169
67170 * nscd/aicache.c (addhstaiX): Do not cache negative results of
67171 transient errors.
67172 * nscd/grpcache.c (cache_addgr): Likewise.
67173 * nscd/hstcache.c (cache_addhst): Likewise.
67174 * nscd/initgrcache.c (addinitgroupsX): Likewise.
67175 * nscd/pwdcache.c (cache_addpw): Likewise.
67176 * nscd/servicescache.c (cache_addserv): Likewise.
67177
67178 2012-01-16 Ulrich Drepper <drepper@gmail.com>
67179
67180 * malloc/malloc.c: Various cleanups.
67181 * malloc/hooks.c: Likewise.
67182
67183 * stdlib/Makefile (tests): Add bug-fmtmsg1.
67184 * stdlib/bug-fmtmsg1.c: New file.
67185
67186 * stdlib/fmtmsg.c (init): Add missing unlock.
67187 Patch by Peng Haitao <penght@cn.fujitsu.com>.
67188
67189 2012-01-12 Marek Polacek <polacek@redhat.com>
67190
67191 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67192 and _GNU_SOURCE.
67193
67194 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
67195
67196 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67197 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67198 macro to ensure uniqueness of label name.
67199 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67200 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67201
67202 2012-01-11 Ulrich Drepper <drepper@gmail.com>
67203
67204 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67205
67206 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67207 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67208 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67210
67211 2012-01-10 Ulrich Drepper <drepper@gmail.com>
67212
67213 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67214
67215 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67216 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67217 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67218
67219 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67220
67221 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67222 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67225
67226 * math/bits/math-finite.h: Add ldexp support.
67227
67228 2012-01-10 Marek Polacek <polacek@redhat.com>
67229
67230 * locale/programs/localedef.h (show_archive_content): Add noreturn
67231 attribute.
67232
67233 2012-01-09 Ulrich Drepper <drepper@gmail.com>
67234
67235 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67236
67237 2012-01-08 Ulrich Drepper <drepper@gmail.com>
67238
67239 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67240
67241 * io/Makefile (headers): Add bits/poll2.h.
67242
67243 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
67244
67245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67246 typo #include statement.
67247
67248 2012-01-08 Ulrich Drepper <drepper@gmail.com>
67249
67250 * include/sys/cdefs.h: Define __attribute_alloc_size.
67251 * catgets/gencat.c: Add alloc_size attribute and apply consistently
67252 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67253 * elf/pldd.c: Likewise.
67254 * iconv/iconv_charmap.c: Likewise.
67255 * iconv/iconvconfig.c: Likewise.
67256 * iconv/strtab.c: Likewise.
67257 * locale/programs/locale.c: Likewise.
67258 * locale/programs/localedef.h: Likewise.
67259 * locale/programs/simple-hash.c: Likewise.
67260 * nscd/nscd.h: Likewise.
67261 * nss/makedb.c: Likewise.
67262 * sysdeps/generic/ldconfig.h: Likewise.
67263 * locale/programs/localedef.c: Remove xmalloc prototype.
67264 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67265
67266 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
67267
67268 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67269 appropriate.
67270
67271 2012-01-08 Ulrich Drepper <drepper@gmail.com>
67272
67273 * math/Makefile (tests): Add tst-CMPLX.
67274 * math/tst-CMPLX.c: New file.
67275
67276 * math/complex.h (CMPLXL): Fix typo.
67277
67278 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67279 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67280 GLIBC_2.16.
67281 * debug/tst-chk1.c: Add poll and ppoll tests.
67282 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67283 * include/sys/poll.h: Add hidden proto for ppoll.
67284 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67285 * sysdeps/mach/hurd/ppoll.c: Likewise.
67286 * io/ppoll.c: Likewise.
67287 * debug/poll_chk.c: New file.
67288 * debug/ppoll_chk.c: New file.
67289 * include/bits/poll2.h: New file.
67290 * io/bits/poll2.h: New file.
67291
67292 [BZ #1350]
67293 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67294
67295 * configure.in: static is always set to yes. Remove.
67296 * config.make.in: Don't set build-static.
67297 * Makeconfig: Remove use of build-static.
67298 * dlfcn/Makefile: Likewise.
67299 * elf/Makefile: Likewise.
67300 * math/Makefile: Likewise.
67301 * misc/Makefile: Likewise.
67302 * nptl/Makefile: Likewise.
67303 * sysdeps/mach/hurd/Makefile: Likewise.
67304
67305 * configure.in: PWD_P is not used anymore.
67306 * config.make.in: Remove PWD_P entry.
67307
67308 * configure.in: Remove last remnants of RANLIB.
67309 No need to check for signed size_t anymore.
67310 Don't set libc_commonpagesize and libc_relro_required here for Alpha
67311 and IA-64.
67312 Remove __builtin_expect test because we require at least gcc 3.4.
67313 * aclocal.m4: Likewise.
67314
67315 * wcsmbs/mbrtoc16.c: Implement using towc function.
67316 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67317 * wcsmbs/wcsmbsload.c: Likewise.
67318 * iconv/gconv_simple.c: Likewise.
67319 * iconv/gconv_int.h: Likewise.
67320 * iconv/gconv_builtin.h: Likewise.
67321 * iconv/iconv_prog.c: Remove CHAR16 handling.
67322
67323 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67324
67325 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67326
67327 * configure.in: Remove --with-elf and --enable-bounded options.
67328 Dont set base_machine for ia64. More non-ELF conditions removed.
67329 Remove testing and setting of leading underscore information.
67330 * config.make.in (build-bounded): Set to no.
67331 * config.h.in: Remove NO_UNDERSCORES entry.
67332 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
67333 them.
67334 * csu/start.c: Remove !NO_UNDERSCORE code.
67335 * locale/localeinfo.h: Likewise.
67336 * sysdeps/generic/machine-gmon.h: Likewise.
67337 * sysdeps/generic/sysdep.h: Likewise.
67338 * sysdeps/i386/sysdep.h: Likewise.
67339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67340 * sysdeps/mach/sysdep.h: Likewise.
67341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
67342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67343 * sysdeps/sh/sysdep.h: Likewise.
67344 * sysdeps/sparc/sparc32/alloca.S: Likewise.
67345 * sysdeps/unix/i386/sysdep.S: Likewise.
67346 * sysdeps/unix/sparc/start.c: Likewise.
67347 * sysdeps/unix/sparc/sysdep.S: Likewise.
67348 * sysdeps/unix/sparc/sysdep.h: Likewise.
67349 * sysdeps/unix/start.c: Likewise.
67350 * sysdeps/unix/x86_64/sysdep.S: Likewise.
67351 * sysdeps/x86_64/sysdep.h: Likewise.
67352
67353 2012-01-07 Ulrich Drepper <drepper@gmail.com>
67354
67355 [BZ #13553]
67356 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67357 for non-gcc.
67358 * argp/argp-fmtstream.h: Use const instead __const.
67359 * argp/argp.h: Likewise.
67360 * assert/assert.h: Likewise.
67361 * bits/fenv.h: Likewise.
67362 * bits/sched.h: Likewise.
67363 * bits/sigset.h: Likewise.
67364 * bits/sigthread.h: Likewise.
67365 * catgets/nl_types.h: Likewise.
67366 * conform/data/pthread.h-data: Likewise.
67367 * crypt/crypt-private.h: Likewise.
67368 * crypt/crypt.h: Likewise.
67369 * crypt/crypt_util.c: Likewise.
67370 * ctype/ctype.h: Likewise.
67371 * debug/execinfo.h: Likewise.
67372 * debug/mbsnrtowcs_chk.c: Likewise.
67373 * debug/mbsrtowcs_chk.c: Likewise.
67374 * debug/wcsnrtombs_chk.c: Likewise.
67375 * debug/wcsrtombs_chk.c: Likewise.
67376 * debug/wcstombs_chk.c: Likewise.
67377 * dirent/dirent.h: Likewise.
67378 * dlfcn/dlfcn.h: Likewise.
67379 * elf/neededtest4.c: Likewise.
67380 * grp/grp.h: Likewise.
67381 * gshadow/gshadow.h: Likewise.
67382 * iconv/gconv.h: Likewise.
67383 * iconv/gconv_int.h: Likewise.
67384 * iconv/gconv_simple.c: Likewise.
67385 * iconv/iconv.h: Likewise.
67386 * iconv/loop.c: Likewise.
67387 * iconv/skeleton.c: Likewise.
67388 * include/aio.h: Likewise.
67389 * include/aliases.h: Likewise.
67390 * include/argz.h: Likewise.
67391 * include/arpa/inet.h: Likewise.
67392 * include/assert.h: Likewise.
67393 * include/dirent.h: Likewise.
67394 * include/dlfcn.h: Likewise.
67395 * include/execinfo.h: Likewise.
67396 * include/fcntl.h: Likewise.
67397 * include/fenv.h: Likewise.
67398 * include/glob.h: Likewise.
67399 * include/grp.h: Likewise.
67400 * include/libintl.h: Likewise.
67401 * include/mntent.h: Likewise.
67402 * include/netdb.h: Likewise.
67403 * include/pwd.h: Likewise.
67404 * include/rpc/netdb.h: Likewise.
67405 * include/sched.h: Likewise.
67406 * include/search.h: Likewise.
67407 * include/shadow.h: Likewise.
67408 * include/signal.h: Likewise.
67409 * include/stdio.h: Likewise.
67410 * include/stdlib.h: Likewise.
67411 * include/string.h: Likewise.
67412 * include/sys/socket.h: Likewise.
67413 * include/sys/stat.h: Likewise.
67414 * include/sys/statfs.h: Likewise.
67415 * include/sys/statvfs.h: Likewise.
67416 * include/sys/syslog.h: Likewise.
67417 * include/sys/time.h: Likewise.
67418 * include/sys/uio.h: Likewise.
67419 * include/time.h: Likewise.
67420 * include/unistd.h: Likewise.
67421 * include/utmp.h: Likewise.
67422 * include/wchar.h: Likewise.
67423 * include/wctype.h: Likewise.
67424 * inet/aliases.h: Likewise.
67425 * inet/arpa/inet.h: Likewise.
67426 * inet/netinet/ether.h: Likewise.
67427 * inet/netinet/in.h: Likewise.
67428 * intl/libintl.h: Likewise.
67429 * io/bits/fcntl2.h: Likewise.
67430 * io/fcntl.h: Likewise.
67431 * io/ftw.h: Likewise.
67432 * io/sys/poll.h: Likewise.
67433 * io/sys/stat.h: Likewise.
67434 * io/sys/statfs.h: Likewise.
67435 * io/sys/statvfs.h: Likewise.
67436 * io/utime.h: Likewise.
67437 * libio/bits/stdio.h: Likewise.
67438 * libio/bits/stdio2.h: Likewise.
67439 * libio/libio.h: Likewise.
67440 * libio/libioP.h: Likewise.
67441 * libio/stdio.h: Likewise.
67442 * locale/lc-ctype.c: Likewise.
67443 * locale/locale.h: Likewise.
67444 * login/utmp.h: Likewise.
67445 * malloc/arena.c: Likewise.
67446 * malloc/malloc.c: Likewise.
67447 * malloc/malloc.h: Likewise.
67448 * malloc/mcheck.c: Likewise.
67449 * malloc/mtrace.c: Likewise.
67450 * math/bits/mathcalls.h: Likewise.
67451 * math/fenv.h: Likewise.
67452 * math/math_private.h: Likewise.
67453 * misc/bits/error.h: Likewise.
67454 * misc/bits/syslog.h: Likewise.
67455 * misc/err.h: Likewise.
67456 * misc/error.h: Likewise.
67457 * misc/fstab.h: Likewise.
67458 * misc/mntent.h: Likewise.
67459 * misc/regexp.h: Likewise.
67460 * misc/search.h: Likewise.
67461 * misc/sgtty.h: Likewise.
67462 * misc/sys/mman.h: Likewise.
67463 * misc/sys/syslog.h: Likewise.
67464 * misc/sys/uio.h: Likewise.
67465 * misc/sys/xattr.h: Likewise.
67466 * misc/ttyent.h: Likewise.
67467 * nis/rpcsvc/ypclnt.h: Likewise.
67468 * nss/nss.h: Likewise.
67469 * posix/bits/unistd.h: Likewise.
67470 * posix/fnmatch.h: Likewise.
67471 * posix/glob.h: Likewise.
67472 * posix/sched.h: Likewise.
67473 * posix/spawn.h: Likewise.
67474 * posix/sys/wait.h: Likewise.
67475 * posix/unistd.h: Likewise.
67476 * posix/wordexp.h: Likewise.
67477 * pwd/pwd.h: Likewise.
67478 * resolv/netdb.h: Likewise.
67479 * resource/sys/resource.h: Likewise.
67480 * rt/aio.h: Likewise.
67481 * rt/bits/mqueue2.h: Likewise.
67482 * rt/mqueue.h: Likewise.
67483 * shadow/shadow.h: Likewise.
67484 * signal/signal.h: Likewise.
67485 * socket/send.c: Likewise.
67486 * socket/sendto.c: Likewise.
67487 * socket/sys/socket.h: Likewise.
67488 * stdio-common/printf.h: Likewise.
67489 * stdlib/bits/stdlib.h: Likewise.
67490 * stdlib/fmtmsg.h: Likewise.
67491 * stdlib/monetary.h: Likewise.
67492 * stdlib/stdlib.h: Likewise.
67493 * stdlib/ucontext.h: Likewise.
67494 * streams/stropts.h: Likewise.
67495 * string/argz.h: Likewise.
67496 * string/bits/string2.h: Likewise.
67497 * string/string.h: Likewise.
67498 * string/strings.h: Likewise.
67499 * sunrpc/rpc/auth.h: Likewise.
67500 * sunrpc/rpc/auth_des.h: Likewise.
67501 * sunrpc/rpc/clnt.h: Likewise.
67502 * sunrpc/rpc/netdb.h: Likewise.
67503 * sunrpc/rpc/pmap_clnt.h: Likewise.
67504 * sunrpc/rpc/xdr.h: Likewise.
67505 * sysdeps/generic/inttypes.h: Likewise.
67506 * sysdeps/generic/net/if.h: Likewise.
67507 * sysdeps/generic/sys/swap.h: Likewise.
67508 * sysdeps/gnu/net/if.h: Likewise.
67509 * sysdeps/gnu/utmpx.h: Likewise.
67510 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67511 * sysdeps/i386/i486/bits/string.h: Likewise.
67512 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67513 * sysdeps/s390/bits/string.h: Likewise.
67514 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67515 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67516 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67517 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67518 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67519 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67520 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67521 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67522 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67523 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67524 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67525 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67526 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67527 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67528 * sysdeps/unix/sysv/linux/readv.c: Likewise.
67529 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67530 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67532 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67534 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67535 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67536 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67537 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67538 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67539 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67540 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67542 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67544 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67545 * sysvipc/sys/ipc.h: Likewise.
67546 * sysvipc/sys/msg.h: Likewise.
67547 * sysvipc/sys/sem.h: Likewise.
67548 * sysvipc/sys/shm.h: Likewise.
67549 * termios/termios.h: Likewise.
67550 * time/sys/time.h: Likewise.
67551 * time/time.h: Likewise.
67552 * wcsmbs/bits/wchar2.h: Likewise.
67553 * wcsmbs/uchar.h: Likewise.
67554 * wcsmbs/wchar.h: Likewise.
67555 * wctype/wctype.h: Likewise.
67556
67557 [BZ #13551]
67558 * Makeconfig: Remove all but ELF support including AIX support.
67559 * Makerules: Likewise.
67560 * config.h.in: Likewise.
67561 * config.make.in: Likewise.
67562 * configure: Likewise.
67563 * configure.in: Likewise.
67564 * csu/Makefile: Likewise.
67565 * csu/version.c: Likewise.
67566 * debug/Makefile: Likewise.
67567 * dlfcn/Makefile: Likewise.
67568 * elf/Makefile: Likewise.
67569 * extra-lib.mk: Likewise.
67570 * iconv/Makefile: Likewise.
67571 * include/libc-symbols.h: Likewise.
67572 * include/shlib-compat.h: Likewise.
67573 * resolv/Makefile: Likewise.
67574 * resolv/res_libc.c: Likewise.
67575 * rt/Makefile: Likewise.
67576 * sysdeps/i386/asm-syntax.h: Likewise.
67577 * sysdeps/i386/sysdep.h: Likewise.
67578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67579 * sysdeps/mach/sysdep.h: Likewise.
67580 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67581 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67582 * sysdeps/s390/asm-syntax.h: Likewise.
67583 * sysdeps/s390/s390-32/sysdep.h: Likewise.
67584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67585 * sysdeps/sh/sysdep.h: Likewise.
67586 * sysdeps/unix/sparc/sysdep.h: Likewise.
67587 * sysdeps/wordsize-32/divdi3.c: Likewise.
67588 * sysdeps/x86_64/sysdep.h: Likewise.
67589
67590 * argp/Versions: Remove _argp_unlock_xxx.
67591
67592 [BZ #13559]
67593 * abilist/ld.abilist: Update. Adjust for removal of tls option.
67594 * abilist/libBrokenLocale.abilist: Likewise.
67595 * abilist/libanl.abilist: Likewise.
67596 * abilist/libc.abilist: Likewise.
67597 * abilist/libcrypt.abilist: Likewise.
67598 * abilist/libdl.abilist: Likewise.
67599 * abilist/libm.abilist: Likewise.
67600 * abilist/libnsl.abilist: Likewise.
67601 * abilist/libpthread.abilist: Likewise.
67602 * abilist/libresolv.abilist: Likewise.
67603 * abilist/librt.abilist: Likewise.
67604 * abilist/libthread_db.abilist: Likewise.
67605 * abilist/libutil.abilist: Likewise.
67606 * abilist/libnss_db.abilist: New file.
67607
67608 * scripts/abilist.awk: Add support for indirect functions.
67609
67610 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67611
67612 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67613
67614 * shlib-versions: Remove entries for ports architectures.
67615
67616 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
67617 files in ports.
67618 * elf/stackguard-macros.h: Remove support for IA-64.
67619 * elf/tst-auditmod1.c: Likewise.
67620 * sysdeps/generic/ldsodefs.h: Likewise.
67621
67622 * sysdeps/unix/sysv/linux/configure.in: Ports should define
67623 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67624 configure files.
67625
67626 [BZ #13552]
67627 * configure.in: Remove --enable-omitfp support.
67628 * FAQ.in: Adjust.
67629 * config.make.in: Likewise.
67630 * Makeconfig: Likewise.
67631 * manual/install.texi: Likewise.
67632
67633 In case anyone cares, the IA-64 architecture could move to ports.
67634 * sysdeps/ia64/*: Removed.
67635 * sysdeps/unix/sysv/linux/ia64/*: Removed.
67636 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67637
67638 [BZ #13555]
67639 * configure.in: Remove entries for unsupported architectures.
67640
67641 [BZ #13533]
67642 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67643 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
67644 routines.
67645 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67646 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67647 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
67648 fall back to using wcrtomb.
67649 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67650 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
67651 renaming.
67652 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67653 * wcsmbs/tst-c16c32-1.c: New file.
67654
67655 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67656 local variable.
67657
67658 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67659
67660 * elf/tst-unique3.cc: Add explicit declaration of gets.
67661 * elf/tst-unique3lib.cc: Likewise.
67662 * elf/tst-unique3lib2.cc: Likewise.
67663 * elf/tst-unique4.cc: Likewise.
67664
67665 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67666
67667 2012-01-06 Joseph Myers <joseph@codesourcery.com>
67668
67669 [BZ #13566]
67670 * assert/assert.h (static_assert): Don't define for C++.
67671 * libio/stdio.h (gets): Do declare for C++ <= C++11.
67672 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67673
67674 2012-01-03 Ulrich Drepper <drepper@gmail.com>
67675
67676 * iconv/loop.c (single loop): Fix assertion in storing of
67677 remaining bytes.
67678
67679 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67680
67681 2012-01-01 Ulrich Drepper <drepper@gmail.com>
67682
67683 * posix/getconf.c: Update copyright year.
67684 * nss/getent.c: Likewise.
67685 * nss/makedb.c: Likewise.
67686 * iconv/iconvconfig.c: Likewise.
67687 * iconv/iconv_prog.c: Likewise.
67688 * elf/ldconfig.c: Likewise.
67689 * elf/pldd.c: Likewise.
67690 * elf/sotruss.ksh: Likewise.
67691 * catgets/gencat.c: Likewise.
67692 * csu/version.c: Likewise.
67693 * elf/ldd.bash.in: Likewise.
67694 * elf/sprof.c (print_version): Likewise.
67695 * locale/programs/locale.c: Likewise.
67696 * locale/programs/localedef.c: Likewise.
67697 * login/programs/pt_chown.c: Likewise.
67698 * nscd/nscd.c (print_version): Likewise.
67699 * debug/xtrace.sh: Likewise.
67700 * malloc/memusage.sh: Likewise.
67701 * malloc/mtrace.pl: Likewise.
67702 * debug/catchsegv.sh: Likewise.
67703
67704 2011-12-30 Jakub Jelinek <jakub@redhat.com>
67705
67706 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67707 pure attribute.
67708
67709 2011-12-24 Ulrich Drepper <drepper@gmail.com>
67710
67711 [BZ #13533]
67712 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67713 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67714 transformations.
67715 * iconv/gconv_int.h: Likewise.
67716 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67717 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67718 from libc for GLIBC_2.16.
67719 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67720 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67721 * wcsmbs/uchar.h: Really define mbstate_t.
67722 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67723 * wcsmbs/c16rtomb.c: New file.
67724 * wcsmbs/mbrtoc16.c: New file.
67725 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67726 for C/POSIX locale.
67727 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67728 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67729
67730 * wcsmbs/wchar.h: Add missing __restrict.
67731
67732 2011-12-23 Ulrich Drepper <drepper@gmail.com>
67733
67734 [BZ #13532]
67735 * time/Makefile (routines): Add timespec_get.
67736 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67737 * time/time.h: Define TIME_UTC and declare timespec_get. Define
67738 timespec for ISO C11.
67739 * time/timespec_get.c: New file.
67740 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67741 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67742
67743 [BZ #13531]
67744 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67745 * stdlib/stdlib.h: Declare aligned_alloc.
67746 * Versions.def: Add GLIBC_2.16 for libc.
67747 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67748
67749 [BZ 13527]
67750 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67751 ISO C11.
67752
67753 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67754 code.
67755
67756 [BZ #13528]
67757 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67758
67759 [BZ #13529]
67760 * assert/assert.h (static_assert): Define.
67761
67762 * version.h: Update for 2.16 development version.
67763
67764 [BZ #13526]
67765 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67766 _ISOC11_SOURCE.
67767
67768 * version.h (RELEASE): Bump for 2.15 release.
67769 * include/features.h (__GLIBC_MINOR__): Bump to 15.
67770
67771 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67772 Patch by Marek Polacek <mpolacek@redhat.com>.
67773
67774 * bits/byteswap.h: Protect long long constants with __extension__.
67775 * sysdeps/i386/bits/byteswap.h: Likewise.
67776 * sysdeps/ia64/bits/byteswap.h: Likewise.
67777 * sysdeps/s390/bits/byteswap.h: Likewise.
67778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
67779
67780 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67781
67782 [BZ #13540]
67783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67784 destination buffer.
67785 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67786
67787 2011-12-23 Marek Polacek <polacek@redhat.com>
67788
67789 * elf/dl-addr.c (determine_info): Add inline keyword.
67790 * elf/tst-auditmod4b.c (check_avx): Likewise.
67791 * elf/tst-auditmod6b.c (check_avx): Likewise.
67792 * elf/tst-auditmod6c.c (check_avx): Likewise.
67793 * elf/tst-auditmod7b.c (check_avx): Likewise.
67794
67795 2011-12-23 Ulrich Drepper <drepper@gmail.com>
67796
67797 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67798 !__SSE_MATH__.
67799
67800 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67801
67802 [BZ #13540]
67803 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67804 processing for last bytes.
67805
67806 2011-08-06 Bruno Haible <bruno@clisp.org>
67807
67808 [BZ #13061]
67809 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67810 U+0385, not to U+1FEE.
67811
67812 [BZ #13062]
67813 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67814 entry for U+00A5 U+0301.
67815
67816 2011-12-22 Ulrich Drepper <drepper@gmail.com>
67817
67818 [BZ #13166]
67819 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67820 buffer for the output is too small.
67821
67822 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67823 optimization.
67824
67825 [BZ #13185]
67826 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67827 SSE flags if possible.
67828
67829 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67830
67831 [BZ #13540]
67832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67833 processing for last bytes.
67834
67835 2011-12-22 Joseph Myers <joseph@codesourcery.com>
67836
67837 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67838 (syscall-list-default-options, syscall-list-default-condition)
67839 (syscall-list-includes): Define.
67840 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67841 list of ABIs and options and #if conditions for each ABI. Do not
67842 handle common syscalls between ABIs specially.
67843 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67844 Remove.
67845 (syscall-list-variants, syscall-list-32bit-options)
67846 (syscall-list-32bit-condition, syscall-list-64bit-options)
67847 (syscall-list-64bit-condition): Define.
67848 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67849 (syscall-list-variants, syscall-list-32bit-options)
67850 (syscall-list-32bit-condition, syscall-list-64bit-options)
67851 (syscall-list-64bit-condition): Define.
67852 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67853 Remove.
67854 (syscall-list-variants, syscall-list-32bit-options)
67855 (syscall-list-32bit-condition, syscall-list-64bit-options)
67856 (syscall-list-64bit-condition): Define.
67857 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67858 Remove.
67859 (syscall-list-variants, syscall-list-32bit-options)
67860 (syscall-list-32bit-condition, syscall-list-64bit-options)
67861 (syscall-list-64bit-condition): Define.
67862
67863 2011-12-22 Ulrich Drepper <drepper@gmail.com>
67864
67865 * locale/iso-639.def: Add brx entry.
67866
67867 [BZ #13328]
67868 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67869 Proposed by Mariusz_Cukr <marcukr@op.pl>.
67870
67871 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67872 __feraiseexcept_renamed.
67873
67874 2011-12-21 Ulrich Drepper <drepper@gmail.com>
67875
67876 [BZ #13538]
67877 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67878 EPOLLET with unsigned values.
67879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67880 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67881
67882 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67883 to large cancellation.
67884 * math/s_cacoshf.c: Likewise.
67885 * math/s_cacoshl.c: Likewise.
67886
67887 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
67888
67889 [BZ #13305]
67890 [BZ #12786]
67891 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67892 * math/s_cacoshf.c: Likewise.
67893 * math/s_cacoshl.c: Likewise.
67894
67895 2011-12-21 Ulrich Drepper <drepper@gmail.com>
67896
67897 [BZ #13439]
67898 * iconv/gconv.h: Define __GCONV_SWAP.
67899 * iconvdata/unicode.c: The swap bit must be stored in __flags.
67900 * iconvdata/utf-16.c: Likewise.
67901 * iconvdata/utf-32.c: Likewise.
67902
67903 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
67904
67905 [BZ #13524]
67906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67907 numerator after shifting it by one limb.
67908
67909 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
67910
67911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67912 under [__USE_EXTERN_INLINES].
67913
67914 2011-12-17 Ulrich Drepper <drepper@gmail.com>
67915
67916 [BZ #13446]
67917 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67918
67919 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67920
67921 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67922 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67923 optimized code.
67924 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67925 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67926 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67927 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67928 for strncasecmp/strncasecmp_l compilation.
67929 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67930 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67931
67932 2011-12-08 Marek Polacek <mpolacek@redhat.com>
67933
67934 [BZ #13484]
67935 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67936 of __asm__.
67937
67938 2011-12-17 Ulrich Drepper <drepper@gmail.com>
67939
67940 [BZ #13506]
67941 * time/tzfile.c (__tzfile_read): Check values from file header.
67942
67943 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67944
67945 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67946 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67947 * powerpc/powerpc32/dl-start.S: Likewise.
67948 * powerpc/powerpc32/elf/start.S: Likewise.
67949 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67950 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67951 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67952 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67953 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67954 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67955 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67956 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67957 * powerpc/powerpc32/fpu/s_round.S: Likewise.
67958 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67959 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67960 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67961 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67962 * powerpc/powerpc32/memset.S: Likewise.
67963 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67964 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67965 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67966 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67967 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67968 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67969 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67970 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67971 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67972 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67973 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67974 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67975 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67976
67977 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67978
67979 * math/libm-test.inc: Added more nearbyint tests.
67980 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67984
67985 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
67986
67987 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67988 FD_CLOEXEC.
67989
67990 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67991
67992 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67993 Add wcscpy-ssse3 wcscpy-c.
67994 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67995 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67996 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67997 * sysdeps/x86_64/wcschr.S: New file.
67998 * sysdeps/x86_64/wcsrchr.S: New file.
67999 * string/test-strcmp.c: Remove checking of wcscmp function for
68000 wrong alignments.
68001 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68002 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68003 wcsrchr-sse2 wcsrchr-c.
68004 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68005 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68006 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68007 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68008 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68009 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68010 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68011 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68012 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68013 * wcsmbc/wcschr.c (WCSCHR): New macro.
68014
68015 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68016
68017 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68018 * wcsmbs/test-wcsrchr.c: New file.
68019 * string/test-strrchr.c: Add wcsrchr support.
68020 (WIDE): New macro.
68021 * wcsmbs/test-wcscpy.c: New file.
68022 * string/test-strcpy.c: Add wcscpy support.
68023 (WIDE): New macro.
68024
68025 2011-12-10 Ulrich Drepper <drepper@gmail.com>
68026
68027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68028 the inner loop.
68029
68030 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
68031
68032 [BZ #13472]
68033 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68034
68035 2011-12-04 Ulrich Drepper <drepper@gmail.com>
68036
68037 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68038 Minor optimizations.
68039
68040 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68041 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68042 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68043
68044 2011-12-03 Ulrich Drepper <drepper@gmail.com>
68045
68046 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68047 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68048 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68049 for gcc to avoid warnings.
68050 * inet/Makefile (tests): Add tst-checks.
68051 * inet/tst-checks.c: New file.
68052
68053 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68054 warning.
68055
68056 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68057 __wmemcmp_sse2.
68058
68059 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68060 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68061
68062 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68063
68064 2011-12-02 Ulrich Drepper <drepper@gmail.com>
68065
68066 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68067 problem.
68068
68069 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68070
68071 2011-11-29 Joseph Myers <joseph@codesourcery.com>
68072
68073 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68074 conditional on GCC version.
68075 (__arch_compare_and_exchange_val_8_acq)
68076 (__arch_compare_and_exchange_val_16_acq)
68077 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68078 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68079 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68080
68081 2011-12-02 Joseph Myers <joseph@codesourcery.com>
68082
68083 * sysdeps/sh/backtrace.c: New file.
68084
68085 2011-12-02 Andreas Schwab <schwab@redhat.com>
68086
68087 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
68088 parenthesis.
68089
68090 2011-12-01 Andreas Schwab <schwab@redhat.com>
68091
68092 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68093 falling back to utime.
68094
68095 2011-11-30 Andreas Schwab <schwab@redhat.com>
68096
68097 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68098 expectations for float.
68099
68100 2011-11-29 Andreas Schwab <schwab@redhat.com>
68101
68102 * locale/weight.h (findidx): Add parameter len.
68103 * locale/weightwc.h (findidx): Likewise.
68104 * posix/fnmatch_loop.c (FCT): Adjust caller.
68105 * posix/regcomp.c (build_equiv_class): Likewise.
68106 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68107 * posix/regexec.c (check_node_accept_bytes): Likewise.
68108 * string/strcoll_l.c (STRCOLL): Likewise.
68109 * string/strxfrm_l.c (STRXFRM): Likewise.
68110
68111 2011-11-17 Ulrich Drepper <drepper@gmail.com>
68112
68113 * Makefile.in: Remove CVSOPT handling.
68114 * configure.in: Remove use of AC_REVISION.
68115 * iconvdata/Makefile (distribute): No need to filter out CVS.
68116 * scripts/list-sources.sh: Remove CVS, subversion and monotone
68117 handling.
68118
68119 2011-11-16 Andreas Schwab <schwab@redhat.com>
68120
68121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68122 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68123 [USE_AS_STRNCASECMP_L]: Likewise.
68124 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68125 NO_TLS_DIRECT_SEG_REFS.
68126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68127 Fix argument offsets for non-PIC.
68128 [USE_AS_STRNCASECMP_L]: Likewise.
68129 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68130 NO_TLS_DIRECT_SEG_REFS.
68131
68132 2011-11-15 Ulrich Drepper <drepper@gmail.com>
68133
68134 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68135 O_CLOEXEC.
68136 * locale/loadlocale.c (_nl_load_locale): Likewise.
68137
68138 2011-11-15 Andreas Schwab <schwab@redhat.com>
68139
68140 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68141 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68142 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68143 (SYSCALL_GETTIME): Set errno on error.
68144
68145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68146 count references to noai6ai_cached.
68147
68148 2011-11-15 Ulrich Drepper <drepper@gmail.com>
68149
68150 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68151
68152 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68153 FD_CLOEXEC for /proc/self/maps.
68154
68155 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68156 FD_CLOEXEC for /proc/meminfo.
68157
68158 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68159 gai.conf.
68160
68161 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
68162 FD_CLOEXEC for given file.
68163
68164 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68165
68166 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68167 FD_CLOEXEC for /etc/hosts.
68168 (_gethtent): Likewise.
68169
68170 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68171
68172 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68173 cancellation and set FD_CLOEXEC for /etc/netgroup.
68174
68175 * nss/nss_files/files-key.c (search): Don't allow cancellation when
68176 reading /etc/publickey.
68177
68178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68179 allow cancellation when reading /etc/group.
68180
68181 * nss/nss_files/files-alias.c (internal_setent): Don't allow
68182 cancellation.
68183 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
68184
68185 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68186 when using data file.
68187
68188 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68189
68190 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68191 (write_nis_obj): Use "c" and "e" in fopen.
68192
68193 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68194
68195 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68196
68197 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68198
68199 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68200
68201 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68202 locale.alias.
68203
68204 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68205
68206 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68207
68208 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68209
68210 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68211 file parsing and set FD_CLOEXEC.
68212
68213 2011-11-14 Ulrich Drepper <drepper@gmail.com>
68214
68215 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68216
68217 2011-11-14 Andreas Schwab <schwab@redhat.com>
68218
68219 * malloc/arena.c (arena_get2): Don't call reused_arena when
68220 _int_new_arena failed.
68221
68222 2011-11-14 Ulrich Drepper <drepper@gmail.com>
68223
68224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68225 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68226 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68230 to compile strcasecmp and strncasecmp.
68231 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68232 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68233
68234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68235
68236 2011-11-13 Ulrich Drepper <drepper@gmail.com>
68237
68238 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68239 locale-defines.sym to gen-as-const-headers.
68240 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68241 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68243 to compile strcasecmp and strncasecmp.
68244 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68245 strcasecmp_l and strncasecmp_l.
68246 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68247 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68248 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68249 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68250 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68251 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68252 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68253 * sysdeps/i386/i686/multiarch/strncase.S: New file.
68254 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68255 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68256 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68257
68258 2011-11-12 Ulrich Drepper <drepper@gmail.com>
68259
68260 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68261 result of SYSDEP_GETTIME_CPU to retval.
68262 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68263 parameter list to macro. Remove trailing semicolon. Adjust users.
68264
68265 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68266 variable.
68267
68268 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68269 mantissa words.
68270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68271
68272 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68273 from unused variable.
68274
68275 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68276 DWARF definitions.
68277 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68278 for assembling.
68279
68280 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68281 over namespaces.
68282
68283 * sunrpc/rpc_prot.c (rejected): Fix case value.
68284
68285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68286 unsigned long long int to avoid warnings in shift.
68287
68288 * posix/regex_internal.c (re_string_reconstruct): Actually use result
68289 of use of trans.
68290 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68291 variable tmp.
68292
68293 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68294 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68295 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68296
68297 * nis/nis_table.c (nis_list): Use variable of correct type for
68298 result of __follow_path call.
68299
68300 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68301
68302 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68303 of math functions ceil, trunc, floor, round, and sqrt, when
68304 avaliable on the platform.
68305 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68306 name clash.
68307 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68308 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68309 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68310
68311 2011-10-30 Marek Polacek <mpolacek@redhat.com>
68312
68313 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68314 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68315
68316 2011-11-11 Roland McGrath <roland@hack.frob.com>
68317
68318 * include/unistd.h: Fix __readlink return type.
68319 Reported by Chris Metcalf <cmetcalf@tilera.com>.
68320
68321 2011-11-11 Ulrich Drepper <drepper@gmail.com>
68322
68323 * stdlib/ucontext.h: Undo last change for makecontext.
68324
68325 2011-11-11 Andreas Schwab <schwab@redhat.com>
68326
68327 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68328
68329 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68330 * setjmp/setjmp.h: Mark functions as non-leaf.
68331 * setjmp/bits/setjmp2.h: Likewise.
68332 * stdlib/ucontext.h: Likewise.
68333
68334 2011-11-10 Andreas Schwab <schwab@redhat.com>
68335
68336 * malloc/arena.c (_int_new_arena): Don't increment narenas.
68337 (reused_arena): Don't check arena limit.
68338 (arena_get2): Atomically check arena limit.
68339
68340 2011-11-08 Ulrich Drepper <drepper@gmail.com>
68341
68342 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68343 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68344
68345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68346 instructions.
68347
68348 2011-11-07 Andreas Schwab <schwab@redhat.com>
68349
68350 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68351 handler when locking.
68352
68353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68354 Fix size of allocated buffer.
68355
68356 2011-11-04 Andreas Schwab <schwab@redhat.com>
68357
68358 [BZ #10103]
68359 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68360 declarations for long double functions.
68361 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68362
68363 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68364
68365 2011-11-03 Andreas Schwab <schwab@redhat.com>
68366
68367 * nscd/nscd.c (main): Don't start AVC thread until credentials are
68368 installed.
68369
68370 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68371 is disabled.
68372
68373 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
68374
68375 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68376
68377 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
68378
68379 * include/alloca.h (stackinfo_alloca_round): Define.
68380 (extend_alloca): Use it.
68381 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68382 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68383 here.
68384
68385 * scripts/check-local-headers.sh: Ignore libaudit.h.
68386
68387 * nscd/Makefile (extra-objs): Make recursively expanded.
68388
68389 2011-11-01 Ulrich Drepper <drepper@gmail.com>
68390
68391 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68392 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68393
68394 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68395 * posix/tst-rfc3484-2.c: Likewise.
68396 * posix/tst-rfc3484-3.c: Likewise.
68397
68398 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68399 process_vm_writev.
68400 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68401 process_vm_writev.
68402 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68403 process_vm_writev from libc using GLIBC_2.15 version.
68404
68405 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68406
68407 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
68408
68409 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68410 stack usage.
68411
68412 2011-10-31 Ulrich Drepper <drepper@gmail.com>
68413
68414 [BZ #13367]
68415 * nss/getent.c (initgroups_keys): Show error message in case no group
68416 names are given.
68417
68418 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68419 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68420 __bump_nl_timestamp.
68421 * nscd/connections (nscd_init): When host database is served open
68422 netlink socket and request notification about configuration changes.
68423 (main_loop_poll): Track netlink file descriptor and bump timestamp
68424 in case data becomes available.
68425 (main_loop_epoll): Likewise.
68426 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68427 (database_pers_head): Add extra_data fileds.
68428 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68429 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68430 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68431 Adjust caller.
68432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68433 in6ai data, call __free_in6ai.
68434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68435 Add -DHAVE_NETLINK.
68436 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
68437 interface information. Reuse previous data if netlink timestamp
68438 is not changed.
68439 (__bump_nl_timestamp): New function.
68440 (__free_in6ai): New function.
68441
68442 2011-10-30 Ulrich Drepper <drepper@gmail.com>
68443
68444 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68445 close_not_cancel_no_status here.
68446 (__check_pf): Reorganize code a bit to not call close twice if OOM.
68447
68448 2011-10-29 Ulrich Drepper <drepper@gmail.com>
68449
68450 [BZ #13276]
68451 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68452 return value.
68453
68454 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68455 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68456 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68457
68458 2011-07-03 Andreas Jaeger <aj@suse.de>
68459
68460 [BZ #10709]
68461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68462 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68463 * math/libm-test.inc (sin_test): Add test case.
68464
68465 2011-10-29 Ulrich Drepper <drepper@gmail.com>
68466
68467 [BZ #13337]
68468 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68469 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68470
68471 * elf/chroot_canon.c (chroot_canon): Cleanups.
68472
68473 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68474
68475 [BZ #13335]
68476 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68478
68479 * string/test-strchr.c: Make usable for strchrnul testing.
68480 * string/test-strchrnul.c: New file.
68481 * string/Makefile (strop-tests): Add strchrnul.
68482
68483 * po/it.po: Update from translation team.
68484 * po/es.po: Likewise.
68485
68486 2011-10-28 Ulrich Drepper <drepper@gmail.com>
68487
68488 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68489 the three constants needed as parameters. Drop the others.
68490 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68491 __m128i_strloadu_tolower.
68492 Create and initialize variable zero and use it in all the places
68493 where _mm_setzero_si128 was used.
68494
68495 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68496 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68497 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68499 anymore.
68500 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68501 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68502 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68503 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68504 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68505 __mpranred, __mptan.
68506 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68507 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68508 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68509 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68510 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68511 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68513 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68514 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68515
68516 2011-10-28 Andreas Schwab <schwab@redhat.com>
68517
68518 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68519 redefine if SHARED.
68520 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68521
68522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68523 wide char related routines to wcsmbs subdir.
68524
68525 2011-10-27 Andreas Schwab <schwab@redhat.com>
68526
68527 [BZ #13344]
68528 * misc/sys/cdefs.h (__THROWNL): Define.
68529 * posix/unistd.h: Use __THREADNL instead of __THREAD
68530 for memory synchronization functions.
68531
68532 2011-10-26 Roland McGrath <roland@hack.frob.com>
68533
68534 [BZ #13349]
68535 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68536 doesn't exist.
68537 * manual/stdio.texi (Obstack Streams): Node removed.
68538
68539 2011-10-26 Andreas Schwab <schwab@redhat.com>
68540
68541 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68543 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68544
68545 * math/math_private.h (math_force_eval): Allow non-addressable
68546 arguments.
68547 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68548
68549 2011-10-25 Ulrich Drepper <drepper@gmail.com>
68550
68551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68552 file is not needed.
68553
68554 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68556 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68557 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68561 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68562 Add AVX variants.
68563 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68564 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68565 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68566 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68567 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68568 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68569 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68570 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68571 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68572 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68573 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68574 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68576 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68577 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68578 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68579 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68580 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68581 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68582
68583 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68584 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
68585
68586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68587 place. Use VEX encoding when compiling for AVX.
68588
68589 2011-10-25 Andreas Schwab <schwab@redhat.com>
68590
68591 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68592 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68593
68594 * string/test-strchr.c (do_test): Don't generate NUL bytes.
68595
68596 2011-10-25 Ulrich Drepper <drepper@gmail.com>
68597
68598 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68599 useless if() expression.
68600 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68601 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68610 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68611 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68612 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68613 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68614 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68617 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68619
68620 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68621
68622 2011-10-25 Andreas Schwab <schwab@redhat.com>
68623
68624 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68625 condition.
68626 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68627
68628 2011-10-25 Ulrich Drepper <drepper@gmail.com>
68629
68630 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68631 .text section. Avoid duplicate constants.
68632 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68640 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68641 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68642 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68643 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68644 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68645 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68646 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68648 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68649 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68650 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68652 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68653 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68654 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68655 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68656 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68657 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68658 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68659 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68661 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68662 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68663 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68664 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68665 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68666 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68667 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68668 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68670 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68671 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68672 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68673 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68677
68678 2011-10-24 Ulrich Drepper <drepper@gmail.com>
68679
68680 * sysdeps/x86_64/dla.h: Move to ...
68681 * sysdeps/x86_64/fpu/dla.h: ...here.
68682 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68683 situations. Use __builtin_fma only for gcc 4.6 and up.
68684
68685 * config.make.in: Add have-mfma4 entry.
68686 * configure.in: Substitute libc_cv_cc_fma4.
68687 * math/Makefile (dbl-only-routines): Add sincostab.
68688 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68689 Use __sincostab not sincos.
68690 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68691 name is a macro.
68692 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
68696 using __copysign.
68697 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
68698 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
68699 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68700 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68701 and __inv.
68702 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68703 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68704 __copysign.
68705 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
68706 define aliases when function name is a macro.
68707 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68708 sysdeps/ieee754/dbl-64/sincos.tbl.
68709 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68710 fma4-enabled routines.
68711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68712 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68713 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68714 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68716 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68719 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68720 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68721 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68722 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68723 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68724 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68726 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68727 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68728 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68731 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68738 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68739 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68740 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68741
68742 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68743 rename.
68744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68752
68753 2011-10-24 Andreas Schwab <schwab@redhat.com>
68754
68755 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68756
68757 2011-10-23 Ulrich Drepper <drepper@gmail.com>
68758
68759 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68760
68761 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68762 prediction.
68763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68764
68765 * string/strnlen.c: Don't define STRNLEN, reverse logic.
68766 Remove unused variable magic_bits.
68767 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68768
68769 * string/strnlen.c: Define and use STRNLEN macro.
68770 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68771 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68773 * wcsmbs/wcslen.c: Define and use WCSLEN.
68774 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68775 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68776 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68777 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68778 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68779 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68780 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68781
68782 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68783
68784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68785 strnlen-sse2-no-bsf.
68786 Rename strlen-no-bsf to strlen-sse2-no-bsf.
68787 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68788 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68789 Add strnlen support.
68790 (USE_AS_STRNLEN): New macro.
68791 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68792 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68793 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68794 * sysdeps/x86_64/wcslen.S: New file.
68795
68796 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
68797
68798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68799 XMM-moves are used for copying on small sizes.
68800
68801 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68802
68803 * wcsmbs/Makefile (strop-tests): Add wcschr.
68804 * wcsmbs/test-wcschr.c: New file.
68805 * string/test-strchr.c: Update.
68806 Add wcschr support.
68807 (WIDE): New macro.
68808
68809 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68810
68811 * wcsmbs/Makefile (strop-tests): Add wcslen.
68812 * wcsmbs/test-wcslen.c: New file.
68813 * string/test-strlen.c: Update.
68814 Add wcslen support.
68815 (WIDE): New macro.
68816
68817 2011-10-23 Ulrich Drepper <drepper@gmail.com>
68818
68819 * po/it.po: Update from translation team.
68820
68821 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68822
68823 * sysdeps/x86_64/wcscmp.S: Update.
68824 Fix wrong comparison semantics.
68825 wcscmp shall use signed comparison not unsigned.
68826 Don't use substraction to avoid overflow bug.
68827 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68828 * wcsmbc/wcscmp.c: Likewise.
68829 * string/test-strcmp.c: Likewise.
68830 Add new tests to check cases with negative values.
68831
68832 2011-10-23 Ulrich Drepper <drepper@gmail.com>
68833
68834 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68835 * sysdeps/x86_64/dla.h: ...here. New file.
68836 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68845
68846 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
68847
68848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68849 __ynl_finite aliases.
68850
68851 2011-10-22 Ulrich Drepper <drepper@gmail.com>
68852
68853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68854
68855 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68856 define DLA_FMA.
68857 [DLA_FMA] (EMULV): Use DLA_FMA.
68858 [DLA_FMA] (MUL12): Use EMULV.
68859 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68860 that are not needed.
68861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68866 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68868
68869 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
68870
68871 * math/s_nan.c: Undef __nan.
68872 * math/s_nanf.c: Undef __nanf.
68873 * math/s_nanl.c: Undef __nanl.
68874 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68875 "math_private.h".
68876
68877 2011-10-22 Ulrich Drepper <drepper@gmail.com>
68878
68879 * math/s_catan.c: Add branch predictions.
68880 * math/s_catanf.c: Likewise.
68881 * math/s_catanh.c: Likewise.
68882 * math/s_catanhf.c: Likewise.
68883 * math/s_catanhl.c: Likewise.
68884 * math/s_catanl.c: Likewise.
68885 * math/s_cexp.c: Likewise.
68886 * math/s_cexpf.c: Likewise.
68887 * math/s_cexpl.c: Likewise.
68888 * math/s_clog.c: Likewise.
68889 * math/s_clog10.c: Likewise.
68890 * math/s_clog10f.c: Likewise.
68891 * math/s_clog10l.c: Likewise.
68892 * math/s_clogf.c: Likewise.
68893 * math/s_clogl.c: Likewise.
68894 * math/s_csqrt.c: Likewise.
68895 * math/s_csqrtf.c: Likewise.
68896 * math/s_csqrtl.c: Likewise.
68897 * math/s_ctanf.c: Likewise.
68898 * math/s_ctanh.c: Likewise.
68899 * math/s_ctanhf.c: Likewise.
68900 * math/s_ctanhl.c: Likewise.
68901 * math/s_ctanl.c: Likewise.
68902
68903 * math/math_private.h: Define __nan, __nanf, __nanl.
68904 * math/s_cacosh.c: Include <math_private.h>.
68905 * math/s_cacoshl.c: Likewise.
68906 * math/s_casinh.c: Likewise.
68907 * math/s_casinhf.c: Likewise.
68908 * math/s_casinhl.c: Likewise.
68909 * math/s_ccos.c: Rely entire on ccosh.
68910 * math/s_ccosf.c: Rely entire on ccoshf.
68911 * math/s_ccosl.c: Rely entirely on ccoshl.
68912 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
68913 Remove tests for FE_INVALID.
68914 * math/s_ccoshf.c: Likewise.
68915 * math/s_ccoshl.c: Likewise.
68916 * math/s_csin.c: Likewise.
68917 * math/s_csinf.c: Likewise.
68918 * math/s_csinh.c Likewise.
68919 * math/s_csinhf.c: Likewise.
68920 * math/s_csinhl.c: Likewise.
68921 * math/s_csinl.c: Likewise.
68922 * math/s_ctan.c: Likewise.
68923 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68924 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68926
68927 2011-10-21 Ulrich Drepper <drepper@gmail.com>
68928
68929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68930 compilation problems.
68931
68932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68933 __builtin_expect.
68934
68935 2011-10-20 Ulrich Drepper <drepper@gmail.com>
68936
68937 * sysdeps/i386/configure.in: Test for -mfma4 option.
68938 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68939 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68940 COMMON_CPUID_INDEX_80000001.
68941 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68942 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68943 use it if FMA3 is not supported.
68944 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68945
68946 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68947 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68948
68949 2011-10-20 Andreas Schwab <schwab@redhat.com>
68950
68951 [BZ #12892]
68952 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68953 it would create a cycle with a link time dependency.
68954
68955 2011-10-19 Ulrich Drepper <drepper@gmail.com>
68956
68957 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68958 instruction.
68959 * string/Makefile (strop-tests): Add rawmemchr.
68960 * string/test-rawmemchr.c: New file.
68961
68962 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
68964 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
68965 when compiling str{,n}casecmp and when AVX is available. Hook up
68966 new optimized code in initializers.
68967
68968 2011-10-19 Andreas Schwab <schwab@redhat.com>
68969
68970 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68971 __feraiseexcept instead of feraiseexcept.
68972
68973 2011-10-18 Ulrich Drepper <drepper@gmail.com>
68974
68975 * math/math_private.h: Define defaults for libc_fetestexcept and
68976 libc_feupdateenv.
68977 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68978 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68979 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68980 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68981 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68982 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68983 libc_fetestexcept and libc_feupdateenv.
68984
68985 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68986 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68987 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68988 * sysdeps/x86_64/fpu/math_private.h: Define special version of
68989 libc_feholdexcept_setround.
68990
68991 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68992 Add s_nearbyint-c and s_nearbyintf-c.
68993 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68994 nearbyintf inlines.
68995 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68997 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68999
69000 * math/math_private.h: Define defaults for libc_fegetround,
69001 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69002 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69003 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69004 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69005 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69006 standard functions.
69007 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69008 Remove comments and hacks for old compiler versions.
69009 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69010 libc_fegetround, libc_fesetround, libc_feholdexcept, and
69011 libc_feholdexceptl.
69012
69013 2011-10-18 Andreas Schwab <schwab@redhat.com>
69014
69015 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69016 (__feraiseexcept_renamed): Add __NTH.
69017 (feraiseexcept): Add __NTH. Rename local variables to fix
69018 namespace violations.
69019
69020 2011-10-17 Ulrich Drepper <drepper@gmail.com>
69021
69022 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69023
69024 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69025
69026 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69027 recently added interfaces.
69028 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69029
69030 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69031 about macro parameter expansion.
69032
69033 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69034 __NO_MATH_INLINES is defined. Cleanups.
69035
69036 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69037 and __floorf is target has SSE4.1.
69038 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69039 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69040 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69041 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69042
69043 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69044 name.
69045 (floorf): Likewise.
69046
69047 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69048
69049 2011-10-17 Andreas Schwab <schwab@redhat.com>
69050
69051 * misc/sys/cdefs.h: Fix last change.
69052
69053 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69054 database lookup.
69055
69056 2011-10-16 Ulrich Drepper <drepper@gmail.com>
69057
69058 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69059
69060 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69061 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69063 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69065 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69066 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69067 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69068 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69069 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69070 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69071 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69072 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69073 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69074 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69075 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69076 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69077 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69078 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69079 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69080 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69081 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69082
69083 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69084 ceil, ceilf, floor, floorf.
69085
69086 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69087 Perform IRELATIVE relocations last.
69088
69089 * elf/do-rel.h: Add another parameter nrelative, replacing the
69090 local variable with the same name. Change name of the function
69091 to end in Rel or Rela (uppercase).
69092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69093 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
69094 elf_dynamic_do_##reloc function.
69095
69096 2011-10-15 Ulrich Drepper <drepper@gmail.com>
69097
69098 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69099 is sufficient, at least on modern CPUs.
69100
69101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69102
69103 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69105
69106 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69107 __expl_finite.
69108 * math/bits/math-finite.h: Add entries for exp.
69109 * math/e_expl.c: Add __*_finite alias.
69110 * sysdeps/i386/fpu/e_exp.S: Likewise.
69111 * sysdeps/i386/fpu/e_expf.S: Likewise.
69112 * sysdeps/i386/fpu/e_expl.c: Likewise.
69113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69114 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69117 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69118 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69119 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69120
69121 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69122 is sufficient, at least on modern CPUs.
69123
69124 * ctype/ctype-info.c (__ctype_init): Define.
69125 * include/ctype.h (__ctype_init): Declare.
69126 (__ctype_b_loc): The variable is always initialized.
69127 (__ctype_toupper_loc): Likewise.
69128 (__ctype_tolower_loc): Likewise.
69129 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69130 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69131
69132 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
69133
69134 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69135
69136 * configure.in: Also look in $cxxmachine/include for C++ system
69137 headers.
69138
69139 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69140
69141 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69142 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69143 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69144 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
69145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69146 (USE_AS_WMEMCMP): New macro.
69147 Fixing indents.
69148 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69149 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69150 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69151 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69153 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69154 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69155 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69156 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69157 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69158 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69159 (USE_AS_WMEMCMP): New macro.
69160 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69161 * sysdeps/string/test-memcmp.c: Update.
69162 Fix simple_wmemcmp.
69163 Add new tests.
69164 * wcsmbs/wmemcmp.c: Update.
69165 (WMEMCMP): New macro.
69166 Fix overflow bug.
69167
69168 2011-10-12 Andreas Jaeger <aj@suse.de>
69169
69170 [BZ #13268]
69171 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69172
69173 2011-10-15 Ulrich Drepper <drepper@gmail.com>
69174
69175 * libio/iofwide.c (do_length): Avoid warning.
69176
69177 * ctype/ctype.h (__isctype_f): Add missing __THROW.
69178
69179 2011-10-14 Ulrich Drepper <drepper@gmail.com>
69180
69181 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69182
69183 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69184 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69185 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69186 * sysdeps/i386/i686/fpu/e_log.S: New file.
69187 * sysdeps/i386/i686/fpu/e_logf.S: New file.
69188 * sysdeps/i386/i686/fpu/e_logl.S: New file.
69189
69190 * ctype/ctype.h: Add support for inlined isXXX functions when
69191 compiling C++ code.
69192
69193 2011-10-14 Andreas Schwab <schwab@redhat.com>
69194
69195 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69196
69197 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69198
69199 2011-10-13 Roland McGrath <roland@hack.frob.com>
69200
69201 [BZ #13291]
69202 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69203
69204 2011-10-13 Andreas Schwab <schwab@redhat.com>
69205
69206 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69207 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69208 feraiseexcept.
69209
69210 * sysdeps/x86_64/memrchr.S: Check for zero size.
69211
69212 * string/stratcliff.c: Add memrchr tests.
69213
69214 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69215
69216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69217 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69218 rawmemchr-sse2 rawmemchr-sse2-bsf.
69219 * sysdeps/i386/i686/multiarch/memchr.S: New file.
69220 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69221 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69222 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69223 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69224 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69225 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69226 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69227 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69229 * string/memrchr.c (MEMRCHR): New macro.
69230
69231 2011-10-12 Ulrich Drepper <drepper@gmail.com>
69232
69233 Add integration with gcc's -ffinite-math-only and optimize wrapper
69234 functions in libm.
69235 * Versions.def: Define GLIBC_2.15 version for libm.
69236 * math/Makefile (headers): Add bits/math-finite.h.
69237 * math/bits/math-finite.h: New file.
69238 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69239 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69240 * math/e_acoshl.c: Add __*_finite alias.
69241 * math/e_acosl.c: Likewise.
69242 * math/e_asinl.c: Likewise.
69243 * math/e_atan2l.c: Likewise.
69244 * math/e_atanhl.c: Likewise.
69245 * math/e_coshl.c: Likewise.
69246 * math/e_exp10.c: Likewise.
69247 * math/e_exp10f.c: Likewise.
69248 * math/e_exp10l.c: Likewise.
69249 * math/e_exp2l.c: Likewise.
69250 * math/e_fmodl.c: Likewise.
69251 * math/e_gammal_r.c: Likewise.
69252 * math/e_hypotl.c: Likewise.
69253 * math/e_j0l.c: Likewise.
69254 * math/e_j1l.c: Likewise.
69255 * math/e_jnl.c: Likewise.
69256 * math/e_lgammal_r.c: Likewise.
69257 * math/e_log10l.c: Likewise.
69258 * math/e_log2l.c: Likewise.
69259 * math/e_logl.c: Likewise.
69260 * math/e_powl.c: Likewise.
69261 * math/e_sinhl.c: Likewise.
69262 * math/e_sqrtl.c: Likewise.
69263 * math/e_scalb.c: Completely rewritten and optimized.
69264 * math/e_scalbf.c: Likewise.
69265 * math/e_scalbl.c: Likewise.
69266 * math/w_acos.c: Likewise.
69267 * math/w_acosf.c: Likewise.
69268 * math/w_acosl.c: Likewise.
69269 * math/w_acosh.c: Likewise.
69270 * math/w_acoshf.c: Likewise.
69271 * math/w_acoshl.c: Likewise.
69272 * math/w_asin.c: Likewise.
69273 * math/w_asinf.c: Likewise.
69274 * math/w_asinl.c: Likewise.
69275 * math/w_atan2.c: Likewise.
69276 * math/w_atan2f.c: Likewise.
69277 * math/w_atan2l.c: Likewise.
69278 * math/w_atanh.c: Likewise.
69279 * math/w_atanhf.c: Likewise.
69280 * math/w_atanhl.c: Likewise.
69281 * math/w_exp10.c: Likewise.
69282 * math/w_exp10f.c: Likewise.
69283 * math/w_exp10l.c: Likewise.
69284 * math/w_fmod.c: Likewise.
69285 * math/w_fmodf.c: Likewise.
69286 * math/w_fmodl.c: Likewise.
69287 * math/w_j0.c: Likewise.
69288 * math/w_j0f.c: Likewise.
69289 * math/w_j0l.c: Likewise.
69290 * math/w_j1.c: Likewise.
69291 * math/w_j1f.c: Likewise.
69292 * math/w_j1l.c: Likewise.
69293 * math/w_jn.c: Likewise.
69294 * math/w_jnf.c: Likewise.
69295 * math/w_log.c: Likewise.
69296 * math/w_logf.c: Likewise.
69297 * math/w_logl.c: Likewise.
69298 * math/w_log10.c: Likewise.
69299 * math/w_log10f.c: Likewise.
69300 * math/w_log10l.c: Likewise.
69301 * math/w_log2.c: Likewise.
69302 * math/w_log2f.c: Likewise.
69303 * math/w_log2l.c: Likewise.
69304 * math/w_pow.c: Likewise.
69305 * math/w_powf.c: Likewise.
69306 * math/w_powl.c: Likewise.
69307 * math/w_remainder.c: Likewise.
69308 * math/w_remainderf.c: Likewise.
69309 * math/w_remainderl.c: Likewise.
69310 * math/w_scalb.c: Likewise.
69311 * math/w_scalbf.c: Likewise.
69312 * math/w_scalbl.c: Likewise.
69313 * math/w_sqrt.c: Likewise.
69314 * math/w_sqrtf.c: Likewise.
69315 * math/w_sqrtl.c: Likewise.
69316 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69317 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
69318 used.
69319 * math/math_private.h: Declare __kernel_standard_f.
69320 * math/w_cosh.c: Remove cruft and optimize a bit.
69321 * math/w_coshf.c: Likewise.
69322 * math/w_coshl.c: Likewise.
69323 * math/w_exp2.c: Likewise.
69324 * math/w_exp2f.c: Likewise.
69325 * math/w_exp2l.c: Likewise.
69326 * math/w_hypot.c: Likewise.
69327 * math/w_hypotf.c: Likewise.
69328 * math/w_hypotl.c: Likewise.
69329 * math/w_lgamma.c: Likewise.
69330 * math/w_lgamma_r.c: Likewise.
69331 * math/w_lgammaf.c: Likewise.
69332 * math/w_lgammaf_r.c: Likewise.
69333 * math/w_lgammal.c: Likewise.
69334 * math/w_lgammal_r.c: Likewise.
69335 * math/w_sinh.c: Likewise.
69336 * math/w_sinhf.c: Likewise.
69337 * math/w_sinhl.c: Likewise.
69338 * math/w_tgamma.c: Likewise.
69339 * math/w_tgammaf.c: Likewise.
69340 * math/w_tgammal.c: Likewise.
69341 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69342 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69343 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69344 Minor optimizations. Pretty printing. Remove cruft.
69345 * sysdeps/i386/fpu/e_acosf.S: Likewise.
69346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
69347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69348 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69349 * sysdeps/i386/fpu/e_acosl.c: Likewise.
69350 * sysdeps/i386/fpu/e_asin.S: Likewise.
69351 * sysdeps/i386/fpu/e_asinf.S: Likewise.
69352 * sysdeps/i386/fpu/e_atan2.S: Likewise.
69353 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69354 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
69356 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69357 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69358 * sysdeps/i386/fpu/e_exp10.S: Likewise.
69359 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69360 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69361 * sysdeps/i386/fpu/e_exp2.S: Likewise.
69362 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69363 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69364 * sysdeps/i386/fpu/e_fmod.S: Likewise.
69365 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69366 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69367 * sysdeps/i386/fpu/e_hypot.S: Likewise.
69368 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69369 * sysdeps/i386/fpu/e_log.S: Likewise.
69370 * sysdeps/i386/fpu/e_log10.S: Likewise.
69371 * sysdeps/i386/fpu/e_log10f.S: Likewise.
69372 * sysdeps/i386/fpu/e_log10l.S: Likewise.
69373 * sysdeps/i386/fpu/e_log2.S: Likewise.
69374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
69375 * sysdeps/i386/fpu/e_log2l.S: Likewise.
69376 * sysdeps/i386/fpu/e_logf.S: Likewise.
69377 * sysdeps/i386/fpu/e_logl.S: Likewise.
69378 * sysdeps/i386/fpu/e_pow.S: Likewise.
69379 * sysdeps/i386/fpu/e_powf.S: Likewise.
69380 * sysdeps/i386/fpu/e_powl.S: Likewise.
69381 * sysdeps/i386/fpu/e_remainder.S: Likewise.
69382 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69383 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69384 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69385 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69386 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69387 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69388 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69389 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69390 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69393 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69394 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69395 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69396 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69397 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69400 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69401 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69403 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69404 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69406 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69407 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69410 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69415 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69416 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69418 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69419 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69420 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69421 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69422 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69423 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69424 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69425 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69426 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69427 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69432 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69433 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69434 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69435 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69436 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69437 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69438 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69439 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69440 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69441 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69445 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69446 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69447 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69448 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69449 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69450 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69451 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69454 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69455 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69456 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69457 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69460 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69461 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69462 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69464 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69467 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69469 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69471 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69473 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69474 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69475 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69476 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69477 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69478 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69479 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69480 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69483 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69487 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69488 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69489 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69490 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69491 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69492 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69493 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69495 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69497 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69498 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69500 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
69501 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69502 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69503 (__isnanf): Likewise.
69504 (__isinf_ns): Likewise.
69505 (__isinf_nsf): Likewise.
69506 (__finite): Likewise.
69507 (__finitef): Likewise.
69508 (__ieee754_sqrt): Define as macro.
69509 (__ieee754_sqrtf): Define as macro.
69510 (__ieee754_sqrtl): Define as macro.
69511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69512 inlined copy.
69513 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69514 __FINITE_MATH_ONLY__ consistent.
69515 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69516
69517 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
69518
69519 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69520 of rawmemchr.
69521
69522 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69523
69524 2011-10-09 Ulrich Drepper <drepper@gmail.com>
69525
69526 * po/ja.po: Update from translation team.
69527
69528 2011-10-08 Roland McGrath <roland@hack.frob.com>
69529
69530 * locale/programs/locarchive.c (prepare_address_space): New function.
69531 (create_archive, enlarge_archive, open_archive): Use it.
69532
69533 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69534 inside [SHARED], where it is used.
69535
69536 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69537
69538 * nss/getent.c (netgroup_keys): Remove unused variable.
69539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69540
69541 2011-10-08 Ulrich Drepper <drepper@gmail.com>
69542
69543 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69544 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69546 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69547 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69548 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69549 * math/Makefile (libm-calls): Add s_isinf_ns.
69550 * math/divtc3.c: Use __isinf_nsl instead of isinf.
69551 * math/multc3.c: Likewise.
69552 * math/s_casin.c: Likewise.
69553 * math/s_casinf.c: Likewise.
69554 * math/s_casinl.c: Likewise.
69555 * math/s_ccos.c: Likewise.
69556 * math/s_ccosf.c: Likewise.
69557 * math/s_ccosl.c: Likewise.
69558 * math/s_ctan.c: Likewise.
69559 * math/s_ctanf.c: Likewise.
69560 * math/s_ctanh.c: Likewise.
69561 * math/s_ctanhf.c: Likewise.
69562 * math/s_ctanhl.c: Likewise.
69563 * math/s_ctanl.c: Likewise.
69564 * math/w_fmod.c: Likewise.
69565 * math/w_fmodf.c: Likewise.
69566 * math/w_fmodl.c: Likewise.
69567 * math/w_remainder.c: Likewise.
69568 * math/w_remainderf.c: Likewise.
69569 * math/w_remainderl.c: Likewise.
69570 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69571 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69574 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69575 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69576 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69577 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69578
69579 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69580 of the number.
69581 * stdio-common/printf_fphex.c: Likewise.
69582 * stdio-common/printf_size.c: Likewise.
69583
69584 * math/e_exp10.c: Include math_private.h using <...> not "...".
69585 * math/e_exp10f.c: Likewise.
69586 * math/e_exp10l.c: Likewise.
69587 * math/e_exp2l.c: Likewise.
69588 * math/e_j0l.c: Likewise.
69589 * math/e_j1l.c: Likewise.
69590 * math/e_jnl.c: Likewise.
69591 * math/e_lgammal_r.c: Likewise.
69592 * math/e_rem_pio2l.c: Likewise.
69593 * math/e_scalb.c: Likewise.
69594 * math/e_scalbf.c: Likewise.
69595 * math/e_scalbl.c: Likewise.
69596 * math/k_cosl.c: Likewise.
69597 * math/k_sinl.c: Likewise.
69598 * math/k_tanl.c: Likewise.
69599 * math/s_cacoshf.c: Likewise.
69600 * math/s_catan.c: Likewise.
69601 * math/s_catanf.c: Likewise.
69602 * math/s_catanh.c: Likewise.
69603 * math/s_catanhf.c: Likewise.
69604 * math/s_catanhl.c: Likewise.
69605 * math/s_catanl.c: Likewise.
69606 * math/s_ccosh.c: Likewise.
69607 * math/s_ccoshf.c: Likewise.
69608 * math/s_ccoshl.c: Likewise.
69609 * math/s_cexp.c: Likewise.
69610 * math/s_cexpf.c: Likewise.
69611 * math/s_cexpl.c: Likewise.
69612 * math/s_clog.c: Likewise.
69613 * math/s_clog10.c: Likewise.
69614 * math/s_clog10f.c: Likewise.
69615 * math/s_clog10l.c: Likewise.
69616 * math/s_clogf.c: Likewise.
69617 * math/s_clogl.c: Likewise.
69618 * math/s_csin.c: Likewise.
69619 * math/s_csinf.c: Likewise.
69620 * math/s_csinh.c: Likewise.
69621 * math/s_csinhf.c: Likewise.
69622 * math/s_csinhl.c: Likewise.
69623 * math/s_csinl.c: Likewise.
69624 * math/s_csqrt.c: Likewise.
69625 * math/s_csqrtf.c: Likewise.
69626 * math/s_csqrtl.c: Likewise.
69627 * math/s_ctan.c: Likewise.
69628 * math/s_ctanf.c: Likewise.
69629 * math/s_ctanh.c: Likewise.
69630 * math/s_ctanhf.c: Likewise.
69631 * math/s_ctanhl.c: Likewise.
69632 * math/s_ctanl.c: Likewise.
69633 * math/s_ldexp.c: Likewise.
69634 * math/s_ldexpf.c: Likewise.
69635 * math/s_ldexpl.c: Likewise.
69636 * math/s_significand.c: Likewise.
69637 * math/s_significandf.c: Likewise.
69638 * math/s_significandl.c: Likewise.
69639 * math/w_acos.c: Likewise.
69640 * math/w_acosf.c: Likewise.
69641 * math/w_acosh.c: Likewise.
69642 * math/w_acoshf.c: Likewise.
69643 * math/w_acoshl.c: Likewise.
69644 * math/w_acosl.c: Likewise.
69645 * math/w_asin.c: Likewise.
69646 * math/w_asinf.c: Likewise.
69647 * math/w_asinl.c: Likewise.
69648 * math/w_atan2.c: Likewise.
69649 * math/w_atan2f.c: Likewise.
69650 * math/w_atan2l.c: Likewise.
69651 * math/w_atanh.c: Likewise.
69652 * math/w_atanhf.c: Likewise.
69653 * math/w_atanhl.c: Likewise.
69654 * math/w_cosh.c: Likewise.
69655 * math/w_coshf.c: Likewise.
69656 * math/w_coshl.c: Likewise.
69657 * math/w_dremf.c: Likewise.
69658 * math/w_exp10.c: Likewise.
69659 * math/w_exp10f.c: Likewise.
69660 * math/w_exp10l.c: Likewise.
69661 * math/w_exp2.c: Likewise.
69662 * math/w_exp2f.c: Likewise.
69663 * math/w_fmod.c: Likewise.
69664 * math/w_fmodf.c: Likewise.
69665 * math/w_fmodl.c: Likewise.
69666 * math/w_hypot.c: Likewise.
69667 * math/w_hypotf.c: Likewise.
69668 * math/w_hypotl.c: Likewise.
69669 * math/w_j0.c: Likewise.
69670 * math/w_j0f.c: Likewise.
69671 * math/w_j0l.c: Likewise.
69672 * math/w_j1.c: Likewise.
69673 * math/w_j1f.c: Likewise.
69674 * math/w_j1l.c: Likewise.
69675 * math/w_jn.c: Likewise.
69676 * math/w_jnf.c: Likewise.
69677 * math/w_jnl.c: Likewise.
69678 * math/w_lgamma.c: Likewise.
69679 * math/w_lgamma_r.c: Likewise.
69680 * math/w_lgammaf.c: Likewise.
69681 * math/w_lgammaf_r.c: Likewise.
69682 * math/w_lgammal.c: Likewise.
69683 * math/w_lgammal_r.c: Likewise.
69684 * math/w_log.c: Likewise.
69685 * math/w_log10.c: Likewise.
69686 * math/w_log10f.c: Likewise.
69687 * math/w_log10l.c: Likewise.
69688 * math/w_log2.c: Likewise.
69689 * math/w_log2f.c: Likewise.
69690 * math/w_log2l.c: Likewise.
69691 * math/w_logf.c: Likewise.
69692 * math/w_logl.c: Likewise.
69693 * math/w_pow.c: Likewise.
69694 * math/w_powf.c: Likewise.
69695 * math/w_powl.c: Likewise.
69696 * math/w_remainder.c: Likewise.
69697 * math/w_remainderf.c: Likewise.
69698 * math/w_remainderl.c: Likewise.
69699 * math/w_scalb.c: Likewise.
69700 * math/w_scalbf.c: Likewise.
69701 * math/w_scalbl.c: Likewise.
69702 * math/w_sinh.c: Likewise.
69703 * math/w_sinhf.c: Likewise.
69704 * math/w_sinhl.c: Likewise.
69705 * math/w_sqrt.c: Likewise.
69706 * math/w_sqrtf.c: Likewise.
69707 * math/w_sqrtl.c: Likewise.
69708 * math/w_tgamma.c: Likewise.
69709 * math/w_tgammaf.c: Likewise.
69710 * math/w_tgammal.c: Likewise.
69711
69712 * po/ja.po: Update from translation team.
69713
69714 2011-09-29 Andreas Jaeger <aj@suse.de>
69715
69716 [BZ #13179]
69717 * sunrpc/netname.c (netname2host): Fix logic.
69718
69719 [BZ #6779]
69720 [BZ #6783]
69721 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69722 correctly.
69723 * math/w_remainder.c (__remainder): Likewise.
69724 * math/w_remainderf.c (__remainderf): Likewise.
69725 * math/libm-test.inc (remainder_test): Add test cases.
69726
69727 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69728
69729 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
69730 sdiv_qrnnd.
69731
69732 2011-10-07 Ulrich Drepper <drepper@gmail.com>
69733
69734 * string/test-memcmp.c: Avoid unncessary #defines.
69735 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69736
69737 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69738
69739 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69740 Use new sse2 version for core i3 - i7 as it's faster
69741 than sse42 version.
69742 (bit_Prefer_PMINUB_for_stringop): New.
69743 * sysdeps/x86_64/rawmemchr.S: Update.
69744 Replace with faster SSE2 version.
69745 * sysdeps/x86_64/memrchr.S: New file.
69746 * sysdeps/x86_64/memchr.S: Update.
69747 Replace with faster SSE2 version.
69748
69749 2011-09-12 Marek Polacek <mpolacek@redhat.com>
69750
69751 * elf/dl-load.c (lose): Add cast to avoid warning.
69752
69753 2011-10-07 Ulrich Drepper <drepper@gmail.com>
69754
69755 * po/ca.po: Update from translation team.
69756
69757 * inet/getnetgrent_r.c: Hook up nscd.
69758 * nscd/Makefile (routines): Add nscd_netgroup.
69759 (nscd-modules): Add netgroupcache.
69760 (CFLAGS-netgroupcache.c): Define.
69761 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69762 (cache_search): Add const to second parameter.
69763 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69764 INNETGR.
69765 (dbs): Add netgrdb entry.
69766 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69767 (verify_persistent_db): Handle netgrdb.
69768 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69769 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69770 GETFDNETGR.
69771 (netgroup_response_header): Define.
69772 (innetgroup_response_header): Define.
69773 (datahead): Add netgroup_response_header and innetgroup_response_header
69774 elements.
69775 * nscd/nscd.conf: Add entries for netgroup cache.
69776 * nscd/nscd.h (dbtype): Add netgrdb.
69777 (_PATH_NSCD_NETGROUP_DB): Define.
69778 (netgroup_iov_disabled): Declare.
69779 (xmalloc, xcalloc, xrealloc): Move declarations here.
69780 (cache_search): Adjust prototype.
69781 Add netgroup-related prototypes.
69782 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69783 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69784 (__nscd_innetgr): Declare.
69785 * nscd/selinux.c (perms): Use access_vector_t as element type and
69786 add netgroup-related initializers.
69787 * nscd/netgroupcache.c: New file.
69788 * nscd/nscd_netgroup.c: New file.
69789 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69790 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69791 For four parameters use innetgr.
69792 * nss/nss_files/files-init.c: Add definition and callback for netgr.
69793 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69794 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69795 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69796
69797 * nscd/connections.c (register_traced_file): Don't register file
69798 for disabled databases.
69799
69800 2011-10-06 Ulrich Drepper <drepper@gmail.com>
69801
69802 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69803
69804 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69805 from tree and freeing node.
69806
69807 2011-09-25 Jiri Olsa <jolsa@redhat.com>
69808
69809 * nss/nsswitch.c (__nss_database_lookup): Handle
69810 nss_parse_service_list out of memory case.
69811
69812 2011-09-15 Jiri Olsa <jolsa@redhat.com>
69813
69814 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69815 out of memory case.
69816
69817 2011-10-04 Andreas Schwab <schwab@redhat.com>
69818
69819 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69820 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69821 pass it down.
69822 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69823 elf_machine_rela, elf_machine_lazy_rel.
69824 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69825 (ELF_DYNAMIC_DO_REL): Likewise.
69826 (ELF_DYNAMIC_DO_RELA): Likewise.
69827 (ELF_DYNAMIC_RELOCATE): Likewise.
69828 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69829 to ELF_DYNAMIC_DO_REL.
69830 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69831 (dl_main): In trace mode always set __RTLD_NOIFUNC.
69832 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69833 elf_machine_rela.
69834 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69835 skip_ifunc, don't call ifunc function if non-zero.
69836 (elf_machine_rela): Likewise.
69837 (elf_machine_lazy_rel): Likewise.
69838 (elf_machine_lazy_rela): Likewise.
69839 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69840 (elf_machine_lazy_rel): Likewise.
69841 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69842 Likewise.
69843 (elf_machine_lazy_rel): Likewise.
69844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69845 Likewise.
69846 (elf_machine_lazy_rel): Likewise.
69847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69848 (elf_machine_lazy_rel): Likewise.
69849 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69850 (elf_machine_lazy_rel): Likewise.
69851 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69852 (elf_machine_lazy_rel): Likewise.
69853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69854 (elf_machine_lazy_rel): Likewise.
69855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69856 (elf_machine_lazy_rel): Likewise.
69857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69858 (elf_machine_lazy_rel): Likewise.
69859
69860 2011-09-28 Ulrich Drepper <drepper@gmail.com>
69861
69862 * nss/nss_files/files-init.c (_nss_files_init): Use static
69863 initialization for all the *_traced_file variables.
69864
69865 2011-09-28 Andreas Schwab <schwab@redhat.com>
69866
69867 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69868
69869 2011-09-27 Roland McGrath <roland@hack.frob.com>
69870
69871 [BZ #13226]
69872 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69873
69874 2011-09-27 Andreas Schwab <schwab@redhat.com>
69875
69876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69877 Reread the line before reparsing it.
69878
69879 2011-09-26 Andreas Schwab <schwab@redhat.com>
69880
69881 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69882
69883 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
69884 Maxim Kuvyrkov <maxim@codesourcery.com>
69885 Joseph Myers <joseph@codesourcery.com>
69886
69887 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69888 if needed for __stack_chk_guard.
69889
69890 2011-09-19 Roland McGrath <roland@hack.frob.com>
69891
69892 * sysdeps/posix/spawni.c (script_execute): Always define it.
69893 It will be optimized away if unused.
69894 (maybe_script_execute): New function.
69895 (__spawni): Call it.
69896
69897 * Makerules: Don't include tls.make.
69898 (config-tls): Always set to thread.
69899 * tls.make.c: File removed.
69900
69901 2011-09-19 Mike Frysinger <vapier@gentoo.org>
69902
69903 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69904 * config.make.in (CPPFLAGS-config): New substituted variable.
69905
69906 2011-09-15 Ulrich Drepper <drepper@gmail.com>
69907
69908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69909
69910 [BZ #13192]
69911 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69912 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69913
69914 2011-09-15 Roland McGrath <roland@hack.frob.com>
69915
69916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69917 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69919 (CALL_FAIL): Likewise.
69920 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69921 (CALL_FAIL): Macro removed.
69922 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69923
69924 2011-09-15 Ulrich Drepper <drepper@gmail.com>
69925
69926 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69927 for __FINITE_MATH_ONLY__ == 1.
69928
69929 2011-09-15 Andreas Schwab <schwab@redhat.com>
69930
69931 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69932 __ieee754_sqrt instead of sqrt.
69933 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69934 __ieee754_sqrtf instead of sqrtf.
69935 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69936 __floorf instead of floorf.
69937 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69938 __floorf, __truncf instead of floorf, truncf.
69939
69940 2011-09-14 Ulrich Drepper <drepper@gmail.com>
69941
69942 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69943
69944 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69945 __extern_always_inline.
69946 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69947 32-bit.
69948
69949 2011-09-14 Andreas Schwab <schwab@redhat.com>
69950
69951 * elf/rtld.c (dl_main): Also relocate in dependency order when
69952 doing symbol dependency testing.
69953
69954 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
69955
69956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69957 Always define `refsym'.
69958
69959 2011-09-13 Andreas Schwab <schwab@redhat.com>
69960
69961 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69962 (__FD_ELT): Renamed from __FDELT.
69963 * misc/bits/select2.h (__FD_ELT): Likewise.
69964 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69965 __FD_MASK instead of __FDELT, __FDMASK.
69966 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69967 Likewise.
69968 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69969 Likewise.
69970
69971 * elf/Makefile (gen-ldd): Fix pattern.
69972
69973 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69974 (init_tls): Likewise.
69975
69976 2011-09-12 Ulrich Drepper <drepper@gmail.com>
69977
69978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69979
69980 2011-09-12 Andreas Schwab <schwab@redhat.com>
69981
69982 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69983 `struct cmsghdr *' instead of `void *'.
69984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69985 Likewise.
69986
69987 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
69988
69989 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69990 if non-absolute.
69991 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69992 ldd_rewrite_script.
69993
69994 2011-09-11 Ulrich Drepper <drepper@gmail.com>
69995
69996 * configure.in: Remove --with-tls option.
69997 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69998 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69999 out in case it is missing.
70000 * sysdeps/ia64/elf/configure.in: Likewise.
70001 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70002 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70003 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70004 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70005 * sysdeps/sh/elf/configure.in: Likewise.
70006 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70007 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70008 * sysdeps/x86_64/elf/configure.in: Likewise.
70009 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70010 * sysdeps/mach/hurd/tls.h: Likewise.
70011
70012 [BZ #13067]
70013 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70014
70015 [BZ #13090]
70016 * configure.in: Fix use of AC_INIT.
70017
70018 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70019
70020 2011-09-10 Ulrich Drepper <drepper@gmail.com>
70021
70022 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70023 __set_errno.
70024 * malloc/hooks.c: Likewise.
70025
70026 [BZ #11929]
70027 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
70028 variables statically.
70029 (narenas): Initialize.
70030 (list_lock): Initialize.
70031 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
70032 initializtion of main_arena and list_lock. Small cleanups.
70033 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70034 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
70035 Add initializers to main_arena and mp_.
70036 (malloc_state): Remove pagesize member. Change all users to use
70037 GLRO(dl_pagesize).
70038
70039 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70040 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
70041 is always initialized.
70042
70043 * malloc/malloc.c: Removed unused configurations and dead code.
70044 * malloc/arena.c: Likewise.
70045 * malloc/hooks.c: Likewise.
70046 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70047
70048 * include/tls.h: Removed. USE___THREAD must always be defined.
70049 * bits/libc-tsd.h: Don't handle !USE___THREAD.
70050 * elf/dl-libc.c: Likewise.
70051 * elf/dl-tsd.c: Likewise.
70052 * include/errno.h: Likewise.
70053 * include/netdb.h: Likewise.
70054 * include/resolv.h: Likewise.
70055 * inet/herrno-loc.c: Likewise.
70056 * inet/herrno.c: Likewise.
70057 * malloc/arena.c: Likewise.
70058 * malloc/hooks.c: Likewise.
70059 * malloc/malloc.c: Likewise.
70060 * resolv/res-state.c: Likewise.
70061 * resolv/res_libc.c: Likewise.
70062 * sysdeps/i386/dl-machine.h: Likewise.
70063 * sysdeps/ia64/dl-machine.h: Likewise.
70064 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70065 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70066 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70067 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70068 * sysdeps/sh/dl-machine.h: Likewise.
70069 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70070 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70071 * sysdeps/unix/i386/sysdep.S: Likewise.
70072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70073 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70078 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70082 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70083 * sysdeps/x86_64/dl-machine.h: Likewise.
70084 * tls.make.c: Likewise.
70085
70086 * configure.in: Remove --with-__thread option. Make tests for
70087 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70088 tls_model attribute fail if no support is available. Remove
70089 USE_IN_LIBIO.
70090 * Makeconfig: Adjust for dropped configure option. All features are
70091 now mandatory.
70092 * Makerules: Likewise.
70093 * Versions.def: Likewise.
70094 * argp/argp-fmtstream.c: Likewise.
70095 * argp/argp-fmtstream.h: Likewise.
70096 * argp/argp-help.c: Likewise.
70097 * assert/assert.c: Likewise.
70098 * config.h.in: Likewise.
70099 * config.make.in: Likewise.
70100 * configure: Likewise.
70101 * configure.in: Likewise.
70102 * csu/Versions: Likewise.
70103 * csu/init.c: Likewise.
70104 * elf/tst-audit2.c: Likewise.
70105 * elf/tst-tls10.c: Likewise.
70106 * elf/tst-tls10.h: Likewise.
70107 * elf/tst-tls11.c: Likewise.
70108 * elf/tst-tls12.c: Likewise.
70109 * elf/tst-tls14.c: Likewise.
70110 * elf/tst-tlsmod11.c: Likewise.
70111 * elf/tst-tlsmod12.c: Likewise.
70112 * elf/tst-tlsmod13.c: Likewise.
70113 * elf/tst-tlsmod13a.c: Likewise.
70114 * elf/tst-tlsmod14a.c: Likewise.
70115 * elf/tst-tlsmod15b.c: Likewise.
70116 * elf/tst-tlsmod16a.c: Likewise.
70117 * elf/tst-tlsmod16b.c: Likewise.
70118 * elf/tst-tlsmod7.c: Likewise.
70119 * elf/tst-tlsmod8.c: Likewise.
70120 * elf/tst-tlsmod9.c: Likewise.
70121 * gmon/gmon.c: Likewise.
70122 * grp/fgetgrent_r.c: Likewise.
70123 * grp/putgrent.c: Likewise.
70124 * hurd/fopenport.c: Likewise.
70125 * include/libc-symbols.h: Likewise.
70126 * include/tls.h: Likewise.
70127 * intl/gettextP.h: Likewise.
70128 * intl/loadinfo.h: Likewise.
70129 * locale/global-locale.c: Likewise.
70130 * locale/localeinfo.h: Likewise.
70131 * mach/devstream.c: Likewise.
70132 * malloc/arena.c: Likewise.
70133 * malloc/set-freeres.c: Likewise.
70134 * misc/err.c: Likewise.
70135 * misc/getttyent.c: Likewise.
70136 * misc/mntent_r.c: Likewise.
70137 * posix/getopt.c: Likewise.
70138 * posix/wordexp.c: Likewise.
70139 * pwd/fgetpwent_r.c: Likewise.
70140 * resolv/Versions: Likewise.
70141 * resolv/res_hconf.c: Likewise.
70142 * shadow/fgetspent_r.c: Likewise.
70143 * shadow/putspent.c: Likewise.
70144 * stdio-common/printf_fphex.c: Likewise.
70145 * stdio-common/tmpfile.c: Likewise.
70146 * stdlib/abort.c: Likewise.
70147 * stdlib/fmtmsg.c: Likewise.
70148 * sunrpc/auth_unix.c: Likewise.
70149 * sunrpc/clnt_perr.c: Likewise.
70150 * sunrpc/clnt_tcp.c: Likewise.
70151 * sunrpc/clnt_udp.c: Likewise.
70152 * sunrpc/clnt_unix.c: Likewise.
70153 * sunrpc/openchild.c: Likewise.
70154 * sunrpc/svc_simple.c: Likewise.
70155 * sunrpc/svc_tcp.c: Likewise.
70156 * sunrpc/svc_udp.c: Likewise.
70157 * sunrpc/svc_unix.c: Likewise.
70158 * sunrpc/xdr.c: Likewise.
70159 * sunrpc/xdr_array.c: Likewise.
70160 * sunrpc/xdr_rec.c: Likewise.
70161 * sunrpc/xdr_ref.c: Likewise.
70162 * sunrpc/xdr_stdio.c: Likewise.
70163
70164 2011-09-09 Ulrich Drepper <drepper@gmail.com>
70165
70166 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70167
70168 2011-07-03 Andreas Jaeger <aj@suse.de>
70169
70170 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70171 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70172 regenerate with gen-libm-tests.pl.
70173
70174 2010-05-12 Petr Baudis <pasky@suse.cz>
70175
70176 [BZ #11589]
70177 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70178 around j0() zero points by switching to j1().
70179 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70183
70184 2011-09-09 Ulrich Drepper <drepper@gmail.com>
70185
70186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70187 instead of 0.
70188 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70189 instead of 0.
70190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70191 Patch in part by Pavel Roskin <proski@gnu.org>.
70192
70193 [BZ #13138]
70194 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70195 realloc.
70196 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
70197 Free memory block if necessary.
70198
70199 [BZ #12847]
70200 * libio/genops.c (INTDEF): For string streams the _lock pointer can
70201 be NULL. Don't lock in this case.
70202
70203 2011-09-09 Roland McGrath <roland@hack.frob.com>
70204
70205 * elf/elf.h (ELFOSABI_GNU): New macro.
70206 (ELFOSABI_LINUX): Define to that.
70207
70208 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
70209
70210 * string/strncat.c (strncat): Undef the symbol in case it has been
70211 defined in bits/string.h.
70212
70213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
70214
70215 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70216
70217 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70218 link map.
70219
70220 2011-08-17 Andreas Jaeger <aj@suse.de>
70221
70222 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70223
70224 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
70225 Ian Lance Taylor <iant@google.com>
70226
70227 * math/libm-test.inc (lround_test): New testcase.
70228 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70229
70230 2011-09-08 Ulrich Drepper <drepper@gmail.com>
70231
70232 * Makefile: Remove support for automatic cvs check-ins.
70233 * Makerules: Likewise.
70234 * config.make.in: Likewise.
70235 * configure.in: Likewise.
70236 * intl/Makefile: Likewise.
70237 * locale/Makefile: Likewise.
70238 * po/Makefile: Likewise.
70239 * posix/Makefile: Likewise.
70240 * sysdeps/gnu/Makefile: Likewise.
70241 * sysdeps/mach/hurd/Makefile: Likewise.
70242 * sysdeps/sparc/sparc32/Makefile: Likewise.
70243
70244 [BZ #13118]
70245 * posix/Makefile (bug-regex32-ENV): Define.
70246 Patch by John Stanley <jpsinthemix@verizon.net>.
70247
70248 * misc/Makefile (headers): Add bits/select2.h.
70249 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70250 * misc/bits/select2.h: New file.
70251 * include/bits/select2.h: New file.
70252 * debug/Makefile (routines): Add fdelt_chk.
70253 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70254 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70255 FD_ISSET.
70256 * debug/fdelt_chk.c: New file.
70257
70258 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
70259 * wcsmbs/test-wmemcmp.c: Likewise.
70260 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70261 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70262
70263 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70264
70265 * string/Makefile (strop-tests): Add memcmp.
70266 * string/test-wmemcmp.c: New file.
70267 * string/test-memcmp.c: Add wmemcmp support.
70268
70269 2011-09-08 Roland McGrath <roland@hack.frob.com>
70270
70271 [BZ #13153]
70272 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70273 2011-07-19 change.
70274
70275 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70276 garbage value in a __mach_port_mod_refs call in the cases of the
70277 task-self and thread-self ports.
70278
70279 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
70280
70281 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70282
70283 2011-09-08 Andreas Schwab <schwab@redhat.com>
70284
70285 * elf/dl-load.c (lose): Check for non-null L.
70286
70287 2011-09-07 Ulrich Drepper <drepper@gmail.com>
70288
70289 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70290
70291 * elf/dl-libc.c (dlerror_run): Pass back error code from
70292 dl_catch_error.
70293
70294 [BZ #13123]
70295 * elf/dl-load.c (lose): Free l_origin if it is valid.
70296
70297 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70298 names.
70299 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70300 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70302 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70303 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70304 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70305
70306 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70307
70308 * sysdeps/powerpc/fpu/e_hypot.c: New file.
70309 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70310 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70311 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70312 * sysdeps/powerpc/fpu/k_cosf.c: New file.
70313 * sysdeps/powerpc/fpu/k_sinf.c: New file.
70314 * sysdeps/powerpc/fpu/s_cosf.c: New file.
70315 * sysdeps/powerpc/fpu/s_sinf.c: New file.
70316 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70317 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70318
70319 2011-08-15 Alan Modra <amodra@gmail.com>
70320
70321 [BZ #13092]
70322 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70323 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70324 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
70325 ppc_mcount to static-only-routines.
70326 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70327 __mcount_internal.
70328 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70329 __mcount_internal with usual JUMPTARGET. Remove useless nop.
70330
70331 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
70332
70333 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70334 for finite and infinity parameters.
70335
70336 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70337
70338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70339 and add nop instructions for throughput optimization.
70340 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70341
70342 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
70343
70344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70345 aligned copy for power7 with vector-scalar instructions.
70346 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70347
70348 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
70349
70350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70351 AVX check.
70352
70353 2011-09-07 Andreas Schwab <schwab@redhat.com>
70354
70355 [BZ #13144]
70356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70357 last change.
70358
70359 2011-09-07 Ulrich Drepper <drepper@gmail.com>
70360
70361 * sysdeps/unix/sysv/linux/x86_64/init-first.c
70362 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70363 syscall wrapper around clock_gettime in __vdso_clock_gettime.
70364 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70365 clock_gettime.
70366
70367 2011-09-06 Ulrich Drepper <drepper@gmail.com>
70368
70369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70370 Forgot to demangle the pointer.
70371
70372 * sysdeps/i386/sysdep.h: Define atom_text_section.
70373 * sysdeps/x86_64/sysdep.h: Likewise.
70374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70375 section with atom_text_section.
70376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70377 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70378 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70380 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70381
70382 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70383 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70384 already be defined. Change to take two parameters and don't assign
70385 result to variable. Adjust all users.
70386 Define INTERNAL_GETTIME if not already defined.
70387 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70388 call.
70389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70390 HAVE_CLOCK_GETTIME_VSYSCALL.
70391 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70392
70393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70394 gettimeofday vsyscall, just use time.
70395
70396 2011-09-06 Andreas Schwab <schwab@redhat.com>
70397
70398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70399 <errno.h>.
70400
70401 2011-09-06 Ulrich Drepper <drepper@gmail.com>
70402
70403 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70404 syscall on x86-64.
70405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70406 syscall.
70407 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70409 syscall if possible.
70410
70411 2011-09-05 Ulrich Drepper <drepper@gmail.com>
70412
70413 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70414 e_ident. Don't pass to find_mapsXX.
70415 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70416
70417 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70418
70419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70420 strchr-sse2-no-bsf strrchr-sse2-no-bsf
70421 * sysdeps/x86_64/multiarch/strchr.S: Update.
70422 Check bit_slow_BSF bit.
70423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70424 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70425 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70426
70427 2011-09-05 Ulrich Drepper <drepper@gmail.com>
70428
70429 [BZ #13134]
70430 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70431 before glibc 2.15.
70432 (tryshell): Define.
70433 (__spawni): Change last parameter to be flag. Test
70434 SPAWN_XFLAGS_USE_PATH flag to use path or not.
70435 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70436 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70437 * posix/spawni.c: Likewise.
70438 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70439 * posix/spawnp.c: Likewise. Change normal version to use
70440 SPAWN_XFLAGS_USE_PATH.
70441 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70442 SPAWN_XFLAGS_TRY_SHELL.
70443
70444 [BZ #13150]
70445 * posix/glob.h: Remove gcc 1.x support.
70446
70447 [BZ #13068]
70448 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70449
70450 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70451
70452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70453 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70454 strrchr-sse2-bsf
70455 * sysdeps/i386/i686/multiarch/strchr.S: New file.
70456 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70458 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70459 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70461
70462 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70463
70464 * sysdeps/x86_64/wcscmp.S: New file.
70465
70466 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70467 wcscmp-c wcscmp-sse2
70468 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70469 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70470 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70471 * wcsmbs/wcscmp.c: Allow renaming.
70472
70473 2011-09-05 David S. Miller <davem@davemloft.net>
70474
70475 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70476 stack slot, rather than the struct return pointer slot.
70477 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70478 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70480 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70481
70482 2011-09-05 Ulrich Drepper <drepper@gmail.com>
70483
70484 * po/ja.po: Update from translation team.
70485
70486 [BZ #13144]
70487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70488 kernel in 64-bit binaries.
70489
70490 2011-09-01 David S. Miller <davem@davemloft.net>
70491
70492 * elf/elf.h (HWCAP_SPARC_*): Move to..
70493 * sysdeps/sparc/sysdep.h: this new file and add new values.
70494 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70495 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70496 _DL_HWCAP_COUNT to 24.
70497 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70498 entries.
70499 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70500 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70501 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70503 instead of magic constants.
70504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70505
70506 2011-08-31 David S. Miller <davem@davemloft.net>
70507
70508 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70510 Reimplement to do errno handling inline.
70511 (SYSCALL_ERROR_HANDLER): New macro.
70512 (__SYSCALL_STRING): Do not do errno handling in asm.
70513 (__CLONE_SYSCALL_STRING): Delete.
70514 (__INTERNAL_SYSCALL_STRING): Delete.
70515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70516 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70517 (PSEUDO): Reimplement to do errno handling inline.
70518 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70519 (SYSCALL_ERROR_HANDLER): New macro.
70520 (__SYSCALL_STRING): Do not do errno handling in asm.
70521 (__CLONE_SYSCALL_STRING): Delete.
70522 (__INTERNAL_SYSCALL_STRING): Delete.
70523 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70524 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70525 i386.
70526 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70527 (inline_syscall*): Add 'err' argument.
70528 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70529 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70530 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70531 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70532
70533 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70534 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70535
70536 2011-08-30 Andreas Schwab <schwab@redhat.com>
70537
70538 * elf/rtld.c (dl_main): Relocate objects in dependency order.
70539
70540 2011-08-29 Jiri Olsa <jolsa@redhat.com>
70541
70542 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70543 directive.
70544
70545 2011-08-24 David S. Miller <davem@davemloft.net>
70546
70547 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70548
70549 2011-08-24 Andreas Schwab <schwab@redhat.com>
70550
70551 * elf/Makefile: Add rules to build and run unload8 test.
70552 * elf/unload8.c: New file.
70553 * elf/unload8mod1.c: New file.
70554 * elf/unload8mod1x.c: New file.
70555 * elf/unload8mod2.c: New file.
70556 * elf/unload8mod3.c: New file.
70557
70558 * elf/dl-close.c (_dl_close_worker): Reset private search list if
70559 it wasn't used.
70560
70561 2011-08-23 David S. Miller <davem@davemloft.net>
70562
70563 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70564 subtract stack bias.
70565 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70566 %sp not %fp in calculations.
70567 (_JMPBUF_UNWINDS_ADJ): Likewise.
70568
70569 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70570 (aio_suspend): Call it to force an exception region around the
70571 AIO_MISC_WAIT() invocation.
70572
70573 2011-08-23 Andreas Schwab <schwab@redhat.com>
70574
70575 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70576 backslash.
70577
70578 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
70579
70580 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70581 protection macro.
70582 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70583 and <dl-machine.h>.
70584 (Elf64_FuncDesc): Remove.
70585
70586 2011-08-22 David S. Miller <davem@davemloft.net>
70587
70588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70589 sigaltstack check, add missing cfi directives.
70590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70591 missing cfi directives, and sigaltstack handling.
70592
70593 2011-08-16 Andreas Schwab <schwab@redhat.com>
70594
70595 [BZ #11724]
70596 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70597 object is seen twice.
70598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
70599
70600 * elf/Makefile (distribute): Add tst-initorder2.c.
70601 (tests): Add tst-initorder2.
70602 (modules-names): Add tst-initorder2a tst-initorder2b
70603 tst-initorder2c tst-initorder2d. Add rules to build them.
70604 ($(objpfx)tst-initorder2.out): New rule.
70605 * elf/tst-initorder2.c: New file.
70606 * elf/tst-initorder2.exp: New file.
70607
70608 2011-08-22 Andreas Schwab <schwab@redhat.com>
70609
70610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70611
70612 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70613 dependencies back to end of function.
70614
70615 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70616 $(elfobjdir)/ld.so.
70617
70618 2011-08-21 Ulrich Drepper <drepper@gmail.com>
70619
70620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70621 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70623 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70624 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70625 of __vdso_gettimeofday.
70626 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70627 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
70628 attribute_hidden.
70629 (_libc_vdso_platform_setup): Remove initialization of
70630 __vdso_gettimeofday and __vdso_time.
70631
70632 2011-08-20 Ulrich Drepper <drepper@gmail.com>
70633
70634 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70635 and fgetc_unlocked.
70636 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70637 getc_unlocked.
70638
70639 * elf/dl-open.c (add_to_global): Report additions to the global scope
70640 for LD_DEBUG=scopes.
70641 (dl_open_worker): Also print scope of newly loaded dependencies.
70642 (_dl_show_scope): Indicate if there is no scope.
70643
70644 [BZ #13114]
70645 * stdio-common/Makefile (tests): Add bug24.
70646 * stdio-common/bug24.c: New file.
70647
70648 2011-08-19 Andreas Jaeger <aj@suse.de>
70649
70650 [BZ #13114]
70651 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70652 non-existant file when using close-on-exec mode.
70653
70654 2011-08-20 Ulrich Drepper <drepper@gmail.com>
70655
70656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70657 the very first instruction.
70658
70659 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70660 the CFI state in the end.
70661 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70662 inclusion of dl-trampoline.h.
70663 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70664
70665 2011-08-19 Andreas Schwab <schwab@redhat.com>
70666
70667 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70668 expectations for long double.
70669
70670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70671 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70672
70673 2011-08-14 David S. Miller <davem@davemloft.net>
70674
70675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70676 artificual limit depends upon the system page size.
70677
70678 2011-08-17 Ulrich Drepper <drepper@gmail.com>
70679
70680 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70681 * resolv/Makefile: Define CFLAGS-libresolv.
70682
70683 2011-08-17 Andreas Schwab <schwab@redhat.com>
70684
70685 * nss/makedb.c (compute_tables): Make variables used in nested
70686 function static.
70687
70688 2011-08-17 Ulrich Drepper <drepper@gmail.com>
70689
70690 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70691 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70692 if buffer was too small.
70693
70694 * elf/pldd.c (main): Attach to all threads in the process.
70695 Rewrite /proc handling to use *at functions.
70696
70697 2011-08-16 Ulrich Drepper <drepper@gmail.com>
70698
70699 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70700 specifies first scope to show.
70701 (dl_open_worker): Update callers. Move printing scope of new
70702 object to before the relocation.
70703 * elf/rtld.c (dl_main): Update _dl_show_scope call.
70704 * sysdeps/generic/ldsodefs.h: Update declaration.
70705
70706 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70707 string for the scope number.
70708
70709 2011-08-14 Ulrich Drepper <drepper@gmail.com>
70710
70711 * nscd/servicescache.c (cache_addserv): Make sure written is always
70712 initialized.
70713
70714 2011-08-14 Roland McGrath <roland@hack.frob.com>
70715
70716 * sysdeps/i386/i486/bits/atomic.h
70717 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70718 statement expression, so as to suppress "set but not used" warning.
70719 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70720
70721 * string/strncat.c (STRNCAT): Use prototype definition.
70722
70723 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70724 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70725 -Iprograms here.
70726 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70727 (localedef-modules): Add localedef.
70728 (locale-modules): Add locale.
70729
70730 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70731 * elf/rtld.c (dl_main): Invert order of assignment in last change,
70732 to avoid a warning.
70733
70734 2011-08-14 David S. Miller <davem@davemloft.net>
70735
70736 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70737 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70738
70739 2011-08-13 Ulrich Drepper <drepper@gmail.com>
70740
70741 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70742 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70743 * elf/rtld.c (dl_main): Set l_name of vDSO.
70744 Call _dl_show_scope when DL_DEBUG_SCOPES.
70745 (process_dl_debug): Recognize scopes flag and also set it for all.
70746 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70747 Declare _dl_show_scope.
70748
70749 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70750 (do_dlopen): Pass caller_dlopen to dl_open.
70751 (__libc_dlopen_mode): Initialize caller_dlopen.
70752
70753 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70754 of libc. Make tolower call locale-independent. Optimize a bit by
70755 using isdigit instead of isalnum.
70756 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70757
70758 2011-08-12 Ulrich Drepper <drepper@gmail.com>
70759
70760 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70761 was a dependency or dynamically loaded.
70762
70763 2011-08-11 Ulrich Drepper <drepper@gmail.com>
70764
70765 * intl/l10nflist.c: Allow architecture-specific pop function.
70766 * sysdeps/x86_64/l10nflist.c: New file.
70767
70768 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70769 classification.
70770
70771 2011-08-10 Andreas Schwab <schwab@redhat.com>
70772
70773 * include/dirent.h: Add libc_hidden_proto for scandirat and
70774 scandirat64. Don't declare __scandirat64.
70775 * dirent/scandirat.c: Add libc_hidden_def.
70776 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70777 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70778
70779 2011-08-10 David S. Miller <davem@davemloft.net>
70780
70781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70782 enum.
70783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70786
70787 2011-08-09 Ulrich Drepper <drepper@gmail.com>
70788
70789 * Versions.def [libc]: Add GLIBC_2.15.
70790 * dirent/Makefile (routines): Add scandirat and scandirat64.
70791 * dirent/Versions [libc]: Export scandirat and scandirat64 for
70792 GLIBC_2.15.
70793 * dirent/dirent.h: Declare scandirat and scandirat64.
70794 * dirent/scandirat.c: New file.
70795 * dirent/scandirat64.c: New file.
70796 * sysdeps/wordsize-64/scandirat.c: New file.
70797 * sysdeps/wordsize-64/scandirat64.c: New file.
70798 * dirent/opendir.c: Define opendirat.
70799 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
70800 using scandirat.
70801 * dirent/scandir64.c: Adjust for scandir.c change.
70802 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
70803 __scandirat64, and __scandir_cancel_handler.
70804 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
70805 additional parameter and use openat instead of open (outside of ld.so).
70806 Add new __opendir as wrapper around __opendirat.
70807 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70808 here without requiring old scandirat implementation.
70809
70810 2011-08-08 Ulrich Drepper <drepper@gmail.com>
70811
70812 * dirent/scandir.c (cancel_handler): Renamed to
70813 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
70814 defined. Adjust users.
70815 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70816 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70817
70818 2011-08-04 Ulrich Drepper <drepper@gmail.com>
70819
70820 * string/test-string.h (IMPL): Use __STRING to expand name and then
70821 stringify it.
70822
70823 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
70824 of cleanups.
70825
70826 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70827
70828 * string/Makefile: Update.
70829 (strop-tests): Append strncat.
70830 * string/test-wcscmp.c: New file.
70831 New comprehensive test for wcscmp.
70832 * string/test-strcmp.c: Update.
70833 (WIDE): New define.
70834
70835 2011-07-22 Andreas Schwab <schwab@redhat.com>
70836
70837 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70838 line.
70839
70840 2011-07-26 Andreas Schwab <schwab@redhat.com>
70841
70842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70843 encoding to ACE if AI_IDN.
70844
70845 2011-08-01 Jakub Jelinek <jakub@redhat.com>
70846
70847 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70848 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70849
70850 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70851
70852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70853 Fix overflow bug in strncat.
70854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70855
70856 * string/test-strncat.c: Update.
70857 Add new tests for checking overflow bugs.
70858
70859 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70860
70861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70862 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70863 * sysdeps/i386/i686/multiarch/strcat.S: New file.
70864 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70866 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70867 * sysdeps/i386/i686/multiarch/strncat.S: New file.
70868 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70869 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70870
70871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70872 (USE_AS_STRCAT): Define.
70873 Add strcat and strncat support.
70874 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70875
70876 2011-07-25 Andreas Schwab <schwab@redhat.com>
70877
70878 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70879 __n bigger than INT_MAX+1.
70880 (__strncmp_g): Likewise.
70881
70882 2011-07-23 Ulrich Drepper <drepper@gmail.com>
70883
70884 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70885 * libio/stido.h: Likewise.
70886
70887 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70888 (AF_NFC): Define.
70889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70890 (AF_NFC): Define.
70891
70892 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70894 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70897
70898 [BZ #13021]
70899 * scripts/test-installation.pl: Don't expect libnss_test1 to be
70900 installed.
70901
70902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70903 typo.
70904 (_dl_x86_64_save_sse): Likewise.
70905
70906 2011-07-22 Ulrich Drepper <drepper@gmail.com>
70907
70908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70909 OSXSAVE.
70910 (_dl_x86_64_save_sse): Likewise.
70911
70912 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70913
70914 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70915
70916 2011-07-21 Andreas Schwab <schwab@redhat.com>
70917
70918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70919 change.
70920 (_dl_x86_64_save_sse): Use correct AVX check.
70921
70922 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70923
70924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70925 bug in strncpy/strncat.
70926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70927
70928 2011-07-21 Ulrich Drepper <drepper@gmail.com>
70929
70930 * string/tester.c (test_strcat): Add tests for different alignments
70931 of source and destination.
70932 (test_strncat): Likewise.
70933
70934 2011-07-20 Ulrich Drepper <drepper@gmail.com>
70935
70936 [BZ #12852]
70937 * posix/glob.c (glob): Check passed in values before using them in
70938 expressions to avoid some overflows.
70939 (glob_in_dir): Likewise.
70940
70941 [BZ #13007]
70942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70943 check for AVX enablement so that we don't crash with old kernels and
70944 new hardware.
70945 * elf/tst-audit4.c: Add same checks here.
70946 * elf/tst-audit6.c: Likewise.
70947
70948 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70949
70950 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
70951
70952 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70953
70954 2011-07-20 Ulrich Drepper <drepper@gmail.com>
70955
70956 * po/cs.po: Update from translation team.
70957 * po/bg.po: Likewise.
70958
70959 2011-07-12 Marek Polacek <mpolacek@redhat.com>
70960
70961 * misc/sys/cdefs.h: Add support for const attribute.
70962 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70963 to gnu_dev_{major,minor,makedev} functions.
70964
70965 2011-07-20 Marek Polacek <mpolacek@redhat.com>
70966
70967 * intl/dcigettext.c (get_output_charset): Add missing bracket.
70968
70969 2011-07-20 Andreas Schwab <schwab@redhat.com>
70970
70971 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70972 strlen results.
70973
70974 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70975
70976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70977 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70978 register in order to avoid conflicts with the soft frame pointer
70979 being held in r11 when necessary.
70980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70981 (INTERNAL_VSYSCALL_NCS): Likewise.
70982
70983 2011-07-14 Marek Polacek <mpolacek@redhat.com>
70984
70985 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70986 * elf/dl-fini.c (_dl_fini): Adjust caller.
70987 * elf/dl-close.c (_dl_close_worker): Likewise.
70988 * sysdeps/generic/ldsodefs.h: Adjust declaration.
70989
70990 2011-07-15 Marek Polacek <mpolacek@redhat.com>
70991
70992 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70993 "aux_cache->nlibs < 0".
70994
70995 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70996 in the reload-count case.
70997
70998 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
70999
71000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71001 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71002 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71003 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71004 * sysdeps/x86_64/multiarch/strcat.S: New file.
71005 * sysdeps/x86_64/multiarch/strncat.S: New file.
71006 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71007 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71008 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71009 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71011 (USE_AS_STRCAT): Define.
71012 Add strcat and strncat support.
71013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71015 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71016 * string/strncat.c: Update.
71017 (USE_AS_STRNCAT): Define.
71018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71019 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71020 and i7.
71021 * sysdeps/x86_64/multiarch/init-arch.h
71022 (bit_Prefer_PMINUB_for_stringop): New.
71023 (index_Prefer_PMINUB_for_stringop): Likewise.
71024 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71025 bit_Prefer_PMINUB_for_stringop.
71026
71027 2011-07-19 Ulrich Drepper <drepper@gmail.com>
71028
71029 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71030 buffer64.
71031 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71032 of casting of buffer.
71033 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71034 buffer32 and buffer64.
71035 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71036 writes instead of casting of buffer.
71037 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71038 buffer32.
71039 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71040 casting of buffer.
71041
71042 2011-07-19 Andreas Schwab <schwab@redhat.com>
71043
71044 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71045
71046 2011-07-19 Ulrich Drepper <drepper@gmail.com>
71047
71048 * nscd/nscd.c (termination_handler): Don't do anything for a database
71049 if it has not yet been initialized.
71050
71051 2011-07-18 Ulrich Drepper <drepper@gmail.com>
71052
71053 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71054
71055 2011-07-15 Marek Polacek <mpolacek@redhat.com>
71056
71057 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71058
71059 2011-07-18 Ulrich Drepper <drepper@gmail.com>
71060
71061 * po/nl.po: Update from translation team.
71062 * po/sv.po: Likewise.
71063
71064 2011-07-16 Roland McGrath <roland@hack.frob.com>
71065
71066 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71067 now disallowed by GCC.
71068
71069 * configure.in (use-default-link): Default to yes if a test -shared
71070 link meets our qualifications.
71071 * configure: Regenerated.
71072
71073 * config.make.in (output-format): New variable.
71074 * configure.in: Check for ld --print-output-format support.
71075 * configure: Regenerated.
71076 * Makerules ($(common-objpfx)format.lds)
71077 [$(output-format) != unknown]: Just use $(output-format),
71078 instead of the linker-script munging.
71079
71080 2011-07-14 Roland McGrath <roland@hack.frob.com>
71081
71082 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71083 of $(common-objpfx)shlib.lds.
71084 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71085
71086 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71087 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71088
71089 * configure.in (-z relro check): Adjust test code to add a large
71090 writable data section after it.
71091 * configure: Regenerated.
71092
71093 2011-07-11 Roland McGrath <roland@hack.frob.com>
71094
71095 * configure.in (-z relro check): Fix test code to make the variable
71096 truly const.
71097 * configure: Regenerated.
71098
71099 2011-07-11 Ulrich Drepper <drepper@gmail.com>
71100
71101 * nscd/nscd.h (struct traced_file): Define.
71102 (struct database_dyn): Remove inotify_descr, reset_res, and filename
71103 elements. Add traced_files.
71104 (inotify_fd): Declare.
71105 (register_traced_file): Declare.
71106 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71107 (inotify_fd): Export.
71108 (resolv_conf_descr): Remove.
71109 (nscd_init): Move inotify descriptor creation to main.
71110 Don't register files for notification here.
71111 (register_traced_file): New function.
71112 (invalidate_cache): Don't use reset_res to determine whether to call
71113 res_init, go through the list of registered files.
71114 (main_loop_poll): The inotify descriptors are now stored in the
71115 structures for the traced files.
71116 (main_loop_epoll): Likewise.
71117 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
71118 to __nss_disable_nscd.
71119 * nscd/cache.c (prune_cache): There is no single inotify descriptor
71120 for a database anymore. Check the records for all the registered
71121 files instead.
71122 * nss/Makefile (libnss_files-routines): Add files-init.
71123 (libnss_db-routines): Add db-init.
71124 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71125 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71126 * nss/nss_db/db-init.c: New file.
71127 * nss/nss_files/files-init.c: New file.
71128 * nss/nsswitch.c (nss_load_library): New function. Broken out of
71129 __nss_lookup_function.
71130 (__nss_lookup_function): Call nss_load_library.
71131 (nss_load_all_libraries): New function.
71132 (__nss_disable_nscd): Take parameter with callback function for files
71133 to register. Set is_nscd. Load all the DSOs for the NSS modules
71134 used for the cached services.
71135 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71136 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71137 options for features to all the files in nscd.
71138
71139 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71140
71141 2011-07-10 Roland McGrath <roland@hack.frob.com>
71142
71143 * csu/elf-init.c (__libc_csu_init): Comment typo.
71144
71145 2011-07-09 Ulrich Drepper <drepper@gmail.com>
71146
71147 * po/pl.po: Update from translation team.
71148 * po/ja.po: Likewise.
71149 * po/ru.po: Likewise.
71150 * po/ko.po: Likewise.
71151 * po/fr.po: Likewise.
71152
71153 2011-07-09 Roland McGrath <roland@hack.frob.com>
71154
71155 * configure.in (.ctors/.dtors header and trailer check):
71156 Use an empirical test on a built program.
71157 * configure: Regenerated.
71158
71159 * configure.in (-z relro check): Use an empirical test on a built DSO.
71160 Detect, but do not require, on ia64.
71161 * configure: Regenerated.
71162
71163 * configure.in (READELF): Find it with AC_CHECK_TOOL.
71164 Update tests that use readelf to use $READELF instead.
71165 * configure: Regenerated.
71166
71167 2011-07-08 Ulrich Drepper <drepper@gmail.com>
71168
71169 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71170 if the result is not used.
71171
71172 2011-07-05 Andreas Jaeger <aj@suse.de>
71173
71174 [BZ#9696]
71175 * stdlib/tst-strtod.c: Add testcase.
71176
71177 2011-07-07 Ulrich Drepper <drepper@gmail.com>
71178
71179 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71180 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71181 The latter has a higher limit. Take additional parameter to pass to
71182 the new function.
71183 (__pathconf): Pass file to __statfs_link_max.
71184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71185 __statfs_link_max.
71186 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71187 __statfs_link_max.
71188
71189 [BZ #12868]
71190 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71192 Handle Lustre.
71193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71194 (__statfs_filesize_max): Likewise.
71195 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71196
71197 2011-07-05 Andreas Jaeger <aj@suse.de>
71198
71199 * resolv/res_comp.c (dn_skipname): Remove unused variable.
71200
71201 2011-07-06 Marek Polacek <mpolacek@redhat.com>
71202
71203 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71204 `status' variable.
71205 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71206 Likewise.
71207
71208 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
71209
71210 * Makefile (strop-tests): Add strncat.
71211 * string/test-strncat.c: New file.
71212
71213 2011-06-30 Marek Polacek <mpolacek@redhat.com>
71214
71215 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71216
71217 2011-06-21 Andreas Jaeger <aj@suse.de>
71218
71219 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71220 Copy rule from iconvdata/Makefile.
71221
71222 2011-07-06 Ulrich Drepper <drepper@gmail.com>
71223
71224 [BZ #12922]
71225 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71226 but no long options are defined, just return 'W'.
71227
71228 2011-06-22 Marek Polacek <mpolacek@redhat.com>
71229
71230 [BZ #9696]
71231 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71232
71233 2011-07-06 Ulrich Drepper <drepper@gmail.com>
71234
71235 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71236 netgroups to read.
71237 (innetgr): Likewise.
71238
71239 2011-07-05 Roland McGrath <roland@hack.frob.com>
71240
71241 * config.make.in (install_root): Default to $(DESTDIR).
71242
71243 2011-07-05 Ulrich Drepper <drepper@gmail.com>
71244
71245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71246
71247 2011-07-02 Roland McGrath <roland@hack.frob.com>
71248
71249 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71250
71251 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71252 containing directory rather than embedding absolute directory names.
71253
71254 * scripts/check-local-headers.sh: Rewritten using awk.
71255 Match by word, not by line. Print error messages for matches.
71256 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71257
71258 * Makerules [shlib-lds-flags empty]:
71259 ($(common-objpfx)libc_pic.opts): New target.
71260 ($(common-objpfx)libc_pic.os.clean): New target.
71261 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71262
71263 * config.make.in (OBJCOPY): New variable.
71264 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71265 * configure: Regenerated.
71266
71267 * config.make.in (use-default-link): New variable.
71268 * configure.in (use_default_link): Grok --with-default-link to set it.
71269 * configure: Regenerated.
71270 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71271 (shlib-lds, shlib-lds-flags): Define to empty.
71272
71273 * Makerules (shlib-lds): New variable.
71274 (shlib-lds-flags): New variable.
71275 (build-shlib, build-moduile, build-module-asneeded): Use it.
71276 ($(common-objpfx)libc.so): Use $(shlib-lds).
71277 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71278 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71279
71280 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71281 DT_FLAGS/DT_FLAGS_1 with zero flags.
71282
71283 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71284 linker script munging.
71285
71286 2011-07-02 Ulrich Drepper <drepper@gmail.com>
71287
71288 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71289 as 128-bit value.
71290 * crypt/sha512.c (sha512_process_block): Perform total addition using
71291 128-bit if possible.
71292 (__sha512_finish_ctx): Likewise.
71293 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71294 as 64-bit value.
71295 * crypt/sha256.c (SWAP64): Define.
71296 (sha256_process_block): Perform total addition using 64-bit if
71297 possible.
71298 (__sha256_finish_ctx): Likewise.
71299
71300 2011-07-01 Ulrich Drepper <drepper@gmail.com>
71301
71302 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
71303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
71304 * nscd/hstcache.c (cache_addhst): Likewise.
71305 * nscd/grpcache.c (cache_addgr): Likewise.
71306 * nscd/aicache.c (addhstaiX): Likewise.
71307 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71308
71309 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
71310
71311 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
71313 * nscd/hstcache.c (cache_addhst): Likewise.
71314 * nscd/grpcache.c (cache_addgr): Likewise.
71315 * nscd/aicache.c (addhstaiX): Likewise.
71316
71317 2011-07-01 Andreas Schwab <schwab@redhat.com>
71318
71319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71320 domain only when needed.
71321
71322 2011-06-30 Andreas Schwab <schwab@redhat.com>
71323
71324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71325 is always restored.
71326
71327 2011-06-29 Ulrich Drepper <drepper@gmail.com>
71328
71329 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71330 are re-adding the entry.
71331 * nscd/servicescache.c (cache_addserv): Likewise.
71332
71333 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
71334
71335 * sysdeps/generic/dl-irel.h: fix protection against multiple
71336 inclusions.
71337 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71338
71339 2011-06-28 Ulrich Drepper <drepper@gmail.com>
71340
71341 [BZ #12935]
71342 * malloc/memusage.sh: Fix quoting in message.
71343 * debug/xtrace.sh: Likewise.
71344
71345 * configure.in: Remove support for --experimental-malloc option, make
71346 it the default.
71347 * config.make.in: Likewise.
71348 * malloc/Makefile: Likewise.
71349
71350 2011-06-27 Andreas Schwab <schwab@redhat.com>
71351
71352 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71353 two-byte characters.
71354
71355 2011-06-27 Roland McGrath <roland@hack.frob.com>
71356
71357 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71358 AC_CACHE_CHECK invocation.
71359 * configure: Regenerated.
71360
71361 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71362
71363 2011-06-27 Ulrich Drepper <drepper@gmail.com>
71364
71365 [BZ #12350]
71366 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
71367 bit from old_res_options.
71368
71369 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71370
71371 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71372 value type for setfct.
71373
71374 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
71375
71376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71377 __gettimeofday instead of gettimeofday.
71378
71379 2011-06-26 Ulrich Drepper <drepper@gmail.com>
71380
71381 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71382
71383 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
71384
71385 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71386
71387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71388 info.
71389
71390 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
71391
71392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71393 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71394 strcpy-sse2-unaligned strncpy-sse2-unaligned
71395 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71396 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71397 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71398 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71399 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71402 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71403 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71404 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71405 (STRCPY): Support SSE2 and SSSE3 versions.
71406
71407 2011-06-24 Ulrich Drepper <drepper@gmail.com>
71408
71409 [BZ #12874]
71410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71411 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71412 kernels which artificially limit size of requests.
71413
71414 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
71415
71416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71417 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71418 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71419 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71420 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71421 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71422 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71423 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71426 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71427 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71428 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71429 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71430 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71432 Enable unaligned load optimization for Intel Core i3, i5 and i7
71433 processors.
71434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71435 Define.
71436 (index_Fast_Unaligned_Load): Define.
71437 (HAS_FAST_UNALIGNED_LOAD): Define.
71438
71439 2011-06-23 Marek Polacek <mpolacek@redhat.com>
71440
71441 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71442
71443 2011-06-22 Ulrich Drepper <drepper@gmail.com>
71444
71445 [BZ #12907]
71446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71447 until it is clear that the information is realy needed.
71448 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71449
71450 2011-06-22 Andreas Schwab <schwab@redhat.com>
71451
71452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71453
71454 2011-06-22 Ulrich Drepper <drepper@gmail.com>
71455
71456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71457 /sys/devices/system/cpu/online if it is usable.
71458
71459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71460 reading the information from the /proc filesystem to once a second.
71461
71462 2011-06-21 Andreas Jaeger <aj@suse.de>
71463
71464 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71465 NULL after inclusion of kernel headers.
71466
71467 2011-06-21 Ulrich Drepper <drepper@gmail.com>
71468
71469 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71470 calls to internal_setent.
71471
71472 [BZ #12885]
71473 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71474 addresses using gethostbyname4_r ignore IPv4 addresses.
71475
71476 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71477 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
71478
71479 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71480
71481 2011-06-20 David S. Miller <davem@davemloft.net>
71482
71483 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71484 inclusions.
71485 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71486
71487 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71488 (elf_irel): Use it.
71489 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71490 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71491 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71492 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71493 * sysdeps/x86_64/dl-irel.h: Likewise.
71494
71495 * elf/dl-runtime.c: Use elf_ifunc_invoke.
71496 * elf/dl-sym.c: Likewise.
71497
71498 2011-06-15 Ulrich Drepper <drepper@gmail.com>
71499
71500 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
71501 need to dereference resplen2.
71502
71503 2011-06-14 Andreas Schwab <schwab@redhat.com>
71504
71505 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71506
71507 2011-06-15 Ulrich Drepper <drepper@gmail.com>
71508
71509 * Makeconfig: Define vardbdir and inst_vardbdir.
71510 * nss/Makefile: Add rules to install db-Makefile.
71511
71512 * nss/nss_db/db-XXX.c: Cleanup.
71513
71514 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71515 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71516 GLIBC_PRIVATE.
71517 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71518 * nss/makedb.c: Implement -g option to specify that value strings
71519 are generated and should not be added to table iterated over for
71520 get*ent calls.
71521 * nss/nss_db/db-initgroups.c: New file.
71522
71523 * nss/getent.c: Add support for initgroups lookups through getgrouplist
71524 interface.
71525
71526 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71527 (internal_getgrouplist): Adjust to name change.
71528 Update use_initgroups_entry if this is not the first call.
71529 * nss/databases.def: Add initgroups entry.
71530
71531 * nss/makedb.c (compute_tables): Check result of multiple hash table
71532 sizes to minimize maximum chain length.
71533
71534 2011-06-14 Ulrich Drepper <drepper@gmail.com>
71535
71536 * Versions.def: Add entry for libnss_db.
71537 * shlib-versions: Likewise.
71538 * nss/Makefile: Add rules to build libnss_db.
71539 * nss/Versions: Add libnss_db information. Organize libnss_files
71540 entries better.
71541 * nss/db-Makefile: Add gshadow support. Change rules for the new
71542 makedb progra. Some minor improvements to generate smaller files.
71543 * nss/nss_db/nss_db.h: Move NSS database header data structures to
71544 here from...
71545 * nss/makedb.c: ...here.
71546 Improve database format to be smaller and require less memory at
71547 runtime.
71548 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
71549 db anymore.
71550 * nss/nss_db/db-netgrp.c: Likewise.
71551 * nss/nss_db/db-open.c: Likewise.
71552 * nss/nss_files/flies-XXX.x: Adjust comments.
71553 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71554 * nss/nss_files/files-grp.c: Likewise.
71555 * nss/nss_files/files-hosts.c: Likewise.
71556 * nss/nss_files/files-network.c: Likewise.
71557 * nss/nss_files/files-proto.c: Likewise.
71558 * nss/nss_files/files-pwd.c: Likewise.
71559 * nss/nss_files/files-rpc.c: Likewise.
71560 * nss/nss_files/files-service.c: Likewise.
71561 * nss/nss_files/files-sgrp.c: Likewise.
71562 * nss/nss_files/files-spwd.c: Likewise.
71563 * nss/nss_db/db-alias.c: Removed.
71564 * nss/nss_db/dummy-db.h: Removed.
71565
71566 2011-06-02 Ulrich Drepper <drepper@gmail.com>
71567
71568 * nss/makedb.c: Rewritten to not use database library.
71569 * nss/Makefile: Update to build new makedb program.
71570
71571 2011-06-14 Andreas Jaeger <aj@suse.de>
71572
71573 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71574 memset declaration.
71575
71576 2011-06-10 Andreas Schwab <schwab@redhat.com>
71577
71578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71579 tmpbuf.
71580
71581 2011-06-10 Roland McGrath <roland@hack.frob.com>
71582
71583 * Makerules (shlib.lds): Fail if the linker script comes out empty.
71584 * elf/Makefile ($(objpfx)ld.so): Likewise.
71585
71586 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71587 Don't list ld.so twice in dependencies.
71588
71589 * posix/bug-regex31.c: Include <stdlib.h>.
71590
71591 * nscd/hstcache.c (cache_addhst): Remove unused variable.
71592
71593 * nis/nss_compat/compat-spwd.c
71594 (getspent_next_nss_netgr): Remove unused variable.
71595 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71596
71597 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71598 nonmembers" output to use the right array.
71599
71600 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71601
71602 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71603
71604 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71605 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71606 * catgets/gencat.c (read_input_file): Likewise.
71607 * locale/programs/locarchive.c (enlarge_archive): Likewise.
71608
71609 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71610 variable definition inside #if's controlling its use.
71611
71612 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71613
71614 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71615
71616 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71617
71618 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71619 unreachable code.
71620
71621 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71622
71623 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71624 * configure: Regenerated.
71625
71626 * Makerules: Revert last change.
71627 * elf/Makefile: Likewise.
71628
71629 2011-06-09 Roland McGrath <roland@hack.frob.com>
71630
71631 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71632 * elf/Makefile ($(objpfx)librtld.os): Likewise.
71633 (reloc-link): Likewise.
71634
71635 2011-06-09 Ulrich Drepper <drepper@gmail.com>
71636
71637 * elf/Makefile: Add rules to build pldd.
71638 * elf/pldd.c: New file.
71639 * elf/pldd-xx.c: New file.
71640
71641 2011-06-07 Ulrich Drepper <drepper@gmail.com>
71642
71643 * version.h: Update for 2.15 development version.
71644
71645 2011-06-07 David S. Miller <davem@davemloft.net>
71646
71647 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71648 ifuncs.
71649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71650 elf_machine_lazy_rel): Likewise.
71651 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71653 elf_machine_lazy_rel): Likewise.
71654 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71655 dl_hwcap via passed in argument.
71656 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71657 Likewise.
71658
71659 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71660
71661 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
71662
71663 2011-06-06 Roland McGrath <roland@hack.frob.com>
71664
71665 [BZ #12849]
71666 * manual/fdl-1.1.texi: New file, verbatim from:
71667 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71668 * manual/lgpl-2.1.texi: New file, verbatim from:
71669 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71670 * manual/Makefile (licenses): New variable, list those new file names.
71671 (texis): Use it.
71672 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71673
71674 * manual/fdl.texi: File removed.
71675 * manual/lesser.texi: File removed.
71676 * manual/libc.texinfo (Copying, Documentation License):
71677 Use new @include file names, put @appendix directive before @include.
71678
71679 2011-06-04 Jakub Jelinek <jakub@redhat.com>
71680
71681 [BZ #12841]
71682 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71683 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71684 (mq_open): Add __NTH.
71685
71686 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
71687
71688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71689 Assume Intel Core i3/i5/i7 processor if AVX is available.
71690
71691 2011-05-31 Ulrich Drepper <drepper@gmail.com>
71692
71693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71694 typo.
71695
71696 2011-05-31 Andreas Schwab <schwab@redhat.com>
71697
71698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71699 memory. Use alloca_account. Fix memory leak when retrying.
71700
71701 2011-05-31 Ulrich Drepper <drepper@gmail.com>
71702
71703 * version.h (RELEASE): Bump for 2.14 release.
71704 * include/features.h (__GLIBC_MINOR__): Bump to 14.
71705
71706 * config.make.in (RANLIB): Remove entry.
71707
71708 2011-05-30 Ulrich Drepper <drepper@gmail.com>
71709
71710 * po/Makefile (po-sed-cmd): Add ksh to extensions.
71711 (libc.pot): Work around missing support for .ksh extension in xgettext.
71712
71713 [BZ #12684]
71714 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71715 if both request failed.
71716 (send_dg): In case of server errors clear resplen or *resplen2.
71717
71718 [BZ #12454]
71719 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71720 when there are multiple maps.
71721 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71722 (_dl_fini): Remove test here.
71723
71724 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71725
71726 2011-05-29 Ulrich Drepper <drepper@gmail.com>
71727
71728 [BZ #12350]
71729 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71730 bit from old_res_options.
71731 (gaih_inet): Likewise.
71732
71733 [BZ #11099]
71734 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71735 as signed.
71736
71737 * resolv/res_init.c (res_setoptions): Make the code more compact.
71738
71739 [BZ #11558]
71740 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71741 set RES_USEVC.
71742
71743 [BZ #11634]
71744 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71745
71746 * malloc/malloc.h: Mark malloc hook variables as deprecated.
71747
71748 [BZ #11781]
71749 * malloc/malloc.h: Declare malloc hook variables as volatile.
71750
71751 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71752 in last patch.
71753
71754 [BZ #11799]
71755 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71756 raise in the comment.
71757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71759 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71760
71761 2011-05-28 Ulrich Drepper <drepper@gmail.com>
71762
71763 [BZ #12811]
71764 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71765 grow the buffers more if it already has to be sufficient.
71766 (build_wcs_upper_buffer): Likewise.
71767 * posix/regexec.c (check_matching): Likewise.
71768 (clean_state_log_if_needed): Likewise.
71769 (extend_buffers): Don't enlarge buffers beyond size of the input
71770 buffer.
71771 Patches mostly by Emil Wojak <emil@wojak.eu>.
71772 * posix/bug-regex32.c: New file.
71773 * posix/Makefile (tests): Add bug-regex32.
71774
71775 * locale/findlocale.c (_nl_find_locale): Return right away if
71776 _nl_explode_name failed.
71777 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71778
71779 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71780
71781 * debug/xtrace.sh: Unify messages.
71782 * malloc/memusage.sh: Likewise.
71783
71784 [BZ #12813]
71785 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71786 time symbol from vDSO. Substitute with vsyscall if not available.
71787 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71788 __vdso_time.
71789
71790 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71791 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71792 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71793 Add sendmmsg and internal_sendmmsg.
71794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71795 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71796 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71797
71798 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71799 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71800 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71801
71802 2011-05-27 Ulrich Drepper <drepper@gmail.com>
71803
71804 [BZ #12813]
71805 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71806 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
71807 available.
71808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71809 __vdso_getcpu.
71810
71811 [BZ #12814]
71812 * iconvdata/Makefile (tests): Add bug-iconv9.
71813 * iconvdata/bug-iconv9.c: New file.
71814
71815 2011-05-27 Andreas Schwab <schwab@redhat.com>
71816
71817 [BZ #12814]
71818 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71819
71820 2011-05-25 Jakub Jelinek <jakub@redhat.com>
71821
71822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71823 (struct user_regs_struct): Change intcs field back to cs.
71824
71825 2011-05-25 Ulrich Drepper <drepper@gmail.com>
71826
71827 * po/ja.po: Update from translation team.
71828
71829 2011-05-23 Ulrich Drepper <drepper@gmail.com>
71830
71831 [BZ #12795]
71832 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71833 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71834
71835 2011-05-20 Andreas Schwab <schwab@redhat.com>
71836
71837 * stdlib/longlong.h: Update from GCC.
71838
71839 2011-05-23 Andreas Schwab <schwab@redhat.com>
71840
71841 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71842 parameter name.
71843 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71844 Add parameter name.
71845 (__sysconf): Pass it down.
71846
71847 2011-05-22 Ulrich Drepper <drepper@gmail.com>
71848
71849 [BZ #12671]
71850 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71851 some situations.
71852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71853 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71854 add in in __libc_use_alloca calls. Adjust callers.
71855 (glob): Use malloc in some situations.
71856
71857 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71858 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71859 pltexit.
71860
71861 2011-05-21 Ulrich Drepper <drepper@gmail.com>
71862
71863 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71864 and CLOCK_BOOTTIME_ALARM.
71865
71866 [BZ #12782]
71867 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71868 is returned.
71869
71870 * string/_strerror.c (__strerror_r): Print negative errors as signed
71871 numbers.
71872
71873 [BZ #12777]
71874 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71875 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71876 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71877
71878 * configure.in: Fix typo in redirection and correct removal of test
71879 files in two cases.
71880
71881 [BZ #12788]
71882 * locale/setlocale.c (new_composite_name): Fix test to check for
71883 identical name of all categories.
71884
71885 [BZ #12792]
71886 * libio/filedoalloc.c (local_isatty): New function.
71887 (_IO_file_doallocate): Use local_isatty.
71888 * stdio-common/perror.c (perror): In case a new stream is used
71889 forward the stream error.
71890 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71891 error flag.
71892
71893 2011-05-20 Ulrich Drepper <drepper@gmail.com>
71894
71895 [BZ #11884]
71896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71897 alloca.
71898 * include/alloca.h (extend_alloca_account): Define.
71899
71900 [BZ #11857]
71901 * posix/regex.h: Fix comments with documentation of user-accessible
71902 fields after compilation and describe correct free'ing of pattern
71903 after re_compile_pattern.
71904 Patch by Reuben Thomas <rrt@sc3d.org>.
71905
71906 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
71907
71908 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71909 and -mno-altivec to prevent the compiler from using Altivec and/or
71910 VSX instructions when the corresponding registers are not available.
71911
71912 2011-05-19 Andreas Schwab <schwab@redhat.com>
71913
71914 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71915
71916 2011-05-19 Ulrich Drepper <drepper@gmail.com>
71917
71918 * libio/freopen.c (freopen): Use __dup2, not dup2.
71919 * libio/freopen64.c (freopen64): Likewise.
71920
71921 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
71922
71923 [BZ #12775]
71924 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71925 * math/Makefile (tests): Add test-powl.
71926 (CFLAGS-test-powl.c): Define.
71927 * math/test-powl.c: New file.
71928
71929 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
71930
71931 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71932
71933 2011-05-17 Ulrich Drepper <drepper@gmail.com>
71934
71935 [BZ #11837]
71936 * iconvdata/gb18030.c: Update to GB18020-2005.
71937
71938 2011-05-16 Ulrich Drepper <drepper@gmail.com>
71939
71940 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71941 RE_SYNTAX_POSIX_AWK): Update to match recent development.
71942 Patch by Aharon Robbins <arnold@skeeve.com>.
71943
71944 [BZ #11892]
71945 * stdlib/putenv.c (putenv): Don't always create copy of the variable
71946 on the stack.
71947
71948 [BZ #11895]
71949 * misc/pselect.c (__pselect): Handle timeout value errors hidden
71950 through underflows.
71951
71952 [BZ #12766]
71953 * misc/error.c (error_at_line): Ensure file_name and old_file_name
71954 point to strings before performing equality test for error_one_per_line
71955 mode.
71956
71957 [BZ #11697]
71958 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71959
71960 [BZ #11820]
71961 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71962 (struct user_fpregs_struct): Avoid __uint*_t types.
71963
71964 [BZ #6420]
71965 * malloc/mtrace.c (tr_where): Add additional parameter to point to
71966 symbol info. Use it instead of calling _dl_addr locally.
71967 (lock_and_info): New function.
71968 (tr_freehook): Call lock_and_info and pass symbol info as additional
71969 parameter to tr_where.
71970 (tr_mallochook): Likewise.
71971 (tr_reallochook): Likewise.
71972 (tr_memalignhook): Likewise.
71973
71974 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
71975 used and couldn't be at all thread-safe.
71976
71977 2011-05-15 Ulrich Drepper <drepper@gmail.com>
71978
71979 * libio/freopen.c (freopen): Don't close old file descriptor
71980 before the new one is opened. Instead dup the new file descriptor
71981 to the old one after the new stream is created.
71982 * libio/freopen64.c (freopen64): Likewise.
71983 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71984 * libio/fileops.c (_IO_new_file_close_it): Handle new
71985 _IO_FLAGS2_NOCLOSE flag.
71986 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71987 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71988 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71989 _IO_FLAGS2_NOCLOSE flag.
71990 * include/unistd.h: Add hidden_proto for dup3.
71991 Define __have_dup3.
71992 * io/dup3.c: Define hidden symbol.
71993 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71994
71995 [BZ #7101]
71996 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71997 when an incomplete long option is used.
71998 * posix/tst-getopt_long1.c: New file.
71999 * posix/Makefile (tests): Add tst-getopt_long1.
72000
72001 [BZ #10138]
72002 * scripts/config.guess: Update from autoconf-2.68.
72003 * scripts/config.sub: Likewise.
72004
72005 [BZ #10157]
72006 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72007 tests into ...
72008 (has_cpuclock): ...this. New function.
72009 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72010 macro here based on has_cpuclock code.
72011
72012 [BZ #10149]
72013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72014 First byte (not low byte) is now always NUL.
72015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72016
72017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72018 Use non-cancelable interfaces.
72019
72020 [BZ #9809]
72021 * locale/iso-639.def: Add entry for Sorani.
72022
72023 [BZ #11901]
72024 * include/stdlib.h: Move include protection to the right place.
72025 Define abort_msg_s. Declare __abort_msg with it.
72026 * stdlib/abort.c (__abort_msg): Adjust type.
72027 * assert/assert.c (__assert_fail_base): New function. Majority
72028 of code from __assert_fail. Allocate memory for __abort_msg with
72029 mmap.
72030 (__assert_fail): Now call __assert_fail_base.
72031 * assert/assert-perr.c: Remove bulk of implementation. Use
72032 __assert_fail_base.
72033 * include/assert.hL Declare __assert_fail_base.
72034 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72035 mmap.
72036 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72037
72038 2011-05-14 Ulrich Drepper <drepper@gmail.com>
72039
72040 [BZ #11952]
72041 [BZ #12453]
72042 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72043 until all modules are registered in the DTV.
72044 * elf/Makefile: Add rules to build and run tst-tls19.
72045 * elf/tst-tls19.c: New file.
72046 * elf/tst-tls19mod1.c: New file.
72047 * elf/tst-tls19mod2.c: New file.
72048 * elf/tst-tls19mod3.c: New file.
72049 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72050
72051 [BZ #12083]
72052 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72053 correctly.
72054
72055 [BZ #12601]
72056 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72057 two-byte sequence errors.
72058 * iconvdata/Makefile (tests): Add bug-iconv8.
72059 * iconvdata/bug-iconv8.c: New file.
72060
72061 [BZ #12626]
72062 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72063 buf2 definition.
72064
72065 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72066
72067 [BZ #12432]
72068 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72069 (dummy_getcfa): New function.
72070 (init): Get _Unwind_GetCFA address, use dummy if not found.
72071 (backtrace_helper): In recursion check, also check whether CFA changes.
72072 (__backtrace): Completely initialize arg.
72073
72074 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72075 storing incomplete byte sequence in state object. Avoid testing for
72076 guaranteed too small input if we know there is enough data available.
72077
72078 2011-05-11 Andreas Schwab <schwab@redhat.com>
72079
72080 * Makeconfig (+link-pie): Indent.
72081 * Rules (binaries-pie): Define if $(have-fpie) and
72082 $(build-shared).
72083 (binaries-shared): Also filter out $(binaries-pie).
72084 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72085 * nscd/Makefile (others-pie): Add nscd.
72086 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72087 ($(objpfx)nscd): Remove command override.
72088 * login/Makefile (others-pie): Add pt_chown.
72089 ($(objpfx)pt_chown): Remove command override.
72090 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72091 remove command overrides.
72092
72093 2011-05-13 Ulrich Drepper <drepper@gmail.com>
72094
72095 * libio/tst_putwc.c: Fix error messages.
72096
72097 [BZ #12724]
72098 * libio/fileops.c (_IO_new_file_close_it): Always flush when
72099 currently writing and seek to current position when not.
72100 * libio/Makefile (tests): Add bug-fclose1.
72101 * libio/bug-fclose1.c: New file.
72102
72103 2011-05-12 Ulrich Drepper <drepper@gmail.com>
72104
72105 [BZ #12511]
72106 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72107 don't set DF_1_NODELETE here.
72108 (do_lookup_x): When entering new entry test for copy relocation
72109 and if necessary set DF_1_NODELETE flag.
72110 * elf/tst-unique4.cc: New file.
72111 * elf/tst-unique4.h: New file.
72112 * elf/tst-unique4lib.cc: New file.
72113 * elf/Makefile: Add rules to build and run tst-unique4.
72114 Patch by Piotr Bury <pbury@goahead.com>.
72115
72116 2011-05-11 Ulrich Drepper <drepper@gmail.com>
72117
72118 [BZ #12052]
72119 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72120
72121 [BZ #12625]
72122 * misc/mntent_r.c (addmntent): Flush the stream after the output
72123
72124 [BZ #12393]
72125 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72126 (is_trusted_path_normalize): Skip initial colon. Append slash
72127 to empty buffer. Duplicate is_trusted_path code but allow
72128 constructed patch to be prefix.
72129 (is_dst): Allow $ORIGIN followed by /.
72130 (_dl_dst_substitute): Correct clearing of check_for_trusted.
72131 Correct testing of result of is_trusted_path_normalize
72132 (decompose_rpath): Fix warning.
72133
72134 2011-05-10 Ulrich Drepper <drepper@gmail.com>
72135
72136 [BZ #11257]
72137 * grp/initgroups.c (internal_getgrouplist): When we found the service
72138 list through the initgroups entry in nsswitch.conf do not always
72139 continue on a successful lookup. Don't always use the
72140 __nss_group_database value if it is set.
72141 * nss/nsswitch.conf (initgroups): Change action for successful db
72142 lookup to continue for compatibility.
72143
72144 2011-05-09 Ulrich Drepper <drepper@gmail.com>
72145
72146 [BZ #11532]
72147 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72148 and CP774 modules.
72149 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72150 and CP774 modules.
72151 * iconvdata/tst-tables.sh: Likewise.
72152 * iconvdata/cp770.c: New file.
72153 * iconvdata/cp771.c: New file.
72154 * iconvdata/cp772.c: New file.
72155 * iconvdata/cp773.c: New file.
72156 * iconvdata/cp774.c: New file.
72157 * iconvdata/testdata/CP770: New file.
72158 * iconvdata/testdata/CP770..UTF8: New file.
72159 * iconvdata/testdata/CP771: New file.
72160 * iconvdata/testdata/CP771..UTF8: New file.
72161 * iconvdata/testdata/CP772: New file.
72162 * iconvdata/testdata/CP772..UTF8: New file.
72163 * iconvdata/testdata/CP773: New file.
72164 * iconvdata/testdata/CP773..UTF8: New file.
72165 * iconvdata/testdata/CP774: New file.
72166 * iconvdata/testdata/CP774..UTF8: New file.
72167
72168 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72169 END CHARMAP line.
72170 * iconvdata/gen-8bit-gap.sh: Likewise.
72171 * iconvdata/gen-8bit.sh: Likewise.
72172
72173 * locale/iso-639.def: Add ary entry.
72174
72175 [BZ #11258]
72176 * locale/C-translit.h.in: Add U20A1 transliteration.
72177
72178 [BZ #12178]
72179 * locale/iso-639.def: Add wae entry.
72180 Patch by Kevin Bortis <bortis@translate-wae.ch>.
72181
72182 [BZ #12545]
72183 * locale/programs/localedef.c (construct_output_path): Use ssize_t
72184 for n.
72185
72186 [BZ #12711]
72187 * locale/C-translit.h.in: Add entry for U20B9.
72188 Patch by pravin.d.s@gmail.com.
72189
72190 2011-05-08 Ulrich Drepper <drepper@gmail.com>
72191
72192 [BZ #12713]
72193 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72194 ENAMETOOLONG use generic getcwd.
72195 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
72196 in rtld. Use *stat64.
72197 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72198 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72199 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72200 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72201 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72202 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72203 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72204 __fstatat64 macros.
72205 * include/dirent.h: Add libc_hidden_proto for rewinddir.
72206 * dirent/rewinddir.c: Add libc_hidden_def.
72207 * sysdeps/mach/hurd/rewinddir.c: Likewise.
72208 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
72209
72210 * include/dirent.h (__alloc_dir): Add flags parameter.
72211 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72212 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72213 __alloc_dir.
72214 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
72215 from fdopendir if O_CLOEXEC is already set.
72216
72217 2011-03-15 Alan Modra <amodra@gmail.com>
72218
72219 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72220 l_tls_firstbyte_offset non-zero. Save padding offset in
72221 l_tls_firstbyte_offset for later use.
72222 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72223 freeing static tls block.
72224
72225 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
72226
72227 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72228 where #ifdef was intended. The intent is to prevent ARG_MAX from
72229 being defined by the kernel headers.
72230
72231 2011-05-07 Ulrich Drepper <drepper@gmail.com>
72232
72233 [BZ #12734]
72234 * resolv/resolv.h: Define RES_NOTLDQUERY.
72235 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72236 no-tld-query and set RES_NOTLDQUERY.
72237 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72238 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72239 modern BIND to search name as TLD unless forbidden.
72240
72241 2011-05-07 Petr Baudis <pasky@suse.cz>
72242 Ulrich Drepper <drepper@gmail.com>
72243
72244 [BZ #12393]
72245 * elf/dl-load.c (fillin_rpath): Move trusted path check...
72246 (is_trusted_path): ...to here.
72247 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72248 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72249 using is_trusted_path_normalize() in setuid scripts.
72250
72251 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
72252
72253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72254 __BEGIN/__END_DECLS.
72255
72256 2011-05-06 Ulrich Drepper <drepper@gmail.com>
72257
72258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72259 NSS_STATUS_NOTFOUND if no record was found.
72260
72261 2011-05-05 Andreas Schwab <schwab@redhat.com>
72262
72263 * sunrpc/Makefile (headers): Add rpc/netdb.h.
72264 (headers-not-in-tirpc): Remove rpc/netdb.h
72265 * resolv/netdb.h: Revert last change.
72266
72267 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
72268
72269 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72270 circular dependency between libgcc.a and libc.a.
72271
72272 2011-05-05 Andreas Schwab <schwab@redhat.com>
72273
72274 * resolv/netdb.h: Don't include <rpc/netdb.h>.
72275 * nis/Makefile: Don't install rpcsvc/*.
72276 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72277 instead of <rpc/types.h>.
72278 (MAXHOSTNAMELEN): Define.
72279
72280 2011-05-03 Andreas Schwab <schwab@redhat.com>
72281
72282 * elf/ldconfig.c (add_dir): Don't crash on empty path.
72283
72284 2011-04-28 Maciej Babinski <mbabinski@google.com>
72285
72286 [BZ #12714]
72287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72288 gethostbyname4_r when IPv6 results are possible.
72289
72290 2011-05-02 Ulrich Drepper <drepper@gmail.com>
72291
72292 [BZ #12723]
72293 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72294 _PC_PIPE_BUF handling.
72295
72296 2011-04-30 Bruno Haible <bruno@clisp.org>
72297
72298 [BZ #12717]
72299 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72300 * resolv/netdb.h (getnameinfo): Change type of flags parameter
72301 to 'int'.
72302 * inet/getnameinfo.c (getnameinfo): Likewise.
72303
72304 2011-04-29 Ulrich Drepper <drepper@gmail.com>
72305
72306 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72307 to groups setting in database lookup.
72308 * nss/nsswitch.conf: Add initgroups entry.
72309
72310 2011-04-22 Ulrich Drepper <drepper@gmail.com>
72311
72312 [BZ #12685]
72313 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72314 mode string.
72315 Patch by Eric Blake <eblake@redhat.com>.
72316
72317 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
72318
72319 * sunrpc/Makefile (need-export-routines): Add svc_run.
72320 (routines): Remove svc_run.
72321 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72322 * sunrpc/clnt_perr.c (clnt_perrno): Export.
72323 * sunrpc/svc_run.c (svc_run): Likewise.
72324 * sunrpc/svc_udp.c (svcudp_create): Likewise.
72325
72326 2011-04-21 Ulrich Drepper <drepper@gmail.com>
72327
72328 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72329 problem in reallocation in last patch.
72330
72331 2011-04-20 Ulrich Drepper <drepper@gmail.com>
72332
72333 * sunrpc/Makefile: Move inclusion of Rules.
72334
72335 2011-04-19 Ulrich Drepper <drepper@gmail.com>
72336
72337 * nss/nss_files/files-initgroups.c: New file.
72338 * nss/Makefile (libnss_files-routines): Add files-initgroups.
72339 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72340 _nss_files_initgroups_dyn.
72341
72342 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
72343
72344 * elf/elf.h (R_ARM_IRELATIVE): Define.
72345
72346 2011-04-19 Ulrich Drepper <drepper@gmail.com>
72347
72348 * po/ru.po: Update from translation team.
72349
72350 2011-04-17 Ulrich Drepper <drepper@gmail.com>
72351
72352 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72353 dependencies.
72354
72355 2011-02-06 Mike Frysinger <vapier@gentoo.org>
72356
72357 [BZ #12653]
72358 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72359 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72360 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72362 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72363
72364 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
72365
72366 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72367 differing bytes.
72368 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72369 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72371
72372 2011-04-17 Ulrich Drepper <drepper@gmail.com>
72373
72374 [BZ #12420]
72375 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72376 storing it.
72377 * stdlib/bug-getcontext.c: New file.
72378 * stdlib/Makefile: Add rules to build and run bug-getcontext.
72379
72380 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72381
72382 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72383 instructions into .machine "z9-109".
72384 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72385 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72386
72387 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72388
72389 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72390 between environment variables and auxiliary vector.
72391
72392 2011-04-16 Ulrich Drepper <drepper@gmail.com>
72393
72394 * Makefile: Add rules to build linkobj/libc.so.
72395 * include/libc-symbols.h: Define libc_hidden_nolink.
72396 * include/rpc/auth.h: Mark functions which are to be hidden.
72397 * include/rpc/auth_des.h: Likewise.
72398 * include/rpc/auth_unix.h: Likewise.
72399 * include/rpc/clnt.h: Likewise.
72400 * include/rpc/des_crypt.h: Likewise.
72401 * include/rpc/key_prot.h: Likewise.
72402 * include/rpc/pmap_clnt.h: Likewise.
72403 * include/rpc/pmap_prot.h: Likewise.
72404 * include/rpc/pmap_rmt.h: Likewise.
72405 * include/rpc/rpc_msg.h: Likewise.
72406 * include/rpc/svc.h: Likewise.
72407 * include/rpc/svc_auth.h: Likewise.
72408 * include/rpc/xdr.h: Likewise.
72409 * nis/Makefile: Link all DSOs against linkobj/libc.so.
72410 * nss/Makefile: Likewise.
72411 * sunrpc/Makefile: Don't install headers. Build library with normal
72412 entry points. Don't build rpcinfo. Link RPC tests appropriately.
72413 * sunrpc/auth_des.c: Hide exported symbols by default, export some
72414 for the compat linking library. Remove use of INTDEF/INTUSE.
72415 * sunrpc/auth_none.c: Likewise.
72416 * sunrpc/auth_unix.c: Likewise.
72417 * sunrpc/authdes_prot.c: Likewise.
72418 * sunrpc/authuxprot.c: Likewise.
72419 * sunrpc/clnt_gen.c: Likewise.
72420 * sunrpc/clnt_perr.c: Likewise.
72421 * sunrpc/clnt_raw.c: Likewise.
72422 * sunrpc/clnt_simp.c: Likewise.
72423 * sunrpc/clnt_tcp.c: Likewise.
72424 * sunrpc/clnt_udp.c: Likewise.
72425 * sunrpc/clnt_unix.c: Likewise.
72426 * sunrpc/des_crypt.c: Likewise.
72427 * sunrpc/des_soft.c: Likewise.
72428 * sunrpc/get_myaddr.c: Likewise.
72429 * sunrpc/key_call.c: Likewise.
72430 * sunrpc/key_prot.c: Likewise.
72431 * sunrpc/netname.c: Likewise.
72432 * sunrpc/pm_getmaps.c: Likewise.
72433 * sunrpc/pm_getport.c: Likewise.
72434 * sunrpc/pmap_clnt.c: Likewise.
72435 * sunrpc/pmap_prot.c: Likewise.
72436 * sunrpc/pmap_prot2.c: Likewise.
72437 * sunrpc/pmap_rmt.c: Likewise.
72438 * sunrpc/publickey.c: Likewise.
72439 * sunrpc/rpc_cmsg.c: Likewise.
72440 * sunrpc/rpc_common.c: Likewise.
72441 * sunrpc/rpc_dtable.c: Likewise.
72442 * sunrpc/rpc_prot.c: Likewise.
72443 * sunrpc/rpc_thread.c: Likewise.
72444 * sunrpc/rtime.c: Likewise.
72445 * sunrpc/svc.c: Likewise.
72446 * sunrpc/svc_auth.c: Likewise.
72447 * sunrpc/svc_authux.c: Likewise.
72448 * sunrpc/svc_raw.c: Likewise.
72449 * sunrpc/svc_run.c: Likewise.
72450 * sunrpc/svc_simple.c: Likewise.
72451 * sunrpc/svc_tcp.c: Likewise.
72452 * sunrpc/svc_udp.c: Likewise.
72453 * sunrpc/svc_unix.c: Likewise.
72454 * sunrpc/svcauth_des.c: Likewise.
72455 * sunrpc/xcrypt.c: Likewise.
72456 * sunrpc/xdr.c: Likewise.
72457 * sunrpc/xdr_array.c: Likewise.
72458 * sunrpc/xdr_float.c: Likewise.
72459 * sunrpc/xdr_intXX_t.c: Likewise.
72460 * sunrpc/xdr_mem.c: Likewise.
72461 * sunrpc/xdr_rec.c: Likewise.
72462 * sunrpc/xdr_ref.c: Likewise.
72463 * sunrpc/xdr_sizeof.c: Likewise.
72464 * sunrpc/xdr_stdio.c: Likewise.
72465
72466 2011-04-10 Ulrich Drepper <drepper@gmail.com>
72467
72468 [BZ #12650]
72469 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72470 * sysdeps/ia64/dl-tls.h: Likewise.
72471 * sysdeps/powerpc/dl-tls.h: Likewise.
72472 * sysdeps/s390/dl-tls.h: Likewise.
72473 * sysdeps/sh/dl-tls.h: Likewise.
72474 * sysdeps/sparc/dl-tls.h: Likewise.
72475 * sysdeps/x86_64/dl-tls.h: Likewise.
72476 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72477
72478 2011-03-14 Andreas Schwab <schwab@redhat.com>
72479
72480 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72481 rpath element also skip the following colon.
72482 (expand_dynamic_string_token): Add is_path parameter and pass
72483 down to DL_DST_REQUIRED and _dl_dst_substitute.
72484 (decompose_rpath): Call expand_dynamic_string_token with
72485 non-zero is_path. Ignore empty rpaths.
72486 (_dl_map_object_from_fd): Call expand_dynamic_string_token
72487 with zero is_path.
72488
72489 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
72490
72491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72492 Make cancelable.
72493
72494 2011-04-09 Ulrich Drepper <drepper@gmail.com>
72495
72496 [BZ #12655]
72497 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72498 Patch by Filipe David Manana <fdmanana@apache.org>.
72499
72500 2011-04-07 Andreas Schwab <schwab@redhat.com>
72501
72502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72503 Maintain aligned stack.
72504 (CHECK_RSP): Remove unused macro.
72505
72506 2011-04-03 Ulrich Drepper <drepper@gmail.com>
72507
72508 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72510
72511 2011-04-02 Ulrich Drepper <drepper@gmail.com>
72512
72513 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72514
72515 * include/features.h: Mention __USE_XOPEN2K8 in comment.
72516
72517 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
72518
72519 [BZ #12518]
72520 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72521 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72522 * sysdeps/x86_64/memmove.c: New file.
72523 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72524 (memcpy): Renamed to ...
72525 (__new_memcpy): This.
72526 (memcpy): Provide GLIBC_2_14 memcpy.
72527 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72528 (memcpy): Provide GLIBC_2_2_5 memcpy.
72529
72530 2011-04-01 Ulrich Drepper <drepper@gmail.com>
72531
72532 [BZ #12631]
72533 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72534
72535 2011-03-30 Andreas Schwab <schwab@redhat.com>
72536
72537 * misc/syncfs.c: New file.
72538 * misc/Makefile (routines): Add syncfs.
72539 * posix/unistd.h: Declare syncfs.
72540 * sysdeps/unix/syscalls.list: Add syncfs.
72541
72542 2011-04-01 Andreas Schwab <schwab@redhat.com>
72543
72544 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72545 open_by_handle_at.
72546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72549 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72551 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72553
72554 2011-04-01 Ulrich Drepper <drepper@gmail.com>
72555
72556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72557 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72558 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72563
72564 * io/Makefile: Compile fallocate.c, fallocate64.c, and
72565 sync_file_range.c with -fexceptions.
72566 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72567 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72568 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72569 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72570 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72571 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72573 sync_file_range as cancellation point
72574 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
72575 now a wrapper around __call_sync_file_range with cancellation handling.
72576 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72577 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
72578 function name to __call_sync_file_range.
72579 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72580 Add call_sync_file_range.
72581
72582 2011-04-01 Andreas Schwab <schwab@redhat.com>
72583
72584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72585 bits/timex.h.
72586
72587 2011-04-01 Ulrich Drepper <drepper@gmail.com>
72588
72589 * iconv/iconv.h: Fix typo in comment.
72590 * io/fcntl.h: Likewise.
72591 * libio/stdio.h: Likewise.
72592 * posix/spawn.h: Likewise.
72593 * posix/unistd.h: Likewise.
72594 * stdlib/stdlib.h: Likewise.
72595 * time/time.h: Likewise.
72596 * wcsmbs/wchar.h: Likewise.
72597
72598 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72599 open_by_handle): Add.
72600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72601 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
72602 Augment a few comments.
72603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72605 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72608 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72609 open_by_handle.
72610
72611 * io/fcntl.h (AT_EMPTY_PATH): Define.
72612
72613 2011-03-30 Ulrich Drepper <drepper@gmail.com>
72614
72615 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72616 * sysdeps/unix/sysv/linux/bits/time.h: New file.
72617 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72618 to...
72619 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
72620 * Versions.def: Add GLIBC_2.14.
72621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72622 Export.
72623
72624 2011-03-22 Ulrich Drepper <drepper@gmail.com>
72625
72626 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72627 round counter.
72628 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72629
72630 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
72631
72632 [BZ #12597]
72633 * string/test-strncmp.c (do_page_test): New function.
72634 (check2): Likewise.
72635 (test_main): Call check2.
72636 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72637
72638 2011-03-20 Ulrich Drepper <drepper@gmail.com>
72639
72640 [BZ #12587]
72641 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72642 Handle cache information in CPU leaf 4.
72643 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72644
72645 2011-03-18 Ulrich Drepper <drepper@gmail.com>
72646
72647 [BZ #12583]
72648 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72649 character representation.
72650 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72651
72652 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
72653
72654 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72655 END(__isnan) to END(__isnanf) to match function entry point/label
72656 EALIGN(__isnanf,...).
72657
72658 2011-03-10 Jakub Jelinek <jakub@redhat.com>
72659
72660 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72661
72662 2011-03-10 Ulrich Drepper <drepper@gmail.com>
72663
72664 [BZ #12510]
72665 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72666 copy from the symbol referenced in the relocation to initialize the
72667 used variable.
72668 Patch by Piotr Bury <pbury@goahead.com>.
72669 * elf/Makefile: Add rules to build and tst-unique3.
72670 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72671 * elf/tst-unique3.cc: New file.
72672 * elf/tst-unique3.h: New file.
72673 * elf/tst-unique3lib.cc: New file.
72674 * elf/tst-unique3lib2.cc: New file.
72675
72676 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72677
72678 2011-03-10 Mike Frysinger <vapier@gentoo.org>
72679
72680 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72681 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
72682 to _start.
72683
72684 2011-03-06 Ulrich Drepper <drepper@gmail.com>
72685
72686 * elf/dl-load.c (_dl_map_object): If we are looking for the first
72687 to-be-loaded object along a path to loader is ld.so.
72688
72689 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
72690 Ulrich Drepper <drepper@gmail.com>
72691
72692 * sysdeps/x86_64/memset.S: After aligning destination, code
72693 branches to different locations depending on the value of
72694 misalignment, when multiarch is enabled. Fix this.
72695
72696 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
72697
72698 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72699 Set _x86_64_preferred_memory_instruction for AMD processsors.
72700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72701 Set bit_Prefer_SSE_for_memop for AMD processors.
72702
72703 2011-03-04 Ulrich Drepper <drepper@gmail.com>
72704
72705 * libio/fmemopen.c (fmemopen): Optimize a bit.
72706
72707 2011-03-03 Andreas Schwab <schwab@redhat.com>
72708
72709 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72710
72711 2011-03-03 Roland McGrath <roland@redhat.com>
72712
72713 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72714
72715 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
72716
72717 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72718 __bzero_ultra1 instead of __memset_ultra1.
72719
72720 2011-02-23 Andreas Schwab <schwab@redhat.com>
72721 Ulrich Drepper <drepper@gmail.com>
72722
72723 [BZ #12509]
72724 * include/link.h (struct link_map): Add l_orig_initfini.
72725 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72726 returning unsuccessfully.
72727 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72728 close of a file loaded at startup, restore the original l_initfini
72729 list.
72730 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72731 list, store the pointer.
72732 * elf/Makefile ($(objpfx)noload-mem): New rule.
72733 (noload-ENV): Define.
72734 (tests): Add $(objpfx)noload-mem.
72735 * elf/noload.c: Include <memcheck.h>.
72736 (main): Call mtrace. Close all opened handles.
72737
72738 2011-02-17 Andreas Schwab <schwab@redhat.com>
72739
72740 [BZ #12454]
72741 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72742 dependencies are missing.
72743
72744 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
72745
72746 Fix __if_freereq crash: Unlike the generic version which uses free,
72747 Hurd needs munmap.
72748 * sysdeps/mach/hurd/ifreq.h: New file.
72749
72750 2011-01-27 Petr Baudis <pasky@suse.cz>
72751 Ulrich Drepper <drepper@gmail.com>
72752
72753 [BZ 12445]#
72754 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72755 to extend_alloca().
72756 * stdio-common/bug23.c: New file.
72757 * stdio-common/Makefile (tests): Add bug23.
72758
72759 2010-09-28 Andreas Schwab <schwab@redhat.com>
72760 Ulrich Drepper <drepper@gmail.com>
72761
72762 [BZ #12489]
72763 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72764 before performing relro protection. At old place add assertion
72765 to make sure nothing changed.
72766
72767 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
72768 Glauber de Oliveira Costa <glommer@gmail.com>
72769
72770 * elf/elf.h: Add new ARM TLS relocs.
72771
72772 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
72773
72774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72775 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72776 cast from r3.
72777 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
72778 'tests' variable.
72779 * sysdeps/wordsize-64/tst-writev.c: New file.
72780
72781 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
72782
72783 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72784 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72785 insns in _dl_start to prevent a TOC reference before relocs are
72786 resolved.
72787
72788 2011-02-15 Ulrich Drepper <drepper@gmail.com>
72789
72790 [BZ #12469]
72791 * Makeconfig: Remove RANLIB definition.
72792 * Makerules: Don't use RANLIB.
72793 * aclocal.m4: Remove ranlib test.
72794 * configure.in: No need to check for ranlib.
72795 * elf/rtld-Rules: Don't use RANLIB.
72796
72797 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
72798
72799 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72800 protection macro.
72801 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72802 inclusion protection macro.
72803
72804 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72805 SIGRTMIN and SIGRTMAX and print information in that case only when
72806 SIGRTMIN is defined.
72807
72808 2011-02-11 Jakub Jelinek <jakub@redhat.com>
72809
72810 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72811 arginfo fn returning -1.
72812
72813 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72814 and thousands string is zero terminated.
72815
72816 2011-02-03 Andreas Schwab <schwab@redhat.com>
72817
72818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72819 sysdeps/unix/sysv/linux/bits/socket.h.
72820
72821 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
72822
72823 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72824 (__CPU_COUNT): Remove old macros.
72825 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72826 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72827 (__CPU_ALLOC, __CPU_FREE): Add macros.
72828 (__sched_cpualloc, __sched_cpufree): Add declarations.
72829
72830 2011-02-05 Ulrich Drepper <drepper@gmail.com>
72831
72832 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72833 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72834 * nscd/aicache.c (addhstaiX): Return timeout of added value.
72835 (readdhstai): Return value of addhstaiX call.
72836 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72837 (addgrbyX): Return value returned by cache_addgr.
72838 (readdgrbyname): Return value returned by addgrbyX.
72839 (readdgrbygid): Likewise.
72840 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72841 (addpwbyX): Return value returned by cache_addpw.
72842 (readdpwbyname): Return value returned by addhstbyX.
72843 (readdpwbyuid): Likewise.
72844 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72845 (addservbyX): Return value returned by cache_addserv.
72846 (readdservbyname): Return value returned by addservbyX:
72847 (readdservbyport): Likewise.
72848 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72849 (addhstbyX): Return value returned by cache_addhst.
72850 (readdhstbyname): Return value returned by addhstbyX.
72851 (readdhstbyaddr): Likewise.
72852 (readdhstbynamev6): Likewise.
72853 (readdhstbyaddrv6): Likewise.
72854 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72855 (readdinitgroups): Return value returned by addinitgroupsX.
72856 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72857 (prune_cache): Keep track of timeout value of re-added entries.
72858 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72859 * nscd/nscd.h: Adjust prototypes of readd* functions.
72860
72861 2011-02-04 Roland McGrath <roland@redhat.com>
72862
72863 * nis/nis_server.c (nis_servstate): Use the right name for 0.
72864 (nis_stats): Likewise.
72865 * nis/nis_modify.c (nis_modify): Likewise.
72866 * nis/nis_remove.c (nis_remove): Likewise.
72867 * nis/nis_add.c (nis_add): Likewise.
72868
72869 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72870
72871 * posix/fnmatch_loop.c: Add some consts.
72872
72873 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72874
72875 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
72876
72877 [BZ #12460]
72878 * config.make.in (config-cflags-novzeroupper): Define.
72879 * configure.in: Substitute libc_cv_cc_novzeroupper.
72880 * elf/Makefile (AVX-CFLAGS): Define.
72881 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72882 (CFLAGS-tst-auditmod4a.c): Likewise.
72883 (CFLAGS-tst-auditmod4b.c): Likewise.
72884 (CFLAGS-tst-auditmod6b.c): Likewise.
72885 (CFLAGS-tst-auditmod6c.c): Likewise.
72886 (CFLAGS-tst-auditmod7b.c): Likewise.
72887 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72888
72889 2011-02-02 Ulrich Drepper <drepper@gmail.com>
72890
72891 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72892 function to the callback.
72893 Patch partly by Jiri Olsa <jolsa@redhat.com>.
72894
72895 2011-02-02 Andreas Schwab <schwab@redhat.com>
72896
72897 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72898 of errno.
72899
72900 2011-01-19 Ulrich Drepper <drepper@gmail.com>
72901
72902 [BZ #11724]
72903 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72904 of constructors.
72905 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72906 of destructors.
72907 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72908
72909 [BZ #11724]
72910 * elf/Makefile: Add rules to build and run new test.
72911 * elf/tst-initorder.c: New file.
72912 * elf/tst-initorder.exp: New file.
72913 * elf/tst-initordera1.c: New file.
72914 * elf/tst-initordera2.c: New file.
72915 * elf/tst-initordera3.c: New file.
72916 * elf/tst-initordera4.c: New file.
72917 * elf/tst-initorderb1.c: New file.
72918 * elf/tst-initorderb2.c: New file.
72919 * elf/tst-order-a1.c: New file.
72920 * elf/tst-order-a2.c: New file.
72921 * elf/tst-order-a3.c: New file.
72922 * elf/tst-order-a4.c: New file.
72923 * elf/tst-order-b1.c: New file.
72924 * elf/tst-order-b2.c: New file.
72925 * elf/tst-order-main.c: New file.
72926 New test case by George Gensure <werkt0@gmail.com>.
72927
72928 2010-10-01 Andreas Schwab <schwab@redhat.com>
72929
72930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72931 decoding ACE if AI_CANONIDN.
72932
72933 2011-01-18 Ulrich Drepper <drepper@gmail.com>
72934
72935 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72936
72937 2011-01-17 Ulrich Drepper <drepper@gmail.com>
72938
72939 * version.h (RELEASE): Bump for 2.13 release.
72940 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72941
72942 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72943
72944 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72945 MADV_NOHUGEPAGE.
72946 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72949 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72950 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72951 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72952
72953 * posix/getconf.c: Update copyright year.
72954 * catgets/gencat.c: Likewise.
72955 * csu/version.c: Likewise.
72956 * debug/catchsegv.sh: Likewise.
72957 * debug/xtrace.sh: Likewise.
72958 * elf/ldconfig.c: Likewise.
72959 * elf/ldd.bash.in: Likewise.
72960 * elf/sprof.c (print_version): Likewise.
72961 * iconv/iconv_prog.c: Likewise.
72962 * iconv/iconvconfig.c: Likewise.
72963 * locale/programs/locale.c: Likewise.
72964 * locale/programs/localedef.c: Likewise.
72965 * malloc/memusage.sh: Likewise.
72966 * malloc/mtrace.pl: Likewise.
72967 * nscd/nscd.c (print_version): Likewise.
72968 * nss/getent.c: Likewise.
72969
72970 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72971 PF_CAIF, and PF_ALG.
72972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72973
72974 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
72975
72976 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72977 (modules-names): Use them.
72978 (ifunc-test-modules, ifunc-pie-tests): Define.
72979 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72980 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72981 (test-extras): Likewise.
72982 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72983 $(compile-command.c).
72984 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72985 (all-built-dso): Define.
72986 (check-textrel.out, check-execstack.out): Depend on it.
72987
72988 * configure.in: Don't override --enable-multi-arch.
72989
72990 2011-01-15 Ulrich Drepper <drepper@gmail.com>
72991
72992 [BZ #6812]
72993 * nscd/hstcache.c (tryagain): Define.
72994 (cache_addhst): Return tryagain not notfound for temporary errors.
72995 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72996 failed.
72997
72998 2011-01-14 Ulrich Drepper <drepper@gmail.com>
72999
73000 [BZ #10563]
73001 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73002 to make the syscall.
73003 * sysdeps/unix/sysv/linux/setgroups.c: New file.
73004
73005 [BZ #12378]
73006 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73007 and fall back to matching as normal character if the string ends before
73008 the matching ']' is found. This is what POSIX requires.
73009 * posix/testfnm.c: Adjust test result.
73010 * posix/globtest.sh: Adjust test result. Add new test.
73011 * posix/tst-fnmatch.input: Likewise.
73012 * posix/tst-fnmatch2.c: Add new test.
73013
73014 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
73015
73016 * elf/Makefile (check-execstack): Revert last change. Depend on
73017 check-execstack.h.
73018 (check-execstack.h): New target.
73019 (generated): Add check-execstack.h.
73020 * elf/check-execstack.c: Include "check-execstack.h".
73021 (main): Revert last change.
73022 (handle_file): Return zero if GNU_STACK is absent and
73023 DEFAULT_STACK_PERMS doesn't include PF_X.
73024
73025 2011-01-13 Ulrich Drepper <drepper@gmail.com>
73026
73027 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73028 in child fails because the descriptor is already closed.
73029 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73030 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73031 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73032
73033 [BZ #12397]
73034 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73035 syscall.
73036
73037 [BZ #10484]
73038 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73039 temporary buffer used to handle multi lookups locally.
73040 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73041
73042 2011-01-12 Ulrich Drepper <drepper@gmail.com>
73043
73044 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73045 loader is ld.so.
73046
73047 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
73048
73049 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73050 alignment for SSE2.
73051
73052 2011-01-12 Ulrich Drepper <drepper@gmail.com>
73053
73054 [BZ #12394]
73055 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73056 characters. When rounding increased number of integer digits recompute
73057 number of groups.
73058 * stdio-common/tst-grouping.c: New file.
73059 * stdio-common/Makefile: Add rules to build and run tst-grouping.
73060
73061 2011-01-09 Ulrich Drepper <drepper@gmail.com>
73062
73063 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73064 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
73065
73066 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73067 void.
73068 * bits/select.h: Likewise.
73069
73070 2011-01-08 Ulrich Drepper <drepper@gmail.com>
73071
73072 * po/ja.po: Update from translation team.
73073
73074 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
73075
73076 [BZ #11155]
73077 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73078 implementation just like for lxstat, fxstatat, et al.
73079
73080 2010-12-27 Jim Meyering <meyering@redhat.com>
73081
73082 [BZ #12348]
73083 * posix/regexec.c (build_trtable): Return failure indication upon
73084 calloc failure. Otherwise, re_search_internal could infloop on OOM.
73085
73086 2010-12-25 Ulrich Drepper <drepper@gmail.com>
73087
73088 [BZ #12201]
73089 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73090 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73091 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73093
73094 [BZ #12207]
73095 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73096
73097 [BZ #12204]
73098 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73099 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73100
73101 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
73102
73103 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73104 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73105 script has SORT_BY_INIT_PRIORITY.
73106 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73107 NO_CTORS_DTORS_SECTIONS is defined.
73108 * elf/soinit.c: Likewise.
73109 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73110 NO_CTORS_DTORS_SECTIONS is defined.
73111 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73112 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73113 * sysdeps/sh/init-first.c: Likewise.
73114 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73115
73116 2010-12-24 Ulrich Drepper <drepper@gmail.com>
73117
73118 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73119 always use the slow path.
73120
73121 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
73122
73123 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73124 similar rule which adds the sysdep directories to the header search in
73125 order to pick up the correct platform stackinfo.h.
73126 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73127 perform test if it is, otherwise return successfully without testing.
73128 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73129 DEFAULT_STACK_PERMS define in stackinfo.h.
73130 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73131 defined in stackinfo.h.
73132 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73133 DEFAULT_STACK_PERMS defined in stackinfo.h.
73134 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73135 * sysdeps/ia64/stackinfo.h: Likewise.
73136 * sysdeps/s390/stackinfo.h: Likewise.
73137 * sysdeps/sh/stackinfo.h: Likewise.
73138 * sysdeps/sparc/stackinfo.h: Likewise.
73139 * sysdeps/x86_64/stackinfo.h: Likewise.
73140 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73141 PF_X for powerpc64. Retain PF_X for powerpc32.
73142
73143 2010-12-19 Ulrich Drepper <drepper@gmail.com>
73144
73145 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73146 accurately.
73147 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73148 GETDENTS_64BIT_ALIGNED.
73149
73150 2010-12-14 Ulrich Drepper <dreper@gmail.com>
73151
73152 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73153
73154 2010-12-10 Andreas Schwab <schwab@redhat.com>
73155
73156 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73157 _GNU_SOURCE.
73158
73159 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73160 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73161 Remove __restrict.
73162 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73163 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73164
73165 2010-12-09 Ulrich Drepper <drepper@gmail.com>
73166
73167 [BZ #11655]
73168 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73169 are initialized.
73170
73171 2010-12-09 Jakub Jelinek <jakub@redhat.com>
73172
73173 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73174
73175 2010-12-03 Ulrich Drepper <drepper@gmail.com>
73176
73177 * po/it.po: Update from translation team.
73178
73179 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
73180
73181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73182 unused codes.
73183
73184 2010-11-30 Ulrich Drepper <drepper@gmail.com>
73185
73186 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73187
73188 2010-11-24 Andreas Schwab <schwab@redhat.com>
73189
73190 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73191 specially.
73192 (gaih_getanswer_slice): Likewise.
73193
73194 2010-10-20 Jakub Jelinek <jakub@redhat.com>
73195
73196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73197
73198 2010-05-31 Petr Baudis <pasky@suse.cz>
73199
73200 [BZ #11149]
73201 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73202 silently even in the chroot mode.
73203
73204 2010-11-22 Ulrich Drepper <drepper@gmail.com>
73205
73206 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73207 last patch a bit. Pretty printing
73208
73209 2010-05-31 Petr Baudis <pasky@suse.cz>
73210
73211 [BZ #10085]
73212 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73213 initialization of skip_initgroups_dyn.
73214
73215 2010-11-19 Ulrich Drepper <drepper@gmail.com>
73216
73217 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73218 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73219
73220 2010-11-16 Ulrich Drepper <drepper@gmail.com>
73221
73222 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73223
73224 2010-11-11 Andreas Schwab <schwab@redhat.com>
73225
73226 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73227 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73228 (tst-fnmatch-ENV): Set MALLOC_TRACE.
73229 ($(objpfx)tst-fnmatch-mem): New rule.
73230 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73231 * posix/tst-fnmatch.c (main): Call mtrace.
73232
73233 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
73234
73235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73236 Support Intel processor model 6 and model 0x2c.
73237
73238 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
73239
73240 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73241 signed comparison.
73242
73243 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
73244
73245 [BZ #12205]
73246 * string/test-strncasecmp.c (check_result): New function.
73247 (do_one_test): Use it.
73248 (check1): New function.
73249 (test_main): Use it.
73250 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73251 Support strcasecmp and strncasecmp.
73252
73253 2010-11-08 Ulrich Drepper <drepper@gmail.com>
73254
73255 [BZ #12194]
73256 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73258
73259 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
73260
73261 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73262 IFUNC support.
73263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73264 memset-x86-64.
73265 * sysdeps/x86_64/multiarch/bzero.S: New file.
73266 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73267 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73268 * sysdeps/x86_64/multiarch/memset.S: New file.
73269 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73271 Set bit_Prefer_SSE_for_memop for Intel processors.
73272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73273 Define.
73274 (index_Prefer_SSE_for_memop): Define.
73275 (HAS_PREFER_SSE_FOR_MEMOP): Define.
73276
73277 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
73278
73279 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73280 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73281
73282 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
73283
73284 [BZ #12191]
73285 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73286 (__x86_64_raw_data_cache_size_half): Likewise.
73287 (__x86_64_raw_shared_cache_size): Likewise.
73288 (__x86_64_raw_shared_cache_size_half): Likewise.
73289
73290 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73291 (__x86_64_raw_data_cache_size_half): Likewise.
73292 (__x86_64_raw_shared_cache_size): Likewise.
73293 (__x86_64_raw_shared_cache_size_half): Likewise.
73294 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73295 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73296 and __x86_64_raw_shared_cache_size_half. Round
73297 __x86_64_data_cache_size_half, __x86_64_data_cache_size
73298 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73299 to multiple of 256 bytes.
73300
73301 2010-11-03 Ulrich Drepper <drepper@gmail.com>
73302
73303 [BZ #12167]
73304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73305 of inacessible symlinks. Verify result of symlink before returning it.
73306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73307 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73308
73309 2010-10-28 Erich Ritz <erichritz@gmail.com>
73310
73311 * math/math.h (isinf): Fix typo in comment.
73312
73313 2010-11-01 Ulrich Drepper <drepper@gmail.com>
73314
73315 * po/da.po: Update from translation team.
73316
73317 2010-10-26 Ulrich Drepper <drepper@gmail.com>
73318
73319 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73320 is added to the list.
73321
73322 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73323 Ulrich Drepper <drepper@gmail.com>
73324
73325 * elf/dl-object.c (_dl_new_object): Don't append the new object to
73326 the global list here. Move code to...
73327 (_dl_add_to_namespace_list): ...here. New function.
73328 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73329 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73330 * elf/dl-load.c (lose): Don't remove the element from the list.
73331 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73332 (_dl_map_object): Likewise.
73333
73334 2010-10-25 Ulrich Drepper <drepper@gmail.com>
73335
73336 [BZ #12159]
73337 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73338 into all bytes of SSE register.
73339 Patch by Richard Li <richardpku@gmail.com>.
73340
73341 2010-10-24 Ulrich Drepper <drepper@gmail.com>
73342
73343 [BZ #12140]
73344 * malloc/malloc.c (_int_free): Fill correct number of bytes when
73345 perturbing.
73346
73347 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
73348
73349 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73350 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73352 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73354 submachine.
73355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73356
73357 2010-10-22 Andreas Schwab <schwab@redhat.com>
73358
73359 * include/dlfcn.h (__RTLD_SECURE): Define.
73360 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
73361 mode & __RTLD_SECURE instead.
73362 (open_path): Rename preloaded parameter to secure.
73363 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73364 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73365 * elf/dl-deps.c (openaux): Likewise.
73366 * elf/rtld.c (struct map_args): Remove is_preloaded.
73367 (map_doit): Don't use it.
73368 (dl_main): Likewise.
73369 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73370 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73371
73372 2010-09-09 Andreas Schwab <schwab@redhat.com>
73373
73374 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73375 (sysd-rules-targets): Remove duplicates.
73376 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73377 rtld-%.$o dependency.
73378
73379 2010-10-18 Andreas Schwab <schwab@redhat.com>
73380
73381 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73382 _dl_map_object do it.
73383
73384 2010-10-19 Ulrich Drepper <drepper@gmail.com>
73385
73386 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73387 fast fma builtins, define the macros in the C99 standard.
73388 (FP_FAST_FMAF): Likewise.
73389 (FP_FAST_FMAL): Likewise.
73390 * sysdeps/x86_64/bits/mathdef.h: Likewise.
73391
73392 * bits/mathdef.h: Update copyright year.
73393 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73394
73395 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
73396
73397 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73398 builtins, define the macros in the C99 standard.
73399 (FP_FAST_FMAF): Likewise.
73400 (FP_FAST_FMAL): Likewise.
73401 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73402 multiply/add.
73403 (FP_FAST_FMAF): Likewise.
73404
73405 2010-10-15 Jakub Jelinek <jakub@redhat.com>
73406
73407 [BZ #3268]
73408 * math/libm-test.inc (fma_test): Some new testcases.
73409 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73410 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73411 y and infinite z. Do multiplication by C already in long double.
73412 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73414 y and infinite z. Do bitwise or of inexact bit into u.d.
73415 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73416 * sysdeps/i386/fpu/s_fmaf.S: Removed.
73417 * sysdeps/i386/fpu/s_fma.S: Removed.
73418 * sysdeps/i386/fpu/s_fmal.S: Removed.
73419
73420 2010-10-16 Jakub Jelinek <jakub@redhat.com>
73421
73422 [BZ #3268]
73423 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73425 computation is not scheduled after fetestexcept. Fix value
73426 of minimum denormal long double.
73427
73428 2010-10-14 Jakub Jelinek <jakub@redhat.com>
73429
73430 [BZ #3268]
73431 * math/libm-test.inc (fma_test): Add some more tests.
73432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73433 correctly.
73434
73435 2010-10-15 Andreas Schwab <schwab@redhat.com>
73436
73437 * scripts/data/localplt-s390-linux-gnu.data: New file.
73438 * scripts/data/localplt-s390x-linux-gnu.data: New file.
73439
73440 2010-10-13 Jakub Jelinek <jakub@redhat.com>
73441
73442 [BZ #3268]
73443 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73444 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73445 instead of dbl-64.
73446 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73447 inlines.
73448 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73450 if one of x and y is very large and the other is subnormal.
73451 * sysdeps/s390/fpu/s_fmaf.c: New file.
73452 * sysdeps/s390/fpu/s_fma.c: New file.
73453 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73454 * sysdeps/powerpc/fpu/s_fma.S: New file.
73455 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73456 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73457 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73458
73459 2010-10-12 Jakub Jelinek <jakub@redhat.com>
73460
73461 [BZ #3268]
73462 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73463 fma tests.
73464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73465 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73466 * sysdeps/i386/i686/multiarch/s_fma.c: Include
73467 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73468 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73469 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73470 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73471
73472 2010-10-12 Ulrich Drepper <drepper@redhat.com>
73473
73474 [BZ #12078]
73475 * posix/regcomp.c (parse_branch): One more memory leak plugged.
73476 * posix/bug-regex31.input: Add test case.
73477
73478 2010-10-11 Ulrich Drepper <drepper@gmail.com>
73479
73480 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73481 * posix/bug-regex31.input: New file.
73482
73483 [BZ #12078]
73484 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73485 (parse_sub_exp): Fix last change, use postorder.
73486
73487 * posix/bug-regex31.c: New file.
73488 * posix/Makefile: Add rules to build and run bug-regex31.
73489
73490 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73491
73492 [BZ #12078]
73493 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73494
73495 [BZ #12108]
73496 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73497 to have entries in sys_siglist.
73498
73499 [BZ #12093]
73500 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73501 be NULL.
73502
73503 2010-10-07 Jakub Jelinek <jakub@redhat.com>
73504
73505 [BZ #3268]
73506 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73507 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73508 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73509 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73510 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73511 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73512 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73513 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73514 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73515 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73516 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73517 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73518 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73519 * math/ftestexcept.c (fetestexcept): Likewise.
73520 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73521 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73522 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73523 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73524 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73525 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73526 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73527
73528 2010-10-11 Ulrich Drepper <drepper@gmail.com>
73529
73530 [BZ #12107]
73531 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73532 newline.
73533
73534 2010-10-06 Ulrich Drepper <drepper@gmail.com>
73535
73536 * string/bug-strstr1.c: New file.
73537 * string/Makefile: Add rules to build and run bug-strstr1.
73538
73539 2010-10-05 Eric Blake <eblake@redhat.com>
73540
73541 [BZ #12092]
73542 * string/str-two-way.h (two_way_long_needle): Always clear memory
73543 when skipping input due to the shift table.
73544
73545 2010-10-03 Ulrich Drepper <drepper@gmail.com>
73546
73547 [BZ #12005]
73548 * malloc/mcheck.c: Handle large requests.
73549
73550 [BZ #12077]
73551 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73552 for strncmp and strncasecmp.
73553 * string/stratcliff.c: Add tests for strcmp and strncmp.
73554 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73555
73556 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73557
73558 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73559 __set_fpscr.
73560
73561 2010-09-30 Andreas Jaeger <aj@suse.de>
73562
73563 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73564 (CGROUP_SUPER_MAGIC): Define.
73565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73566 Handle btrfs and cgroup file systems.
73567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73568 Likewise.
73569
73570 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
73571
73572 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73573 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73574
73575 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73576
73577 [BZ #12067]
73578 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73579 trying to locate the ELF header.
73580
73581 2010-09-27 Andreas Schwab <schwab@redhat.com>
73582
73583 [BZ #11611]
73584 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73585 Mask out sign-bit copies when constructing f_fsid.
73586
73587 2010-09-24 Petr Baudis <pasky@suse.cz>
73588
73589 * debug/stack_chk_fail_local.c: Add missing licence exception.
73590 * debug/warning-nop.c: Likewise.
73591
73592 2010-09-15 Joseph Myers <joseph@codesourcery.com>
73593
73594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73595 implementing getdents64 using getdents syscall, set d_type if
73596 __ASSUME_GETDENTS32_D_TYPE.
73597
73598 2010-09-16 Andreas Schwab <schwab@redhat.com>
73599
73600 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73601 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73602
73603 2010-09-21 Ulrich Drepper <drepper@redhat.com>
73604
73605 [BZ #12037]
73606 * posix/unistd.h: Undo change of feature selection for ftruncate from
73607 2010-01-11.
73608
73609 2010-09-20 Ulrich Drepper <drepper@redhat.com>
73610
73611 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73612 detection.
73613
73614 2010-09-20 Andreas Schwab <schwab@redhat.com>
73615
73616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73617 fanotify_mark.
73618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73619
73620 2010-09-14 Andreas Schwab <schwab@redhat.com>
73621
73622 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73623 variables after CHECK_SP call.
73624 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73625
73626 2010-09-13 Andreas Schwab <schwab@redhat.com>
73627 Ulrich Drepper <drepper@redhat.com>
73628
73629 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73630 re-relocationg ld.so.
73631 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73632 _dl_init_paths call.
73633 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
73634 here anymore.
73635
73636 2010-09-14 Ulrich Drepper <drepper@redhat.com>
73637
73638 * resolv/res_init.c (__res_vinit): Count the default server we added.
73639
73640 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
73641 Ulrich Drepper <drepper@redhat.com>
73642
73643 [BZ #11968]
73644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73645 (____longjmp_chk): Use %ebx for saving value across system call.
73646 Add unwind info.
73647
73648 2010-09-06 Andreas Schwab <schwab@redhat.com>
73649
73650 * manual/Makefile: Don't mix pattern rules with normal rules.
73651
73652 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
73653
73654 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73655 operation.
73656 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73657 * libio/iofopncook.c (_IO_cookie_init): Likewise.
73658 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73659 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73661 Likewise.
73662
73663 2010-09-04 Ulrich Drepper <drepper@redhat.com>
73664
73665 [BZ #11979]
73666 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73667 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73668
73669 2010-09-02 Ulrich Drepper <drepper@redhat.com>
73670
73671 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73672 * sysdeps/x86_64/addmul_1.S: Likewise.
73673 * sysdeps/x86_64/lshift.S: Likewise.
73674 * sysdeps/x86_64/mul_1.S: Likewise.
73675 * sysdeps/x86_64/rshift.S: Likewise.
73676 * sysdeps/x86_64/sub_n.S: Likewise.
73677 * sysdeps/x86_64/submul_1.S: Likewise.
73678
73679 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
73680
73681 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73682 Define __sched_param instead of SCHED_* and sched_param when
73683 <bits/sched.h> is included with __need_schedparam defined.
73684 * bits/sched.h [__need_schedparam]
73685 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73686 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73687 (__defined_schedparam): Define to 1.
73688 (__sched_param): New structure, identical to sched_param.
73689 (__need_schedparam): Undefine.
73690
73691 2010-08-31 Mike Frysinger <vapier@gentoo.org>
73692
73693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73694 (epoll_create1): Declare.
73695
73696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73697
73698 2010-08-31 Andreas Schwab <schwab@redhat.com>
73699
73700 [BZ #7066]
73701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73702 shifting retval into place.
73703
73704 2010-09-01 Ulrich Drepper <drepper@redhat.com>
73705
73706 * nis/rpcsvc/nis.h: Update copyright notice.
73707 * nis/rpcsvc/nis.x: Likewise.
73708 * nis/rpcsvc/nis_callback.h: Likewise.
73709 * nis/rpcsvc/nis_callback.x: Likewise.
73710 * nis/rpcsvc/nis_object.x: Likewise.
73711 * nis/rpcsvc/nis_tags.h: Likewise.
73712 * nis/rpcsvc/yp.h: Likewise.
73713 * nis/rpcsvc/yp.x: Likewise.
73714 * nis/rpcsvc/ypupd.h: Likewise.
73715 * nis/yp_xdr.c: Likewise.
73716 * nis/ypupdate_xdr.c: Likewise.
73717
73718 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
73719 mainly the body of pmap_getport. Add parameters to specify timeouts.
73720 (pmap_getport): Use __libc_rpc_getport.
73721 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73722 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73723 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73724
73725 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
73726
73727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73728 fanotify_mark.
73729
73730 2010-08-27 Roland McGrath <roland@redhat.com>
73731
73732 * sysdeps/i386/i686/multiarch/Makefile
73733 (CFLAGS-varshift.c): New variable.
73734
73735 2010-08-27 Ulrich Drepper <drepper@redhat.com>
73736
73737 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73738 * sysdeps/i386/i686/multiarch/varshift.c: New file.
73739
73740 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73741
73742 * sysdeps/x86_64/strlen.S: Minimal code improvement.
73743
73744 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
73745
73746 * sysdeps/x86_64/strlen.S: Unroll the loop.
73747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73748 strlen-sse2 strlen-sse2-bsf.
73749 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73750 __strlen_no_bsf if bit_Slow_BSF is set.
73751 (__strlen_sse42): Removed.
73752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73753 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73754
73755 2010-08-25 Roland McGrath <roland@redhat.com>
73756
73757 * sysdeps/x86_64/multiarch/varshift.S: File removed.
73758 * sysdeps/x86_64/multiarch/varshift.c: New file.
73759 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73760 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73761 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73762 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73763
73764 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
73765
73766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73767 strlen-sse2 strlen-sse2-bsf.
73768 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73769 __strlen_sse2_bsf if bit_Slow_BSF is unset.
73770 (__strlen_sse2): Removed.
73771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73774 bit_Slow_BSF for Atom.
73775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73776 (index_Slow_BSF): Define.
73777 (HAS_SLOW_BSF): Define.
73778
73779 2010-08-25 Ulrich Drepper <drepper@redhat.com>
73780
73781 [BZ #10851]
73782 * resolv/res_init.c (__res_vinit): When no server address at all
73783 is given default to loopback.
73784
73785 2010-08-24 Roland McGrath <roland@redhat.com>
73786
73787 * configure.in: Remove config-name.h generation.
73788 * configure: Regenerated.
73789 * config-name.in: File removed.
73790 * scripts/config-uname.sh: New file.
73791 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73792 ($(objdir)config-name.h): New target.
73793
73794 * sunrpc/rpc_parse.h: Avoid nested comment.
73795
73796 2010-08-24 Richard Henderson <rth@redhat.com>
73797 Ulrich Drepper <drepper@redhat.com>
73798 H.J. Lu <hongjiu.lu@intel.com>
73799
73800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73802 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73803 Replace _mm_srli_si128 with __m128i_shift_right. Replace
73804 _mm_alignr_epi8 with _mm_loadu_si128.
73805 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73806 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73807 (__m128i_shift_right): Removed.
73808 * sysdeps/i386/i686/multiarch/varshift.h: New file.
73809 * sysdeps/i386/i686/multiarch/varshift.S: New file.
73810 * sysdeps/x86_64/multiarch/varshift.h: New file.
73811 * sysdeps/x86_64/multiarch/varshift.S: New file.
73812
73813 2010-08-21 Mike Frysinger <vapier@gentoo.org>
73814
73815 * configure.in: Move assembler checks to before sysdep dir checking.
73816
73817 2010-08-20 Petr Baudis <pasky@suse.cz>
73818
73819 * LICENSES: Sync the sunrpc license.
73820
73821 2010-08-19 Ulrich Drepper <drepper@redhat.com>
73822
73823 * sunrpc/auth_des.c: Update copyright notice once again.
73824 * sunrpc/auth_none.c: Likewise.
73825 * sunrpc/auth_unix.c: Likewise.
73826 * sunrpc/authdes_prot.c: Likewise.
73827 * sunrpc/authuxprot.c: Likewise.
73828 * sunrpc/bindrsvprt.c: Likewise.
73829 * sunrpc/clnt_gen.c: Likewise.
73830 * sunrpc/clnt_perr.c: Likewise.
73831 * sunrpc/clnt_raw.c: Likewise.
73832 * sunrpc/clnt_simp.c: Likewise.
73833 * sunrpc/clnt_tcp.c: Likewise.
73834 * sunrpc/clnt_udp.c: Likewise.
73835 * sunrpc/clnt_unix.c: Likewise.
73836 * sunrpc/des_crypt.c: Likewise.
73837 * sunrpc/des_soft.c: Likewise.
73838 * sunrpc/get_myaddr.c: Likewise.
73839 * sunrpc/getrpcport.c: Likewise.
73840 * sunrpc/key_call.c: Likewise.
73841 * sunrpc/key_prot.c: Likewise.
73842 * sunrpc/openchild.c: Likewise.
73843 * sunrpc/pm_getmaps.c: Likewise.
73844 * sunrpc/pm_getport.c: Likewise.
73845 * sunrpc/pmap_clnt.c: Likewise.
73846 * sunrpc/pmap_prot.c: Likewise.
73847 * sunrpc/pmap_prot2.c: Likewise.
73848 * sunrpc/pmap_rmt.c: Likewise.
73849 * sunrpc/rpc/auth.h: Likewise.
73850 * sunrpc/rpc/auth_unix.h: Likewise.
73851 * sunrpc/rpc/clnt.h: Likewise.
73852 * sunrpc/rpc/des_crypt.h: Likewise.
73853 * sunrpc/rpc/key_prot.h: Likewise.
73854 * sunrpc/rpc/netdb.h: Likewise.
73855 * sunrpc/rpc/pmap_clnt.h: Likewise.
73856 * sunrpc/rpc/pmap_prot.h: Likewise.
73857 * sunrpc/rpc/pmap_rmt.h: Likewise.
73858 * sunrpc/rpc/rpc.h: Likewise.
73859 * sunrpc/rpc/rpc_des.h: Likewise.
73860 * sunrpc/rpc/rpc_msg.h: Likewise.
73861 * sunrpc/rpc/svc.h: Likewise.
73862 * sunrpc/rpc/svc_auth.h: Likewise.
73863 * sunrpc/rpc/types.h: Likewise.
73864 * sunrpc/rpc/xdr.h: Likewise.
73865 * sunrpc/rpc_clntout.c: Likewise.
73866 * sunrpc/rpc_cmsg.c: Likewise.
73867 * sunrpc/rpc_common.c: Likewise.
73868 * sunrpc/rpc_cout.c: Likewise.
73869 * sunrpc/rpc_dtable.c: Likewise.
73870 * sunrpc/rpc_hout.c: Likewise.
73871 * sunrpc/rpc_main.c: Likewise.
73872 * sunrpc/rpc_parse.c: Likewise.
73873 * sunrpc/rpc_parse.h: Likewise.
73874 * sunrpc/rpc_prot.c: Likewise.
73875 * sunrpc/rpc_sample.c: Likewise.
73876 * sunrpc/rpc_scan.c: Likewise.
73877 * sunrpc/rpc_scan.h: Likewise.
73878 * sunrpc/rpc_svcout.c: Likewise.
73879 * sunrpc/rpc_tblout.c: Likewise.
73880 * sunrpc/rpc_util.c: Likewise.
73881 * sunrpc/rpc_util.h: Likewise.
73882 * sunrpc/rpcinfo.c: Likewise.
73883 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73884 * sunrpc/rpcsvc/key_prot.x: Likewise.
73885 * sunrpc/rpcsvc/klm_prot.x: Likewise.
73886 * sunrpc/rpcsvc/mount.x: Likewise.
73887 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73888 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73889 * sunrpc/rpcsvc/rex.x: Likewise.
73890 * sunrpc/rpcsvc/rstat.x: Likewise.
73891 * sunrpc/rpcsvc/rusers.x: Likewise.
73892 * sunrpc/rpcsvc/sm_inter.x: Likewise.
73893 * sunrpc/rpcsvc/spray.x: Likewise.
73894 * sunrpc/rpcsvc/yppasswd.x: Likewise.
73895 * sunrpc/rtime.c: Likewise.
73896 * sunrpc/svc.c: Likewise.
73897 * sunrpc/svc_auth.c: Likewise.
73898 * sunrpc/svc_authux.c: Likewise.
73899 * sunrpc/svc_raw.c: Likewise.
73900 * sunrpc/svc_run.c: Likewise.
73901 * sunrpc/svc_simple.c: Likewise.
73902 * sunrpc/svc_tcp.c: Likewise.
73903 * sunrpc/svc_udp.c: Likewise.
73904 * sunrpc/svc_unix.c: Likewise.
73905 * sunrpc/svcauth_des.c: Likewise.
73906 * sunrpc/xcrypt.c: Likewise.
73907 * sunrpc/xdr.c: Likewise.
73908 * sunrpc/xdr_array.c: Likewise.
73909 * sunrpc/xdr_float.c: Likewise.
73910 * sunrpc/xdr_mem.c: Likewise.
73911 * sunrpc/xdr_rec.c: Likewise.
73912 * sunrpc/xdr_ref.c: Likewise.
73913 * sunrpc/xdr_sizeof.c: Likewise.
73914 * sunrpc/xdr_stdio.c: Likewise.
73915
73916 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73917 handling.
73918
73919 2010-08-19 Andreas Schwab <schwab@redhat.com>
73920
73921 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73922
73923 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
73924
73925 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73926 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73927 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73928 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73929 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73930 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73931 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73932 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73934 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73935 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73936 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73937 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73938 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73939
73940 2010-07-26 Anton Blanchard <anton@samba.org>
73941
73942 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73943 * malloc/arena.c (heap_trim): Likewise.
73944
73945 2010-08-16 Ulrich Drepper <drepper@redhat.com>
73946
73947 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73948 here. Not...
73949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73950 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73951
73952 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
73953
73954 * sysdeps/i386/elf/Makefile: New file.
73955
73956 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
73957
73958 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73959 from fanotify_init.
73960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73962
73963 2010-08-15 Ulrich Drepper <drepper@redhat.com>
73964
73965 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73966 of strncasecmp_l.
73967 * sysdeps/multiarch/strcmp.S: Likewise.
73968
73969 2010-08-14 Ulrich Drepper <drepper@redhat.com>
73970
73971 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73972 strncase_l-nonascii.
73973 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73974 Add strncase_l-ssse3.
73975 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73976 * sysdeps/x86_64/strcmp.S: Likewise.
73977 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73978 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73979 * sysdeps/x86_64/strncase.S: New file.
73980 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73981 * sysdeps/x86_64/strncase_l.S: New file.
73982 * string/Makefile (strop-tests): Add strncasecmp.
73983 * string/test-strncasecmp.c: New file.
73984
73985 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73986 warning.
73987
73988 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73989 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73990
73991 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
73992
73993 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73994
73995 2010-08-12 Ulrich Drepper <drepper@redhat.com>
73996
73997 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74000
74001 2010-05-01 Alan Modra <amodra@gmail.com>
74002
74003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74004 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74005 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74006 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74007 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74008 tidying. Don't tail-call __sigjmp_save for static lib.
74009 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74010 save location.
74011 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74012 (CALL_MCOUNT): Add eh info, and nop after bl.
74013 (TAIL_CALL_SYSCALL_ERROR): New macro.
74014 (PSEUDO_RET): Use it.
74015 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74016 Correct save location of integer regs and cr.
74017 (_dl_profile_resolve): Correct cr save location. Delete nops
74018 after bl when SHARED. Reduce cfi size a little by better
74019 placement of cfi directives.
74020 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74021 make a stack frame. Instead use parm save area as a temp.
74022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74023 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
74024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74025 Don't make a stack frame for parent, use parm save area.
74026 Increase child stack frame to 112 bytes. Don't save unused reg,
74027 and adjust reg usage. Set up cfi on error recovery and
74028 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74030 (__makecontext): Add dummy nop after jump to exit.
74031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74032 Use correct parm save area and cr save, reduce stack frame.
74033 Correct cfi for possible PSEUDO_RET frame setup.
74034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74035 Branch to local label emitted by PSEUDO_RET rather than
74036 __syscall_error.
74037
74038 2010-08-12 Andreas Schwab <schwab@redhat.com>
74039
74040 [BZ #11904]
74041 * locale/programs/locale.c (print_assignment): New function.
74042 (show_locale_vars): Use it.
74043
74044 2010-08-11 Ulrich Drepper <drepper@redhat.com>
74045
74046 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74047 field.
74048 (struct statfs64): Likewise.
74049 (_STATFS_F_FLAGS): Define.
74050 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74052 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74053 (ST_VALID): Define locally.
74054 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74055 __statvfs_getflags, use the provided value.
74056 * sysdeps/unix/sysv/linux/kernel-features.h: Define
74057 __ASSUME_STATFS_F_FLAGS.
74058
74059 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74060
74061 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74062 Add sys/fanotify.h.
74063 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74064 fanotify_mask for GLIBC_2.13.
74065 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74066 fanotify_init and fanotify_mark.
74067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74068 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74069
74070 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74071 Add prlimit.
74072 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74073 prlimit64 for GLIBC_2.13.
74074 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74075 prlimit64.
74076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74077 syscall.
74078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74079 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74080 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74081 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
74083 add prlimit alias.
74084 * sysdeps/unix/sysv/linux/prlimit.c: New file.
74085
74086 [BZ #11903]
74087 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74088 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74089
74090 * nss/Makefile: Add rules to build and run tst-nss-test1.
74091 * shlib-versions: Add entry for libnss_test1.
74092 * nss/nss_test1.c: New file.
74093 * nss/tst-nss-test1.c: New file.
74094
74095 * nss/nsswitch.c (__nss_database_custom): Define new variable.
74096 (__nss_configure_lookup): Set appropriate entry in
74097 __nss_configure_lookup to true.
74098 * nss/nsswitch.h: Define enum with indeces of databases in
74099 databases and __nss_database_custom arrays. Declare
74100 __nss_database_custom.
74101 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74102 to avoid using nscd when custom rules are installed.
74103 * nss/getXXbyYY_r.c: Likewise.
74104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74105
74106 * nss/nss_files/files-parse.c: Whitespace fixes.
74107
74108 2010-08-09 Ulrich Drepper <drepper@redhat.com>
74109
74110 [BZ #11883]
74111 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74112 * posix/fnmatch_loop.c: Likewise.
74113
74114 2010-07-17 Andi Kleen <ak@linux.intel.com>
74115
74116 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74117 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74118 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74119 * Versions.def [GLIBC_2.13]: Add.
74120
74121 2010-08-06 Ulrich Drepper <drepper@redhat.com>
74122
74123 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74124 Also fail if tpwd after pwuid call is NULL.
74125
74126 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
74127
74128 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74129 when converting to ms.
74130
74131 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
74132
74133 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74134 EOPNOTSUPP errors with ENOTTY.
74135 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74136 EOPNOTSUPP errors with ENOTTY.
74137
74138 2010-07-31 Ulrich Drepper <drepper@redhat.com>
74139
74140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74141 Add strcasecmp_l-ssse3.
74142 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74143 strcasecmp.
74144 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74145 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74146 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74147
74148 2010-07-30 Ulrich Drepper <drepper@redhat.com>
74149
74150 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74151
74152 * string/Makefile (strop-tests): Add strcasecmp.
74153 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74154 strcasecmp_l-nonascii.
74155 (gen-as-const-headers): Add locale-defines.sym.
74156 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74157 * sysdeps/x86_64/strcasecmp.S: New file.
74158 * sysdeps/x86_64/strcasecmp_l.S: New file.
74159 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74160 * sysdeps/x86_64/locale-defines.sym: New file.
74161 * string/test-strcasecmp.c: New file.
74162
74163 * string/test-strcasestr.c: Test both ends of the range of characters.
74164 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74165
74166 2010-07-29 Roland McGrath <roland@redhat.com>
74167
74168 [BZ #11856]
74169 * manual/locale.texi (Yes-or-No Questions): Fix example code.
74170
74171 2010-07-27 Ulrich Drepper <drepper@redhat.com>
74172
74173 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74174 for ld.so.
74175
74176 2010-07-27 Andreas Schwab <schwab@redhat.com>
74177
74178 * manual/memory.texi (Malloc Tunable Parameters): Document
74179 M_PERTURB.
74180
74181 2010-07-26 Roland McGrath <roland@redhat.com>
74182
74183 [BZ #11840]
74184 * configure.in (-fgnu89-inline check): Set and substitute
74185 gnu89_inline, not libc_cv_gnu89_inline.
74186 * configure: Regenerated.
74187 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74188
74189 2010-07-26 Ulrich Drepper <drepper@redhat.com>
74190
74191 * string/test-strnlen.c: New file.
74192 * string/Makefile (strop-tests): Add strnlen.
74193 * string/tester.c (test_strnlen): Add a few more test cases.
74194 * string/tst-strlen.c: Better error reporting.
74195
74196 * sysdeps/x86_64/strnlen.S: New file.
74197
74198 2010-07-24 Ulrich Drepper <drepper@redhat.com>
74199
74200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74201 lower-latency instructions.
74202
74203 2010-07-23 Ulrich Drepper <drepper@redhat.com>
74204
74205 * string/test-strcasestr.c: New file.
74206 * string/test-strstr.c: New file.
74207 * string/Makefile (strop-tests): Add strstr and strcasestr.
74208 * string/str-two-way.h: Don't undefine MAX.
74209 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74210
74211 2010-07-21 Andreas Schwab <schwab@redhat.com>
74212
74213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74214 strcasestr-nonascii.
74215 (CFLAGS-strcasestr-nonascii.c): Define.
74216 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74218 Remove unused attribute.
74219
74220 2010-07-20 Roland McGrath <roland@redhat.com>
74221
74222 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74223 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
74224 ld.so.cache was broken. With it, there is no way to disable dsocaps
74225 like LD_HWCAP_MASK can disable hwcaps.
74226
74227 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
74228
74229 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74230
74231 2010-07-16 Ulrich Drepper <drepper@redhat.com>
74232
74233 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74234 call in strcasestr.
74235 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74236 __strcasestr_sse42_nonascii.
74237 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74238 strcasestr-nonascii.c.
74239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74240
74241 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
74242
74243 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74245 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74247
74248 2010-07-09 Ulrich Drepper <drepper@redhat.com>
74249
74250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74251 fcntl.
74252
74253 2010-07-06 Andreas Schwab <schwab@redhat.com>
74254
74255 [BZ #11577]
74256 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74257 dl_signal_cerror.
74258
74259 2010-07-06 Ulrich Drepper <drepper@redhat.com>
74260
74261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74262 _PC_PIPE_BUF using F_GETPIPE_SZ.
74263
74264 2010-07-05 Roland McGrath <roland@redhat.com>
74265
74266 * manual/arith.texi (Rounding Functions): Fix rint description
74267 implicit in round description.
74268
74269 2010-07-02 Ulrich Drepper <drepper@redhat.com>
74270
74271 * elf/Makefile: Fix linking for a few tests to make recent linker
74272 happy.
74273
74274 2010-06-30 Andreas Schwab <schwab@redhat.com>
74275
74276 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74277 $(common-objpfx)libc_nonshared.a.
74278
74279 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
74280
74281 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74282 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74283 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74284 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74285 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74286 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74287 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74288 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74303 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74304 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74305 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74306 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74307 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74308 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74309 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74310 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74311 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74312 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74313 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74314 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74329
74330 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
74331
74332 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74333 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
74334 * string/memmove.c (memmove): Renamed to ...
74335 (MEMMOVE): ...this. Default to memmove.
74336 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74337 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74338 (END_CHK): Define.
74339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74340 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74341 mempcpy-ssse3-back memmove-ssse3-back.
74342 * sysdeps/x86_64/multiarch/bcopy.S: New file .
74343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74345 * sysdeps/x86_64/multiarch/memcpy.S: New file.
74346 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74347 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74348 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74349 * sysdeps/x86_64/multiarch/memmove.c: New file.
74350 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74351 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74352 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74353 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74354 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74356 Define.
74357 (index_Fast_Copy_Backward): Define.
74358 (HAS_ARCH_FEATURE): Define.
74359 (HAS_FAST_REP_STRING): Define.
74360 (HAS_FAST_COPY_BACKWARD): Define.
74361
74362 2010-06-21 Andreas Schwab <schwab@redhat.com>
74363
74364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74365 Restore proper fallback handling.
74366
74367 2010-06-19 Ulrich Drepper <drepper@redhat.com>
74368
74369 [BZ #11701]
74370 * posix/group_member.c (__group_member): Correct checking loop.
74371
74372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74373 OOM in getpwuid_r correctly. Return error number when the caller
74374 should return, otherwise -1.
74375 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74376 call returning > 0 value.
74377 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74378
74379 2010-06-07 Andreas Schwab <schwab@redhat.com>
74380
74381 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74382 libc_nonshared.a from targets in modules-names.
74383
74384 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
74385
74386 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74387 requires it.
74388
74389 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
74390
74391 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74395
74396 2010-06-02 Andreas Schwab <schwab@redhat.com>
74397
74398 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74399
74400 2010-06-14 Ulrich Drepper <drepper@redhat.com>
74401
74402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74403 and F_GETPIPE_SZ.
74404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74409 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74410
74411 2010-06-14 Roland McGrath <roland@redhat.com>
74412
74413 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74414
74415 2010-06-07 Jakub Jelinek <jakub@redhat.com>
74416
74417 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74418 __REDIRECT followed by __THROW.
74419 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74420 * posix/getopt.h (getopt): Likewise.
74421
74422 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
74423
74424 * hurd/lookup-at.c (__file_name_lookup_at): Accept
74425 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
74426 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74427 in AT_FLAGS.
74428 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74429 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74430
74431 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
74432
74433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74434
74435 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
74436
74437 [BZ #11640]
74438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74439 Properly check family and model.
74440
74441 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
74442
74443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74444
74445 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
74446
74447 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74448
74449 2010-05-21 Ulrich Drepper <drepper@redhat.com>
74450
74451 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74452 symbol reference.
74453
74454 2010-05-19 Andreas Schwab <schwab@redhat.com>
74455
74456 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74457 symbol reference.
74458
74459 2010-05-21 Andreas Schwab <schwab@redhat.com>
74460
74461 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74462 and internal_recvmmsg.
74463 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74464 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74465 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74466 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74467
74468 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74469 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74470 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74471
74472 2010-05-20 Andreas Schwab <schwab@redhat.com>
74473
74474 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74475
74476 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
74477
74478 POWER7 optimizations.
74479 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74480 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74481
74482 2010-05-19 Ulrich Drepper <drepper@redhat.com>
74483
74484 * version.h: Update for 2.13 development version.
74485
74486 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
74487
74488 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74489 exceptions. Return 0.
74490
74491 2010-05-07 Roland McGrath <roland@redhat.com>
74492
74493 * elf/ldconfig.c (main): Add a const.
74494
74495 2010-05-06 Ulrich Drepper <drepper@redhat.com>
74496
74497 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74498 (args_options): Add no-idn option.
74499 (ahosts_keys_int): Add idn_flags to ai_flags.
74500 (parse_option): Handle 'i' option to clear idn_flags.
74501
74502 * malloc/malloc.c (_int_free): Possible race in the most recently
74503 added check. Only act on the data if no current modification
74504 happened.
74505
74506 See ChangeLog.17 for earlier changes.