m68k: avoid local labels in symbol table
[glibc.git] / ChangeLog
blob943556faaa402dda0a3c35acfe56f31e779ab9f4
1 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6             Carlos O'Donell  <carlos@redhat.com>
8         [BZ #19072]
9         * grp/Makefile (headers): Add grp-merge.h
10         (routines): Add grp-merge.
11         * grp/getgrgid_r.c: Include grp-merge.h.
12         (DEEPCOPY_FN): Define.
13         (MERGE_FN): Define.
14         * grp/getgrname_r.c: Include grp-merge.h.
15         (DEEPCOPY_FN): Define.
16         (MERGE_FN): Define.
17         * grp/grp-merge.c: New file.
18         * grp/grp-merge.h: New file.
19         * include/grp-merge.h: New file.
20         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21         __copy_grp@GLIBC_PRIVATE.
22         * manual/nss.texi (Actions in the NSS configuration): Describe
23         return, continue, and merge.
24         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
25         (DEEPCOPY_FN): Define.
26         (MERGE_FN): Define.
27         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
28         (DEEPCOPY_FN): Define.
29         (MERGE_FN): Define.
30         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
31         [!MERGE_FN]: Define __merge_einval.
32         (CHECK_MERGE): Define.
33         (REENTRANT_NAME): Process merge if do_merge is true.
34         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
35         (__nss_getent_r): Likewise.
36         * nss/nsswitch.c (nss_parse_service_list): Likewise.
37         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
39 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
41         [BZ #20012]
42         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
43         length to calculate the buffer to read.
44         (fmemopen_write): Set the buffer position based on bytes written.
45         (fmemopen_seek): Return EINVAL for invalid whence modes.
47         [BZ #19957]
48         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
49         tst-getpid2.
50         (test): Add tst-clone2.
51         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
52         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
53         pid/tid fields for CLONE_VM.
54         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
55         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
56         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
57         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
58         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
59         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
60         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
61         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
62         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
63         Likewise.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65         Likewise.
66         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
67         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
68         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
71         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
72         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
73         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
75 2016-04-29  Florian Weimer  <fweimer@redhat.com>
77         [BZ #19642]
78         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
79         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
80         (gni_serv_local, gni_serv): New functions extracted from
81         getnameinfo.
82         (getnameinfo): Call gni_host and gni_serv to perform the
83         processing.  Always free scratch buffer.
85 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
87         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
88         remaining bytes in the dest string, with zeros.
90 2016-04-29  Florian Weimer  <fweimer@redhat.com>
92         [BZ #20010]
93         CVE-2016-3706
94         * sysdeps/posix/getaddrinfo.c
95         (convert_hostent_to_gaih_addrtuple): New function.
96         (gethosts): Call convert_hostent_to_gaih_addrtuple.
97         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
98         AF_INET data.
100 2016-04-29  Florian Weimer  <fweimer@redhat.com>
102         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
103         callback function gl_readdir.
104         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
105         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
106         (glob_in_dir): Remove len.  Use strdup instead of malloc and
107         memcpy to copy the name.
108         * manual/pattern.texi (Calling Glob): Document requirements for
109         implementations of the gl_readdir callback function.
110         * manual/examples/mkdirent.c: New example.
111         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
112         per the manual guidance.
113         * posix/tst-gnuglob.c (my_readdir): Likewise.
115 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
117         [BZ #20014]
118         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
119         not [__USE_POSIX].
120         (getchar_unlocked): Likewise.
121         (putc_unlocked): Likewise.
122         (putchar_unlocked): Likewise.
123         (flockfile): Likewise.
124         (ftrylockfile): Likewise.
125         (funlockfile): Likewise.
126         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
127         variable.
128         (test-xfail-XPG4/stdio.h/conform): Likewise.
130         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
131         Expect constant.
132         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
133         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
134         variable.
135         (test-xfail-XPG4/langinfo.h/conform): Likewise.
136         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
138         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
139         [__USE_LARGEFILE64] (off64_t): Likewise.
140         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
141         variable.
143 2016-04-28  Florian Weimer  <fweimer@redhat.com>
145         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
147 2016-04-28  Florian Weimer  <fweimer@redhat.com>
149         * resolv/inet_addr.c: Reindent preprocessor conditionals.
150         * resolv/res_init.c: Likewise.
151         * resolv/res_mkquery.c: Likewise.
153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
155         * resolv/res_init.c (isascii): Do not define.  Use definition in
156         <ctype.h>.
157         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
158         (LOG_AUTH): Remove.
159         (SPRINTF): Remove, adjust caller.
160         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
162 2016-04-28  Florian Weimer  <fweimer@redhat.com>
164         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
165         SUNSECURITY conditional.
166         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
168 2016-04-28  Florian Weimer  <fweimer@redhat.com>
170         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
171         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
172         Remove BSD-related preprocessor conditionals.
173         * conf/portability.h: Remove.
175 2016-04-28  Florian Weimer  <fweimer@redhat.com>
177         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
178         * resolv/res_data.c: Likewise.
180 2016-04-28  Florian Weimer  <fweimer@redhat.com>
182         * resolv/res_comp.c: Remove code conditional on __ultrix__.
183         * resolv/res_data.c: Remove code conditional on ultrix.
185 2016-04-28  Florian Weimer  <fweimer@redhat.com>
187         * resolv/res_init.c (RFC1535): Do not define.  Remove
188         RFC1535 preprocessor conditionals.
189         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
190         because there configuration options which make the resolver
191         behavior different.
193 2016-04-28  Florian Weimer  <fweimer@redhat.com>
195         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
196         RESOLVSORT preprocessor conditionals.
197         * resolv/nss_dns/dns-host.c: Likewise.
198         * resolv/res_init.c: Likewise.
200 2016-04-28  Florian Weimer  <fweimer@redhat.com>
202         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
203         is never defined.
205 2016-04-28  Florian Weimer  <fweimer@redhat.com>
207         * inet/inet_lnaof.c: Remove SCSS keyword.
208         * inet/inet_mkadr.c: Likewise.
209         * inet/inet_net.c: Likewise.
210         * inet/inet_netof.c: Likewise.
211         * inet/rcmd.c: Likewise.
212         * inet/rexec.c: Likewise.
213         * inet/ruserpass.c: Likewise.
215 2016-04-28  Florian Weimer  <fweimer@redhat.com>
217         * resolv/inet_addr.c: Remove _LIBC conditionals.
218         * resolv/res_data.c: Likewise.
219         * resolv/res_init.c: Likewise.
220         * resolv/res_mkquery.c: Likewise.
221         * resolv/res_libc.c: Update comment.
222         * resolv/README: Update.
224 2016-04-28  Florian Weimer  <fweimer@redhat.com>
226         * resolv/gethnamaddr.c: Remove SCSS keyword.
227         * resolv/herror.c: Likewise.
228         * resolv/inet_addr.c: Likewise.
229         * resolv/inet_net_ntop.c: Likewise.
230         * resolv/inet_net_pton.c: Likewise.
231         * resolv/inet_neta.c: Likewise.
232         * resolv/inet_ntop.c: Likewise.
233         * resolv/inet_pton.c: Likewise.
234         * resolv/ns_date.c: Remove RCS keyword.
235         * resolv/ns_name.c: Likewise.
236         * resolv/ns_netint.c: Likewise.
237         * resolv/ns_parse.c: Likewise.
238         * resolv/ns_print.c: Likewise.
239         * resolv/ns_samedomain.c: Likewise.
240         * resolv/ns_ttl.c: Likewise.
241         * resolv/nsap_addr.c: Likewise.
242         * resolv/res_comp.c: Remove SCSS and RCS keyword.
243         * resolv/res_data.c: Remove RCS keyword.
244         * resolv/res_debug.c: Remove SCSS and RCS keyword.
245         * resolv/res_init.c: Likewise.
246         * resolv/res_mkquery.c: Likewise.
247         * resolv/res_query.c: Likewise.
248         * resolv/res_send.c: Likewise.
250 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
252         * conform/data/stdio.h-data (fdopen): Expect also for
253         [XPG3 || XPG4].
255         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
256         (fseeko): Likewise.
257         (ftello): Likewise.
258         (ftrylockfile): Likewise.
259         (funlockfile): Likewise.
260         (getc_unlocked): Likewise.
261         (getchar_unlocked): Likewise.
262         (putc_unlocked): Likewise.
263         (putchar_unlocked): Likewise.
265 2016-04-27  Florian Weimer  <fweimer@redhat.com>
267         [BZ #19868]
268         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
269         DNS packet syntax checks (which were not needed before).  Skip
270         over non-PTR records.
272 2016-04-27  Florian Weimer  <fweimer@redhat.com>
274         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
275         definition.  Include <stddef.h> instead.
277 2016-04-27  Florian Weimer  <fweimer@redhat.com>
279         [BZ #19831]
280         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
281         function.
282         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
283         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
285 2016-04-27  Florian Weimer  <fweimer@redhat.com>
287         [BZ #19862]
288         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
289         (getanswer_r): Do not call syslog.
290         (gaih_getanswer_slice): Likewise.
291         * resolv/gethnamaddr.c (AskedForGot): Remove.
292         (getanswer): Do not call syslog.
293         (gethostbyaddr): Likewise.
295 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
297         * conform/data/signal.h-data (union sigval): Expect also if
298         [XOPEN2K].
299         (struct sigevent): Likewise.
300         (SIGEV_NONE): Likewise.
301         (SIGEV_SIGNAL): Likewise.
302         (SIGEV_THREAD): Likewise.
303         (SIGRTMIN): Likewise.
304         (SIGRTMAX): Likewise.
305         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
306         variable.
307         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
309 2016-04-27  Florian Weimer  <fweimer@redhat.com>
311         [BZ #19830]
312         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
313         (gaih_getanswer_slice): Likewise.
314         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
315         Also check for availability of RR metadata.
317 2016-04-27  Florian Weimer  <fweimer@redhat.com>
319         [BZ #19825]
320         * resolv/res_send.c (send_vc): Remove early *resplen2
321         initialization.  Set *resplen2 on socket error.  Call
322         close_and_return_error for other errors.
324 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
326         * sysdeps/unix/sysv/linux/netiucv/iucv.h
327         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
328         (SCM_IUCV_TRGCLS): New define.
330 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
332         [BZ #20005]
333         * libio/fmemopen.c (fmemopen_write): Update internal position after
334         write.
335         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
336         * stdio-common/tst-fmemopen4.c: New file..
338 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
340         [BZ #19996]
341         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
342         not [__USE_XOPEN2K].
343         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
344         variable.
346         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
347         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
348         variable.
350         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
351         [__USE_XOPEN2K8].
352         [__USE_LARGEFILE64] (off64_t): Likewise.
353         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
354         variable.
356 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #19989]
359         * libio/stdio.h (cuserid): Do not declare if
360         [__USE_XOPEN2K && !__USE_GNU].
361         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
362         variable.
364 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
366         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
367         (sysdep_routines): Add P8 and PPC64 strcspn targets.
368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
369         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
370         ifunc'ed strcspn.
371         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
372         [EALIGN]: Removed.
373         [END]: Likewise
374         [STRSPN]: Define instead of the above to control symbol name.
375         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
376         New file.
377         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
378         Likewise.
379         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
380         Likewise.
381         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
382         Likewise.
383         * sysdeps/powerpc/powerpc64/power8/strspn.S:
384         [INITIAL_MASK]: New macro.
385         [STRCSPN]: Likewise.
386         [UPDATE_MASK]: Likewise.
387         [USE_AS_STRCSPN]: Lisewise.
389 2016-04-25  Florian Weimer  <fweimer@redhat.com>
391         [BZ #19931]
392         * stdio-common/tst-vfprintf-width-prec.c: New file.
393         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
394         (tests-special): Add tst-vfprintf-width-prec-mem.out.
395         (generated): Add mtrace-related files.
396         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
397         (tst-%-mem.out): New pattern rule, replaces
398         tst-printf-bz18872-mem.out.
399         * stdio-common/vfprintf.c (vfprintf): When handling a precision
400         specifier, deallocate any previously allocated work buffer.
402 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
404         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
405         Add nop before __startcontext, add explaining comments.
407 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
409         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
410         any more. Notably since IPV6_PKTINFO has been reintroduced with a
411         completely different API.
413         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
414         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
415         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
416         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
417         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
418         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
419         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
420         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
421         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
422         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
424 2016-04-23   H.J. Lu  <hongjiu.lu@intel.com>
426         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
428 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
430         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
431         when it is the default of 0.
433 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
435         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
436         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
437         (sysdep_routines): Add new strcasestr targets.
438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
439         (__libc_ifunc_impl_list): Likewise.
440         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
441         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
442         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
443         * sysdeps/powerpc/powerpc64/power8/Makefile:
444         New file to add strcasestr-ppc64 to sysdep_routines.
445         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
446         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
448 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
450         * benchtests/Makefile (wcsmbs-benchset): Include only for
451         native builds and runs.
452         (LOCALES): Likewise.
453         (bench-build): Build timing-type here instead of the bench
454         target.  Generate locale only for native builds.
455         * benchtests/README: Add note for cross-building.
457         * benchtests/Makefile (bench-clean): Clean up extra-objs.
459         * benchtests/README: Update README to include instructions on
460         using bench-build.
462         * Makefile.in (bench-build): New target.
463         * Rules (PHONY): Add bench-build target.
464         * benchtests/Makefile (bench): Depend on bench-build.
465         (bench-build): New target.
467 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
469         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
470         profil_reply_port.
471         (profile_waiter): Do not initialize profil_reply_port.
472         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
473         frequency instead of tick length in us.
475 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
477         [BZ #18712]
478         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
479         (__old_mempcpy_small): Likewise.
480         (__old_strcpy_small): Likewise.
481         (__old_stpcpy_small): Likewise.
482         (__old_strpbrk_c2): Fix compat symbol name.
483         (__old_strpbrk_c3): Likewise.
484         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
485         (__mempcpy_small): Remove.
486         (__strcpy_small): Remove.
487         (__stpcpy_small): Remove.
489 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
491         [BZ #19400]
492         * locale/iso-639.def: Add the Talossan/tzl language.
494 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
496         [BZ #16983]
497         * locale/programs/ld-address.c (address_finish): Update postal_fmt
498         comment.  Add "ln" to strchr check on postal_fmt.
500 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
502         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
503         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
504         tel_dom_fmt.
506 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
508         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
509         (sysdep_routines): Added __strlen_power8.
510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
511         __strlen_power8 entry.
512         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
513         Implementation for POWER8.
514         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
515         for __strlen_power8.
516         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
517         Implementation for POWER8.
519 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
521         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
523 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
525         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
526         Goldmont and Airmont processors.
528 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
530         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
531         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
532         (__STRING2_SMALL_GET32): Remove.
533         (memset): Remove.
534         (__memset_1): Remove.
535         (__memset_gc): Remove.
536         (__mempcpy): Remove.
537         (mempcpy): Remove.
538         (__mempcpy_args): Remove.
539         (strchr): Remove.
540         (strcpy): Remove.
541         (strcpy_args): Remove.
542         (__stpcpy_args): Remove.
543         (__strcmp_cc): Remove.
544         (__strcmp_gc): Remove.
545         (strstr): Remove.
547 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
549         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
550         * nis/nis_call.c (nis_server_cache_add): Likewise.
552 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
554         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
556 2016-04-14  Florian Weimer  <fweimer@redhat.com>
558         * malloc/arena.c (__malloc_fork_lock_parent)
559         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
560         internal_function attribute.
562 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
564         * stdio-common/printf_fp.c (__printf_fp_l):
565         Rename ___printf_fp_l to __printf_fp_l and
566         remove strong alias. Use libc_hidden_def instead
567         of ldbl_hidden_def macro.
569 2016-04-14  Florian Weimer  <fweimer@redhat.com>
571         Remove malloc hooks from fork handler.  They are no longer needed
572         because malloc runs right before fork, and no malloc calls from
573         other fork handlers are not possible anymore.
574         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
575         declarations.
576         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
577         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
578         (atfork_recursive_cntr): Remove.
579         (__malloc_fork_lock_parent): Do not override malloc hooks and
580         thread_arena.
581         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
582         thread_arena.
583         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
584         thread_arena instead of save_arena.
586 2016-04-14  Florian Weimer  <fweimer@redhat.com>
588         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
589         (thread_atfork, thread_atfork_static): Remove.
590         * sysdeps/mach/hurd/malloc-machine.h:
591         (thread_atfork, thread_atfork_static): Remove.
593 2016-04-14  Florian Weimer  <fweimer@redhat.com>
595         [BZ #19431]
596         Run the malloc fork handler as late as possible to avoid deadlocks.
597         * malloc/malloc-internal.h: New file.
598         * malloc/malloc.c: Include it.
599         * malloc/arena.c (ATFORK_MEM): Remove.
600         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
601         Update comment.
602         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
603         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
604         Remove outdated comment.
605         (ptmalloc_init): Do not call thread_atfork.  Remove
606         thread_atfork_static.
607         * malloc/tst-malloc-fork-deadlock.c: New file.
608         * Makefile (tests): Add tst-malloc-fork-deadlock.
609         (tst-malloc-fork-deadlock): Link against libpthread.
610         * manual/memory.texi (Aligned Memory Blocks): Update safety
611         annotation comments.
612         * sysdeps/nptl/fork.c (__libc_fork): Call
613         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
614         __malloc_fork_unlock_child.
615         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
617 2016-04-14  Florian Weimer  <fweimer@redhat.com>
619         [BZ #19613]
620         Remove union wait.
621         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
622         (w_stopsig, w_stopval): Remove.
623         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
624         stat_loc argument.
625         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
626         (__WAIT_STATUS_DEFN): Remove.
627         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
628         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
629         (wait, wait3, wait4): Use int * for the stat_loc argument.
630         * posix/wait.c (__wait): Likewise.
631         * posix/wait3.c (__wait3): Likewise.
632         * posix/wait4.c (__wait4): Likewise.
633         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
634         (__WAIT_STATUS_DEFN): Remove.
635         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
636         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
637         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
638         argument.
639         * sysdeps/posix/wait.c (__libc_wait): Likewise.
640         * sysdeps/posix/wait3.c (__wait3): Likewise.
641         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
642         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
643         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
644         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
645         stat_loc argument.
646         * manual/process.texi (BSD Wait Functions): Remove union wait.
648 2016-04-13  Andreas Schwab  <schwab@suse.de>
650         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
651         (test-extras): Add tst-tlsalign-vars.
652         * math/Makefile: Wrap long lines.
653         (libm-vec-test-wrappers): Define.
654         (test-extras): Add $(libm-vec-test-wrappers).
655         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
656         * nss/Makefile (extra-test-objs): Add nss_test1.os.
657         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
658         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
659         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
660         (extra-test-objs): Add corresponding objects.
662 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
664         [BZ #19928]
665         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
666         New.
667         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
668         times of shared cache size.
669         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
670         (VMOVNT): New.
671         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
672         (VMOVNT): Likewise.
673         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
674         (VMOVNT): Likewise.
675         (VMOVU): Changed to movups for smaller code sizes.
676         (VMOVA): Changed to movaps for smaller code sizes.
677         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
678         comments.
679         (PREFETCH): New.
680         (PREFETCH_SIZE): Likewise.
681         (PREFETCHED_LOAD_SIZE): Likewise.
682         (PREFETCH_ONE_SET): Likewise.
683         Rewrite to use forward and backward loops, which move 4 vector
684         registers at a time, to support overlapping addresses and use
685         non temporal store if size is above the threshold and there is
686         no overlap between destination and source.
688 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
690         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
691         Include dl-vdso.
692         * sysdeps/unix/sysv/linux/mips/Versions: Add
693         __vdso_clock_gettime.
694         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
695         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
696         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
697         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
698         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
699         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
700         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
701         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
702         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
704 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
706         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
707         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
708         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
710         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
711         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
714         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
716         syscalls generation.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
718         [__NR_pwrite64] (__NR_write): Remove define.
719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
720         [__NR_pwrite64] (__NR_write): Remove define.
721         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
722         Remove define.
723         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
724         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
725         Remove define.
726         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
727         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
728         Linux implementation as base.
729         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
731         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
732         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
737         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
739         syscall generation.
740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
741         [__NR_pread64] (__NR_pread): Remove define.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
743         [__NR_pread64] (__NR_pread): Likewise.
744         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
745         define.
746         (__libc_pread): Use SYSCALL_LL macro on offset argument.
747         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
748         Remove define.
749         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
750         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
751         Linux implementation as base.
752         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
753         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
754         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
756         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
757         definition.
758         (__ALIGNMENT_COUNT): Likewise.
759         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
760         (__ALIGNMENT_COUNT): Likewise.
761         (SYSCALL_LL): New define.
762         (SYSCALL_LL64): Likewise.
763         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
764         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
765         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
766         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
768         * sysdeps/unix/sysv/linux/arm/kernel-features.h
769         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
770         * sysdeps/unix/sysv/linux/mips/kernel-features.h
771         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
772         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
773         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
775 2016-04-11  Florian Weimer  <fweimer@redhat.com>
777         [BZ #19865]
778         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
779         original buffer before retry.
781 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
783         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
784         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
785         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
786         GLRO(dl_auxv) list.
787         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
788         including <ldsodefs.h>.
789         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
791 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
793         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
794         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
795         $(CPPFLAGS).
797 2016-04-09  Khem Raj  <raj.khem@gmail.com>
799         [BZ #17950]
800         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
801         Add -mfpmath=387.
803 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
805         * sysdeps/i386/configure.ac: Change == to = when calling test.
806         * sysdeps/x86_64/configure.ac: Likewise.
807         * sysdeps/i386/configure: Regenerated.
808         * sysdeps/x86_64/configure: Likewise.
810 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
812         [BZ #16137]
813         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
814         * benchtests/bench-strcoll.c (input_files): Likewise.
815         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
816         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
817         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
819 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #19929]
822         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
823         [__USE_XOPEN2K8 && !__USE_GNU].
824         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
825         variable.
827         [BZ #19925]
828         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
829         define if [!__USE_MISC && __USE_XOPEN2K].
830         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
831         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
832         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
833         Likewise.
834         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
835         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
836         variable.
837         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
839 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
841         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
842         (sysdep_routines): Add new strspn targets.
843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
844         (__libc_ifunc_impl_list): Add strspn.
845         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
846         New file.
847         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
848         Likewise.
849         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
850         Likewise.
851         * sysdeps/powerpc/powerpc64/power8/strspn.S:
852         Likewise.
854 2016-04-07  Florian Weimer  <fweimer@redhat.com>
856         * misc/hsearch_r.c: Include <limits.h>.
858 2016-04-07  Florian Weimer  <fweimer@redhat.com>
860         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
862 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
864         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
865         (MEMCPY_SYMBOL): New.
866         (MEMPCPY_SYMBOL): Likewise.
867         (MEMMOVE_CHK_SYMBOL): Likewise.
868         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
869         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
870         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
871         Provide alias for memcpy in libc.a and ld.so.
873 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
875         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
876         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
877         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
878         Disabled fro now.
879         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
880         symbols.  Properly check USE_MULTIARCH on __memset symbols.
882 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
884         * benchtests/Makefile (string-benchset): Add memcpy-large,
885         memmove-large and memset-large.
886         * benchtests/bench-memcpy-large.c: New file.
887         * benchtests/bench-memmove-large.c: Likewise.
888         * benchtests/bench-memmove-large.c: Likewise.
889         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
891 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
893         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
894         32-bit displacement to avoid long nop between instructions.
896 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
898         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
899         a comment on VMOVU and VMOVA.
901 2016-04-04  Florian Weimer  <fweimer@redhat.com>
903         [BZ #19633]
904         Use specified locale for number formatting in strfmon_l.
905         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
906         (__nl_lookup_word): New inline functions.
907         * include/printf.h (__print_fp_l): Declare.
908         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
909         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
910         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
911         (___printf_fp): New function.
912         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
913         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
914         * stdlib/tst-strfmon_l.c (do_test): New test.
915         * stdlib/Makefile (tests): Add kt.
916         (LOCALES): Build additional locales.
917         (tst-strfmon_l.out): Require locales.
919 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
921         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
922         if not in libc.
923         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
924         Likewise.
925         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
926         Likewise.
927         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
928         Likewise.
930 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
932         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
933         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
934         with unaligned_erms.
935         (__memmove_erms): Skip if source == destination.
936         (__memmove_unaligned_erms): Don't check source == destination
937         first.
939 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
941         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
942         bit_arch_Fast_Copy_Backward for Intel Core proessors.
944 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
946         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
947         * string/strspn.c (strspn): Likewise.
949 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
951         * benchtests/bench-memset.c (do_test): Support 64-byte
952         alignment.
953         (test_main): Test 64-byte alignment.
955 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
957         * benchtests/bench-memmove.c (test_main): Test 64-byte
958         alignment.
960 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
962         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
964 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
966         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
967         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
968         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
970         * string/strpbrk.c (strpbrk): Rewrite function.
971         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
972         (__strpbrk_c2): Likewise.
973         (__strpbrk_c3): Likewise.
974         * string/string-inlines.c
975         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
976         Likewise.
977         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
978         Likewise.
980         * string/strspn.c (strcspn): Rewrite function.
981         * string/bits/string2.h (strspn): Use __builtin_strcspn.
982         (__strspn_c1): Remove inline function.
983         (__strspn_c2): Likewise.
984         (__strspn_c3): Likewise.
985         * string/string-inlines.c
986         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
987         compatibility symbol.
988         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
989         Likewise.
990         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
991         Likewise.
992         * string/string-inlines.c: Include generic version.
994 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
995             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
997         * string/Version (libc): Add GLIBC_2.24.
998         * string/strcspn.c (strcspn): Rewrite function.
999         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1000         (__strcspn_c1): Remove inline function.
1001         (__strcspn_c2): Likewise.
1002         (__strcspn_c3): Likewise.
1003         * string/string-inline.c
1004         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1005         compatibility symbol.
1006         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1007         Likewise.
1008         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1009         Likewise.
1010         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1012 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1014         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1015         Use ahi instead of aghi to adjust stack pointer.
1017 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1019         [BZ #19853]
1020         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1021         TEST to take significant digits as second parameter.
1022         [TEST]: Redefine in terms of TEST_N taking 30
1023         significant digits.
1024         (do_test): Add test case to demonstrate precision
1025         failure in the ldbl-128ibm printf.
1026         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1027         (__mpn_extract_long_double): Carry 7 extra intermediate
1028         bits of precision to aide computing difference when
1029         signs differ.
1031 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1033         [BZ #19881]
1034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1035         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1036         memset-avx512-unaligned-erms.
1037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1038         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1039         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1040         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1041         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1042         __memset_sse2_unaligned_erms, __memset_erms,
1043         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1044         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1045         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1046         file.
1047         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1048         Likewise.
1049         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1050         Likewise.
1051         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1052         Likewise.
1054 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1056         [BZ #19776]
1057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1058         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1059         memmove-avx512-unaligned-erms.
1060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1061         (__libc_ifunc_impl_list): Test
1062         __memmove_chk_avx512_unaligned_2,
1063         __memmove_chk_avx512_unaligned_erms,
1064         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1065         __memmove_chk_sse2_unaligned_2,
1066         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1067         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1068         __memmove_avx512_unaligned_erms, __memmove_erms,
1069         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1070         __memcpy_chk_avx512_unaligned_2,
1071         __memcpy_chk_avx512_unaligned_erms,
1072         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1073         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1074         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1075         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1076         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1077         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1078         __mempcpy_chk_avx512_unaligned_erms,
1079         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1080         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1081         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1082         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1083         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1084         __mempcpy_erms.
1085         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1086         file.
1087         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1088         Likwise.
1089         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1090         Likwise.
1091         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1092         Likwise.
1094 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1096         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1097         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1098         (La_s390_64_regs): Likewise.
1099         (La_s390_32_retval): Append vector register lrv_v24.
1100         (La_s390_64_retval): Likeweise.
1101         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1102         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1103         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1104         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1106 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1108         [BZ #19916]
1109         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1110         to create a non-vector/vector version for _dl_runtime_resolve and
1111         _dl_runtime_profile. Move implementation to ...
1112         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1113         (_dl_runtime_resolve) Save and restore fpr/vrs.
1114         (_dl_runtime_profile) Save and restore vrs and fix some issues
1115         if _dl_call_pltexit is called.
1116         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1117         Choose the correct resolver function if running on a machine with vx.
1118         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1119         to create a non-vector/vector version for _dl_runtime_resolve and
1120         _dl_runtime_profile. Move implementation to ...
1121         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1122         (_dl_runtime_resolve) Save and restore fpr/vrs.
1123         (_dl_runtime_profile) Save and restore vrs and fix some issues
1124         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1125         Choose the correct resolver function if running on a machine with vx.
1127 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1129         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1131 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1133         [BZ #19509]
1134         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1135         skip_map != NULL.
1136         * elf/tst-dlsym-error.c: New file.
1137         * elf/Makefile (tests): Add tst-dlsym-error.
1138         (tst-dlsym-error): Link against libdl.
1140 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1142         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1143         (__ASSUME_FUTIMESAT): Remove macro.
1144         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1146 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1148         [BZ #19879]
1149         CVE-2016-3075
1150         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1151         copy name.
1153 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1155         [BZ #19837]
1156         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1157         error if parse_line fails.
1159 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1161         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1162         (index_cpu_ERMS): Likewise.
1163         (reg_ERMS): Likewise.
1165 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1167         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1168         PER_LINUX_FDPIC): Add.
1170 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1173         memcpy-avx512-no-vzeroupper.
1174         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1175         to ...
1176         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1177         (MEMCPY): Don't define.
1178         (MEMCPY_CHK): Likewise.
1179         (MEMPCPY): Likewise.
1180         (MEMPCPY_CHK): Likewise.
1181         (MEMPCPY_CHK): Renamed to ...
1182         (__mempcpy_chk_avx512_no_vzeroupper): This.
1183         (MEMPCPY_CHK): Renamed to ...
1184         (__mempcpy_chk_avx512_no_vzeroupper): This.
1185         (MEMCPY_CHK): Renamed to ...
1186         (__memmove_chk_avx512_no_vzeroupper): This.
1187         (MEMCPY): Renamed to ...
1188         (__memmove_avx512_no_vzeroupper): This.
1189         (__memcpy_avx512_no_vzeroupper): New alias.
1190         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1192 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1194         [BZ #18858]
1195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1196         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1197         and mempcpy-avx512-no-vzeroupper.
1198         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1199         New.
1200         (MEMPCPY): Likewise.
1201         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1202         (MEMPCPY_CHK): New.
1203         (MEMPCPY): Likewise.
1204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1205         (MEMPCPY): Likewise.
1206         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1207         (MEMPCPY): Likewise.
1208         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1209         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1210         Likewise.
1211         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1212         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1214 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1215              Amit Pawar  <Amit.Pawar@amd.com>
1217         [BZ #19583]
1218         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1219         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1220         processors.  Set Fast_Copy_Backward for AMD Excavator
1221         processors.
1222         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1223         New.
1224         (index_arch_Fast_Unaligned_Copy): Likewise.
1225         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1226         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1228 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1230         [BZ #19791]
1231         * resolv/res_send.c (close_and_return_error): New function.
1232         (send_dg): Initialize *resplen2 after reopen failure.  Call
1233         close_and_return_error for error returns.  On error paths without
1234         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1235         successful return.
1237 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1239         [BZ# 19860]
1240         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1241         zero if the compiler does not provide the AVX512F bit.
1243 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1245         [BZ #19848]
1246         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1247         from 8 to 4.
1248         (__ieee754_powl): Compare integer exponent against 4 not 8.
1249         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1250         from 8 to 4.
1251         (__ieee754_powl): Compare integer exponent against 4 not 8.
1252         * math/auto-libm-test-in: Add more tests of pow.
1253         * math/auto-libm-test-out: Regenerated.
1254         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1257 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1259         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1260         Make code unconditional.
1261         [!__NR_utimensat]: Remove conditional code.
1262         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1263         Make code unconditional.
1264         [!__NR_utimensat]: Remove conditional code.
1265         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1266         Make code unconditional.
1267         [!__NR_utimensat]: Remove conditional code.
1269 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1271         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1272         Make code unconditional.
1274 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1276         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1277         call-clobbered %eax on retry path.
1278         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1280 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1282         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1283         Don't set %rcx twice before "rep movsb".
1285 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1287         [BZ #19583]
1288         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1289         inline.  Check family before setting family, model and
1290         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1291         bits here.
1292         (init_cpu_features): Replace HAS_CPU_FEATURE and
1293         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1294         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1295         for Intel processors with usable AVX2.  Call get_common_indeces
1296         for other processors with family == NULL.
1297         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1298         (CPU_FEATURES_ARCH_P): Likewise.
1299         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1300         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1302 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1304         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1305         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1306         $(shared-thread-library) instead of hardcoding the path to libpthread.
1308 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1310         * sysdeps/unix/sysv/linux/kernel-features.h
1311         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1312         * sysdeps/unix/sysv/linux/getdents.c
1313         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1314         [!have_no_getdents64_defined]: Likewise.
1315         (__GETDENTS): Remove __have_no_getdents64 conditional.
1317 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1320         Remove macro.
1321         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1322         <kernel-features.h>.
1323         (signalfd) [__NR_signalfd4]: Make code unconditional.
1324         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1326 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1328         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1329         style.
1331 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1333         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1334         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1335         __pthread_unwind.
1336         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1337         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1339         (__condvar_cleanup1): Likewise.
1341 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1343         [BZ #19822]
1344         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1345         move it to the final $@ location.
1347 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1349         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1350         access where posix_spawn success and pid argument is null.
1351         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1352         success case.
1354 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1356         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1358         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1360         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1361         and __fcntl.
1362         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1363         __fcntl only.
1364         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1365         adding attribute_hidden to __open and __fcntl.
1367         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1368         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1369         depend on libc-modules.h,
1370         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1372 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
1374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1375         Remove macro.
1376         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1377         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1378         entry.
1380         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1381         Remove macro.
1382         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1383         include <kernel-features.h>.
1384         [!__ASSUME_FALLOCATE]: Remove conditional code.
1385         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1387 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1389         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1390         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1392         (_ZGVdN4v_cos_avx2): Likewise.
1393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1394         (_ZGVdN4v_cos): Likewise.
1395         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1396         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1398         (_ZGVdN4v_exp_avx2): Likewise.
1399         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1400         (_ZGVdN4v_exp): Likewise.
1401         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1402         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1403         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1404         (_ZGVdN4v_log_avx2): Likewise.
1405         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1406         (_ZGVdN4v_log): Likewise.
1407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1408         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1410         (_ZGVdN4vv_pow_avx2): Likewise.
1411         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1412         (_ZGVdN4vv_pow): Likewise.
1413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1414         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1415         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1416         (_ZGVdN4v_sin_avx2): Likewise.
1417         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1418         (_ZGVdN4v_sin): Likewise.
1419         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1420         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1421         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1422         (_ZGVdN4vvv_sincos_avx2): Likewise.
1423         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1424         (_ZGVdN4vvv_sincos): Likewise.
1425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1426         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1427         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1428         (_ZGVbN4v_cosf_sse4): Likewise.
1429         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1430         (_ZGVdN8v_cosf_avx2): Likewise.
1431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1432         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1434         (_ZGVbN4v_expf_sse4): Likewise.
1435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1436         (_ZGVdN8v_expf_avx2): Likewise.
1437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1438         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1440         (_ZGVbN4v_logf_sse4): Likewise.
1441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1442         (_ZGVdN8v_logf_avx2): Likewise.
1443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1444         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1446         (_ZGVbN4vv_powf_sse4): Likewise.
1447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1448         (_ZGVdN8vv_powf_avx2): Likewise.
1449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1450         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1452         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1454         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1456         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1458         (_ZGVbN4v_sinf_sse4): Likewise.
1459         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1460         (_ZGVdN8v_sinf_avx2): Likewise.
1461         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1462         Use JUMPTARGET to call callee.
1463         (WRAPPER_IMPL_SSE2_ff): Likewise.
1464         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1465         (WRAPPER_IMPL_AVX): Likewise.
1466         (WRAPPER_IMPL_AVX_ff): Likewise.
1467         (WRAPPER_IMPL_AVX_fFF): Likewise.
1468         (WRAPPER_IMPL_AVX512): Likewise.
1469         (WRAPPER_IMPL_AVX512_ff): Likewise.
1470         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1471         Likewise.
1472         (WRAPPER_IMPL_SSE2_ff): Likewise.
1473         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1474         (WRAPPER_IMPL_AVX): Likewise.
1475         (WRAPPER_IMPL_AVX_ff): Likewise.
1476         (WRAPPER_IMPL_AVX_fFF): Likewise.
1477         (WRAPPER_IMPL_AVX512): Likewise.
1478         (WRAPPER_IMPL_AVX512_ff): Likewise.
1479         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1481 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1483         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1484         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1485         qualifier.
1486         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1487         internal_function qualifiers.
1489 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1491         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1492         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1493         * math/atest-exp.c (exp_mpn): Mark chk unused.
1494         * math/atest-exp2.c (exp_mpn): Likwise.
1495         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1496         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1498 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1501         Remove macro.
1502         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1503         <kernel-features.h>.
1504         [__NR_ppoll]: Make code unconditional.
1505         [!__ASSUME_PPOLL]: Remove conditional code.
1507         * sysdeps/unix/sysv/linux/kernel-features.h
1508         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1509         (__ASSUME_ACCEPT4): Likewise.
1510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1511         Define.
1512         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1513         Likewise.
1514         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1515         Likewise.
1516         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1519         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1521         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1522         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1523         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1525         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1528         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1529         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1532         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1533         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1534         Likewise.
1535         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1536         Likewise.
1537         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1538         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1539         0x040300].
1540         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1541         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1543         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1544         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1545         0x030300].
1546         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1548         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1549         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1550         0x040300].
1551         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1552         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1554         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1555         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1556         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1557         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1558         0x030300].
1559         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1560         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1561         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1562         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1563         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1564         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1565         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1566         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1567         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1568         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1569         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1570         0x040300].
1571         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1573         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1574         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1575         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1576         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1577         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1578         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1580         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1581         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1582         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1584         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1585         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1586         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1588         Likewise.
1589         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1590         Likewise.
1592 2016-03-15  Andreas Schwab  <schwab@suse.de>
1594         [BZ #19257]
1595         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1596         statp->_u._ext.nscount as loop count.
1598 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1600         * math/test-signgam-finite-c99.c: Also #undef
1601         __LIBC_INTERNAL_MATH_INLINES.
1602         * math/test-signgam-main.c: Likewise.
1604 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1606         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1607         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1608         (MADV_FREE): Likewise.
1609         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1610         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1611         EPOLLEXCLUSIVE.
1613 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1615         * timezone/README: Remove mention of checktab.awk. Mention wiki
1616         SharedSourceFiles.
1618 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1620         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1621         WUNTRACED.
1623 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1625         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1626         order to match the type of p when calling atomic_exchange_acq().
1628 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1630         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1631         cfi_offset calls.
1632         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1633         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1634         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1635         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1636         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1638 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1640         * timezone/checktab.awk: Removed.
1642 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1644         * manual/math.texi (Errors in Math Functions): Document relaxed
1645         accuracy goals for IBM long double.
1646         * math/libm-test.inc (test_exceptions): Always allow spurious
1647         "underflow" and "inexact" exceptions for IBM long double.
1649 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1651         [BZ #19762]
1652         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1653         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1654         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1655         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1656         (bit_arch_*): This for feature array.
1657         (bit_*): Renamed to ...
1658         (bit_cpu_*): This for cpu array.
1659         (index_*): Renamed to ...
1660         (index_arch_*): This for feature array.
1661         (index_*): Renamed to ...
1662         (index_cpu_*): This for cpu array.
1663         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1664         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1665         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1666         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1667         bit_##name with index_cpu_##name and bit_cpu_##name.
1668         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1669         bit_##name with index_arch_##name and bit_arch_##name.
1671 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1673         [BZ #19792]
1674         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1675         Terminate FDE before return label.
1677 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1679         [BZ #19790]
1680         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1681         (rintl): Define as macro.
1682         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1683         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1684         of fesetround.  Ensure results are evaluated before end of scope.
1685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1686         USE_AS_NEARBYINTL and include s_rintl.c.
1687         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1688         Disable exception traps in new environment.
1689         (libc_feholdsetround_ppc_ctx): Likewise.
1691 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1693         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1694         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1695         (tst_audit10_aux) [__AVX512F__]: ... here.
1697 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1699         * include/sys/auxv.h: New file.
1701 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1703         [BZ #19759]
1704         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1706 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1708         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1709         operand modifier.
1710         (feclearexcept): Likewise.
1712 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1714         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1715         to reflect the entire 32-bit HWCAP.
1716         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1717         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1719 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1721         [BZ #19783]
1722         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1723         $(test-via-rtld-prefix).
1724         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1726 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1728         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1729         union wait.  Report any non-zero exit status as error.
1731 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1733         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1734         configured with --enable-hardcoded-path-in-tests.
1736 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1738         [BZ #19677]
1739         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1740         (__ieee754_remainderl): Put zero low parts in canonical form.
1741         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1742         file.  Based on
1743         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1744         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1745         with wrapper round test-fmodrem-ldbl-128ibm.c.
1746         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1747         file.
1748         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1749         Likewise.
1750         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1751         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1753 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1755         [BZ #19610]
1756         * elf/ldconfig.c (opt_link): Update comment.
1757         (options): Update help string for option -X.
1758         (search_dir): Unlink stale symbolic link only if updating symbolic
1759         links.
1760         * elf/tst-ldconfig-X.sh: New file.
1761         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1762         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1764 2016-03-07  Andreas Schwab  <schwab@suse.de>
1766         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1767         needed arguments.
1769 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1771         [BZ #15333]
1772         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1773         to lstat64.
1775 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1777         * libio/filedoalloc.c (isatty): Remove.
1778         (local_isatty): Add comment.  Call __isatty directly.
1779         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1780         * libio/wfiledoalloc.c (isatty): Remove.
1781         (_IO_wfile_doallocate): Update comment.
1783 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1785         [BZ #19269]
1786         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1787         tst-audit4-aux.o.
1788         (tst-audit10): Depend on tst-audit10-aux.o.
1789         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1790         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1791         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1792         instead of inline AVX code.
1793         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1794         instead of inline AVX512 code.
1795         * sysdeps/x86_64/tst-audit4-aux.c: New file
1796         * sysdeps/x86_64/tst-audit10-aux.c: New file
1798         [BZ #19648]
1799         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1801 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1803         [BZ #14750]
1804         [BZ #10354]
1805         [BZ #18433]
1806         * include/sched.h (__clone): Add hidden prototype.
1807         (__clone2): Likewise.
1808         * include/unistd.h (__dup): Likewise.
1809         * posix/Makefile (tests): Add tst-spawn2.
1810         * posix/tst-spawn2.c: New file.
1811         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1812         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1813         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1814         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1815         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1816         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1817         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1818         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1819         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1820         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1821         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1827         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1828         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1829         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1830         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1831         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1832         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1833         * sysdeps/unix/sysv/linux/nptl-signals.h
1834         (____nptl_is_internal_signal): New function.
1835         * sysdeps/unix/sysv/linux/spawni.c: New file.
1837         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1838         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1839         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1840         * posix/tst-execvp2.c (do_test): Likewise.
1841         * posix/tst-execvp3.c (do_test): Likewise.
1842         * posix/tst-execvp4.c (do_test): Likewise.
1843         * posix/tst-execvpe1.c: New file.
1844         * posix/tst-execvpe2.c: Likewise.
1845         * posix/tst-execvpe3.c: Likewise.
1846         * posix/tst-execvpe4.c: Likewise.
1847         * posix/tst-execvpe5.c: Likewise.
1848         * posix/tst-execvpe6.c: Likewise.
1850         [BZ #19534]
1851         * posix/execl.c (execl): Remove dynamic memory allocation.
1852         * posix/execle.c (execle): Likewise.
1853         * posix/execlp.c (execlp): Likewise.
1855 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1857         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1858         Replace .text with .text.avx512.
1859         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1860         Likewise.
1862 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1864         * sysdeps/generic/libnsl.abilist: New file.
1865         * sysdeps/generic/libutil.abilist: New file.
1867 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1869         [BZ #19762]
1870         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1871         HAS_ARCH_FEATURE with Fast_Rep_String.
1872         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1873         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1874         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1875         Likewise.
1876         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1877         Likewise.
1878         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1879         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1880         Likewise.
1881         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1882         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1883         Likewise.
1885 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1887         [BZ #19745]
1888         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1889         with *%rax in call.
1891 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1893         [BZ #19745]
1894         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1895         with *__libc_start_main@GOTPCREL(%rip) in call.
1897 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1899         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1900         inside conditional for nonempty $(CXX).
1902         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1903         nonempty.
1905         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1906         to test for empty $(CXX) rather than $(CXX) of "no".
1908 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1910         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1912 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1913             H.J. Lu  <hongjiu.lu@intel.com>
1915         [BZ #18880]
1916         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1917         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1918         enable __memcpy_ssse3_back.
1920 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1922         [BZ #19758]
1923         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1924         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1926 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1928         [BZ #19490]
1929         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1930         (__fentry__): Likewise.
1932 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1934         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1935         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1937 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1939         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1940         __mcount_internal directly.
1941         (C_LABEL(__fentry__)): Likewise.
1942         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1943         directly.
1945 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1947         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1948         (__start_context): Call __setcontext directly.
1950 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1952         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1953         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1954         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1955         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1957         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1958         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1959         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1960         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1961         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1962         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1963         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1964         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1965         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1966         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1967         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1968         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1969         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1970         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1971         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1972         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1973         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1974         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1975         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1976         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1977         Remove conditional code.
1978         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1979         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1980         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1981         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1982         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1983         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1984         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1985         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1986         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1987         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1988         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1989         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1991 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1993         * NEWS (2.23): Fix typo in bug 19048 text.
1995 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1997         [BZ #14259]
1998         * Makeconfig: Rename msgcatdir to localedir.
1999         Rename inst_msgcatdir to inst_localedir.
2000         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2001         * config.make.in: Add localedir.
2002         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2003         (ldd-rewrite): Likewise.
2004         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2005         (install-others): Use inst_localedir.
2006         (CPPFLAGS): Use localedir.
2007         * locale/Makefile (locale-CPPFLAGS): Likewise.
2008         * po/Makefile (mo-installed): Use inst_localedir.
2010         [BZ #19575]
2011         * localedata/charmaps/GB18030: Update comments regarding PAU to
2012         non-PUA mappings.
2014 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2016         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2017         test for header.
2018         * sysdeps/unix/sysv/linux/configure: Regenerated.
2019         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2020         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2021         Remove conditional code.
2022         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2024         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2025         Define to 3.2.0.
2026         (arch_minimum_kernel): Likewise.
2027         * sysdeps/unix/sysv/linux/configure: Regenerated.
2028         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2029         Define to 2.6.32.
2030         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2031         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2032         (arch_minimum_kernel): Define to 2.6.32.
2033         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2034         * README: Document Linux 3.2 requirement.
2035         * manual/install.texi (Linux): Document Linux 3.2 headers
2036         requirement.
2037         * INSTALL: Regenerated.
2039 2016-02-24  Andreas Schwab  <schwab@suse.de>
2041         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2042         if !NO_LONG_DOUBLE.
2044 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2046         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2047         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2049 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2051         [BZ #19512]
2052         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2054 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2056         * posix/tst-dir.c: Include libc-internal.h.
2058 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2060         [BZ #19056]
2061         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2062         * manual/filesys.texi (Reading/Closing Directory): Mention
2063         deprecaion.
2064         * posix/tst-dir.c (main): Disable deprecation warning in test.
2066 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2068         [BZ #19679]
2069         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2070         Renamed to ...
2071         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2072         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2073         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2074         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2075         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2076         * sysdeps/x86_64/dl-trampoline.h
2077         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2078         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2080 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2082         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2084 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2086         * elf/elf.h (R_386_GOT32X): New.
2087         (R_386_NUM): Update.
2088         (R_X86_64_GOTPCRELX: New.
2089         (R_X86_64_REX_GOTPCRELX): New.
2090         (R_X86_64_NUM): Update.
2092 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2094         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2096 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2098         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2099         assign attr->stackaddr to it, and adjust it down when
2100         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2101         [_STACK_GROWS_UP]: Delete assert.
2102         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2103         Implement stack grows up logic.
2104         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2105         stack grows up logic.
2107 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2109         * NEWS: Update with 2.24 template.
2111 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2113         [BZ #19678]
2114         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2115         Ensure +0.0 is returned when taking the next value below the least
2116         positive value.
2118 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2120         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2121         available.  Do not define NO_THREADS.
2122         * malloc/malloc.c: Do not check NO_THREADS.
2123         * malloc/arena.c: Likewise.
2125 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2127         * malloc/malloc.c (__libc_mallinfo): Update comment.
2128         (struct malloc_par): Remove max_total_mem member, it was always 0.
2129         (int_mallinfo): Store 0 into usmblks (no functional change).
2130         * malloc/hooks.c (struct malloc_state): Document that
2131         max_total_mem is always 0.
2132         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2133         always 0.
2134         * manual/memory.texi (Statistics of Malloc): Likewise.
2136 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2138         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2139         * malloc/arena.c (arena_max): Remove.
2140         (heap_trim, _int_new_arena): Do not update arena_max.
2142 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2144         * resolv/res_init.c (res_ninit): Update comment.
2146 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #19505]
2149         * posix/spawn_int.h: Add headers and include guard.
2150         (__spawn_valid_fd): New function.
2151         * posix/spawn_faction_addopen.c
2152         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2153         * posix/spawn_faction_addclose.c
2154         (posix_spawn_file_actions_addclose): Likewise.
2155         * posix/spawn_faction_adddup2.c
2156         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2157         second file descriptor.
2158         * posix/spawn_valid_fd.c: New file.
2159         * posix/tst-posix_spawn-fd.c: New file.
2160         * posix/Makefile (routines): Add spawn_valid_fd.
2161         (tests): Add tst-posix_spawn-fd.
2163 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2165         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2166         (do_test): Limit the number of arenas, so that we can use fewer
2167         outer threads.  Limit timeout to 3 seconds, in preparation for a
2168         larger TIMEOUT value.
2170 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2172         [BZ #19674]
2173         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2174         sign in overflowing and underflowing results when overflow or
2175         underflow is detected early.  Include sign in result before rather
2176         than after scaling.
2178         [BZ #19603]
2179         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2180         (__ieee754_remainderl): Adjust sign of integer version of low part
2181         when taking absolute value of high part.
2182         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2183         * math/libm-test.inc (remainder_test_data): Add another test.
2184         (remquo_test_data): Likewise.
2186 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #19602]
2189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2190         equal high parts and both low parts zero specially.
2191         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2192         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2193         Add test-fmodl-ldbl-128ibm.
2195         [BZ #19595]
2196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2197         common logic for all cases of shifting subnormal results.  Do not
2198         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2199         exponent to ldbl_insert_mantissa in subnormal case.
2201         [BZ #19594]
2202         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2203         on high and low parts then adjust result and use
2204         ldbl_canonicalize_int if needed.
2206         [BZ #19593]
2207         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2208         on high part and __floor or __ceil on low part then use
2209         ldbl_canonicalize_int if needed.
2211         [BZ #19592]
2212         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2213         high and low parts then use ldbl_canonicalize_int if needed.
2215         [BZ #17899]
2216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2217         New function.
2218         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2219         on high and low parts then use ldbl_canonicalize_int if needed.
2221 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2223         * configure: Regenerated.
2225         * po/libc.pot: Regenerated.
2227         * po/be.po: Updated translation.
2228         * po/bg.po: Likewise.
2229         * po/ca.po: Likewise.
2230         * po/cs.po: Likewise.
2231         * po/da.po: Likewise.
2232         * po/el.po: Likewise.
2233         * po/eo.po: Likewise.
2234         * po/es.po: Likewise.
2235         * po/fi.po: Likewise.
2236         * po/fr.po: Likewise.
2237         * po/gl.po: Likewise.
2238         * po/hr.po: Likewise.
2239         * po/hu.po: Likewise.
2240         * po/ia.po: Likewise.
2241         * po/id.po: Likewise.
2242         * po/it.po: Likewise.
2243         * po/ja.po: Likewise.
2244         * po/lt.po: Likewise.
2245         * po/nb.po: Likewise.
2246         * po/nl.po: Likewise.
2247         * po/pt_BR.po: Likewise.
2248         * po/rw.po: Likewise.
2249         * po/sk.po: Likewise.
2250         * po/sl.po: Likewise.
2251         * po/sv.po: Likewise.
2252         * po/tr.po: Likewise.
2253         * po/zh_CN.po: Likewise.
2254         * po/zh_TW.po: Likewise.
2256         * version.h (RELEAES): Set to "development".
2257         (VERSION): Set to 2.23.90.
2259         * version.h (RELEASE): Set to "stable".
2260         (VERSION): Set to 2.23.
2261         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2263         * NEWS: Updated fixed bugs.
2265 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2266             Wilco Dijkstra  <wdijkstr@arm.com>
2268         [BZ #19462]
2269         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2270         (_STRING_INLINE_unaligned): This.
2271         * include/string.h: Include <string_private.h>.
2272         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2273         _STRING_INLINE_unaligned.
2274         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2275         (_STRING_INLINE_unaligned): New.
2276         * sysdeps/aarch64/string_private.h: New file.
2277         * sysdeps/generic/string_private.h: Likewise.
2278         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2279         * sysdeps/s390/string_private.h: Likewise.
2280         * sysdeps/x86/string_private.h: Likewise.
2281         * sysdeps/m68k/m680x0/m68020/bits/string.h
2282         (_STRING_ARCH_unaligned): Renamed to ...
2283         (_STRING_INLINE_unaligned): This.
2284         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2285         to ...
2286         (_STRING_INLINE_unaligned): This.
2287         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2288         to ...
2289         (_STRING_INLINE_unaligned): This.
2290         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2291         to ...
2292         (_STRING_INLINE_unaligned): This.
2294 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2295             H.J. Lu  <hongjiu.lu@intel.com>
2297         [BZ #19590]
2298         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2299         relocation.
2301 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2303         [BZ #18665]
2304         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2305         *herrno_p.
2306         (gaih_getanswer): Document functional behviour. Return tryagain
2307         if any result is tryagain.
2308         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2309         when freed.
2310         * resolv/res_send.c: Add copyright text.
2311         (__libc_res_nsend): Document that MAXPACKET is expected.
2312         (send_vc): Document. Remove buffer reuse.
2313         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2314         size of the buffer. Add Dprint for truncated UDP buffer.
2316 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2318         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2319         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2320         * INSTALL: Regenerate.
2322 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2323             Jonathan Wakely  <jwakely@redhat.com>
2324             Carlos O'Donell  <carlos@redhat.com>
2326         [BZ 19439]
2327         * math/Makefile (tests): Add test-math-isinff.
2328         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2329         * math/bits/mathcalls.h [__USE_MISC]: Use
2330         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2331         functions not in C++11 and which don't conflict e.g. isinff,
2332         isinfl etc.
2333         * math/test-math-isinff.cc: New file.
2335 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2337         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2339 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2341         [BZ #19529]
2342         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2344 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2346         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2348 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2350         [BZ #19550]
2351         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2352         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2353         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2354         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2355         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2356         New syscall entry.
2357         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2358         New syscall entry.
2359         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2360         syscall entry.
2362 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
2364         [BZ #18240]
2365         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2366         unsigned int wraparound.
2368 2016-01-27  Florian Weimer  <fweimer@redhat.com>
2370         [BZ #18240]
2371         * misc/bug18240.c: New test.
2372         * misc/Makefile (tests): Add it.
2374 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
2375             Joseph Myers  <joseph@codesourcery.com>
2377         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2378         load in branch delay slot when less than a word of input left.
2380 2016-01-27  Andreas Schwab  <schwab@suse.de>
2382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2384         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2385         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2387 2016-01-26  David S. Miller  <davem@davemloft.net>
2389         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2391 2016-01-25  David S. Miller  <davem@davemloft.net>
2393         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2394         __sqrtl_finite.
2395         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2396         instead using versioned_symbol.
2397         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2398         of entries.
2400         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2401         __sqrtl_finite to GLIBC_2.23
2403 2016-01-25  Ricchard Henderson  <rth@redhat.com>
2405         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2407 2016-01-25  Andreas Schwab  <schwab@suse.de>
2409         [BZ #17514]
2410         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2411         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2412         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2413         * nptl/tst-mutex-errorcheck.c: New file.
2415 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2417         [BZ #18560]
2418         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2419         (IPCOP_semop): Likewise.
2420         (IPCOP_semget): Likewise.
2421         (IPCOP_semctl): Likewise.
2422         (IPCOP_msgsnd): Likewise.
2423         (IPCOP_msgrcv): Likewise.
2424         (IPCOP_msgget): Likewise.
2425         (IPCOP_msgctl): Likewise.
2426         (IPCOP_shmat): Likewise.
2427         (IPCOP_shmdt): Likewise.
2428         (IPCOP_shmget): Likewise.
2429         (IPCOP_shmctl): Likewise.
2431 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2433         * string/tst-endian.c: Include <libc-internal.h>.
2434         (do_test): Ignore tautological-compare warnings around
2435         "htobeXX (beXXtoh (i)) != i" and
2436         "htoleXX (leXXtoh (i)) != i" if-statements.
2438 2016-01-24  David S. Miller  <davem@davemloft.net>
2440         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2441         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2442         alias.
2443         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2444         __sqrtl_finite.
2446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2448 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2450         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2451         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2452         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2454 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2456         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2457         (thread_func): Use new function to simplify barrier check.
2458         (do_test): Use new function to simplify checking barrier exit
2459         code, and actually join the child thread.
2461 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2463         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2464         semicolon.
2465         (__libc_tend): Likewise.
2466         (__libc_tabort): Likewise.
2468 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2470         * sysdeps/nios2/libm-test-ulps: Update.
2471         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2472         (__gtsf2): Likewise.
2473         (__unorddf2): Likewise.
2474         (__unordsf2): Likewise.
2475         (__ledf2): Likewise.
2477 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2479         * nis/nis_table.c (__follow_path): Disable diagnostic for
2480         uninitialized variable that is a false positive for gcc 4.7.
2481         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2483 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2485         * sysdeps/nacl/lowlevellock-futex.h
2486         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2487         Always evaluate PRIVATE argument.
2489 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2491         [BZ #19490]
2492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2493         (pthread_cond_broadcast): Use ENTRY/END
2494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2495         (pthread_cond_signal): Likewise.
2496         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2497         Likewise.
2498         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2499         Likewise.
2500         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2501         Likewise.
2503 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2505         * sysdeps/ieee754/dbl-64/s_finite.c
2506         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2507         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2508         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2510         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2513         (__gtsf2): Add as optional for libc.so.
2514         (__unordsf2): Likewise.
2515         (__signbit): Remove for libc.so.
2516         (__signbitl): Likewise.
2518 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520         * iconvdata/bug-iconv11.c (test_ibm93x):
2521         Use %zu printf format specifier for size_t argument.
2523 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2525         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2526         already-recorded ulps.
2527         * sysdeps/arm/libm-test-ulps: Regenerated.
2528         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2529         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2530         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2532 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2533             Paul Pluzhnikov  <ppluzhnikov@google.com>
2535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2536         assembler not supporting AVX-512.
2538 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2540         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2542 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2544         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2545         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2547         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2549         * sysdeps/arm/libm-test-ulps: Regenerated.
2551 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2553         [BZ #19451]
2554         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2556 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2558         [BZ #19486]
2559         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2560         * sysdeps/generic/fix-fp-int-convert-overflow.h
2561         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2562         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2563         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2564         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2565         Likewise.
2566         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2567         Avoid conversions to long int where inexact exceptions
2568         could be raised.
2569         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2570         Likewise.
2571         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2572         Avoid conversions to long long int where inexact exceptions
2573         could be raised.
2574         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2575         Likewise.
2577 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2579         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2580         * configure: Regenerated.
2582 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2584         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2586 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2589         outside of comment.
2591 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2593         * nptl/tst-barrier1.c: Add description on first line.
2594         * nptl/tst-barrier2.c: Likewise.
2595         * nptl/tst-barrier3.c: Likewise.
2596         * nptl/tst-barrier4.c: Likewise.
2597         * nptl/tst-barrier5.c: Likewise.
2599 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2601         [BZ #18868]
2602         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2604 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2608         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2609         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2610         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2611         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2612         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2613         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2614         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2615         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2616         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2618 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2620         [BZ #13065]
2621         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2622         new implementation.
2623         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2624         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2625         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2626         (BARRIER_IN_THRESHOLD): New macro.
2627         * nptl/pthread_barrierattr_setpshared.c
2628         (pthread_barrierattr_setpshared): Clean up.
2629         * nptl/tst-barrier4.c: Correct comment.
2630         * nptl/tst-barrier5.c: New file.
2631         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2632         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2633         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2634         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2635         * nptl/lowlevelbarrier.sym: Remove.
2636         * nptl/DESIGN-barrier.txt: Remove.
2637         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2638         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2639         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2640         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2641         error.
2642         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2643         implementation.
2645 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2647         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2648         (do_child): Mask SIGRTMIN while thr is running.
2650 2016-01-15  Martin Sebor  <msebor@redhat.com>
2652         [BZ #19432]
2653         * iconvdata/Makefile: Add bug-iconv11.
2654         * iconvdata/bug-iconv11.c: New test.
2655         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2656         * iconvdata/ibm933.c: Same.
2657         * iconvdata/ibm935.c: Same.
2658         * iconvdata/ibm937.c: Same.
2659         * iconvdata/ibm939.c: Same.
2661 2016-01-15  Martin Sebor  <msebor@redhat.com>
2663         [BZ #19443]
2664         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2665         [DEBUG] (_ufc_set_bits): Declare used.
2666         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2667         [DEBUG] (print_all): Declare used.
2668         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2669         operands of the ternary ?: expression to target type.
2670         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2671         calling the undeclared abort.
2672         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2674 2016-01-15  Martin Sebor  <msebor@redhat.com>
2676         [BZ #18755]
2677         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2678         warnings.
2679         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2680         (__gai_create_helper_thread): Same.
2681         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2682         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2683         to suppress -Wmaybe-uninitialized warnings.
2685 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2687         [BZ #19465]
2688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2689         inside if.
2690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2694 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2696         [BZ #19466]
2697         * time/tst-mktime2.c (time_t_max): Removed.
2698         (time_t_min): Likewise.
2699         (TYPE_SIGNED): New.
2700         (TYPE_MINIMUM): Likewise.
2701         (TYPE_MAXIMUM): Likewise.
2702         (TIME_T_MIN): Likewise.
2703         (TIME_T_MAX): Likewise.
2704         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2705         and TIME_T_MIN.
2706         (do_test): Likewise.
2708 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2710         [BZ #19467]
2711         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2712         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2714 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2716         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2718 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2720         * benchtests/Makefile (PYTHON): Define.
2721         (bench-func): Use $(PYTHON) to run python scripts.
2722         ($(objpfx)bench-%.c): Likewise.
2724 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2726         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2727         leading slash when `file_name' is "/".
2729 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2731         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2732         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2739         enum constant and macro.
2740         (PTRACE_SETSIGMASK): Likewise.
2741         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2742         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2743         (PTRACE_GETSIGMASK): Likewise.
2744         (PTRACE_SETSIGMASK): Likewise.
2745         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2746         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2747         Likewise.
2748         (PTRACE_SETSIGMASK): Likewise.
2749         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2751         (PTRACE_GETSIGMASK): Likewise.
2752         (PTRACE_SETSIGMASK): Likewise.
2753         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2755         Likewise.
2756         (PTRACE_SETSIGMASK): Likewise.
2757         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2758         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2759         Likewise.
2760         (PTRACE_SETSIGMASK): Likewise.
2761         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2762         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2763         Likewise.
2764         (PTRACE_SETSIGMASK): Likewise.
2765         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2767 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2768             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2770         [BZ #19439]
2771         * math/bits/mathcalls.h
2772         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2773         prototype.
2774         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2776 2016-01-11  Andreas Schwab  <schwab@suse.de>
2778         [BZ #19253]
2779         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2780         cache when TZDEFRULES was used.
2781         * time/tst-tzname.c: New file.
2782         * time/Makefile (test): Add tst-tzname.
2783         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2784         * timezone/Makefile (test-zones): Add $(posixrules-file).
2785         ($(testdata)/$(posixrules-file)): New rule.
2787 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2789         Fix doc quoting problems with Texinfo 5
2790         Without this change, in the info file output, Texinfo 5 quotes code
2791         in text with undirected single quotes 'like this' and generates
2792         code examples that with many PDF readers cannot be cut out of PDFs
2793         and pasted into code.
2794         * manual/libc.texinfo: Configure the libc manual like the GNU
2795         Emacs manual, by using @documentencoding and setting
2796         txicodequoteundirected and txicodequotebacktick.  This way,
2797         Texinfo 5 quotes code in text with directed single quotes ‘like
2798         this’ and produces examples that can be cut out of PDFs.  This
2799         change causes Texinfo 5 to generate info files that contain UTF-8
2800         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2801         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2803 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2805         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2806         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2807         barriers to their respective compiler built-ins.
2808         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2809         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2810         * sysdeps/powerpc/sysdep.h: Likewise.
2811         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2813         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2815 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2817         * scripts/config.guess: Revert previous shebang change.
2818         * scripts/config.sub: Likewise.
2819         * scripts/mkinstalldirs: Likewise.
2821 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2823         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2824         PPC_FEATURE2_HAS_IEEE128.
2825         * sysdeps/powerpc/dl-procinfo.c:
2826         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2828 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2830         [BZ #19415]
2831         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2832         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2833         (_dl_lookup_address): Rewrite using function resolver trampoline.
2834         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2835         two bits in address.
2837 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2839         * longlong.h: Change !__SHMEDIA__ to
2840         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2841         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2843 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2844             Joseph Myers  <joseph@codesourcery.com>
2845             Mark Shinwell  <shinwell@codesourcery.com>
2846             Andrew Stubbs  <ams@codesourcery.com>
2847             Rich Felker <dalias@libc.org>
2849         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2851 2016-01-07  Richard Henderson  <rth@redhat.com>
2853         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2855 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2857         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2858         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2859         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2860         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2861         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2863 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2864             Joseph Myers  <joseph@codesourcery.com>
2866         * timezone/private.h: Update from tzcode 2015g.
2867         * timezone/tzfile.h: Likewise.
2868         * timezone/tzselect.ksh: Likewise.
2869         * timezone/zdump.c: Likewise.
2870         * timezone/zic.c: Likewise.
2871         * timezone/ialloc.c: Remove file.
2872         * timezone/scheck.c: Likewise.
2873         * timezone/Makefile (extra-objs): Remove variable.
2874         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2875         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2876         -Wno-maybe-uninitialized.
2877         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2878         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2879         (CFLAGS-ialloc.c): Remove variable.
2880         (CFLAGS-scheck.c): Likewise.
2881         * timezone/README: Update list of files from tzcode.
2883 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2885         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2886         instead of __fxprintf when _LIBC is undefined.
2888 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2890         * catgets/test-gencat.sh: Remove space after shebang.
2891         * conform/GlibcConform.pm: Likewise.
2892         * conform/check-header-lists.sh: Likewise.
2893         * conform/conformtest.pl: Likewise.
2894         * conform/linknamespace.pl: Likewise.
2895         * conform/list-header-symbols.pl: Likewise.
2896         * debug/catchsegv.sh: Likewise.
2897         * elf/genrtldtbl.awk: Likewise.
2898         * elf/tst-pathopt.sh: Likewise.
2899         * elf/tst-rtld-load-self.sh: Likewise.
2900         * grp/tst_fgetgrent.sh: Likewise.
2901         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2902         * iconvdata/gen-8bit-gap.sh: Likewise.
2903         * iconvdata/gen-8bit.sh: Likewise.
2904         * iconvdata/run-iconv-test.sh: Likewise.
2905         * intl/tst-gettext.sh: Likewise.
2906         * intl/tst-gettext2.sh: Likewise.
2907         * intl/tst-gettext4.sh: Likewise.
2908         * intl/tst-gettext6.sh: Likewise.
2909         * intl/tst-translit.sh: Likewise.
2910         * io/ftwtest-sh: Likewise.
2911         * libio/test-freopen.sh: Likewise.
2912         * locale/gen-translit.pl: Likewise.
2913         * malloc/tst-mtrace.sh: Likewise.
2914         * manual/check-safety.sh: Likewise.
2915         * manual/libc-texinfo.sh: Likewise.
2916         * manual/tsort.awk: Likewise.
2917         * manual/xtract-typefun.awk: Likewise.
2918         * nptl/tst-cancel-wrappers.sh: Likewise.
2919         * nptl/tst-tls6.sh: Likewise.
2920         * posix/globtest.sh: Likewise.
2921         * posix/tst-getconf.sh: Likewise.
2922         * posix/wordexp-tst.sh: Likewise.
2923         * scripts/check-c++-types.sh: Likewise.
2924         * scripts/check-local-headers.sh: Likewise.
2925         * scripts/config.guess: Likewise.
2926         * scripts/config.sub: Likewise.
2927         * scripts/cpp: Likewise.
2928         * scripts/cross-test-ssh.sh: Likewise.
2929         * scripts/documented.sh: Likewise.
2930         * scripts/evaluate-test.sh: Likewise.
2931         * scripts/gen-libc-abis: Likewise.
2932         * scripts/gen-sorted.awk: Likewise.
2933         * scripts/list-fixed-bugs.py: Likewise.
2934         * scripts/merge-test-results.sh: Likewise.
2935         * scripts/mkinstalldirs: Likewise.
2936         * scripts/rellns-sh: Likewise.
2937         * scripts/test-installation.pl: Likewise.
2938         * scripts/update-copyrights: Likewise.
2939         * stdio-common/tst-printf.sh: Likewise.
2940         * stdio-common/tst-unbputc.sh: Likewise.
2941         * stdlib/tst-fmtmsg.sh: Likewise.
2942         * stdlib/tst-setcontext3.sh: Likewise.
2943         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2944         * sysdeps/unix/make-syscalls.sh: Likewise.
2946 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2948         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2949         asm stw with atomic_exchange_rel.  Add explanatory comment.
2950         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2951         Likewise.
2953 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2955         [BZ #19122]
2956         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2957         * sysdeps/generic/dl-unistd.h: New file.
2958         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2960 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2962          [BZ #19122]
2963          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2964          * sysdeps/generic/dl-mman.h: New file.
2965          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2967 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2969         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2970         trailing whitespace removed.
2971         * scripts/config.guess: Update to version 2016-01-01.
2972         * scripts/config.sub: Update to version 2016-01-01.
2973         * scripts/move-if-change: Update from gnulib.
2975 2016-01-04  Anton Blanchard  <anton@samba.org>
2977         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2978         for array indices.
2979         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2981 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2983         * NEWS: Update copyright dates.
2984         * catgets/gencat.c (print_version): Likewise.
2985         * csu/version.c (banner): Likewise.
2986         * debug/catchsegv.sh: Likewise.
2987         * debug/pcprofiledump.c (print_version): Likewise.
2988         * debug/xtrace.sh (do_version): Likewise.
2989         * elf/ldconfig.c (print_version): Likewise.
2990         * elf/ldd.bash.in: Likewise.
2991         * elf/pldd.c (print_version): Likewise.
2992         * elf/sotruss.sh: Likewise.
2993         * elf/sprof.c (print_version): Likewise.
2994         * iconv/iconv_prog.c (print_version): Likewise.
2995         * iconv/iconvconfig.c (print_version): Likewise.
2996         * locale/programs/locale.c (print_version): Likewise.
2997         * locale/programs/localedef.c (print_version): Likewise.
2998         * login/programs/pt_chown.c (print_version): Likewise.
2999         * malloc/memusage.sh (do_version): Likewise.
3000         * malloc/memusagestat.c (print_version): Likewise.
3001         * malloc/mtrace.pl: Likewise.
3002         * manual/libc.texinfo: Likewise.
3003         * nptl/version.c (banner): Likewise.
3004         * nscd/nscd.c (print_version): Likewise.
3005         * nss/getent.c (print_version): Likewise.
3006         * nss/makedb.c (print_version): Likewise.
3007         * posix/getconf.c (main): Likewise.
3008         * scripts/test-installation.pl: Likewise.
3009         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3011         * All files with FSF copyright notices: Update copyright dates
3012         using scripts/update-copyrights.
3013         * intl/plural.c: Regenerated.
3014         * locale/programs/charmap-kw.h: Likewise.
3015         * locale/programs/locfile-kw.h: Likewise.
3017 2016-01-02  Helge Deller  <deller@gmx.de>
3019         [BZ #19285]
3020         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3021         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3022         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3023         (MADV_xxK_PAGES): Remove.
3025 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3027         [BZ #15421]
3028         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3029         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3030         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3031         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3033 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3035         [BZ #19408]
3036         * sysdeps/unix/sysv/linux/personality.c: New file.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3038         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3039         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3040         (sysdep_routines): Add personality.
3041         (tests): Add tst-personality.
3042         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3043         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3044         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3045         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3046         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3047         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3048         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3049         Likewise.
3050         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3053         Likewise.
3054         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3055         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3056         Likewise.
3058 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3060         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3061         (PATH_ARM_SYSTYPE): Remove.
3062         (PATH_CPUINFO): Likewise.
3063         (IO_BASE_FOOTBRIDGE): Likewise.
3064         (IO_SHIFT_FOOTBRIDGE): Likewise.
3065         (struct platform): Likewise.
3066         (init_iosys): Remove compatibility code for 2.4 kernels.
3067         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3069 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3071         * malloc/tst-malloc-thread-fail.c: New file.
3072         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3073         (tst-malloc-thread-fail): Link against libpthread.
3075 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3077         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3078         (get_parser): New function.
3079         (main): New function.
3081 2015-12-29  Rob Wu  <rob@robwu.nl>
3083         [BZ #19369]
3084         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3086 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3088         [BZ #19270]
3089         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3091 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3093         [BZ #15421]
3094         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3096 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3098         [BZ #13690]
3099         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3100         after releasing it.
3101         (__lll_robust_unlock): Likewise.
3102         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3104         (lll_robust_unlock): Likewise.
3105         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3106         Prevent warnings in callers.
3108 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3110         * malloc/arena.c (list_lock): Update comment.
3112 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3114         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3115         __parse_hwcap_and_convert_at_platform to libc.a.
3117 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3119         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3120         platform and feature support for POWER9.
3121         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3122         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3123         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3124         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3125         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3126         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3127         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3128         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3130 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3132         Harmonize generic stdio-lock support with nptl
3134         This fixes build when _IO_funlockfile is a macro, fixes build where
3135         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3136         stack unwind.
3138         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3139         _IO_release_lock ): Use cleanup attribute on new
3140         _IO_acquire_lock_file variable instead of assuming that
3141         _IO_release_lock will be called.
3142         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3143         _IO_acquire_lock_needs_exceptions_enabled.
3144         (_IO_acquire_lock_clear_flags2): New macro.
3146 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3148         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3150 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3152         [BZ #19182]
3153         * malloc/arena.c (list_lock): Document lock ordering requirements.
3154         (free_list_lock): New lock.
3155         (ptmalloc_lock_all): Comment on free_list_lock.
3156         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3157         (detach_arena): Update comment.  free_list_lock is now needed.
3158         (_int_new_arena): Use free_list_lock around detach_arena call.
3159         Acquire arena lock after list_lock.  Add comment, including FIXME
3160         about incorrect synchronization.
3161         (get_free_list): Switch to free_list_lock.
3162         (reused_arena): Acquire free_list_lock around detach_arena call
3163         and attached threads counter update.  Add two FIXMEs about
3164         incorrect synchronization.
3165         (arena_thread_freeres): Switch to free_list_lock.
3166         * malloc/malloc.c (struct malloc_state): Update comments to
3167         mention free_list_lock.
3169 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3171         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3172         Remove functions.
3173         (sloww, sloww1): Accept argument to offset quadrant.
3174         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3175         quadrant.
3176         (__sin, __cos): Consolidate common code into new functions.
3177         (reduce_sincos_1, do_sincos_1): New functions.
3178         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3181         code to new functions.
3182         (reduce_sincos_2, do_sincos_2): New functions.
3183         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3186         common code for sincos.
3187         (__cos) [!IN_SINCOS]: Likewise.
3188         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3189         New function.
3190         (__sincos): Use it.
3192 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3194         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3195         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3196         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3198 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3200         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3203         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3204         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3205         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3206         index_Prefer_No_VZEROUPPER): New feature.
3207         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3208         Prefer_No_VZEROUPPER for Knights Landing.
3210 015-12-18  Torvald Riegel  <triegel@redhat.com>
3212         * math/atest-exp2.c (mp_exp_m1): Remove.
3214 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3216         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3217         syscalls.
3218         (__SYSCALL0): New macro.
3219         (__SYSCALL1): Likewise.
3220         (__SYSCALL2): Likewise.
3221         (__SYSCALL3): Likewise.
3222         (__SYSCALL4): Likewise.
3223         (__SYSCALL5): Likewise.
3224         (__SYSCALL6): Likewise.
3225         (__SYSCALL_CONCAT_X): Likewise.
3226         (__SYSCALL_CONCAT): Likewise.
3227         (__SYSCALL_DIST): Likewise.
3228         (__SYSCALL_CALL): Likewise.
3230 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3232         [BZ #19363]
3233         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3235 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3237         [BZ #19375]
3238         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3239         negative subnormals.
3241 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3244         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3245         (INTERNAL_SYSCALL_NCS): Use it.
3246         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3248 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3250         [BZ #19243]
3251         * malloc/arena.c (get_free_list): Remove assert and adjust
3252         reference count handling.  Add comment about reused_arena
3253         interaction.
3254         (reused_arena): Add comments abount get_free_list interaction.
3255         * malloc/tst-malloc-thread-exit.c: New file.
3256         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3257         (tst-malloc-thread-exit): Link against libpthread.
3259 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3261         [BZ #19367]
3262         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3263         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3264         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3265         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3266         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3268 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3270         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3271         Silvermont optimizations for Knights Landing.
3273 2015-12-15  Andreas Schwab  <schwab@suse.de>
3275         [BZ #17197]
3276         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3277         immediately after emitting SI.
3278         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3279         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3280         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3281         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3282         * iconvdata/bug-iconv10.c: New file.
3283         * iconvdata/Makefile (tests): Add bug-iconv10.
3284         ($(objpfx)bug-iconv10.out): New rule.
3286 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3288         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3289         aliasing violation.
3291 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3293         [BZ #18472]
3294         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3295         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3296         conditionals for them.
3297         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3298         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3300         sys/kdaemon.h.
3301         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3302         compat-only syscall, obsoleted in glibc 2.23.
3303         (create_module): Likewise.
3304         (get_kernel_syms): Likewise.
3305         (query_module): Likewise.
3306         (uselib): Likewise.
3307         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3309 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3311         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3312         <linux/version.h>.
3313         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3314         conditional code.
3315         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3316         and ioshift_name initialization.
3318 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3320         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3321         Fix indentation.
3323 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3325         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3327 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3329         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3331 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3332             Jakub Wilk  <jwilk@debian.org>
3334         [BZ #19347]
3335         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3336         to change the group of the device to the tty group.
3338 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3340         Split large string section; add truncation advice
3341         * manual/examples/strncat.c: Remove.
3342         This example was misleading, as the code would have undefined
3343         behavior if "hello" was longer than SIZE.  Anyway, the manual
3344         shouldn't encourage strncpy+strncat for this sort of thing.
3345         * manual/string.texi (Copying Strings and Arrays): Split into
3346         three sections Copying Strings and Arrays, Concatenating Strings,
3347         and Truncating Strings, as this section was way too long.  All
3348         cross-referenced changed.  Add advice about string-truncation
3349         functions.  Remove misleading strncat example.
3351 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3353         * manual/nss.texi (NSS Modules Interface): Document
3354         NSS_STATUS_NOTFOUND and SUCCESS.
3356 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3358         [BZ 18568]
3359         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3360         201505L, for Unicode 8.
3362 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
3364         * locale/C-translit.h: Regenerate.
3366 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3368         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3369         and U+0153.
3371 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
3373         [BZ #19351]
3374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3375         expanding log(1+z), compare z rather than its square with epsilon
3376         to determine when to avoid evaluating the expansion.
3378         [BZ #19350]
3379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3380         Increase overflow threshold.
3382         [BZ #19349]
3383         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3384         when small.
3386         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3388         New macro.
3389         [__LINUX_KERNEL_VERSION >= 0x040300]
3390         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3391         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3392         Likewise.
3393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3394         Likewise.
3395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3396         Likewise.
3397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3398         Likewise.
3399         [__LINUX_KERNEL_VERSION >= 0x040300]
3400         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3401         [__LINUX_KERNEL_VERSION >= 0x040300]
3402         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3403         [__LINUX_KERNEL_VERSION >= 0x040300]
3404         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3405         [__LINUX_KERNEL_VERSION >= 0x040300]
3406         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3407         [__LINUX_KERNEL_VERSION >= 0x040300]
3408         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3410         Likewise.
3411         [__LINUX_KERNEL_VERSION >= 0x040300]
3412         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3414         Likewise.
3415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3416         Likewise.
3417         [__LINUX_KERNEL_VERSION >= 0x040300]
3418         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3420         Likewise.
3421         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3422         Likewise.
3423         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3425         Likewise.
3426         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3427         Likewise.
3428         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3429         Likewise.
3430         [__LINUX_KERNEL_VERSION >= 0x040300]
3431         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3432         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3433         Likewise.
3434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3435         Likewise.
3436         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3437         Likewise.
3438         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3439         Likewise.
3440         [__LINUX_KERNEL_VERSION >= 0x040300]
3441         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3442         [__LINUX_KERNEL_VERSION >= 0x040300]
3443         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3444         [__LINUX_KERNEL_VERSION >= 0x040300]
3445         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3446         [__LINUX_KERNEL_VERSION >= 0x040300]
3447         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3448         [__LINUX_KERNEL_VERSION >= 0x040300]
3449         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3451         Likewise.
3452         [__LINUX_KERNEL_VERSION >= 0x040300]
3453         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3455         Likewise.
3456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3457         Likewise.
3458         [__LINUX_KERNEL_VERSION >= 0x040300]
3459         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3461         Likewise.
3462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3463         Likewise.
3464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3465         (__ASSUME_SOCKET_SYSCALL): Likewise.
3466         (__ASSUME_BIND_SYSCALL): Likewise.
3467         (__ASSUME_CONNECT_SYSCALL): Likewise.
3468         (__ASSUME_LISTEN_SYSCALL): Likewise.
3469         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3470         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3471         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3472         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3473         (__ASSUME_SEND_SYSCALL): Likewise.
3474         (__ASSUME_SENDTO_SYSCALL): Likewise.
3475         (__ASSUME_RECV_SYSCALL): Likewise.
3476         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3477         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3478         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3479         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3480         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3481         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3482         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3483         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3484         Likewise.
3485         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3486         Likewise.
3487         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3488         Likewise.
3489         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3490         Likewise.
3491         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3492         Likewise.
3493         [__LINUX_KERNEL_VERSION >= 0x020625]
3494         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3495         [__LINUX_KERNEL_VERSION >= 0x020625]
3496         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3497         [__LINUX_KERNEL_VERSION >= 0x020625]
3498         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3499         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3500         Likewise.
3501         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3502         Likewise.
3503         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3504         Likewise.
3505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3506         Likewise.
3507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3508         Likewise.
3509         [__LINUX_KERNEL_VERSION >= 0x020625]
3510         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3511         [__LINUX_KERNEL_VERSION >= 0x020625]
3512         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3513         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3514         Likewise.
3515         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3516         Likewise.
3518 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3520         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3521         record the current if the current ABI and CPU support the FP64
3522         extension.
3523         (has-modd-spreg): Define to record the current if the current ABI and
3524         CPU support 32-bit floating point values in odd FPU registers.
3525         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3526         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3527         $(has-modd-spreg) equals yes.
3528         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3529         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3530         $(has-modd-spreg) equal yes.
3532 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3534         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3535         basename.
3537 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3539         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3540         (bench-string): ... here.
3541         (bench): Add bench-string.
3542         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3543         to *-benchset to reflect what they are.
3544         (benchset): Adjust.
3546         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3547         cos-inputs.
3549 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3551         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3552         __attribute__ ((__simd__)) for vector math function declarations.
3554 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3556         Fix typo in strncat, wcsncat manual entries
3557         * manual/string.texi (Copying and Concatenation): Fix typos in
3558         sample implementations of strncat and wcsncat, by having them use
3559         the old value of the destination length, not the new one.
3561 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3563         [BZ #16961]
3564         [BZ #16962]
3565         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3566         string on the stack for strtod.
3567         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3568         a string on the stack for strtof.
3569         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3570         constructing a string on the stack for strtold.
3571         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3572         __strtold_nan to GLIBC_PRIVATE.
3573         * math/test-nan-overflow.c: New file.
3574         * math/test-nan-payload.c: Likewise.
3575         * math/Makefile (tests): Add test-nan-overflow and
3576         test-nan-payload.
3578 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3580         Consistency about byte vs character in string.texi
3581         * manual/string.texi (String and Array Utilities):
3582         Distinguish more carefully among bytes, multibyte characters,
3583         and wide characters.  Use "byte" when talking about C 'char',
3584         to distinguish it more clearly from multibyte characters.
3585         Say "wide character" or "multibyte character" instead of
3586         "character", when a wide or multibyte character is intended.
3587         Similarly for "multibyte string" versus "string".
3588         Define these terms more carefully.
3590 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3592         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3593         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3594         Likewise.
3595         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3596         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3597         * sysdeps/sh/math_private.h: New file.
3598         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3599         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3600         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3601         long double function name.
3602         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3603         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3604         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3608         Remove __finitel, __isinfl, and __isnanl.
3609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3610         Likewise.
3611         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3613         Remove __finitel.
3614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3615         Likewise.
3616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3618 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3620         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3621         installed libmvec_nonshared.a.
3623 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3625         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3626         (sysdep_routines): Likewise.
3627         (sysdep-rtld-routines): Likewise.
3628         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3629         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3630         * sysdeps/powerpc/Versions: Added new
3631         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3632         * sysdeps/powerpc/hwcapinfo.c: New file.
3633         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3634         and parse hwcap, hwcap2 and platform number information.
3635         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3636         to store HWCAP+HWCAP2 and platform number.
3637         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3638         for HWCAP+HWCAP2 and platform number in the TCB.
3639         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3640         the HWCAP, HWCAP2 and platform number in the TCB.
3641         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3642         (TLS_INIT_TP): Included calls to add the hwcap and
3643         at_platform values in the TCB in TP initialization.
3644         (TLS_DEFINE_INIT_TP): Likewise.
3645         (THREAD_GET_HWCAP): New macro.
3646         (THREAD_SET_HWCAP): Likewise.
3647         (THREAD_GET_AT_PLATFORM): Likewise.
3648         (THREAD_SET_AT_PLATFORM): Likewise.
3649         * sysdeps/powerpc/powerpc32/dl-machine.h:
3650         (dl_platform_init): New function that calls
3651         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3652         powerpc32.
3653         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3654         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
3655         this functionality, static linking case.
3656         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
3657         linking case.
3658         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3659         __parse_hwcap_and_convert_at_platform for the static linking case.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3661         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3662         ABI list for GLIBC 2.23.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3664         Likewise.
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3666         Likewise.
3668 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3670         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3671         * configure: Regenerate.
3672         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3673         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3675 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3677         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3678         * iconvdata/ibm933.c: Likewise.
3679         * iconvdata/ibm935.c: Likewise.
3680         * iconvdata/ibm937.c: Likewise.
3681         * iconvdata/ibm939.c: Likewise.
3683 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3685         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3686         pthread_join.
3687         * nptl/tst-cancel21.c (tf): Likewise.
3689 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3691         [BZ #19313]
3692         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3693         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3694         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3695         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3700         Likewise.
3701         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3702         Likewise.
3703         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3704         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3705         unsigned long int with __CPU_MASK_TYPE.
3707 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3709         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3711 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3713         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3714         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3715         t512.x.
3716         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3718 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3720         [BZ #19214]
3721         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3722         argument to return extended model.  Update family and model
3723         with extended family and model when family == 0x0f.
3724         (init_cpu_features): Updated.
3726 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3728         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3729         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3731         * sysdeps/mach/hurd/mmap64.c: New file.
3733 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3735         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3736         rights for its main user thread in NEWTASK.
3738 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3740         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3741         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3743 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3745         [BZ #14259]
3746         * Makeconfig: Rename localedir to complocaledir.
3747         Rename inst_localedir to inst_complocaledir.
3748         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3749         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3750         * configure.ac: Use libc_cv_complocaledir.
3751         * configure: Regenerate.
3752         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3753         -DCOMPLOCALEDIR.
3754         * locale/findlocale.c: Use COMPLOCALEDIR.
3755         * locale/loadarchive.c: Likewise.
3756         * locale/programs/locale.c: Likewise.
3757         * locale/programs/localedef.c: Likewise.
3758         * locale/programs/locarchive.c: Likewise.
3759         * localedata/Makefile: Use inst_complocaledir.
3760         * sysdeps/gnu/configure: Regenerate.
3761         * sysdeps/hppa/configure: Regenerate.
3762         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3763         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3765         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3766         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3767         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3768         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3770 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3772         [BZ #19058]
3773         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3774         AS_NEEDED.
3775         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3776         workaround.
3777         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3778         libmvec-static-only-routines): Added new file.
3779         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3781 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3783         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3784         of interrupted RPC instead of restoring it.
3786         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3787         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3788         libc_hidden_def.
3789         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3790         into initialized data instead of common. Define rtld_hidden_data_def.
3791         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3792         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3793         libc_hidden_def.
3794         (if_freenameindex): Add libc_hidden_weak.
3795         (if_nameindex): Add libc_hidden_weak.
3796         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3797         __open64.
3798         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3799         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3800         * sysdeps/mach/nanosleep.c: Include <time.h>
3801         (__nanosleep): Rename to __libc_nanosleep.
3802         (__nanosleep): Add weak_alias.
3803         (nanosleep): Update alias.
3805 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3807         * stdlib/strtod_nan.c: New file.
3808         * stdlib/strtod_nan_double.h: Likewise.
3809         * stdlib/strtod_nan_float.h: Likewise.
3810         * stdlib/strtod_nan_main.c: Likewise.
3811         * stdlib/strtod_nan_narrow.h: Likewise.
3812         * stdlib/strtod_nan_wide.h: Likewise.
3813         * stdlib/strtof_nan.c: Likewise.
3814         * stdlib/strtold_nan.c: Likewise.
3815         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3816         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3817         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3818         * wcsmbs/wcstod_nan.c: Likewise.
3819         * wcsmbs/wcstof_nan.c: Likewise.
3820         * wcsmbs/wcstold_nan.c: Likewise.
3821         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3822         strtold_nan.
3823         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3824         wcstof_nan.
3825         * include/stdlib.h (__strtof_nan): Declare and use
3826         libc_hidden_proto.
3827         (__strtod_nan): Likewise.
3828         (__strtold_nan): Likewise.
3829         (__wcstof_nan): Likewise.
3830         (__wcstod_nan): Likewise.
3831         (__wcstold_nan): Likewise.
3832         * include/wchar.h (____wcstoull_l_internal): Declare.
3833         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3834         (____strtoull_l_internal): Remove declaration.
3835         (STRTOF_NAN): Define macro.
3836         (SET_MANTISSA): Remove macro.
3837         (STRTOULL): Likewise.
3838         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3839         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3840         (STRTOF_NAN): Define macro.
3841         (SET_MANTISSA): Remove macro.
3842         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3843         (SET_MANTISSA): Remove macro.
3844         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3845         macro.
3846         (SET_MANTISSA): Remove macro.
3847         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3848         macro.
3849         (SET_MANTISSA): Remove macro.
3850         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3851         (SET_MANTISSA): Remove macro.
3852         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3853         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3854         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3856         [BZ #19266]
3857         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3858         upper case and lower case letters inside NAN(), not using TOLOWER.
3859         * stdlib/tst-strtod-nan-locale-main.c: New file.
3860         * stdlib/tst-strtod-nan-locale.c: Likewise.
3861         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3862         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3863         Depend on $(gen-locales).
3864         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3865         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3866         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3867         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3868         Depend on $(gen-locales).
3869         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3871 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3873         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3875         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3877         __finitel, __isinfl, and __isnanl.
3878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3879         Likewise.
3880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3882         __finitel.
3883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3887 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3889         * malloc/memusage.c (me): Remove redundant getenv call.
3891 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3893         [BZ #19143]
3894         [BZ #19164]
3895         * nptl/check-cpuset.h: Remove.
3896         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3897         Remove CPU set size check.
3898         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3901         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3902         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3903         (__pthread_setaffinity_new): Remove CPU set size check.
3904         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3905         (__kernel_cpumask_size): Remove.
3906         (__sched_setaffinity_new): Remove CPU set size check.
3907         * manual/threads.texi (Default Thread Attributes): Remove stale
3908         reference to check_cpuset_attr, determine_cpumask_size in comment.
3909         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3910         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3911         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3912         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3913         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3914         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3915         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3916         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3917         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3918         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3919         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3920         skeleton test file.
3921         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3922         tst-affinity-pid.
3924 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3926         * scripts/update-abilist.sh: New file.
3927         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3928         * Makerules (update-all-abi-%, update-all-abi)
3929         (subdir_update-all-abi): New targets.
3930         * elf/Makefile (update-all-abi): New target.
3932 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3934         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3935         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3936         (__libc_lock_define_initialized): Use it.
3937         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3938         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3939         * malloc/malloc.c (main_arena): Likewise.
3940         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3941         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3943 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3945         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3946         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3947         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3948         (PTRACE_O_MASK): Update value.
3949         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3950         New value in enum __ptrace_setoptions.
3951         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3952         (PTRACE_O_MASK): Update value.
3953         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3954         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3955         (PTRACE_O_MASK): Update value.
3956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3957         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3958         (PTRACE_O_MASK): Update value.
3959         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3960         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3961         (PTRACE_O_MASK): Update value.
3962         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3963         New value in enum __ptrace_setoptions.
3964         (PTRACE_O_MASK): Update value.
3965         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3966         New value in enum __ptrace_setoptions.
3967         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3968         (PTRACE_O_MASK): Update value.
3970         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3971         New macro.
3972         (PACKET_AUXDATA): Likewise.
3973         (PACKET_ORIGDEV): Likewise.
3974         (PACKET_VERSION): Likewise.
3975         (PACKET_HDRLEN): Likewise.
3976         (PACKET_RESERVE): Likewise.
3977         (PACKET_TX_RING): Likewise.
3978         (PACKET_LOSS): Likewise.
3979         (PACKET_VNET_HDR): Likewise.
3980         (PACKET_TX_TIMESTAMP): Likewise.
3981         (PACKET_TIMESTAMP): Likewise.
3982         (PACKET_FANOUT): Likewise.
3983         (PACKET_TX_HAS_OFF): Likewise.
3984         (PACKET_QDISC_BYPASS): Likewise.
3985         (PACKET_ROLLOVER_STATS): Likewise.
3986         (PACKET_FANOUT_DATA): Likewise.
3987         (PACKET_MR_UNICAST): Likewise.
3989         [BZ #19242]
3990         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3991         (TOUPPER): Likewise.
3992         * stdlib/tst-strtol-locale-main.c: New file.
3993         * stdlib/tst-strtol-locale.c: Likewise.
3994         * stdlib/Makefile (tests): Add tst-strtol-locale.
3995         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3996         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3997         Depend on $(gen-locales).
3998         * wcsmbs/tst-wcstol-locale.c: New file.
3999         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4000         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4001         tr_TR.ISO-8859-9.
4002         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4003         Depend on $(gen-locales).
4005 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4007         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4008         __glibc_likely instead of __builtin_expect.  After falling back to
4009         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4010         system interface to register the code pages as occupied.
4012 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4014         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4015         [!ARM_MATH_PRIVATE_H].
4016         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4017         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4018         [!HPPA_MATH_PRIVATE_H].
4019         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4020         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4021         to [!I386_MATH_PRIVATE_H].
4022         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4023         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4024         Change guard to [!M68K_MATH_PRIVATE_H].
4025         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4026         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4027         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4028         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4029         macro.
4030         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4031         [!MIPS_MATH_PRIVATE_H].
4032         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4033         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4034         [!NIO2_MATH_PRIVATE_H].
4035         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4036         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4037         [!TILE_MATH_PRIVATE_H].
4038         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4040         [BZ #15421]
4041         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4042         initialize with 0 and define as weak alias of __signgam.
4043         * include/math.h [!_ISOMAC] (__signgam): Declare.
4044         * math/Makefile (libm-calls): Add w_lgamma_compat.
4045         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4046         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4047         test-signgam-ullong-init.
4048         (tests-static): Add test-signgam-uchar-static,
4049         test-signgam-uchar-init-static, test-signgam-uint-static,
4050         test-signgam-uint-init-static, test-signgam-ullong-static and
4051         test-signgam-ullong-init-static.
4052         (CFLAGS-test-signgam-uchar.c): New variable.
4053         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4054         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4055         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4056         (CFLAGS-test-signgam-uint.c): Likewise.
4057         (CFLAGS-test-signgam-uint-init.c): Likewise.
4058         (CFLAGS-test-signgam-uint-static.c): Likewise.
4059         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4060         (CFLAGS-test-signgam-ullong.c): Likewise.
4061         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4062         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4063         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4064         * math/Versions (libm): Add GLIBC_2.23.
4065         * math/lgamma-compat.h: New file.
4066         * math/test-signgam-main.c: Likewise.
4067         * math/test-signgam-uchar-init-static.c: Likewise.
4068         * math/test-signgam-uchar-init.c: Likewise.
4069         * math/test-signgam-uchar-static.c: Likewise.
4070         * math/test-signgam-uchar.c: Likewise.
4071         * math/test-signgam-uint-init-static.c: Likewise.
4072         * math/test-signgam-uint-init.c: Likewise.
4073         * math/test-signgam-uint-static.c: Likewise.
4074         * math/test-signgam-uint.c: Likewise.
4075         * math/test-signgam-ullong-init-static.c: Likewise.
4076         * math/test-signgam-ullong-init.c: Likewise.
4077         * math/test-signgam-ullong-static.c: Likewise.
4078         * math/test-signgam-ullong.c: Likewise.
4079         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4080         wrapper of w_lgamma_main.c.
4081         * math/w_lgamma_compat.c: New file.
4082         * math/w_lgamma_compatf.c: Likewise.
4083         * math/w_lgamma_compatl.c: Likewise.
4084         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4085         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4086         defining compatibility symbols.
4087         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4088         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4089         wrapper of w_lgammaf_main.c.
4090         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4091         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4092         defining compatibility symbols.
4093         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4094         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4095         wrapper of w_lgammal_main.c.
4096         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4097         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4098         defining compatibility symbols.
4099         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4100         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4101         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4102         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4103         <lgamma-compat.h>.
4104         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4105         (__ieee754_gamma): Define as alias.
4106         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4107         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4108         <lgamma-compat.h>.
4109         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4110         (__ieee754_gammaf): Define as alias.
4111         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4112         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4113         <lgamma-compat.h>.
4114         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4115         (__ieee754_gammal): Define as alias.
4116         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4117         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4118         <math/w_lgamma_compat.c>.
4119         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4120         Define as alias of __lgamma_compat and use in defining lgammal.
4121         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4122         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4123         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4124         (USE_AS_COMPAT): New macro.
4125         (LGAMMA_OLD_VER): Undefine and redefine.
4126         (lgammal): Do not define here.
4127         (gammal): Only define here if [GAMMA_ALIAS].
4128         * conform/linknamespace.pl (@whitelist): Remove signgam.
4129         * sysdeps/nacl/libm.abilist: Update.
4130         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4131         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4132         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4133         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4138         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4139         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4140         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4141         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4143         Likewise.
4144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4145         Likewise.
4146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4147         Likewise.
4148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4149         Likewise.
4150         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4151         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4152         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4153         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4160         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4161         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4163 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4165         [BZ #16364]
4166         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4167         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4169 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4171         * sysdeps/s390/fpu/bits/mathinline.h:
4172         Use __asm__ [__volatile__] instead of asm [volatile].
4173         * sysdeps/s390/abort-instr.h: Likewise.
4174         * sysdeps/s390/atomic-machine.h: Likewise.
4175         * sysdeps/s390/bits/string.h: Likewise.
4176         * sysdeps/s390/dl-tls.h: Likewise.
4177         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4178         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4179         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4180         * sysdeps/s390/fpu/fesetround.c: Likewise.
4181         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4182         * sysdeps/s390/fpu/s_fma.c: Likewise.
4183         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4184         * sysdeps/s390/memusage.h: Likewise.
4185         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4186         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4187         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4188         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4189         * sysdeps/s390/nptl/tls.h: Likewise.
4190         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4191         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4192         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4193         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4194         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4195         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4196         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4197         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4198         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4199         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4200         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4201         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4202         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4203         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4204         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4205         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4206         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4207         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4208         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4210         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4212         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4214 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4215             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4217         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4218         Add lwarx hint, and use macro for acquire instruction.
4219         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4220         Likewise.
4221         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4222         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4223         update to use new atomic macros.
4225 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4227         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4228         (__lll_trylock_elision): Fix setting of adapt_count.
4229         * sysdeps/unix/sysv/linux/powerpc/htm.h
4230         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4231         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4232         (_ABORT_SYSCALL): Renumber, and clarify definition.
4233         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4235 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4238         after system headers to prevent MIN/MAX redefinition.  Define
4239         HAVE_ALLOCA to preserve builtin alloca usage.
4241 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4243         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4244         static and don't set or restore rounding.
4245         (__cos)[IN_SINCOS]: Likewise.
4246         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4247         (__sincos): Set and restore rounding mode.  Remove check for infinite
4248         or NaN input.
4250         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4252         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4253         as used.
4255 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4257         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4259 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4261         * config.make.in (have-glob-dat-reloc): New.
4262         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4263         target supports GLOB_DAT relocaton. AC_SUBST.
4264         * configure: Regenerated.
4265         * elf/Makefile (tests): Add tst-prelink.
4266         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4267         (tst-prelink-ENV): New.
4268         ($(objpfx)tst-prelink-conflict.out): Likewise.
4269         ($(objpfx)tst-prelink-cmp.out): Likewise.
4270         * sysdeps/x86/tst-prelink.c: Moved to ...
4271         * elf/tst-prelink.c: Here.
4272         * sysdeps/x86/tst-prelink.exp: Moved to ...
4273         * elf/tst-prelink.exp: Here.
4274         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4275         (tst-prelink-ENV): Removed.
4276         ($(objpfx)tst-prelink-conflict.out): Likewise.
4277         ($(objpfx)tst-prelink-cmp.out): Likewise.
4278         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4280 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4282         [BZ #14551]
4283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4284         (__mpn_construct_long_double): If high part overflows to infinity,
4285         set errno and recompute overflowed result of the correct sign.
4286         * sysdeps/ieee754/ldbl-128ibm/Makefile
4287         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4288         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4289         $(libm).
4290         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4292 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4294         [BZ #15479]
4295         [BZ #19238]
4296         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4297         floating-point state after first operation on input.  Restore full
4298         state rather than just rounding mode.
4299         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4300         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4301         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4303         [BZ #19235]
4304         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4305         add 0.5 to integer arguments.
4306         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4307         Likewise.
4308         (.LC2): New object.
4310 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4312         * scripts/pylintrc (reports): Set to no.
4314 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4316         * elf/dl-load.c (open_verify): Take new argument FD.
4317         Skip __open call if passed FD is not -1.
4318         (_dl_map_object, open_path): Update callers.
4319         * elf/dl-sysdep-open.h: New file.
4320         * elf/dl-load.c: Include it.
4321         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4322         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4323         * sysdeps/nacl/dl-sysdep-open.h: New file.
4324         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4325         from libc to rtld.
4327 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4329         [BZ #19228]
4330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4331         and restore full floating-point state.
4332         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4333         Likewise.
4334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4335         Likewise.
4336         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4337         Likewise.
4338         * math/test-nearbyint-except-2.c: New file.
4339         * math/Makefile (tests): Add test-nearbyint-except-2.
4341 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4343         [BZ #19178]
4344         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4345         (tst-prelink-ENV): New.
4346         ($(objpfx)tst-prelink-conflict.out): Likewise.
4347         ($(objpfx)tst-prelink-cmp.out): Likewise.
4348         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4349         * sysdeps/x86/tst-prelink.c: New file.
4350         * sysdeps/x86/tst-prelink.exp: Likewise.
4352 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4354         * math/auto-libm-test-in: Add another test of pow.
4355         * math/auto-libm-test-out: Regenerated.
4356         * math/libm-test.inc (pow_test_data): Add another test.
4358 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4360         [BZ #19219]
4361         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4362         weak_alias to nearbyintl.
4364 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4366         * sysdeps/aarch64/bits/string.h: New file.
4367         (_STRING_ARCH_unaligned): Define.
4369 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4371         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4372         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4373         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4374         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4377 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
4379         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4380         for original name of the DSO.  Add it to the name list of the DSO
4381         if it is actually given.
4382         (_dl_map_object): Keep track of whether an audit module rewrote
4383         the file name.  If yes, pass the original name to
4384         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
4385         debugging is enabled, log the change of the file name.
4386         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4387         _dl_map_object_from_fd.
4388         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4389         * elf/tst-audit11.c: New file
4390         * elf/tst-auditmod11.c: New file.
4391         * elf/tst-audit11mod1.c: New file.
4392         * elf/tst-audit11mod2.c: New file.
4393         * elf/tst-audit11mod2.map: New file.
4394         * elf/tst-audit12.c: New file
4395         * elf/tst-auditmod12.c: New file.
4396         * elf/tst-audit12mod1.c: New file.
4397         * elf/tst-audit12mod2.c: New file.
4398         * elf/tst-audit12mod2.map: New file.
4399         * elf/tst-audit12mod3.c: New file.
4401 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4403         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4404         Don't create weak aliases,
4405         because versioned symbols are created later.
4406         * sysdeps/s390/s390-32/setjmp.S
4407         (setjmp, _setjmp): Remove weak and rename to an unique name
4408         in SHARED case due to existing versioned symbols.
4409         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4410         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4411         (getcontext): Create weak alias only in non SHARED case.
4412         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4414 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4416         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4417         (__ASSUME_*_SYSCALL) Define new macros.
4418         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4419         Remove socketcall syscalls.
4420         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4421         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4422         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4423         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4424         * sysdeps/unix/sysv/linux/send.c (__libc_send):
4425         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4427 2015-11-09  Florian Weimer  <fweimer@redhat.com>
4429         [BZ #12926]
4430         Terminate process on invalid netlink response.
4431         * sysdeps/unix/sysv/linux/netlinkaccess.h
4432         (__netlink_assert_response): Declare.
4433         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4434         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4435         (sysdep_routines): Add netlink_assert_response.
4436         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4437         __netlink_assert_response.
4438         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4439         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4440         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4441         __netlink_assert_response.
4443 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4445         [BZ #19178]
4446         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4447         (RTYPE_CLASS_PLT): Likewise.
4448         (RTYPE_CLASS_COPY): Likewise.
4449         (RTYPE_CLASS_TLS): Likewise.
4450         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4451         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4452         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4453         DL_DEBUG_PRELINK.
4455 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4457         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4458         calls with argument -0.5.
4459         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4461         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4462         (libc_cv_z_nodlopen): Likewise.
4463         (libc_cv_z_initfirst): Likewise.
4464         * configure: Regenerated.
4466 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4468         Simplify abilist format to be line-based.
4469         * scripts/abilist.awk: Collect descriptors in the descs variable.
4470         (emit): Write descs variable and sort it
4471         externally, with sort.
4472         * sysdeps/**/*.abilist: Convert to new format.
4474 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4476         [BZ #11460]
4477         * io/Makefile (routines): Add fts64.
4478         (tests): Add tst-fts and tst-fts-lfs.
4479         (CFLAGS-fts64.c): New.
4480         * io/Versions (GLIBC_2.23): New.
4481         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4482         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4483         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4484         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4485         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4486         (FTSENT64): Likewise.
4487         (fts64_children): Likewise.
4488         (fts64_close): Likewise.
4489         (fts64_open): Likewise.
4490         (fts64_read): Likewise.
4491         (fts64_set): Likewise.
4492         * io/fts64.c: New file.
4493         * io/tst-fts.c: New test.
4494         * io/tst-fts-lfs.c: Likewise.
4495         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4496         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4497         fts64_set.
4498         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4507         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4509         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4510         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4512         Likewise.
4513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4519         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4520         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4521         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4525         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4527         * sysdeps/wordsize-64/fts.c: New file.
4528         * sysdeps/wordsize-64/fts64.c: Likewise.
4529         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4530         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4531         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4532         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4534 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4536         * math/libm-test.inc (NON_FINITE): New macro.
4537         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4538         * math/gen-libm-test.pl (show_exceptions): Add argument
4539         $non_finite.
4540         (parse_args): Update call to show_exceptions.
4541         * math/test-math-finite.h: New file.
4542         * math/test-math-no-finite.h: Likewise.
4543         * math/test-double-finite.c: Likewise.
4544         * math/test-float-finite.c: Likewise.
4545         * math/test-ldouble-finite.c: Likewise.
4546         * math/test-double.c: Include "test-math-no-finite.h".
4547         * math/test-float.c: Include "test-math-no-finite.h".
4548         * math/test-ldouble.c: Include "test-math-no-finite.h".
4549         * math/test-math-inline.h (TEST_FINITE): New macro.
4550         * math/test-math-vector.h (TEST_FINITE): Likewise.
4551         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4552         (libm-tests): Add test-float-finite and test-double-finite.
4553         ($(objpfx)test-float-finite.o): New dependency on
4554         $(objpfx)libm-test.stmp.
4555         ($(objpfx)test-double-finite.o): Likewise.
4556         ($(objpfx)test-ldouble-finite.o): Likewise.
4557         (libm-test-no-inline-cflags): New variable.
4558         (libm-test-finite-cflags): Likewise.
4559         (CFLAGS-test-float-finite.c): Likewise.
4560         (CFLAGS-test-double-finite.c): Likewise.
4561         (CFLAGS-test-ldouble-finite.c): Likewise.
4562         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4563         (CFLAGS-test-double.c): Likewise.
4564         (CFLAGS-test-ldouble.c): Likewise.
4566 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4568         * io/fcntl.c (__fcntl): Add ... to prototype.
4569         * misc/ioctl.c (__ioctl): Likewise.
4570         * misc/syscall.c (syscall): Likewise.
4572 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4574         * scripts/list-fixed-bugs.py: New file.
4576         [BZ #19213]
4577         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4578         returned for argument 1.
4579         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4580         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4581         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4582         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4583         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4584         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4586         [BZ #19211]
4587         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4588         __USE_XOPEN], not if [!__USE_ISOC99].
4589         (lgammaf): Likewise.
4590         (lgammal): Likewise.
4591         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4592         (gammaf): Likewise.
4593         (gammal): Likewise.
4594         * math/test-signgam-finite-c11.c: New file.
4595         * math/test-signgam-finite-c99.c: Likewise.
4596         * math/test-signgam-finite.c: Likewise.
4597         * math/Makefile (tests): Add test-signgam-finite,
4598         test-signgam-finite-c99 and test-signgam-finite-c11.
4599         (CFLAGS-test-signgam-finite.c): New variable.
4600         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4601         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4603         [BZ #19212]
4604         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4605         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4606         500].
4607         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4608         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4609         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4610         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4611         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4612         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4613         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4614         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4615         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4616         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4618         [BZ #19209]
4619         * math/bits/math-finite.h (ldexp): Remove declaration.
4620         (ldexpf): Likewise.
4621         (ldexpl): Likewise.
4623         [BZ #19205]
4624         * math/bits/math-finite.h (acosf): Condition declaration on
4625         [__USE_ISOC99].
4626         (acosl): Likewise.
4627         (acoshf): Likewise.
4628         (acoshl): Likewise.
4629         (asinf): Likewise.
4630         (asinl): Likewise.
4631         (atan2f): Likewise.
4632         (atan2l): Likewise.
4633         (atanhf): Likewise.
4634         (atanhl): Likewise.
4635         (coshf): Likewise.
4636         (coshl): Likewise.
4637         (expf): Likewise.
4638         (expl): Likewise.
4639         (fmodf): Likewise.
4640         (fmodl): Likewise.
4641         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4642         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4643         (j0l): Likewise.
4644         (y0f): Likewise.
4645         (y0l): Likewise.
4646         (j1f): Likewise.
4647         (j1l): Likewise.
4648         (y1f): Likewise.
4649         (y1l): Likewise.
4650         (jnf): Likewise.
4651         (jnl): Likewise.
4652         (ynf): Likewise.
4653         (ynl): Likewise.
4654         (lgammaf_r): Condition declaration on [__USE_ISOC99].
4655         (lgammal_r): Likewise.
4656         (__lgamma_r_finite): New declaration.
4657         (__lgammaf_r_finite): Likewise.
4658         (__lgammal_r_finite): Likewise.
4659         (lgamma): Use __lgamma_r_finite.
4660         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4661         __lgammaf_r_finite.
4662         (lgammal): Condition definition on [__USE_ISOC99].  Use
4663         __lgammal_r_finite.
4664         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4665         __lgamma_r_finite.
4666         (gammaf): Condition definition on [__USE_ISOC99].  Use
4667         __lgammaf_r_finite.
4668         (gammal): Condition definition on [__USE_ISOC99].  Use
4669         __lgammal_r_finite.
4670         (logf): Condition declaration on [__USE_ISOC99].
4671         (logl): Likewise.
4672         (log10f): Likewise.
4673         (log10l): Likewise.
4674         (ldexpf): Likewise.
4675         (ldexpl): Likewise.
4676         (powf): Likewise.
4677         (powl): Likewise.
4678         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4679         __USE_ISOC99].
4680         (remainderf): Condition declaration on [__USE_ISOC99].
4681         (remainderl): Likewise.
4682         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4683         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4684         (scalbl): Likewise.
4685         (sinhf): Condition declaration on [__USE_ISOC99].
4686         (sinhl): Likewise.
4687         (sqrtf): Likewise.
4688         (sqrtl): Likewise.
4690 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4692         * sysdeps/arm/atomic-machine.h
4693         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4694         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4695         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4696         Remove conditional code.
4697         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4698         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4699         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4700         Change conditional to [__ASSEMBLER__].
4701         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4702         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4703         [!__ASSEMBLER__].
4704         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4705         code.
4706         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4707         conditional macro definitions.
4708         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4709         (__arch_compare_and_exchange_val_16_acq): Likewise.
4710         (__arch_compare_and_exchange_val_32_acq): Likewise.
4711         (atomic_exchange_and_add): Likewise.
4712         (atomic_add): Likewise.
4713         (atomic_add_negative): Likewise.
4714         (atomic_add_zero): Likewise.
4715         (atomic_bit_set): Likewise.
4716         (atomic_bit_test_set): Likewise.
4717         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4718         code unconditional.
4719         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4721         * math/test-math-errno.h: New file.
4722         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4723         empty.
4724         (TEST_ERRNO): New macro.
4725         (TEST_EXCEPTIONS): Likewise.
4726         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4727         (TEST_EXCEPTIONS): Likewise.
4728         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4729         * math/test-double.c: Include "test-math-errno.h".
4730         * math/test-float.c: Likewise.
4731         * math/test-ldouble.c: Likewise.
4732         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4733         code unconditional.
4734         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4735         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4736         unconditional.
4737         (test_errno): Only run code if TEST_ERRNO.
4738         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4740 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4742         * nptl/tst-once5.cc: Remove attribution.
4744 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4746         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4747         sqrt, tan, tanh, y0, y1 and yn.
4748         * math/auto-libm-test-out: Regenerated.
4749         * math/libm-test.inc (scalb_test_data): Add more tests.
4750         (scalbn_test_data): Likewise.
4751         (scalbln_test_data): Likewise.
4752         (signbit_test_data): Likewise.
4753         (sin_test_data): Likewise.
4754         (sincos_test_data): Likewise.
4755         (sinh_test_data): Likewise.
4756         (sqrt_test_data): Likewise.
4757         (tan_test_data): Likewise.
4758         (tanh_test_data): Likewise.
4759         (tgamma_test_data): Likewise.
4760         (y0_test_data): Likewise.
4761         (y1_test_data): Likewise.
4762         (yn_test_data): Likewise.
4763         (significand_test_data): Likewise.
4764         * sysdeps/i386/fpu/libm-test-ulps: Update.
4766 2015-11-03  David Kastrup  <dak@gnu.org>
4768         [BZ #18604]
4769         * assert/assert.h (assert): Don't macro-expand failed assertion
4770         expression in error message.
4771         * malloc/malloc.c (assert): Likewise.
4773 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4775         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4776         test.
4777         * configure: Regenerated.
4779 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4781         * math/libm-test.inc (modf_test_data): Add more tests.
4782         (nearbyint_test_data): Likewise.
4783         (nextafter_test_data): Likewise.
4784         (nexttoward_test_data): Likewise.
4785         (pow_test_data): Likewise.
4786         (remainder_test_data): Likewise.
4787         (remquo_test_data): Likewise.
4788         (rint_test_data): Likewise.
4790         [BZ #19201]
4791         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4792         Check for zero remainder in case of large exponents and ensure
4793         correct sign of result in that case.
4794         * math/libm-test.inc (remainder_test_data): Add more tests.
4796         [BZ #6799]
4797         * math/s_nextafter.c: Include <errno.h>.
4798         (__nextafter): Set errno on overflow and underflow.
4799         * math/s_nexttowardf.c: Include <errno.h>.
4800         (__nexttowardf): Set errno on overflow and underflow.
4801         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4802         (__nextafterl): Set errno on overflow and underflow.
4803         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4804         (__nexttoward): Set errno on overflow and underflow.
4805         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4806         (__nexttowardf): Set errno on overflow and underflow.
4807         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4808         (__nextafterf): Set errno on overflow and underflow.
4809         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4810         (__nextafterl): Set errno on overflow and underflow.
4811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4812         (__nexttoward): Set errno on overflow and underflow.
4813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4814         (__nexttowardf): Set errno on overflow and underflow.
4815         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4816         (__nextafterl): Set errno on overflow and underflow.
4817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4818         (__nexttoward): Set errno on overflow and underflow.
4819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4820         (__nexttowardf): Set errno on overflow and underflow.
4821         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4822         (__nexttoward): Set errno on overflow and underflow.
4823         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4824         (__nexttowardf): Set errno on overflow and underflow.
4825         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4826         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4827         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4828         (__nextafterl): Set errno on overflow and underflow.
4829         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4830         setting to be missing on overflow.  Add more tests.
4831         (nexttoward_test_data): Likewise.
4833         * configure.ac (libc_cv_initfini_array): Remove configure test.
4834         * configure: Regenerated.
4836 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4838         [BZ #19189]
4839         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4840         non-finite argument handle arguments with negative sign.
4842         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4843         result from infinite argument.
4844         (j1_test_data): Likewise.
4845         (jn_test_data): Likewise.
4846         (y0_test_data): Likewise.
4847         (y1_test_data): Likewise.
4848         (yn_test_data): Likewise.
4850         [BZ #16171]
4851         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4852         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4853         * math/w_remainderf.c (dremf): Define as weak alias of
4854         __remainderf.
4855         * math/w_remainderl.c (dreml): Define as weak alias of
4856         __remainderl.
4857         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4858         __remainder.
4859         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4860         __remainderf.
4861         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4862         __remainderl.
4863         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4864         weak alias of remainderl.
4865         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4866         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4867         alias of __remainder.
4868         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4869         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4870         strong alias of __remainderl.
4871         (dreml): Use long_double_symbol.
4872         * math/Makefile (libm-calls): Remove w_drem.
4873         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4874         (CFLAGS-nldbl-drem.c): Remove variable.
4875         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4876         * math/w_drem.c: Remove file.
4877         * math/w_dremf.c: Likewise.
4878         * math/w_dreml.c: Likewise.
4879         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4880         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4881         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4883         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4884         * sysdeps/i386/configure: Regenerated.
4885         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4886         * sysdeps/x86_64/configure: Regenerated.
4888         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4889         test.
4890         (libc_cv_visibility_attribute): Likewise.
4891         (libc_cv_protected_data): Test unconditionally.
4892         (libc_cv_broken_visibility_attribute): Remove configure test.
4893         (libc_cv_have_sdata_section): Test unconditionally.
4894         * configure: Regenerated.
4896         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4897         * include/scratch_buffer.h: Include <stddef.h> instead of
4898         <libc-internal.h>.
4899         (struct scratch_buffer): Use max_align_t instead of
4900         libc_max_align_t.
4902 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4904         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4905         instead of extend_alloca.  Change control flow to avoid a goto.
4906         Remove assert which is trivially always true.
4908 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4910         [BZ #16068]
4911         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4912         (FE_ALL_EXCEPT_X86): New macro.
4913         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4914         FE_ALL_EXCEPT.  Ensure precision control is included in
4915         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4916         handle "denormal operand exception" and clear FZ and DAZ bits.
4917         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4918         (FE_ALL_EXCEPT_X86): New macro.
4919         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4920         FE_ALL_EXCEPT.  Ensure precision control is included in
4921         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4922         handle "denormal operand exception" and clear FZ and DAZ bits.
4923         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4924         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4925         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4926         test-fenv-x87 and test-fenv-sse-2.
4927         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4929         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4930         * math/test-double.h (BUILD_COMPLEX): New macro.
4931         * math/test-float.h (BUILD_COMPLEX): Likewise.
4932         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4934         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4935         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4936         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4938         instead of DBL_DENORM_MIN in comment.
4939         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4940         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4941         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4942         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4944         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4946 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4948         [BZ# 19048]
4949         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4950         attached_threads member.
4951         (main_arena): Initialize attached_threads.
4952         * malloc/arena.c (list_lock): Update comment.
4953         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4954         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4955         (deattach_arena): New function.
4956         (_int_new_arena): Initialize arena reference count and deattach
4957         replaced arena.
4958         (get_free_list, reused_arena): Update reference count and deattach
4959         replaced arena.
4960         (arena_thread_freeres): Update arena reference count and only put
4961         unreferenced arenas on the free list.
4963 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4965         [BZ #19181]
4966         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4967         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4968         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4969         * math/test-fenv-clear-main.c: New file.
4970         * math/test-fenv-clear.c: Likewise.
4971         * math/Makefile (tests): Add test-fenv-clear.
4972         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4973         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4974         test-fenv-clear-sse.
4975         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4977         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4978         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4979         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4981 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4983         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4984         static libc.
4986 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4988         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4989         test.
4990         * sysdeps/i386/configure: Regenerated.
4991         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4992         test.
4993         * sysdeps/x86_64/configure: Regenerated.
4994         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4996         memset-avx2 unconditionally instead of conditionally on
4997         [$(config-cflags-avx2) = yes].
4998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4999         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5000         unconditional.
5001         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5002         * sysdeps/x86_64/multiarch/memset_chk.S
5003         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5004         to [IS_IN (libc) && SHARED].
5006 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5008         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5009         configure test.
5010         * sysdeps/arm/configure: Regenerated.
5011         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5012         Define variable if not already defined.
5014         [BZ #17404]
5015         * sysdeps/mips/atomic-machine.h
5016         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5017         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5018         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5020         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5021         unconditional.
5022         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5023         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5024         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5025         unconditional.
5026         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5027         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5028         unconditional.
5029         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5030         * stdlib/setenv.c
5031         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5032         code unconditional.
5033         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5034         Remove conditional code.
5035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5036         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5037         unconditional.
5038         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5039         code.
5040         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5041         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5042         unconditional.
5043         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5044         code.
5045         * sysdeps/ieee754/ldbl-128/k_tanl.c
5046         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5047         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5049         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5050         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5051         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5052         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5053         unconditional.
5054         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5055         code.
5056         * sysdeps/ieee754/ldbl-96/k_tanl.c
5057         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5058         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5060         * nptl/tst-initializers1-c11.c: New file.
5061         * nptl/tst-initializers1-gnu11.c: Likewise.
5062         * nptl/Makefile (tests): Add these new tests.
5063         (CFLAGS-tst-initializers1-c11.c): New variable.
5064         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5066         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5067         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5068         instead of -std=gnu99.
5069         * configure.ac (systemtap): Test with -std=gnu11 instead of
5070         -std=gnu99.
5071         * configure: Regenerated.
5072         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5073         in compilation command in comment.
5075         * sysdeps/nptl/configure.ac: Remove file.
5076         * sysdeps/nptl/configure: Remove generated file.
5077         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5078         * configure: Regenerated.
5079         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5080         * config.make.in (have-forced-unwind): Remove variable.
5081         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5082         unconditional.
5083         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5084         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5085         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5086         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5087         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5088         unconditional.
5090 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5092         [BZ #19174]
5093         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5094         .skip_lock_out_of_tbegin_retries.
5095         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5096         (__lll_lock_elision): Likewise, and respect a value of
5097         try_tbegin <= 0.
5099 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5101         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5102         statement.
5104 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5106         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5107         variable.
5108         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5109         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5111         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5112         of -std=c1x -D_ISOC11_SOURCE.
5114         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5115         * configure: Regenerated.
5116         * manual/install.texi (Tools for Compilation): Document
5117         requirement for GCC 4.7 or later.
5118         * INSTALL: Regenerated.
5120 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5122         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5123         on CNT to a conditional jump to 'puntdata'.
5125 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5127         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5128         (libc_cv_gcc_tls_model_attr): Likewise.
5129         * configure: Regenerated.
5131         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5132         * configure: Regenerated.
5133         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5135 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5137         * configure.ac (old_glibc_headers): Remove configure test.
5138         * configure: Regenerated.
5139         * config.make.in (old-glibc-headers): Remove variable.
5140         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5141         (install): Remove dependency on remove-old-headers.
5142         (headers2_0): Remove variable.
5143         (remove-old-headers): Remove rule.
5145         * configure.ac (libc_cv_dot_text): Remove configure test.
5146         (libc_cv_asm_set_directive): Use .text instead of
5147         ${libc_cv_dot_text} in configure test.
5148         * configure: Regenerated.
5150 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5152         [BZ #19168]
5153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5155 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5157         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5158         not support static linking.
5159         * configure: Regenerate.
5161 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5163         * math/libm-test.inc (check_float_internal): Do not special-case
5164         errors up to 0.5 ulp.
5166         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5167         log2.
5168         * math/auto-libm-test-out: Regenerated.
5169         * math/libm-test.inc (MAX_EXP): New macro.
5170         (ilogb_test_data): Add more tests.
5171         (isfinite_test_data): Likewise.
5172         (isgreater_test_data): Likewise.
5173         (isgreaterequal_test_data): Likewise.
5174         (isinf_test_data): Likewise.
5175         (isless_test_data): Likewise.
5176         (islessequal_test_data): Likewise.
5177         (islessgreater_test_data): Likewise.
5178         (isnan_test_data): Likewise.
5179         (isnormal_test_data): Likewise.
5180         (issignaling_test_data): Likewise.
5181         (isunordered_test_data): Likewise.
5182         (j0_test_data): Likewise.
5183         (j1_test_data): Likewise.
5184         (jn_test_data): Likewise.
5185         (lgamma_test_data): Likewise.
5186         (log_test_data): Likewise.
5187         (log10_test_data): Likewise.
5188         (log1p_test_data): Likewise.
5189         (log2_test_data): Likewise.
5190         (logb_test_data): Likewise.
5191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5193         [BZ #18611]
5194         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5195         avoid excess range and precision on underflow.
5196         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5197         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5198         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5199         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5200         underflow.
5201         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5203         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5204         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5205         * math/auto-libm-test-in: Do not allow missing errno setting for
5206         tests of j1 and jn.
5207         * math/auto-libm-test-out: Regenerated.
5209 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5211         [BZ #15491]
5212         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5213         floating-point environment instead of clearing all exceptions.
5214         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5215         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5216         merging in "invalid" exceptions from frndint.
5217         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5218         * math/test-nearbyint-except.c: New file.
5219         * math/Makefile (tests): Add test-nearbyint-except.
5221 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5223         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5225         * sysdeps/tile/libm-test-ulps: Regenerated.
5227 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5230         (__NR_sync_file_range2): Assume it is always defined.
5231         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5232         (__NR_sync_file_range): Assume it is always defined.
5234 2015-10-22  Andreas Schwab  <schwab@suse.de>
5236         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5237         INTERNAL_SYSCALL_ERRNO.
5238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5239         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5240         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5241         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5242         Likewise.
5243         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5245 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5247         * io/tst-fcntl.c (fd): New static variable.
5248         (do_prepare): Open temporary file here....
5249         (do_test): ...not here.
5251         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5253 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5255         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5256         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5257         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5258         Moved before "#ifdef __ASSEMBLER__".
5260 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5262         [BZ #19156]
5263         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5264         arguments very close to 0.
5266 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5268         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5269         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5271 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5273         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5274         New.  Defined for GCC 5 and above when not compiling for
5275         profiling.
5276         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5278         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5279         Renamed to ...
5280         (CFLAGS-epoll_pwait.o): This.
5281         (CFLAGS-mmap.c): Renamed to ...
5282         (CFLAGS-mmap.o): This.
5283         (CFLAGS-mmap64.c): Renamed to ...
5284         (CFLAGS-mmap64.o): This.
5285         (CFLAGS-epoll_pwait.os): New.
5286         (CFLAGS-mmap.os): Likewise.
5287         (CFLAGS-mmap64.os): Likewise.
5288         (CFLAGS-semtimedop.os): Likewise.
5289         (CFLAGS-semtimedop.c): Renamed to ...
5290         (CFLAGS-semtimedop.o): This.
5292 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5294         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5295         warning message.
5297 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5299         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5300         * Makefile ($(objpfx)c++-types-check.out): Filter out
5301         $(+gccwarn-c) instead of -Wstrict-prototypes.
5303         * io/fts.c (fts_open): Convert to prototype-style function
5304         definition.
5305         * malloc/mcheck.c (mcheck): Likewise.
5306         (mcheck_pedantic): Likewise.
5307         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5308         internal_function.
5309         (re_search_internal): Likewise.
5310         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5311         prototype-style function definition.
5312         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5313         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5314         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5315         (xdr_utmpptr): Likewise.
5316         (xdr_utmparr): Likewise.
5317         (xdr_utmpidle): Likewise.
5318         (xdr_utmpidleptr): Likewise.
5319         (xdr_utmpidlearr): Likewise.
5321         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5322         log, log10 and log2.
5323         * math/auto-libm-test-out: Regenerated.
5324         * math/libm-test.inc (fmod_test_data): Add more tests.
5325         (fpclassify_test_data): Likewise.
5326         (frexp_test_data): Likewise.
5327         (hypot_test_data): Likewise.
5328         (ilogb_test_data): Likewise.
5330 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5332         * debug/fortify_fail.c (__fortify_fail): Convert to
5333         prototype-style function definition.  Use internal_function.
5334         * libio/genops.c (save_for_backup): Convert to prototype-style
5335         function definition.
5336         * libio/wgenops.c (save_for_wbackup): Likewise.
5337         * login/grantpt.c (grantpt): Likewise.
5338         * login/ptsname.c (ptsname): Likewise.
5339         (__ptsname_r): Likewise.
5340         * login/unlockpt.c (unlockpt): Likewise.
5341         * mach/msgserver.c (__mach_msg_server): Likewise.
5342         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5343         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5344         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5345         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5346         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5347         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5348         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5349         Likewise.
5350         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5351         internal_function.
5352         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5353         prototype-style function definition.
5354         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5355         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5356         (__pthread_create_2_0): Likewise.
5357         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5358         * nptl/register-atfork.c (__register_atfork): Likewise.
5359         * posix/glob.c (glob): Likewise.
5360         * posix/regcomp.c (re_comp): Likewise.
5361         * posix/regexec.c (re_exec): Likewise.
5362         * stdlib/add_n.c [__STDC__]: Make code unconditional.
5363         [!__STDC__]: Remove conditional code.
5364         * stdlib/cmp.c [__STDC__]: Make code unconditional.
5365         [!__STDC__]: Remove conditional code.
5366         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5367         [!__STDC__]: Remove conditional code.
5368         * stdlib/divrem.c [__STDC__]: Make code unconditional.
5369         [!__STDC__]: Remove conditional code.
5370         * stdlib/lshift.c [__STDC__]: Make code unconditional.
5371         [!__STDC__]: Remove conditional code.
5372         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5373         [!__STDC__]: Remove conditional code.
5374         * stdlib/mul.c [__STDC__]: Make code unconditional.
5375         [!__STDC__]: Remove conditional code.
5376         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5377         [!__STDC__]: Remove conditional code.
5378         * stdlib/rshift.c [__STDC__]: Make code unconditional.
5379         [!__STDC__]: Remove conditional code.
5380         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5381         function definition.
5382         (STRTOF): Likewise.
5383         * stdlib/strtod_l.c (__STRTOF): Likewise.
5384         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5385         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5386         (__strtol_l): Likewise.
5387         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5388         [!__STDC__]: Remove conditional code.
5389         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5390         definition.
5391         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5392         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5393         type.
5394         (__strcasecmp): Convert to prototype-style function definition.
5395         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5396         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5397         type.
5398         (__strncasecmp): Convert to prototype-style function definition.
5399         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5400         * sunrpc/xdr.c (xdr_union): Likewise.
5401         * sunrpc/xdr_array.c (xdr_array): Likewise.
5402         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5403         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5404         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5405         Likewise.
5406         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5407         Likewise.
5408         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5409         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5410         Likewise.
5411         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5412         (LOCALE_PARAM_PROTO): Likewise.
5413         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5414         argument type.
5415         (ut_argument_spec): Remove macro.
5416         (ut_argument_spec_iso): Rename to ut_argument_spec.
5417         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
5418         prototype-style function definition.
5419         (memcpy_uppcase): Likewise.
5420         (__strftime_internal): Likewise.
5421         (my_strftime): Likewise.
5422         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5423         (LOCALE_PARAM_DECL): Likewise.
5424         [_LIBC] (LOCALE_PARAM): Include argument type.
5425         (__strptime_internal): Convert to prototype-style function
5426         definition.
5427         (strptime): Likewise.
5428         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5429         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5430         type.
5431         (__wcscasecmp): Convert to prototype-style function definition.
5432         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5433         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5434         type.
5435         (__wcsncasecmp): Convert to prototype-style function definition.
5437         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5438         function definition.
5439         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5440         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5441         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5442         * elf/dl-minimal.c (_itoa): Likewise.
5443         * hurd/hurdmalloc.c (malloc): Likewise.
5444         (free): Likewise.
5445         (realloc): Likewise.
5446         * inet/inet6_option.c (inet6_option_space): Likewise.
5447         (inet6_option_init): Likewise.
5448         (inet6_option_append): Likewise.
5449         (inet6_option_alloc): Likewise.
5450         (inet6_option_next): Likewise.
5451         (inet6_option_find): Likewise.
5452         * io/ftw.c (FTW_NAME): Likewise.
5453         (NFTW_NAME): Likewise.
5454         (NFTW_NEW_NAME): Likewise.
5455         (NFTW_OLD_NAME): Likewise.
5456         * libio/iofwide.c (_IO_fwide): Likewise.
5457         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5458         (_IO_str_init_static): Likewise.
5459         (_IO_str_init_readonly): Likewise.
5460         (_IO_str_overflow): Likewise.
5461         (_IO_str_underflow): Likewise.
5462         (_IO_str_count): Likewise.
5463         (_IO_str_seekoff): Likewise.
5464         (_IO_str_pbackfail): Likewise.
5465         (_IO_str_finish): Likewise.
5466         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5467         (_IO_wstr_overflow): Likewise.
5468         (_IO_wstr_underflow): Likewise.
5469         (_IO_wstr_count): Likewise.
5470         (_IO_wstr_seekoff): Likewise.
5471         (_IO_wstr_pbackfail): Likewise.
5472         (_IO_wstr_finish): Likewise.
5473         * locale/programs/localedef.c (normalize_codeset): Likewise.
5474         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5475         (add_locales_to_archive): Likewise.
5476         (delete_locales_from_archive): Likewise.
5477         * malloc/malloc.c (__libc_mallinfo): Likewise.
5478         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5479         * misc/tsearch.c (__tfind): Likewise.
5480         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5481         * nptl/pthread_attr_getdetachstate.c
5482         (__pthread_attr_getdetachstate): Likewise.
5483         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5484         Likewise.
5485         * nptl/pthread_attr_getinheritsched.c
5486         (__pthread_attr_getinheritsched): Likewise.
5487         * nptl/pthread_attr_getschedparam.c
5488         (__pthread_attr_getschedparam): Likewise.
5489         * nptl/pthread_attr_getschedpolicy.c
5490         (__pthread_attr_getschedpolicy): Likewise.
5491         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5492         Likewise.
5493         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5494         Likewise.
5495         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5496         Likewise.
5497         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5498         Likewise.
5499         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5500         (__pthread_attr_init_2_0): Likewise.
5501         * nptl/pthread_attr_setdetachstate.c
5502         (__pthread_attr_setdetachstate): Likewise.
5503         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5504         Likewise.
5505         * nptl/pthread_attr_setinheritsched.c
5506         (__pthread_attr_setinheritsched): Likewise.
5507         * nptl/pthread_attr_setschedparam.c
5508         (__pthread_attr_setschedparam): Likewise.
5509         * nptl/pthread_attr_setschedpolicy.c
5510         (__pthread_attr_setschedpolicy): Likewise.
5511         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5512         Likewise.
5513         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5514         Likewise.
5515         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5516         Likewise.
5517         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5518         Likewise.
5519         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5520         Likewise.
5521         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5522         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5523         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5524         use internal_function.
5525         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5526         prototype-style function definition.
5527         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5528         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5529         internal_function.
5530         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5531         Convert to prototype-style function definition.
5532         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5533         Likewise.
5534         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5535         Likewise.
5536         (__pthread_mutex_unlock): Likewise.
5537         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5538         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5539         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5540         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5541         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5542         * nss/makedb.c (process_input): Likewise.
5543         * posix/fnmatch.c (__strchrnul): Likewise.
5544         (__wcschrnul): Likewise.
5545         (fnmatch): Likewise.
5546         * posix/fnmatch_loop.c (FCT): Likewise.
5547         * posix/glob.c (globfree): Likewise.
5548         (__glob_pattern_type): Likewise.
5549         (__glob_pattern_p): Likewise.
5550         * posix/regcomp.c (re_compile_pattern): Likewise.
5551         (re_set_syntax): Likewise.
5552         (re_compile_fastmap): Likewise.
5553         (regcomp): Likewise.
5554         (regerror): Likewise.
5555         (regfree): Likewise.
5556         * posix/regexec.c (regexec): Likewise.
5557         (re_match): Likewise.
5558         (re_search): Likewise.
5559         (re_match_2): Likewise.
5560         (re_search_2): Likewise.
5561         (re_search_stub): Likewise.  Use internal_function
5562         (re_copy_regs): Likewise.
5563         (re_set_registers): Convert to prototype-style function
5564         definition.
5565         (prune_impossible_nodes): Likewise.  Use internal_function.
5566         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5567         prototype-style function definition.
5568         (inet_net_pton_ipv4): Likewise.
5569         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5570         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5571         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5572         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5573         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5574         Make variadic.
5575         * time/strptime_l.c (localtime_r): Convert to prototype-style
5576         function definition.
5577         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5578         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5579         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5580         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5582         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5583         definition.
5584         (_ufc_doit_r): Likewise.
5585         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5586         (_ufc_output_conversion_r): Likewise.
5587         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5588         * inet/rcmd.c (rcmd_af): Likewise.
5589         (rcmd): Likewise.
5590         (ruserok_af): Likewise.
5591         (ruserok): Likewise.
5592         (ruserok2_sa): Likewise.
5593         (ruserok_sa): Likewise.
5594         (iruserok_af): Likewise.
5595         (iruserok): Likewise.
5596         (__ivaliduser): Likewise.
5597         (__validuser2_sa): Likewise.
5598         * inet/rexec.c (rexec_af): Likewise.
5599         (rexec): Likewise.
5600         * inet/ruserpass.c (ruserpass): Likewise.
5601         * locale/programs/xmalloc.c (xcalloc): Likewise.
5602         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5603         * math/w_drem.c (__drem): Likewise.
5604         * math/w_dremf.c (__dremf): Likewise.
5605         * math/w_dreml.c (__dreml): Likewise.
5606         * misc/daemon.c (daemon): Likewise.
5607         * resolv/res_debug.c (p_fqnname): Likewise.
5608         * stdlib/div.c (div): Likewise.
5609         * string/memcmp.c (memcmp_bytes): Likewise.
5610         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5611         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5613         * crypt/cert.c (main): Convert to prototype-style function
5614         definition.
5615         * io/pipe.c (__pipe): Likewise.
5616         * io/pipe2.c (__pipe2): Likewise.
5617         * misc/futimesat.c (futimesat): Likewise.
5618         * misc/utimes.c (__utimes): Likewise.
5619         * posix/execve.c (__execve): Likewise.
5620         * posix/execvp.c (execvp): Likewise.
5621         * posix/execvpe.c (__execvpe): Likewise.
5622         * posix/fexecve.c (fexecve): Likewise.
5623         * socket/socketpair.c (socketpair): Likewise.
5624         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5625         * stdlib/erand48.c (erand48): Likewise.
5626         * stdlib/erand48_r.c (__erand48_r): Likewise.
5627         * stdlib/jrand48.c (jrand48): Likewise.
5628         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5629         * stdlib/lcong48.c (lcong48): Likewise.
5630         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5631         * stdlib/nrand48.c (nrand48): Likewise.
5632         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5633         * stdlib/seed48.c (seed48): Likewise.
5634         * stdlib/seed48_r.c (__seed48_r): Likewise.
5635         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5636         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5637         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5639 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5641         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5642         * configure: Regenerated.
5643         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5644         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5645         unconditional.
5646         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5647         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5648         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5649         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5650         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5651         unconditional.
5652         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5654         * posix/Makefile (CFLAGS-regex.c): Remove variable.
5655         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5657         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5658         function definition.
5659         * crypt/crypt_util.c (__encrypt_r): Likewise.
5660         * libio/genops.c (_IO_no_init): Likewise.
5661         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5662         (_IO_old_fopencookie): Likewise.
5663         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5664         * libio/iogetline.c (_IO_getline): Likewise.
5665         (_IO_getline_info): Likewise.
5666         * libio/iogetwline.c (_IO_getwline): Likewise.
5667         (_IO_getwline_info): Likewise.
5668         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5669         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5670         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5671         (find_entry): Likewise.
5672         (iterate_table): Likewise.
5673         (lookup): Likewise.
5674         * login/forkpty.c (forkpty): Likewise.
5675         * misc/hsearch_r.c (__hsearch_r): Likewise.
5676         * misc/select.c (__select): Likewise.
5677         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5678         Likewise.
5679         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5680         Likewise.
5681         * nptl/old_pthread_cond_timedwait.c
5682         (__pthread_cond_timedwait_2_0): Likewise.
5683         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5684         * nptl/pthread_barrierattr_getpshared.c
5685         (pthread_barrierattr_getpshared): Likewise.
5686         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5687         Likewise.
5688         * nptl/pthread_mutex_setprioceiling.c
5689         (pthread_mutex_setprioceiling): Likewise.
5690         * nptl/pthread_mutexattr_getprioceiling.c
5691         (pthread_mutexattr_getprioceiling): Likewise.
5692         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5693         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5694         Likewise.
5695         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5696         Likewise.
5697         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5698         Likewise.
5699         * socket/recvfrom.c (__recvfrom): Likewise.
5700         * socket/sendto.c (__sendto): Likewise.
5701         * socket/setsockopt.c (__setsockopt): Likewise.
5702         * stdio-common/_itoa.c (_itoa): Likewise.
5703         * stdio-common/_itowa.c (_itowa): Likewise.
5704         * stdio-common/reg-printf.c (__register_printf_specifier):
5705         Likewise.
5706         (__register_printf_function): Likewise.
5707         * stdio-common/tempname.c (__path_search): Likewise.
5708         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5709         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5710         * stdlib/random_r.c (__initstate_r): Likewise.
5711         * stdlib/setenv.c (__add_to_environ): Likewise.
5712         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5713         * streams/getpmsg.c (getpmsg): Likewise.
5714         * streams/putmsg.c (putmsg): Likewise.
5715         * streams/putpmsg.c (putpmsg): Likewise.
5716         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5717         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5718         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5719         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5720         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5721         * sunrpc/svc_udp.c (cache_get): Likewise.
5722         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5723         * sysdeps/mach/hurd/getcwd.c
5724         (__canonicalize_directory_name_internal): Likewise.
5725         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5726         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5727         * sysdeps/mach/hurd/select.c (__select): Likewise.
5728         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5729         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5730         * sysdeps/sparc/nptl/pthread_barrier_init.c
5731         (__pthread_barrier_init): Likewise.
5732         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5733         (__pthread_cond_timedwait): Likewise.
5734         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5735         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5736         Likewise.
5737         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5738         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5739         Likewise.
5740         * sysvipc/semtimedop.c (semtimedop): Likewise.
5741         * time/setitimer.c (__setitimer): Likewise.
5742         * time/strftime_l.c (emacs_strftime): Likewise.
5744 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5746         * config.make.in (have-ssp): Delete.
5747         (stack-protector): New variable.
5748         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5749         cache test for -fstack-protector-strong.  Export stack_protector to
5750         the best ssp flag.
5751         * configure: Regenerated.
5752         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5753         * nscd/Makefile (CFLAGS-nscd): Likewise.
5754         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5756 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5758         [BZ #19122]
5759         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5760         attribute_hidden.
5762 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5764         [BZ #18743]
5765         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5766         code to...
5767         (ELIDE_LOCK): ...here.
5768         (__get_new_count): New function with part of the code from
5769         __elide_lock that updates the value of adapt_count after a
5770         transaction abort.
5771         (__elided_trylock): Moved this code to...
5772         (ELIDE_TRYLOCK): ...here.
5774 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5776         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5777         * configure: Regenerate.
5778         * INSTALL: Regenerate.
5779         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5780         and tweak grammar.
5782 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5784         * login/programs/pt_chown.c: Include signal.h
5785         (main): Clear any signal mask from the parent process.
5787 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5789         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5790         * configure: Regenerated.
5791         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5792         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5793         $(gnu89-inline-CFLAGS).
5795         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5796         test.
5797         (libc_cv_asm_weakext_directive): Likewise.
5798         * configure: Regenerated.
5799         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5800         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5801         * include/libc-symbols.h
5802         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5803         #error.
5804         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5805         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5807         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5808         prototype-style function definition.
5809         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5810         * sysdeps/i386/ffs.c (__ffs): Likewise.
5811         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5812         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5813         Likewise.
5814         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5815         Likewise.
5816         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5817         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5818         Likewise.
5819         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5820         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5821         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5822         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5823         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5824         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5825         * sysdeps/mach/hurd/access.c (__access): Likewise.
5826         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5827         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5828         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5829         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5830         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5831         (cthread_getspecific): Likewise.
5832         (cthread_setspecific): Likewise.
5833         (__libc_getspecific): Likewise.
5834         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5835         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5836         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5837         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5838         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5839         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5840         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5841         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5842         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5843         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5844         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5845         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5846         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5847         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5848         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5849         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5850         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5851         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5852         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5853         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5854         * sysdeps/mach/hurd/link.c (__link): Likewise.
5855         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5856         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5857         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5858         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5859         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5860         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5861         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5862         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5863         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5864         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5865         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5866         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5867         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5868         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5869         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5870         * sysdeps/mach/hurd/send.c (__send): Likewise.
5871         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5872         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5873         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5874         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5875         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5876         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5877         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5878         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5879         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5880         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5881         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5882         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5883         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5884         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5885         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5886         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5887         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5888         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5889         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5890         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5891         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5892         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5893         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5894         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5895         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5896         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5897         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5898         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5899         * sysdeps/posix/alarm.c (alarm): Likewise.
5900         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5901         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5902         * sysdeps/posix/dup.c (__dup): Likewise.
5903         * sysdeps/posix/dup2.c (__dup2): Likewise.
5904         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5905         (main): Likewise.
5906         * sysdeps/posix/flock.c (__flock): Likewise.
5907         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5908         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5909         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5910         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5911         * sysdeps/posix/isatty.c (__isatty): Likewise.
5912         * sysdeps/posix/killpg.c (killpg): Likewise.
5913         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5914         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5915         * sysdeps/posix/raise.c (raise): Likewise.
5916         * sysdeps/posix/remove.c (remove): Likewise.
5917         * sysdeps/posix/rename.c (rename): Likewise.
5918         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5919         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5920         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5921         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5922         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5923         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5924         * sysdeps/posix/sigset.c (sigset): Likewise.
5925         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5926         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5927         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5928         * sysdeps/posix/time.c (time): Likewise.
5929         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5930         (ttyname): Likewise.
5931         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5932         * sysdeps/posix/utime.c (utime): Likewise.
5933         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5934         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5935         Likewise.
5936         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5937         (pthread_spin_trylock): Likewise.
5938         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5939         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5940         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5941         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5942         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5943         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5944         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5945         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5946         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5947         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5948         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5949         * sysdeps/s390/ffs.c (__ffs): Likewise.
5950         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5951         Likewise.
5952         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5953         Likewise.
5954         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5955         Likewise.
5956         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5957         (pthread_barrier_destroy): Likewise.
5958         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5959         (__pthread_barrier_wait): Likewise.
5960         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5961         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5962         (__pthread_barrier_wait): Likewise.
5963         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5964         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5965         (memcmp_not_common_alignment): Likewise.
5966         (MEMCMP): Likewise.
5967         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5968         (_wordcopy_fwd_dest_aligned): Likewise.
5969         (_wordcopy_bwd_aligned): Likewise.
5970         (_wordcopy_bwd_dest_aligned): Likewise.
5971         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5972         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5973         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5974         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5975         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5976         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5977         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5978         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5979         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5980         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5981         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5982         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5983         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5984         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5985         * sysdeps/unix/stime.c (stime): Likewise.
5986         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5987         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5988         Likewise.  Use internal_function.
5989         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5990         Convert to prototype-style function definition.
5991         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5992         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5993         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5994         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5995         Likewise.  Use internal_function.
5996         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5997         prototype-style function definition
5998         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5999         Likewise.
6000         (__getlogin_r): Likewise.
6001         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6002         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6003         (__pthread_cond_broadcast): Likewise.
6004         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6005         (__pthread_cond_destroy): Likewise.
6006         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6007         (__pthread_cond_init): Likewise.
6008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6009         (__pthread_cond_signal): Likewise.
6010         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6011         (__pthread_cond_wait): Likewise.
6012         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6013         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6014         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6015         Likewise.
6016         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6017         Likewise.
6018         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6019         Likewise.
6020         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6021         Likewise.
6022         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6024         (__ftruncate64): Likewise.
6025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6026         (truncate64): Likewise.
6027         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6028         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6029         (pthread_getcpuclockid): Likewise.
6030         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6039         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6040         (__libc_sigaction): Likewise.
6041         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6044         (__sigprocmask): Likewise.
6045         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6046         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6047         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6048         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6049         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6050         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6051         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6052         Likewise.
6053         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6054         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6055         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6056         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6058         Likewise.
6059         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6060         (__sigprocmask): Likewise.
6061         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6062         (cfgetispeed): Likewise.
6063         (cfsetospeed): Likewise.
6064         (cfsetispeed): Likewise.
6065         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6066         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6067         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6068         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6069         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6070         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6071         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6072         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6073         Likewise.
6074         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6075         Likewise.
6076         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6077         Likewise.
6078         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6079         Likewise.
6080         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6082 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6084         sunrpc: Rewrite with explicit TLS access using __thread.
6085         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6086         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6087         directly.
6088         (__rpc_thread_variables): Access thread_rpc_vars directly.
6089         Eliminate redundant assignment of the tvp variable.
6091 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6093         malloc: Rewrite with explicit TLS access using __thread.
6094         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6095         (tsd_setspecific, tsd_getspecific): Remove.
6096         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6097         (tsd_setspecific, tsd_getspecific): Likewise.
6098         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6099         (tsd_setspecific, tsd_getspecific): Likewise.
6100         * malloc/arena.c (thread_arena): New TLS variable.
6101         (arena_key): Remove variable.
6102         (arena_get): Use thread_arena.
6103         (arena_lookup): Remove macro.
6104         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6105         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6106         (_int_new_arena, get_free_list, reused_arena)
6107         (arena_thread_freeres): Use thread_arena.
6108         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6109         tsd_getspecific, tsd_setspecific from safety annotations.
6110         (Allocating Cleared Space): Remove arena_lookup from safety
6111         annotations.
6113 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6115         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6116         struct scratch_buffer instead of extend_alloca.
6118 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6120         * sysdeps/unix/sysv/linux/kernel-features.h
6121         (__ASSUME_SOCK_CLOEXEC): Remove.
6122         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6123         (__have_paccept): Remove unused macro.
6124         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6125         * misc/syslog.c (openlog_internal): Remove fallback code for
6126         !__ASSUME_SOCK_CLOEXEC.
6127         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6128         missing SOCK_CLOEXEC.
6129         * nscd/connections.c (have_sock_cloexec): Remove definition.
6130         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6131         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6132         !__ASSUME_SOCK_CLOEXEC.
6133         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6134         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6135         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6136         definition.
6137         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6138         code for !__ASSUME_SOCK_CLOEXEC.
6140 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6142         [BZ #18982]
6143         * manual/stdio.texi (Variable Arguments Output): Add portability
6144         note, explaining that vfprintf clobbers the va_list pointer.
6146 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6148         * math/libm-test.inc (fabs_test_data): Add more tests.
6149         (fdim_test_data): Likewise.
6150         (fma_test_data): Likewise.
6151         (fmax_test_data): Likewise.
6152         (fmin_test_data): Likewise.
6153         (fmod_test_data): Likewise.
6155 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6157         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6158         data.
6160 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6162         * math/libm-test.inc (ceil_test_data): Add more tests and more
6163         expectations for "inexact".
6164         (floor_test_data): Add more tests.
6165         (round_test_data): Likewise.
6166         (trunc_test_data): Likewise.
6168         * crypt/cert.c (good_bye): Convert to prototype-style function
6169         definition.
6170         (get8): Likewise.
6171         (put8): Likewise.
6172         * crypt/crypt-entry.c (crypt): Likewise.
6173         (__fcrypt): Likewise.
6174         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6175         (_ufc_set_bits): Likewise.
6176         (_ufc_clearmem): Likewise.
6177         (__init_des_r): Likewise.
6178         (shuffle_sb): Likewise.
6179         (shuffle_sb): Likewise.
6180         (_ufc_setup_salt_r): Likewise.
6181         (_ufc_mk_keytab_r): Likewise.
6182         (_ufc_dofinalperm_r): Likewise.
6183         (encrypt): Likewise.
6184         (__setkey_r): Likewise.
6185         (setkey): Likewise.
6186         * crypt/md5.c (md5_init_ctx): Likewise.
6187         (md5_read_ctx): Likewise.
6188         (md5_finish_ctx): Likewise.
6189         (md5_stream): Likewise.
6190         (md5_buffer): Likewise.
6191         (md5_process_bytes): Likewise.
6192         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6193         (__sha256_finish_ctx): Likewise.
6194         (__sha256_process_bytes): Likewise.
6195         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6196         (__sha512_finish_ctx): Likewise.
6197         (__sha512_process_bytes): Likewise.
6198         * ctype/isctype.c (__isctype): Likewise.
6199         * debug/backtrace.c (__backtrace): Likewise.
6200         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6201         * debug/fgets_chk.c (__fgets_chk): Likewise.
6202         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6203         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6204         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6205         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6206         * debug/memset_chk.c (__memset_chk): Likewise.
6207         * debug/strcat_chk.c (__strcat_chk): Likewise.
6208         * debug/strncat_chk.c (__strncat_chk): Likewise.
6209         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6210         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6211         * dirent/dirfd.c (dirfd): Likewise.
6212         * dirent/getdents.c (__getdirentries): Likewise.
6213         * dirent/getdents64.c (getdirentries64): Likewise.
6214         * dirent/rewinddir.c (__rewinddir): Likewise.
6215         * dirent/seekdir.c (seekdir): Likewise.
6216         * dirent/telldir.c (telldir): Likewise.
6217         * elf/sln.c (makesymlinks): Likewise.
6218         (makesymlink): Likewise.
6219         * gmon/gmon.c (__moncontrol): Likewise.
6220         (__monstartup): Likewise.
6221         (write_hist): Likewise.
6222         (write_call_graph): Likewise.
6223         (write_bb_counts): Likewise.
6224         * grp/setgroups.c (setgroups): Likewise.
6225         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6226         * inet/inet_net.c (inet_network): Likewise.
6227         * inet/inet_netof.c (inet_netof): Likewise.
6228         * inet/rcmd.c (rresvport_af): Likewise.
6229         (rresvport): Likewise.
6230         * io/access.c (__access): Likewise.
6231         * io/chdir.c (__chdir): Likewise.
6232         * io/chmod.c (__chmod): Likewise.
6233         * io/chown.c (__chown): Likewise.
6234         * io/close.c (__close): Likewise.
6235         * io/creat.c (creat): Likewise.
6236         * io/creat64.c (creat64): Likewise.
6237         * io/dup.c (__dup): Likewise.
6238         * io/dup2.c (__dup2): Likewise.
6239         * io/dup3.c (__dup3): Likewise.
6240         * io/euidaccess.c (__euidaccess): Likewise.
6241         * io/faccessat.c (faccessat): Likewise.
6242         * io/fchmod.c (__fchmod): Likewise.
6243         * io/fchmodat.c (fchmodat): Likewise.
6244         * io/fchown.c (__fchown): Likewise.
6245         * io/fchownat.c (fchownat): Likewise.
6246         * io/fcntl.c (__fcntl): Likewise.
6247         * io/flock.c (__flock): Likewise.
6248         * io/fts.c (fts_load): Likewise.
6249         (fts_close): Likewise.
6250         (fts_read): Likewise.
6251         (fts_set): Likewise.
6252         (fts_children): Likewise.
6253         (fts_build): Likewise.
6254         (fts_stat): Likewise.
6255         (fts_sort): Likewise.
6256         (fts_alloc): Likewise.
6257         (fts_lfree): Likewise.
6258         (fts_palloc): Likewise.
6259         (fts_padjust): Likewise.
6260         (fts_maxarglen): Likewise.
6261         (fts_safe_changedir): Likewise.
6262         * io/getwd.c (getwd): Likewise.
6263         * io/isatty.c (__isatty): Likewise.
6264         * io/lchown.c (__lchown): Likewise.
6265         * io/link.c (__link): Likewise.
6266         * io/linkat.c (linkat): Likewise.
6267         * io/lseek.c (__libc_lseek): Likewise.
6268         * io/mkdir.c (__mkdir): Likewise.
6269         * io/mkdirat.c (mkdirat): Likewise.
6270         * io/mkfifo.c (mkfifo): Likewise.
6271         * io/mkfifoat.c (mkfifoat): Likewise.
6272         * io/open.c (__libc_open): Likewise.
6273         * io/open64.c (__libc_open64): Likewise.
6274         * io/readlink.c (__readlink): Likewise.
6275         * io/readlinkat.c (readlinkat): Likewise.
6276         * io/rmdir.c (__rmdir): Likewise.
6277         * io/symlink.c (__symlink): Likewise.
6278         * io/symlinkat.c (symlinkat): Likewise.
6279         * io/ttyname.c (ttyname): Likewise.
6280         * io/ttyname_r.c (__ttyname_r): Likewise.
6281         * io/umask.c (__umask): Likewise.
6282         * io/unlink.c (__unlink): Likewise.
6283         * io/unlinkat.c (unlinkat): Likewise.
6284         * io/utime.c (utime): Likewise.
6285         * libio/clearerr.c (clearerr): Likewise.
6286         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6287         * libio/feof.c (_IO_feof): Likewise.
6288         * libio/feof_u.c (feof_unlocked): Likewise.
6289         * libio/ferror.c (_IO_ferror): Likewise.
6290         * libio/ferror_u.c (ferror_unlocked): Likewise.
6291         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6292         * libio/fileno.c (__fileno): Likewise.
6293         * libio/fputc.c (fputc): Likewise.
6294         * libio/fputc_u.c (fputc_unlocked): Likewise.
6295         * libio/fputwc.c (fputwc): Likewise.
6296         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6297         * libio/freopen.c (freopen): Likewise.
6298         * libio/freopen64.c (freopen64): Likewise.
6299         * libio/fseek.c (fseek): Likewise.
6300         * libio/fseeko.c (fseeko): Likewise.
6301         * libio/fseeko64.c (fseeko64): Likewise.
6302         * libio/ftello.c (__ftello): Likewise.
6303         * libio/ftello64.c (ftello64): Likewise.
6304         * libio/fwide.c (fwide): Likewise.
6305         * libio/genops.c (_IO_un_link): Likewise.
6306         (_IO_link_in): Likewise.
6307         (_IO_least_marker): Likewise.
6308         (_IO_switch_to_main_get_area): Likewise.
6309         (_IO_switch_to_backup_area): Likewise.
6310         (_IO_switch_to_get_mode): Likewise.
6311         (_IO_free_backup_area): Likewise.
6312         (_IO_switch_to_put_mode): Likewise.
6313         (__overflow): Likewise.
6314         (__underflow): Likewise.
6315         (__uflow): Likewise.
6316         (_IO_setb): Likewise.
6317         (_IO_doallocbuf): Likewise.
6318         (_IO_default_underflow): Likewise.
6319         (_IO_default_uflow): Likewise.
6320         (_IO_default_xsputn): Likewise.
6321         (_IO_sgetn): Likewise.
6322         (_IO_default_xsgetn): Likewise.
6323         (_IO_sync): Likewise.
6324         (_IO_default_setbuf): Likewise.
6325         (_IO_default_seekpos): Likewise.
6326         (_IO_default_doallocate): Likewise.
6327         (_IO_init): Likewise.
6328         (_IO_old_init): Likewise.
6329         (_IO_default_sync): Likewise.
6330         (_IO_default_finish): Likewise.
6331         (_IO_default_seekoff): Likewise.
6332         (_IO_sputbackc): Likewise.
6333         (_IO_sungetc): Likewise.
6334         (_IO_set_column): Likewise.
6335         (_IO_set_column): Likewise.
6336         (_IO_adjust_column): Likewise.
6337         (_IO_get_column): Likewise.
6338         (_IO_init_marker): Likewise.
6339         (_IO_remove_marker): Likewise.
6340         (_IO_marker_difference): Likewise.
6341         (_IO_marker_delta): Likewise.
6342         (_IO_seekmark): Likewise.
6343         (_IO_unsave_markers): Likewise.
6344         (_IO_nobackup_pbackfail): Likewise.
6345         (_IO_default_pbackfail): Likewise.
6346         (_IO_default_seek): Likewise.
6347         (_IO_default_stat): Likewise.
6348         (_IO_default_read): Likewise.
6349         (_IO_default_write): Likewise.
6350         (_IO_default_showmanyc): Likewise.
6351         (_IO_default_imbue): Likewise.
6352         (_IO_iter_next): Likewise.
6353         (_IO_iter_file): Likewise.
6354         * libio/getc.c (_IO_getc): Likewise.
6355         * libio/getwc.c (_IO_getwc): Likewise.
6356         * libio/iofclose.c (_IO_new_fclose): Likewise.
6357         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6358         * libio/iofflush.c (_IO_fflush): Likewise.
6359         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6360         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6361         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6362         * libio/iofgets.c (_IO_fgets): Likewise.
6363         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6364         * libio/iofgetws.c (fgetws): Likewise.
6365         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6366         * libio/iofopen64.c (_IO_fopen64): Likewise.
6367         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6368         (_IO_cookie_write): Likewise.
6369         (_IO_cookie_seek): Likewise.
6370         (_IO_cookie_close): Likewise.
6371         (_IO_cookie_seekoff): Likewise.
6372         (_IO_old_cookie_seek): Likewise.
6373         * libio/iofputs.c (_IO_fputs): Likewise.
6374         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6375         * libio/iofputws.c (fputws): Likewise.
6376         * libio/iofputws_u.c (fputws_unlocked): Likewise.
6377         * libio/iofread.c (_IO_fread): Likewise.
6378         * libio/iofread_u.c (__fread_unlocked): Likewise.
6379         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6380         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6381         * libio/ioftell.c (_IO_ftell): Likewise.
6382         * libio/iofwrite.c (_IO_fwrite): Likewise.
6383         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6384         * libio/iogets.c (_IO_gets): Likewise.
6385         * libio/iopadn.c (_IO_padn): Likewise.
6386         * libio/iopopen.c (_IO_new_proc_open): Likewise.
6387         (_IO_new_popen): Likewise.
6388         (_IO_new_proc_close): Likewise.
6389         * libio/ioputs.c (_IO_puts): Likewise.
6390         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6391         (_IO_seekoff): Likewise.
6392         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6393         (_IO_seekpos): Likewise.
6394         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6395         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6396         * libio/ioungetc.c (_IO_ungetc): Likewise.
6397         * libio/ioungetwc.c (ungetwc): Likewise.
6398         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6399         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6400         * libio/iowpadn.c (_IO_wpadn): Likewise.
6401         * libio/libc_fatal.c (__libc_fatal): Likewise.
6402         * libio/memstream.c (__open_memstream): Likewise.
6403         (_IO_mem_sync): Likewise.
6404         (_IO_mem_finish): Likewise.
6405         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6406         (_IO_old_file_close_it): Likewise.
6407         (_IO_old_file_finish): Likewise.
6408         (_IO_old_file_fopen): Likewise.
6409         (_IO_old_file_attach): Likewise.
6410         (_IO_old_file_setbuf): Likewise.
6411         (_IO_old_do_write): Likewise.
6412         (old_do_write): Likewise.
6413         (_IO_old_file_underflow): Likewise.
6414         (_IO_old_file_overflow): Likewise.
6415         (_IO_old_file_sync): Likewise.
6416         (_IO_old_file_seekoff): Likewise.
6417         (_IO_old_file_write): Likewise.
6418         (_IO_old_file_xsputn): Likewise.
6419         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6420         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6421         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6422         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6423         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6424         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6425         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6426         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6427         (_IO_old_popen): Likewise.
6428         (_IO_old_proc_close): Likewise.
6429         * libio/oldpclose.c (__old_pclose): Likewise.
6430         * libio/pclose.c (__new_pclose): Likewise.
6431         * libio/peekc.c (_IO_peekc_locked): Likewise.
6432         * libio/putc.c (_IO_putc): Likewise.
6433         * libio/putc_u.c (putc_unlocked): Likewise.
6434         * libio/putchar.c (putchar): Likewise.
6435         * libio/putchar_u.c (putchar_unlocked): Likewise.
6436         * libio/putwc.c (putwc): Likewise.
6437         * libio/putwc_u.c (putwc_unlocked): Likewise.
6438         * libio/putwchar.c (putwchar): Likewise.
6439         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6440         * libio/rewind.c (rewind): Likewise.
6441         * libio/setbuf.c (setbuf): Likewise.
6442         * libio/setlinebuf.c (setlinebuf): Likewise.
6443         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6444         * libio/vscanf.c (_IO_vscanf): Likewise.
6445         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6446         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6447         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6448         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6449         (_IO_switch_to_main_wget_area): Likewise.
6450         (_IO_switch_to_wbackup_area): Likewise.
6451         (_IO_wsetb): Likewise.
6452         (_IO_wdefault_pbackfail): Likewise.
6453         (_IO_wdefault_finish): Likewise.
6454         (_IO_wdefault_uflow): Likewise.
6455         (__woverflow): Likewise.
6456         (__wuflow): Likewise.
6457         (__wunderflow): Likewise.
6458         (_IO_wdefault_xsputn): Likewise.
6459         (_IO_wdefault_xsgetn): Likewise.
6460         (_IO_wdoallocbuf): Likewise.
6461         (_IO_wdefault_doallocate): Likewise.
6462         (_IO_switch_to_wget_mode): Likewise.
6463         (_IO_free_wbackup_area): Likewise.
6464         (_IO_switch_to_wput_mode): Likewise.
6465         (_IO_sputbackwc): Likewise.
6466         (_IO_sungetwc): Likewise.
6467         (_IO_adjust_wcolumn): Likewise.
6468         (_IO_init_wmarker): Likewise.
6469         (_IO_wmarker_delta): Likewise.
6470         (_IO_seekwmark): Likewise.
6471         (_IO_unsave_wmarkers): Likewise.
6472         * libio/wmemstream.c (open_wmemstream): Likewise.
6473         (_IO_wmem_sync): Likewise.
6474         (_IO_wmem_finish): Likewise.
6475         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6476         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6477         * locale/programs/simple-hash.c (init_hash): Likewise.
6478         (delete_hash): Likewise.
6479         (insert_entry): Likewise.
6480         (set_entry): Likewise.
6481         (next_prime): Likewise.
6482         (is_prime): Likewise.
6483         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6484         (xmalloc): Likewise.
6485         (xrealloc): Likewise.
6486         * locale/programs/xstrdup.c (xstrdup): Likewise.
6487         * localedata/collate-test.c (xstrcoll): Likewise.
6488         * localedata/xfrm-test.c (xstrcmp): Likewise.
6489         * login/getlogin_r.c (__getlogin_r): Likewise.
6490         * login/getpt.c (__posix_openpt): Likewise.
6491         * login/login_tty.c (login_tty): Likewise.
6492         * login/setlogin.c (setlogin): Likewise.
6493         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6494         (mach_msg_destroy_port): Likewise.
6495         (mach_msg_destroy_memory): Likewise.
6496         * malloc/mcheck.c (flood): Likewise.
6497         * misc/acct.c (acct): Likewise.
6498         * misc/brk.c (__brk): Likewise.
6499         * misc/chflags.c (chflags): Likewise.
6500         * misc/chroot.c (chroot): Likewise.
6501         * misc/fchflags.c (fchflags): Likewise.
6502         * misc/fstab.c (getfsspec): Likewise.
6503         (getfsfile): Likewise.
6504         * misc/fsync.c (fsync): Likewise.
6505         * misc/ftruncate.c (__ftruncate): Likewise.
6506         * misc/ftruncate64.c (__ftruncate64): Likewise.
6507         * misc/getdomain.c (getdomainname): Likewise.
6508         (getdomainname): Likewise.
6509         * misc/gethostname.c (__gethostname): Likewise.
6510         * misc/getpass.c (getpass): Likewise.
6511         * misc/getttyent.c (skip): Likewise.
6512         (value): Likewise.
6513         * misc/gtty.c (gtty): Likewise.
6514         * misc/hsearch.c (hsearch): Likewise.
6515         (hcreate): Likewise.
6516         * misc/hsearch_r.c (__hcreate_r): Likewise.
6517         (__hdestroy_r): Likewise.
6518         * misc/ioctl.c (__ioctl): Likewise.
6519         * misc/mkdtemp.c (mkdtemp): Likewise.
6520         * misc/mkostemp.c (mkostemp): Likewise.
6521         * misc/mkostemp64.c (mkostemp64): Likewise.
6522         * misc/mkostemps.c (mkostemps): Likewise.
6523         * misc/mkostemps64.c (mkostemps64): Likewise.
6524         * misc/mkstemp.c (mkstemp): Likewise.
6525         * misc/mkstemp64.c (mkstemp64): Likewise.
6526         * misc/mkstemps.c (mkstemps): Likewise.
6527         * misc/mkstemps64.c (mkstemps64): Likewise.
6528         * misc/mktemp.c (__mktemp): Likewise.
6529         * misc/preadv.c (preadv): Likewise.
6530         * misc/preadv64.c (preadv64): Likewise.
6531         * misc/pwritev.c (pwritev): Likewise.
6532         * misc/pwritev64.c (pwritev64): Likewise.
6533         * misc/readv.c (__readv): Likewise.
6534         * misc/revoke.c (revoke): Likewise.
6535         * misc/setdomain.c (setdomainname): Likewise.
6536         * misc/setegid.c (setegid): Likewise.
6537         * misc/seteuid.c (seteuid): Likewise.
6538         * misc/sethostid.c (sethostid): Likewise.
6539         * misc/sethostname.c (sethostname): Likewise.
6540         * misc/setregid.c (__setregid): Likewise.
6541         * misc/setreuid.c (__setreuid): Likewise.
6542         * misc/sstk.c (sstk): Likewise.
6543         * misc/stty.c (stty): Likewise.
6544         * misc/syscall.c (syscall): Likewise.
6545         * misc/syslog.c (setlogmask): Likewise.
6546         * misc/truncate.c (__truncate): Likewise.
6547         * misc/truncate64.c (truncate64): Likewise.
6548         * misc/ualarm.c (ualarm): Likewise.
6549         * misc/usleep.c (usleep): Likewise.
6550         * misc/ustat.c (ustat): Likewise.
6551         * misc/writev.c (__writev): Likewise.
6552         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6553         * nptl/old_pthread_cond_broadcast.c
6554         (__pthread_cond_broadcast_2_0): Likewise.
6555         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6556         Likewise.
6557         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6558         Likewise.
6559         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6560         Likewise.
6561         * nptl/pt-raise.c (raise): Likewise.
6562         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6563         Likewise.
6564         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6565         * nptl/pthread_barrierattr_destroy.c
6566         (pthread_barrierattr_destroy): Likewise.
6567         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6568         Likewise.
6569         * nptl/pthread_barrierattr_setpshared.c
6570         (pthread_barrierattr_setpshared): Likewise.
6571         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6572         Likewise.
6573         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6574         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6575         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6576         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6577         Likewise.
6578         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6579         Likewise.
6580         * nptl/pthread_condattr_getpshared.c
6581         (pthread_condattr_getpshared): Likewise.
6582         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6583         Likewise.
6584         * nptl/pthread_condattr_setpshared.c
6585         (pthread_condattr_setpshared): Likewise.
6586         * nptl/pthread_detach.c (pthread_detach): Likewise.
6587         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6588         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6589         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6590         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6591         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6592         Likewise.
6593         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6594         Likewise.
6595         * nptl/pthread_mutex_getprioceiling.c
6596         (pthread_mutex_getprioceiling): Likewise.
6597         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6598         Likewise.
6599         * nptl/pthread_mutexattr_getprotocol.c
6600         (pthread_mutexattr_getprotocol): Likewise.
6601         * nptl/pthread_mutexattr_getpshared.c
6602         (pthread_mutexattr_getpshared): Likewise.
6603         * nptl/pthread_mutexattr_getrobust.c
6604         (pthread_mutexattr_getrobust): Likewise.
6605         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6606         Likewise.
6607         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6608         Likewise.
6609         * nptl/pthread_mutexattr_setprioceiling.c
6610         (pthread_mutexattr_setprioceiling): Likewise.
6611         * nptl/pthread_mutexattr_setprotocol.c
6612         (pthread_mutexattr_setprotocol): Likewise.
6613         * nptl/pthread_mutexattr_setpshared.c
6614         (pthread_mutexattr_setpshared): Likewise.
6615         * nptl/pthread_mutexattr_setrobust.c
6616         (pthread_mutexattr_setrobust): Likewise.
6617         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6618         Likewise.
6619         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6620         Likewise.
6621         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6622         Likewise.
6623         * nptl/pthread_rwlockattr_getkind_np.c
6624         (pthread_rwlockattr_getkind_np): Likewise.
6625         * nptl/pthread_rwlockattr_getpshared.c
6626         (pthread_rwlockattr_getpshared): Likewise.
6627         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6628         Likewise.
6629         * nptl/pthread_rwlockattr_setkind_np.c
6630         (pthread_rwlockattr_setkind_np): Likewise.
6631         * nptl/pthread_rwlockattr_setpshared.c
6632         (pthread_rwlockattr_setpshared): Likewise.
6633         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6634         Likewise.
6635         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6636         Likewise.
6637         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6638         Likewise.
6639         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6640         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6641         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6642         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6643         * nptl/sem_close.c (sem_close): Likewise.
6644         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6645         * nptl/sem_init.c (__old_sem_init): Likewise.
6646         * nptl/sigaction.c (__sigaction): Likewise.
6647         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6648         * posix/_exit.c (_exit): Likewise.
6649         * posix/alarm.c (alarm): Likewise.
6650         * posix/confstr.c (confstr): Likewise.
6651         * posix/fpathconf.c (__fpathconf): Likewise.
6652         * posix/getgroups.c (__getgroups): Likewise.
6653         * posix/getpgid.c (__getpgid): Likewise.
6654         * posix/group_member.c (__group_member): Likewise.
6655         * posix/pathconf.c (__pathconf): Likewise.
6656         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6657         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6658         * posix/setgid.c (__setgid): Likewise.
6659         * posix/setpgid.c (__setpgid): Likewise.
6660         * posix/setuid.c (__setuid): Likewise.
6661         * posix/sleep.c (__sleep): Likewise.
6662         * posix/sysconf.c (__sysconf): Likewise.
6663         * posix/times.c (__times): Likewise.
6664         * posix/uname.c (__uname): Likewise.
6665         * posix/waitid.c (__waitid): Likewise.
6666         * pwd/getpw.c (__getpw): Likewise.
6667         * resolv/base64.c (b64_pton): Likewise.
6668         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6669         * resolv/gethnamaddr.c (Dprintf): Likewise.
6670         (gethostbyname): Likewise.
6671         (gethostbyname2): Likewise.
6672         (gethostbyaddr): Likewise.
6673         (_sethtent): Likewise.
6674         (_gethtbyname): Likewise.
6675         (_gethtbyname2): Likewise.
6676         (_gethtbyaddr): Likewise.
6677         (map_v4v6_address): Likewise.
6678         (map_v4v6_hostent): Likewise.
6679         (addrsort): Likewise.
6680         (ht_sethostent): Likewise.
6681         (ht_gethostbyname): Likewise.
6682         (ht_gethostbyaddr): Likewise.
6683         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6684         (inet_net_ntop_ipv4): Likewise.
6685         * resolv/inet_neta.c (inet_neta): Likewise.
6686         * resolv/inet_ntop.c (inet_ntop): Likewise.
6687         (inet_ntop4): Likewise.
6688         (inet_ntop6): Likewise.
6689         * resolv/inet_pton.c (__inet_pton): Likewise.
6690         (inet_pton4): Likewise.
6691         (inet_pton6): Likewise.
6692         * resolv/res_debug.c (loc_aton): Likewise.
6693         (loc_ntoa): Likewise.
6694         * resource/getpriority.c (__getpriority): Likewise.
6695         * resource/getrusage.c (__getrusage): Likewise.
6696         * resource/nice.c (nice): Likewise.
6697         * resource/setpriority.c (__setpriority): Likewise.
6698         * resource/setrlimit64.c (setrlimit64): Likewise.
6699         * resource/vlimit.c (vlimit): Likewise.
6700         * resource/vtimes.c (vtimes): Likewise.
6701         * rt/aio_error.c (aio_error): Likewise.
6702         * rt/aio_return.c (aio_return): Likewise.
6703         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6704         * signal/kill.c (__kill): Likewise.
6705         * signal/killpg.c (killpg): Likewise.
6706         * signal/raise.c (raise): Likewise.
6707         * signal/sigaction.c (__sigaction): Likewise.
6708         * signal/sigaddset.c (sigaddset): Likewise.
6709         * signal/sigaltstack.c (sigaltstack): Likewise.
6710         * signal/sigandset.c (sigandset): Likewise.
6711         * signal/sigblock.c (__sigblock): Likewise.
6712         * signal/sigdelset.c (sigdelset): Likewise.
6713         * signal/sigempty.c (sigemptyset): Likewise.
6714         * signal/sigfillset.c (sigfillset): Likewise.
6715         * signal/sighold.c (sighold): Likewise.
6716         * signal/sigignore.c (sigignore): Likewise.
6717         * signal/sigintr.c (siginterrupt): Likewise.
6718         * signal/sigisempty.c (sigisemptyset): Likewise.
6719         * signal/sigismem.c (sigismember): Likewise.
6720         * signal/signal.c (signal): Likewise.
6721         * signal/sigorset.c (sigorset): Likewise.
6722         * signal/sigpause.c (__sigpause): Likewise.
6723         * signal/sigpending.c (sigpending): Likewise.
6724         * signal/sigprocmask.c (__sigprocmask): Likewise.
6725         * signal/sigrelse.c (sigrelse): Likewise.
6726         * signal/sigreturn.c (__sigreturn): Likewise.
6727         * signal/sigset.c (sigset): Likewise.
6728         * signal/sigsetmask.c (__sigsetmask): Likewise.
6729         * signal/sigstack.c (sigstack): Likewise.
6730         * signal/sigsuspend.c (__sigsuspend): Likewise.
6731         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6732         * signal/sysv_signal.c (__sysv_signal): Likewise.
6733         * socket/accept.c (accept): Likewise.
6734         * socket/accept4.c (__libc_accept4): Likewise.
6735         * socket/bind.c (__bind): Likewise.
6736         * socket/connect.c (__connect): Likewise.
6737         * socket/getpeername.c (getpeername): Likewise.
6738         * socket/getsockname.c (__getsockname): Likewise.
6739         * socket/getsockopt.c (getsockopt): Likewise.
6740         * socket/listen.c (__listen): Likewise.
6741         * socket/recv.c (__recv): Likewise.
6742         * socket/recvmsg.c (__recvmsg): Likewise.
6743         * socket/send.c (__send): Likewise.
6744         * socket/sendmsg.c (__sendmsg): Likewise.
6745         * socket/shutdown.c (shutdown): Likewise.
6746         * socket/sockatmark.c (sockatmark): Likewise.
6747         * socket/socket.c (__socket): Likewise.
6748         * stdio-common/ctermid.c (ctermid): Likewise.
6749         * stdio-common/cuserid.c (cuserid): Likewise.
6750         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6751         * stdio-common/remove.c (remove): Likewise.
6752         * stdio-common/rename.c (rename): Likewise.
6753         * stdio-common/renameat.c (renameat): Likewise.
6754         * stdio-common/tempname.c (__gen_tempname): Likewise.
6755         * stdio-common/xbug.c (InitBuffer): Likewise.
6756         (AppendToBuffer): Likewise.
6757         (ReadFile): Likewise.
6758         * stdlib/a64l.c (a64l): Likewise.
6759         * stdlib/drand48_r.c (drand48_r): Likewise.
6760         * stdlib/getcontext.c (getcontext): Likewise.
6761         * stdlib/getenv.c (getenv): Likewise.
6762         * stdlib/l64a.c (l64a): Likewise.
6763         * stdlib/llabs.c (llabs): Likewise.
6764         * stdlib/lldiv.c (lldiv): Likewise.
6765         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6766         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6767         * stdlib/putenv.c (putenv): Likewise.
6768         * stdlib/random.c (__srandom): Likewise.
6769         (__initstate): Likewise.
6770         (__setstate): Likewise.
6771         * stdlib/random_r.c (__srandom_r): Likewise.
6772         (__setstate_r): Likewise.
6773         (__random_r): Likewise.
6774         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6775         * stdlib/setcontext.c (setcontext): Likewise.
6776         * stdlib/setenv.c (setenv): Likewise.
6777         (unsetenv): Likewise.
6778         * stdlib/srand48.c (srand48): Likewise.
6779         * stdlib/srand48_r.c (__srand48_r): Likewise.
6780         * stdlib/swapcontext.c (swapcontext): Likewise.
6781         * stdlib/system.c (__libc_system): Likewise.
6782         * stdlib/tst-strtod.c (expand): Likewise.
6783         * stdlib/tst-strtol.c (expand): Likewise.
6784         * stdlib/tst-strtoll.c (expand): Likewise.
6785         * streams/fattach.c (fattach): Likewise.
6786         * streams/fdetach.c (fdetach): Likewise.
6787         * streams/getmsg.c (getmsg): Likewise.
6788         * streams/isastream.c (isastream): Likewise.
6789         * string/ffs.c (__ffs): Likewise.
6790         * string/ffsll.c (ffsll): Likewise.
6791         * string/memcmp.c (memcmp_common_alignment): Likewise.
6792         (memcmp_not_common_alignment): Likewise.
6793         (MEMCMP): Likewise.
6794         * string/memcpy.c (memcpy): Likewise.
6795         * string/memmove.c (MEMMOVE): Likewise.
6796         * string/memset.c (memset): Likewise.
6797         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6798         * string/strchrnul.c (STRCHRNUL): Likewise.
6799         * string/strerror.c (strerror): Likewise.
6800         * string/strndup.c (__strndup): Likewise.
6801         * string/strverscmp.c (__strverscmp): Likewise.
6802         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6803         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6804         (clnttcp_freeres): Likewise.
6805         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6806         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6807         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6808         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6809         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6810         (xdr_callhdr): Likewise.
6811         * sunrpc/rpcinfo.c (udpping): Likewise.
6812         (tcpping): Likewise.
6813         (pstatus): Likewise.
6814         (pmapdump): Likewise.
6815         (brdcst): Likewise.
6816         (deletereg): Likewise.
6817         (getprognum): Likewise.
6818         (getvers): Likewise.
6819         (get_inet_address): Likewise.
6820         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6821         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6822         (svcudp_stat): Likewise.
6823         (svcudp_recv): Likewise.
6824         (svcudp_reply): Likewise.
6825         (svcudp_getargs): Likewise.
6826         (svcudp_freeargs): Likewise.
6827         (svcudp_destroy): Likewise.
6828         * sunrpc/xdr.c (xdr_bytes): Likewise.
6829         (xdr_netobj): Likewise.
6830         (xdr_string): Likewise.
6831         (xdr_wrapstring): Likewise.
6832         * sunrpc/xdr_float.c (xdr_float): Likewise.
6833         (xdr_double): Likewise.
6834         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6835         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6836         * sysvipc/ftok.c (ftok): Likewise.
6837         * sysvipc/msgctl.c (msgctl): Likewise.
6838         * sysvipc/msgget.c (msgget): Likewise.
6839         * sysvipc/msgrcv.c (msgrcv): Likewise.
6840         * sysvipc/msgsnd.c (msgsnd): Likewise.
6841         * sysvipc/semget.c (semget): Likewise.
6842         * sysvipc/semop.c (semop): Likewise.
6843         * sysvipc/shmat.c (shmat): Likewise.
6844         * sysvipc/shmctl.c (shmctl): Likewise.
6845         * sysvipc/shmdt.c (shmdt): Likewise.
6846         * sysvipc/shmget.c (shmget): Likewise.
6847         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6848         * termios/speed.c (cfgetospeed): Likewise.
6849         (cfgetispeed): Likewise.
6850         (cfsetospeed): Likewise.
6851         (cfsetispeed): Likewise.
6852         * termios/tcflow.c (tcflow): Likewise.
6853         * termios/tcflush.c (tcflush): Likewise.
6854         * termios/tcgetattr.c (__tcgetattr): Likewise.
6855         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6856         * termios/tcgetsid.c (tcgetsid): Likewise.
6857         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6858         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6859         * time/adjtime.c (__adjtime): Likewise.
6860         * time/dysize.c (dysize): Likewise.
6861         * time/ftime.c (ftime): Likewise.
6862         * time/getitimer.c (__getitimer): Likewise.
6863         * time/gettimeofday.c (__gettimeofday): Likewise.
6864         * time/gmtime.c (__gmtime_r): Likewise.
6865         (gmtime): Likewise.
6866         * time/localtime.c (__localtime_r): Likewise.
6867         (localtime): Likewise.
6868         * time/offtime.c (__offtime): Likewise.
6869         * time/settimeofday.c (__settimeofday): Likewise.
6870         * time/stime.c (stime): Likewise.
6871         * time/strftime_l.c (tm_diff): Likewise.
6872         (iso_week_days): Likewise.
6873         * time/strptime.c (strptime): Likewise.
6874         * time/time.c (time): Likewise.
6875         * time/timespec_get.c (timespec_get): Likewise.
6876         * time/tzset.c (tzset_internal): Likewise.
6877         (compute_change): Likewise.
6878         (__tz_compute): Likewise.
6879         * wcsmbs/btowc.c (__btowc): Likewise.
6880         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6881         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6882         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6883         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6884         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6885         * wcsmbs/wcscat.c (__wcscat): Likewise.
6886         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6887         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6888         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6889         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6890         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6891         * wcsmbs/wcslen.c (__wcslen): Likewise.
6892         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6893         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6894         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6895         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6896         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6897         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6898         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6899         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6900         * wcsmbs/wcstok.c (wcstok): Likewise.
6901         * wcsmbs/wctob.c (wctob): Likewise.
6902         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6903         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6904         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6905         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6906         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6907         * wcsmbs/wmemset.c (__wmemset): Likewise.
6908         * wctype/wcfuncs.c (__towlower): Likewise.
6909         (__towupper): Likewise.
6911         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6912         (lll_unlock_elision): Add adapt_count parameter.
6914 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6916         * sysdeps/nptl/configure.ac: Do not give errors based on the
6917         results of top-level configure tests.
6918         * sysdeps/nptl/configure: Regenerated.
6920         * configure.ac (libc_cv_Bgroup): Remove configure test.
6921         * configure: Regenerated.
6922         * config.make.in (have-Bgroup): Remove variable.
6924         * configure.ac (sizeof_long_double): Remove configure test.
6925         * configure: Regenerated.
6926         * config.make.in (sizeof-long-double): Remove variable.
6928         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6929         * configure: Regenerated.
6930         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6931         variable.
6932         (exceptions): Likewise.
6933         * sysdeps/arm/configure: Regenerated.
6934         * config.make.in (exceptions): Remove variable.
6935         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6936         $(exceptions).
6937         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6938         (CFLAGS-vdprintf_chk.c): Likewise.
6939         (CFLAGS-printf_chk.c): Likewise.
6940         (CFLAGS-fprintf_chk.c): Likewise.
6941         (CFLAGS-vprintf_chk.c): Likewise.
6942         (CFLAGS-vfprintf_chk.c): Likewise.
6943         (CFLAGS-gets_chk.c): Likewise.
6944         (CFLAGS-fgets_chk.c): Likewise.
6945         (CFLAGS-fgets_u_chk.c): Likewise.
6946         (CFLAGS-fread_chk.c): Likewise.
6947         (CFLAGS-fread_u_chk.c): Likewise.
6948         (CFLAGS-wprintf_chk.c): Likewise.
6949         (CFLAGS-fwprintf_chk.c): Likewise.
6950         (CFLAGS-vwprintf_chk.c): Likewise.
6951         (CFLAGS-vfwprintf_chk.c): Likewise.
6952         (CFLAGS-fgetws_chk.c): Likewise.
6953         (CFLAGS-fgetws_u_chk.c): Likewise.
6954         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6955         (CFLAGS-fputc.c): Likewise.
6956         (CFLAGS-fputwc.c): Likewise.
6957         (CFLAGS-freopen64.c): Likewise.
6958         (CFLAGS-freopen.c): Likewise.
6959         (CFLAGS-fseek.c): Likewise.
6960         (CFLAGS-fseeko64.c): Likewise.
6961         (CFLAGS-fseeko.c): Likewise.
6962         (CFLAGS-ftello64.c): Likewise.
6963         (CFLAGS-ftello.c): Likewise.
6964         (CFLAGS-fwide.c): Likewise.
6965         (CFLAGS-genops.c): Likewise.
6966         (CFLAGS-getc.c): Likewise.
6967         (CFLAGS-getchar.c): Likewise.
6968         (CFLAGS-getwc.c): Likewise.
6969         (CFLAGS-getwchar.c): Likewise.
6970         (CFLAGS-iofclose.c): Likewise.
6971         (CFLAGS-iofflush.c): Likewise.
6972         (CFLAGS-iofgetpos64.c): Likewise.
6973         (CFLAGS-iofgetpos.c): Likewise.
6974         (CFLAGS-iofgets.c): Likewise.
6975         (CFLAGS-iofgetws.c): Likewise.
6976         (CFLAGS-iofputs.c): Likewise.
6977         (CFLAGS-iofputws.c): Likewise.
6978         (CFLAGS-iofread.c): Likewise.
6979         (CFLAGS-iofsetpos64.c): Likewise.
6980         (CFLAGS-iofsetpos.c): Likewise.
6981         (CFLAGS-ioftell.c): Likewise.
6982         (CFLAGS-iofwrite.c): Likewise.
6983         (CFLAGS-iogetdelim.c): Likewise.
6984         (CFLAGS-iogetline.c): Likewise.
6985         (CFLAGS-iogets.c): Likewise.
6986         (CFLAGS-iogetwline.c): Likewise.
6987         (CFLAGS-ioputs.c): Likewise.
6988         (CFLAGS-ioseekoff.c): Likewise.
6989         (CFLAGS-ioseekpos.c): Likewise.
6990         (CFLAGS-iosetbuffer.c): Likewise.
6991         (CFLAGS-iosetvbuf.c): Likewise.
6992         (CFLAGS-ioungetc.c): Likewise.
6993         (CFLAGS-ioungetwc.c): Likewise.
6994         (CFLAGS-oldfileops.c): Likewise.
6995         (CFLAGS-oldiofclose.c): Likewise.
6996         (CFLAGS-oldiofgetpos64.c): Likewise.
6997         (CFLAGS-oldiofgetpos.c): Likewise.
6998         (CFLAGS-oldiofsetpos64.c): Likewise.
6999         (CFLAGS-oldiofsetpos.c): Likewise.
7000         (CFLAGS-peekc.c): Likewise.
7001         (CFLAGS-putc.c): Likewise.
7002         (CFLAGS-putchar.c): Likewise.
7003         (CFLAGS-putwc.c): Likewise.
7004         (CFLAGS-putwchar.c): Likewise.
7005         (CFLAGS-rewind.c): Likewise.
7006         (CFLAGS-wfileops.c): Likewise.
7007         (CFLAGS-wgenops.c): Likewise.
7008         (CFLAGS-oldiofopen.c): Likewise.
7009         (CFLAGS-iofopen.c): Likewise.
7010         (CFLAGS-iofopen64.c): Likewise.
7011         (CFLAGS-oldtmpfile.c): Likewise.
7012         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7013         (CFLAGS-fprintf.c): Likewise.
7014         (CFLAGS-printf.c): Likewise.
7015         (CFLAGS-vfwprintf.c): Likewise.
7016         (CFLAGS-vfscanf.c): Likewise.
7017         (CFLAGS-vfwscanf.c): Likewise.
7018         (CFLAGS-fscanf.c): Likewise.
7019         (CFLAGS-scanf.c): Likewise.
7020         (CFLAGS-isoc99_vfscanf.c): Likewise.
7021         (CFLAGS-isoc99_vscanf.c): Likewise.
7022         (CFLAGS-isoc99_fscanf.c): Likewise.
7023         (CFLAGS-isoc99_scanf.c): Likewise.
7024         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7025         (CFLAGS-isoc99_fwscanf.c): Likewise.
7026         (CFLAGS-isoc99_vwscanf.c): Likewise.
7027         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7029         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7030         after mkstemp64.
7031         * login/tst-utmp.c (do_prepare): Likewise.
7032         * rt/tst-aio.c (do_prepare): Likewise.
7033         * rt/tst-aio64.c (do_prepare): Likewise.
7035 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7037         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7038         (__lll_lock_elision): Remove adapt_count decrement...
7039         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7040         (__lll_trylock_elision): Likewise.
7041         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7042         (__lll_unlock_elision): ... to here. And utilize
7043         new adapt_count parameter.
7044         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7045         (__lll_unlock_elision): Update to include adapt_count
7046         parameter.
7047         (lll_unlock_elision): Pass pointer to adapt_count
7048         variable.
7050 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7052         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7053         Add elision adapt_count parameter to list of arguments.
7054         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7055         (lll_unlock_elision): Update with new parameter list
7056         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7057         (lll_unlock_elision): Likewise.
7058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7059         (lll_unlock_elision): Likewise.
7061 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7063         [BZ #19122]
7064         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7065         attribute_hidden.
7067         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7068         attribute_hidden.
7069         [IS_IN (rtld)] (__strdup): Likewise.
7070         [IS_IN (rtld)] (__strerror_r): Likewise.
7071         [IS_IN (rtld)] (__strsep_g): Likewise.
7072         [IS_IN (rtld)] (memchr): Likewise.
7073         [IS_IN (rtld)] (memcmp): Likewise.
7074         [IS_IN (rtld)] (memcpy): Likewise.
7075         [IS_IN (rtld)] (memmove): Likewise.
7076         [IS_IN (rtld)] (memset): Likewise.
7077         [IS_IN (rtld)] (rawmemchr): Likewise.
7078         [IS_IN (rtld)] (stpcpy): Likewise.
7079         [IS_IN (rtld)] (strchr): Likewise.
7080         [IS_IN (rtld)] (strcmp): Likewise.
7081         [IS_IN (rtld)] (strlen): Likewise.
7082         [IS_IN (rtld)] (strnlen): Likewise.
7083         [IS_IN (rtld)] (strsep): Likewise.
7085         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7086         attribute_hidden.
7087         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7089         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7090         attribute_hidden.
7091         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7093         * include/setjmp.h (__longjmp): Add attribute_hidden.
7094         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7096         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7097         Add attribute_hidden.
7099         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7100         [IS_IN (rtld)] (__open): Likewise.
7101         [IS_IN (rtld)] (__fcntl): Likewise.
7103         * include/dirent.h (__opendirat): Add attribute_hidden.
7104         (__getdents): Likewise.
7105         (__getdents64): Likewise.
7106         (__alloc_dir): Likewise.
7107         [IS_IN (rtld)] (__closedir): Likewise.
7108         [IS_IN (rtld)] (__fdopendir): Likewise.
7109         [IS_IN (rtld)] (__readdir): Likewise.
7110         [IS_IN (rtld)] (__readdir64): Likewise.
7111         [IS_IN (rtld)] (__rewinddir): Likewise.
7113         * include/dlfcn.h (_dl_catch_error): Moved to ...
7114         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7115         attribute_hidden.
7117         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7118         (_itoa_word): Likewise.
7120         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7121         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7122         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7123         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7124         (_dl_higher_prime_number): Likewise.
7125         (_dl_debug_printf_c): Likewise.
7126         (_dl_signal_cerror): Likewise.
7127         (_dl_receive_error): Likewise.
7128         (_dl_reloc_bad_type): Likewise.
7129         (_dl_resolve_conflicts): Likewise.
7130         (_dl_check_all_versions): Likewise.
7131         (_dl_check_map_versions): Likewise.
7132         (_dl_sort_fini): Likewise.
7133         (_dl_debug_initialize): Likewise.
7134         (_dl_init_paths): Likewise.
7135         (_dl_show_auxv): Likewise.
7136         (_dl_next_ld_env_entry): Likewise.
7137         (_dl_important_hwcaps): Likewise.
7138         (_dl_load_cache_lookup): Likewise.
7139         (_dl_update_slotinfo): Likewise.
7140         (_dl_show_scope): Likewise.
7142         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7143         attribute_hidden.
7144         (_wordcopy_fwd_dest_aligned): Likewise.
7145         (_wordcopy_bwd_aligned): Likewise.
7146         (_wordcopy_bwd_dest_aligned): Likewise.
7148         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7149         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7150         Likewise.
7151         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7152         Likewise.
7153         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7155 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7158         GCC 5 requirement.
7160 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7162         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7163         test.
7164         * sysdeps/i386/configure: Regenerated.
7165         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7166         code unconditional.
7168         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7169         test.
7170         (libc_cv_asm_popsection_directive): Likewise.
7171         * configure: Regenerated.
7172         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7173         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7174         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7175         (__make_section_unallocated): Make definition unconditional.
7176         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7177         Remove conditional definition.
7178         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7179         (__make_section_unallocated): Likewise.
7181         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7182         * configure: Regenerated.
7183         * config.make.in (static-libgcc): Remove variable.
7184         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7185         $(static-libgcc).
7186         (build-module-helper): Likewise.
7188         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7189         * configure: Regenerated.
7191 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7193         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7194         (struct char_buffer): New type.
7195         (char_buffer_start, char_buffer_size, char_buffer_error)
7196         (char_buffer_rewind, char_buffer_add): New functions.
7197         (ADDW): Remove macro, replaced by the char_buffer_add function.
7198         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7199         of extend_alloca.  Make control flow more explicit.
7201 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7203         [BZ #19137]
7204         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7205         Add -fomit-frame-pointer.
7206         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7208 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7210         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7211         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7212         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7213         only if !__GNUC_PREREQ (5,0).
7214         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7215         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7216         (INTERNAL_SYSCALL_NCS): Likewise.
7217         (LOADREGS_0): New macro for GCC 5.
7218         (ASMARGS_0): Likewise.
7219         (LOADREGS_1): Likewise.
7220         (ASMARGS_1): Likewise.
7221         (LOADREGS_2): Likewise.
7222         (ASMARGS_2): Likewise.
7223         (LOADREGS_3): Likewise.
7224         (ASMARGS_3): Likewise.
7225         (LOADREGS_4): Likewise.
7226         (ASMARGS_4): Likewise.
7227         (LOADREGS_5): Likewise.
7228         (ASMARGS_5): Likewise.
7229         (LOADREGS_6): Likewise.
7230         (ASMARGS_6): Likewise.
7232 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7234         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7235         -fomit-frame-pointer.
7236         (CFLAGS-mmap64.c): Likewise.
7237         (CFLAGS-semtimedop.c): Likewise.
7238         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7239         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7240         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7241         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7243 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7245         [BZ #18928]
7246         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7247         _dl_pointer_guard member.
7248         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7249         initializer.
7250         (security_init): Always set up pointer guard.
7251         (process_envvars): Do not process LD_POINTER_GUARD.
7253 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7255         [BZ #19134]
7256         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7257         (.LC2): Likewise.
7258         (.LC3): Likewise.
7259         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7261 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7263         [BZ #19129]
7264         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7265         r0 and r1.
7267 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7269         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7271 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7273         * include/stap-probe.h: Fix macro definition formatting.
7275 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7277         [BZ #19074]
7278         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7279         load and store num_ifs.
7281 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7283         [BZ #18822]
7284         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7285         (__sched_getaffinity_new): Add libc_hidden_proto and
7286         libc_hidden_def.
7288 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7290         [BZ #19007]
7291         * scripts/localplt.awk: Also allow GOT references.
7292         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7293         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7294         with "+ REL R_386_GLOB_DAT".
7295         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7296         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7298 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7300         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7301         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7302         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7303         Likewise.
7304         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7305         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7306         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7307         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7308         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7309         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7310         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7311         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7312         Likewise.
7313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7315 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7317         [BZ #19125]
7318         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7319         <math_private.h> and <stdint.h>.
7320         (__llround): Avoid conversions to and from long long int, and
7321         subtractions, where those might raise spurious exceptions.
7322         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7323         <math_private.h> and <stdint.h>.
7324         (__llroundf): Avoid conversions to and from long long int, and
7325         subtractions, where those might raise spurious exceptions.
7327 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7329         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7330         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7331         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7332         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7333         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7334         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7335         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7336         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7337         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7338         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7339         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7340         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7341         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7342         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7343         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7344         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7345         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7346         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7347         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7348         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7349         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7350         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7351         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7352         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7353         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7354         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7355         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7356         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7357         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7358         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7359         (__xstat64_conv): Likewise.
7360         (__xstat32_conv): Likewise.
7362 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7364         * sysdeps/unix/sysv/linux/sysdep.h: New file.
7365         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7366         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7367         <sysdeps/unix/sysv/linux/sysdep.h>.
7368         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7369         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7370         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7371         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7372         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7373         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7374         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7375         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7376         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7382         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7384         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7385         (sysdep-dl-routines): Add sysdep.
7386         [$(subdir) == nptl] (libpthread-routines): Likewise.
7387         [$(subdir) == rt] (librt-routines): Likewise.
7388         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7389         PIC when branching to SYSCALL_ERROR_LABEL.
7390         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7392         <sysdeps/unix/sysv/linux/sysdep.h>.
7393         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7394         (SYSCALL_ERROR_ERRNO): Removed.
7395         (SYSCALL_ERROR_HANDLER): Changed to empty.
7396         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7397         (__syscall_error): New prototype.
7398         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7399         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7401 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7403         [BZ #19124]
7404         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7405         (_dl_runtime_resolve_avx512): Make it a hidden alias of
7406         _dl_runtime_resolve_avx.
7407         (_dl_runtime_profile_avx512): Make it a hidden alias of
7408         _dl_runtime_profile_avx.
7410 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7412         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7413         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7414         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7415         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7417         [BZ #16422]
7418         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7419         New configure test.
7420         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7421         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7422         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7423         <math_private.h> and <stdint.h>.
7424         (__llrint): Avoid conversions to long long int where those might
7425         raise spurious exceptions.
7426         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7427         <math_private.h> and <stdint.h>.
7428         (__llrintf): Avoid conversions to long long int where those might
7429         raise spurious exceptions.
7431 2015-10-12  Andreas Schwab  <schwab@suse.de>
7433         [BZ #18969]
7434         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7435         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7436         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7437         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7438         $(gen-locales).
7439         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7440         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7441         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7442         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7443         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7444         $(gen-locales).
7445         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7446         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7447         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7448         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7449         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7450         ($(objpfx)tst-ftell-active-handler.out)
7451         ($(objpfx)tst-ftell-append.out)
7452         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7453         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7454         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7455         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7456         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7457         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7458         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7459         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7460         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7461         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7462         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7463         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7464         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7465         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7466         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7467         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7468         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7469         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7470         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7471         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7472         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7473         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7474         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7475         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7476         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7477         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7478         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7479         $(gen-locales).
7480         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7481         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7482         $(gen-locales).
7483         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7484         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7485         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7486         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7487         $(gen-locales).
7488         * libio/tst_wprintf2.c (main): Use explicit locale.
7489         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7491 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7493         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7494         __msg_sig_post.
7495         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7497 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7499         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7500         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7502         * sysdeps/arm/libm-test-ulps: Regenerated.
7504         [BZ #15470]
7505         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7507         [BZ #16399]
7508         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7509         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7510         and <fix-fp-int-convert-overflow.h>.
7511         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7512         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7513         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7514         and <fix-fp-int-convert-overflow.h>.
7515         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7516         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7517         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7518         <fix-fp-int-convert-overflow.h>.
7519         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7520         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7521         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7522         <fix-fp-int-convert-overflow.h>.
7523         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7524         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7525         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7526         and <fix-fp-int-convert-overflow.h>.
7527         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7528         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7529         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7530         <limits.h> and <fix-fp-int-convert-overflow.h>.
7531         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7532         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7533         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7534         and <fix-fp-int-convert-overflow.h>.
7535         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7536         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7537         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7538         and <fix-fp-int-convert-overflow.h>.
7539         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7540         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7541         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7543 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7545         [BZ #18589]
7546         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7547         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7548         $(gen-locales).
7550 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7551             Phil Blundell <pb@pbcl.net>
7553         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7554         * nptl/tst-cancel26.c: New file.
7555         * nptl/tst-cancel27.c: Likewise.
7557 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7559         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7560         __ILP32__ isn't defined.
7561         (lrint): Likewise.
7562         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7563         (lrintf): Likewise.
7564         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7565         (lrintl): Likewise.
7566         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7567         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7568         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7570 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7572         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7573         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7575         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7576         file.
7577         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7578         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7580 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7582         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7583         configure test.
7584         * sysdeps/i386/configure: Regenerated.
7585         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7586         configure test.
7587         * sysdeps/x86_64/configure: Regenerated.
7588         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7589         Make code unconditional.
7591         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7592         test.
7593         * sysdeps/i386/configure: Regenerated.
7594         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7595         test.
7596         * sysdeps/x86_64/configure: Regenerated.
7597         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7598         Make code unconditional.
7599         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7600         Likewise.
7601         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7602         Likewise.
7603         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7604         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7605         code unconditional.
7606         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7607         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7608         code unconditional.
7609         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7610         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7611         code unconditional.
7612         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7613         code unconditional.
7614         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7615         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7616         code unconditional.
7617         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7618         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7619         code unconditional.
7620         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7621         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7622         code unconditional.
7623         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7624         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7625         code unconditional.
7626         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7627         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7629         [BZ #19095]
7630         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7631         mantissa to long int before shifting left.
7633 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7635         [BZ #19094]
7636         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7637         <limits.h>.
7638         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7639         when result overflows but exception would not result from cast.
7640         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7641         <limits.h>.
7642         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7643         when result overflows but exception would not result from cast.
7644         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7645         <limits.h>.
7646         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7647         when result overflows but exception would not result from cast.
7648         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7649         <limits.h>.
7650         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7651         when result overflows but exception would not result from cast.
7652         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7653         <limits.h>.
7654         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7655         when result overflows but exception would not result from cast.
7656         * math/libm-test.inc (lrint_test_data): Add more tests.
7657         (llrint_test_data): Likewise.
7659 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7661         [BZ #18872]
7662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7663         Move out from under [$(run-built-tests) = yes] conditional.
7664         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7665         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7667 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7669         [BZ #18589]
7670         * string/Makefile (tests): Add bug-strcoll2.
7671         (LOCALES): Add cs_CZ.UTF-8.
7672         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7674         [BZ #18589]
7675         * string/bug-strcoll2.c: New file.
7676         * locale/categories.def: Revert commit
7677         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7678         * locale/langinfo.h: Likewise.
7679         * locale/localeinfo.h: Likewise.
7680         * locale/C-collate.c: Likewise.
7681         * locale/programs/ld-collate.c (collate_output): Likewise.
7682         * string/strcoll_l.c (STRDIFF): Likewise.
7683         (STRCOLL): Likewise.
7684         * wcsmbs/wcscoll_l.c: Likewise.
7686 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7688         * math/libm-test.inc (lround_test_data): Do not expect the absence
7689         of "inexact" for some tests with non-integer arguments.
7690         (llround_test_data): Likewise.
7692         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7693         test.
7694         (libc_cv_cc_sse2avx): Likewise.
7695         * sysdeps/i386/configure: Regenerated.
7696         * sysdeps/i386/i686/multiarch/Makefile
7697         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7698         [$(subdir) = math].
7699         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7700         code unconditional.
7701         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7702         Likewise.
7703         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7704         Likewise.
7705         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7706         Likewise.
7707         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7708         test.
7709         (libc_cv_cc_sse2avx): Likewise.
7710         * sysdeps/x86_64/configure: Regenerated.
7711         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7712         unconditional.
7713         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7714         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7715         unconditional.
7716         (_dl_runtime_profile)
7717         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7718         conditional code.
7719         * sysdeps/x86_64/fpu/multiarch/Makefile
7720         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7722         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7723         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7724         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7725         * sysdeps/x86_64/fpu/multiarch/e_log.c
7726         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7727         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7728         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7729         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7730         Likewise.
7731         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7732         Likewise.
7733         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7734         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7735         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7736         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7737         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7738         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7739         (HAVE_SSE2AVX_SUPPORT): Likewise.
7741 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7743         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7744         instead of #pragma optimize.
7746 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7748         [BZ #17195]
7749         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7750         as is similarly done in systrim and _int_free already.
7752 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7754         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7756 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7758         [BZ #19088]
7759         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7760         <limits.h>.
7761         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7762         overflows but exception would not result from cast.
7763         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7764         and <limits.h>.
7765         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7766         overflows but exception would not result from cast.
7767         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7768         <limits.h>.
7769         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7770         overflows but exception would not result from cast.
7771         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7772         <limits.h>.
7773         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7774         overflows but exception would not result from cast.
7775         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7776         <limits.h>.
7777         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7778         overflows but exception would not result from cast.
7779         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7780         <limits.h>.
7781         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7782         overflows but exception would not result from cast.
7783         * math/libm-test.inc (lround_test_data): Add more tests.
7784         (llround_test_data): Likewise.
7786 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7788         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7789         (CFLAGS-ialloc.c): Ditto.
7790         (CFLAGS-scheck.c): Ditto.
7792 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7794         [BZ #19086]
7795         * manual/filesys.texi (Storage Allocation): Fix argument order for
7796         posix_fallocate64.
7798 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7800         [BZ #19085]
7801         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7802         exponent below 48 inside case for non-overflowing exponent.
7803         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7805 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7807         * iconvdata/cp737.h (from_idx): Add const.
7808         * iconvdata/cp775.h (from_idx): Likewise.
7810 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7812         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7813         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7814         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7816         [BZ #19079]
7817         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7818         file, conditioned on [!_LP64].
7819         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7820         [!_LP64] (__lround): Do not define as function or alias.
7821         [!_LP64] (lround): Likewise.
7822         [!_LP64] (__lroundl): Likewise.
7823         [!_LP64] (lroundl): Likewise.
7824         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7825         macro.
7826         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7827         Likewise.
7829 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7831         * math/libm-test.inc (lrint_test_data): Add more tests.
7832         (llrint_test_data): Likewise.
7833         (lround_test_data): Likewise.
7834         (llround_test_data): Likewise.
7836         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7837         (llrint_test_data): Add tests used for lrint.
7839         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7840         test.
7841         * sysdeps/i386/configure: Regenerated.
7842         * sysdeps/i386/i686/multiarch/Makefile
7843         [$(config-cflags-sse4) = yes]: Make code unconditional.
7844         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7845         Likewise.
7846         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7847         Likewise.
7848         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7849         test.
7850         * sysdeps/x86_64/configure: Regenerated.
7851         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7852         Make code unconditional.
7853         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7854         Likewise.
7855         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7856         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7858         * scripts/rpm2dynsym.sh: Remove file.
7860 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7862         * configure.ac (libc_cv_cxx_thread_local): Define.
7863         * configure: Regenerate.
7864         * config.make.in (have-cxx-thread_local): Define.
7865         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7866         (LDLIBS-tst-thread_local1): Define.
7867         (tests): Add tst-thread_local1.
7868         [have-cxx-thread_local != yes] (tests-unsupported): Add
7869         tst-thread_local1.
7870         * nptl/tst-thread_local1.cc: New file.
7872 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7874         [BZ #19078]
7875         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7876         (u_thres): Likewise.
7877         (__expl): Determine whether to call __kernel_standard_l based on
7878         value of result, not argument.
7880         * math/libm-test.inc (scalb_test_data): Add more expectations for
7881         the "inexact" exception.
7883         [BZ #19077]
7884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7885         0.0L for argument 1.0L.
7887         [BZ #19076]
7888         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7889         constant 0.0L when computing infinite result.
7891 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7893         [BZ #10432]
7894         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7895         malloc_usable_size.
7897 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7899         [BZ #19018]
7900         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7901         Mangle function pointer before storing it.
7902         (__call_tls_dtors): Demangle function pointer before calling it.
7904 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7906         [BZ #19012]
7907         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7908         Clean up on failure.
7910 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7912         [BZ #19071]
7913         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7914         long int variable to store possibly incremented high part of
7915         mantissa.
7916         * math/libm-test.inc (lround_test_data): Add tests used for
7917         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7918         for tests requiring 64-bit long.  Do not condition tests on
7919         [TEST_FLOAT] unnecessarily.
7920         (llround_test_data): Add tests used for lround.  Add another
7921         expectation for the "inexact" exception.  Do not condition tests
7922         on [TEST_FLOAT] unnecessarily.
7924         [BZ #887]
7925         [BZ #19049]
7926         [BZ #19050]
7927         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7928         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7929         <fix-int-fp-convert-zero.h>.
7930         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7931         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7932         <fix-int-fp-convert-zero.h>.
7933         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7934         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7935         <fix-int-fp-convert-zero.h>.
7936         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7937         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7938         <fix-int-fp-convert-zero.h>.
7939         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7940         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7941         <fix-int-fp-convert-zero.h>.
7942         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7943         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7944         <fix-int-fp-convert-zero.h>.
7945         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7946         * sysdeps/ieee754/flt-32/s_erff.c: Include
7947         <fix-int-fp-convert-zero.h>.
7948         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7949         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7950         <fix-int-fp-convert-zero.h>.
7951         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7953         <fix-int-fp-convert-zero.h>.
7954         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7956         <fix-int-fp-convert-zero.h>.
7957         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7958         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7959         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7960         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7961         file.
7962         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7964 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7966         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7968 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7970         [BZ #19059]
7971         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7972         overflowing computation.
7973         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7974         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7975         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7976         Likewise.
7977         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7978         Likewise.
7979         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7980         Likewise.
7981         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7982         Likewise.
7983         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7985         Likewise.
7986         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7987         Likewise.
7988         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7990         * nss/rewrite_field.c (__nss_rewrite_field): Use
7991         internal_function.
7992         * nss/valid_field.c (__nss_valid_field): Likewise.
7993         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7995 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7997         [BZ #18724]
7998         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7999         (__nss_invalid_field_characters, __nss_valid_field)
8000         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8001         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8002         tst-field.c: New file.
8003         * nss/Makefile (routines): Add valid_field, rewrite_field.
8004         (tests-static): Define unconditionally.
8005         (tests): Include tests-static.
8006         [build-static-nss] (tests-static): Use append.
8007         [build-static-nss] (tests): Remove modification.
8008         * nss/getent.c (print_group): Call putgrent.  Report error.
8009         (print_gshadow): Call putsgent.  Report error.
8010         (print_passwd): Call putpwent.  Report error.
8011         (print_shadow): Call putspent.  Report error.
8012         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8013         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8014         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8015         name, password, directory, shell fields for valid syntax.  Rewrite
8016         GECOS field to match syntax.
8017         * pwd/Makefile (tests): Add tst-putpwent.
8018         * pwd/tst-putpwent.c: New file.
8019         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8020         Check grName, grpasswd, gr_mem fields for valid syntax.
8021         Change loop variable i to size_t.
8022         * grp/Makefile (tests): Add tst-putgrent.
8023         * grp/tst-putgrent.c: New file.
8024         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8025         valid syntax.
8026         * shadow/Makefile (tests): Add tst-putspent.
8027         * shadow/tst-putspent.c: New file.
8028         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8029         sg_mem fields for valid syntax.
8030         * gshadow/Makefile (tests): Add tst-putsgent.
8031         * gshadow/tst-putsgent.c: New file.
8033 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8035         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8036         assembly instructions.
8038 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8040         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8041         prefix from operands.
8043 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #16347]
8046         [BZ #19046]
8047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8048         <libc-internal.h>.
8049         (MAXLGM): Do not use diagnostic control macros.
8050         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8051         threshold for ldbl-128ibm.
8052         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8053         instead of multiplying by log then subtracting.
8054         * math/auto-libm-test-in: Add more tests of lgamma.
8055         * math/auto-libm-test-out: Regenerated.
8057         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8058         (TYPE_HEX_DIG): Likewise.
8059         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8060         precisions when printing floating-point numbers.
8061         (check_float_internal): Likewise.
8063 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8065         [BZ #16620]
8066         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8067         of log (10) rounded downward to 48 bits.
8068         (log10_low): Use corresponding low part of log (10).
8070         [BZ #19032]
8071         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8072         compute result as (x - x) / (x - x) not as 0 / 0.
8073         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8074         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8076         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8077         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8078         and expm1.
8079         * math/auto-libm-test-out: Regenerated.
8080         * math/libm-test.inc (acos_test_data): Add more tests.
8081         (asin_test_data): Likewise.
8082         (asinh_test_data): Likewise.
8083         (atan_test_data): Likewise.
8084         (atanh_test_data): Likewise.
8085         (atan2_test_data): Likewise.
8086         (cbrt_test_data): Likewise.
8087         (ceil_test_data): Likewise.
8088         (copysign_test_data): Likewise.
8089         (cos_test_data): Likewise.
8090         (cosh_test_data): Likewise.
8091         (erf_test_data): Likewise.
8092         (erfc_test_data): Likewise.
8093         (exp_test_data): Likewise.
8094         (exp10_test_data): Likewise.
8095         (exp2_test_data): Likewise.
8096         (expm1_test_data): Likewise.
8097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8099 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8101         [BZ #19006]
8102         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8103         to ...
8104         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8105         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8106         to ...
8107         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8108         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8109         to ...
8110         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8111         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8112         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8113         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8114         to ...
8115         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8116         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8117         Moved to ...
8118         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8120         Moved to ...
8121         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8122         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8123         to ...
8124         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8126         Moved to ...
8127         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8128         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8129         to ...
8130         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8131         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8132         Removed.
8133         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8134         Likewise.
8135         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8136         Likewise.
8137         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8138         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8139         Likewise.
8140         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8141         Likewise.
8142         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8143         Likewise.
8144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8145         Likewise.
8146         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8147         Likewise.
8148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8149         Likewise.
8150         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8151         Likewise.
8152         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8153         Likewise.
8154         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8155         Likewise.
8156         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8157         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8158         Likewise.
8159         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8160         Likewise.
8161         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8162         Likewise.
8163         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8164         Likewise.
8165         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8166         Likewise.
8167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8168         Replace ../i486/pthread_cond_timedwait.S with
8169         ../pthread_cond_timedwait.S.
8171 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8173         * math/libm-test.inc (acos_test_data): Refine expectations for
8174         errno and "inexact" exceptions.
8175         (acosh_test_data): Likewise.
8176         (asin_test_data): Likewise.
8177         (asinh_test_data): Likewise.
8178         (atan_test_data): Likewise.
8179         (atanh_test_data): Likewise.
8180         (atan2_test_data): Likewise.
8181         (cbrt_test_data): Likewise.
8182         (ceil_test_data): Likewise.
8183         (copysign_test_data): Likewise.
8184         (cosh_test_data): Likewise.
8185         (erf_test_data): Likewise.
8186         (erfc_test_data): Likewise.
8187         (exp_test_data): Likewise.
8188         (exp10_test_data): Likewise.
8189         (exp2_test_data): Likewise.
8190         (expm1_test_data): Likewise.
8191         (fabs_test_data): Likewise.
8192         (floor_test_data): Likewise.
8193         (fma_test_data): Likewise.
8194         (fmax_test_data): Likewise.
8195         (fmin_test_data): Likewise.
8196         (fmod_test_data): Likewise.
8197         (fpclassify_test_data): Likewise.
8198         (frexp_test_data): Likewise.
8199         (hypot_test_data): Likewise.
8200         (ilogb_test_data): Likewise.
8201         (isgreater_test_data): Likewise.
8202         (isgreaterequal_test_data): Likewise.
8203         (isinf_test_data): Likewise.
8204         (isless_test_data): Likewise.
8205         (islessequal_test_data): Likewise.
8206         (islessgreater_test_data): Likewise.
8207         (isnan_test_data): Likewise.
8208         (isnormal_test_data): Likewise.
8209         (issignaling_test_data): Likewise.
8210         (isunordered_test_data): Likewise.
8211         (j0_test_data): Likewise.
8212         (j1_test_data): Likewise.
8213         (jn_test_data): Likewise.
8214         (lgamma_test_data): Likewise.
8215         (lrint_test_data): Likewise.
8216         (llrint_test_data): Likewise.
8217         (log_test_data): Likewise.
8218         (log10_test_data): Likewise.
8219         (log1p_test_data): Likewise.
8220         (log2_test_data): Likewise.
8221         (logb_test_data): Likewise.
8222         (lround_test_data): Likewise.
8223         (llround_test_data): Likewise.
8224         (modf_test_data): Likewise.
8225         (nearbyint_test_data): Likewise.
8226         (nextafter_test_data): Likewise.
8227         (nexttoward_test_data): Likewise.
8228         (pow_test_data): Likewise.
8229         (remainder_test_data): Likewise.
8230         (remquo_test_data): Likewise.
8231         (rint_test_data): Likewise.
8232         (round_test_data): Likewise.
8233         (signbit_test_data): Likewise.
8234         (sinh_test_data): Likewise.
8235         (sqrt_test_data): Likewise.
8236         (tanh_test_data): Likewise.
8237         (tgamma_test_data): Likewise.
8238         (trunc_test_data): Likewise.
8239         (y0_test_data): Likewise.
8240         (y1_test_data): Likewise.
8241         (yn_test_data): Likewise.
8242         (significand_test_data): Likewise.
8244 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8246         * manual/filesys.texi (Storage Allocation): Document that
8247         posix_fallocate emulation fails when fd is open with O_WRONLY.
8249 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8251         [BZ #19016]
8252         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8253         allow more cases with X^2 + Y^2 >= 0.5.
8254         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8255         normal element in sum instead of special-casing based on values of
8256         arguments.
8257         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8258         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8259         -1 as normal element in sum instead of special-casing based on
8260         values of arguments.
8261         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8262         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8263         (__x2y2m1): Update comment.
8264         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8265         as normal element in sum instead of special-casing based on values
8266         of arguments.
8267         * math/s_clog.c (__clog): Handle more cases using log1p without
8268         hypot.
8269         * math/s_clog10.c (__clog10): Likewise.
8270         * math/s_clog10f.c (__clog10f): Likewise.
8271         * math/s_clog10l.c (__clog10l): Likewise.
8272         * math/s_clogf.c (__clogf): Likewise.
8273         * math/s_clogl.c (__clogl): Likewise.
8274         * math/auto-libm-test-in: Add more tests of clog and clog10.
8275         * math/auto-libm-test-out: Regenerated.
8276         * sysdeps/i386/fpu/libm-test-ulps: Update.
8277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8279 2015-09-28  Martin Sebor  <msebor@redhat.com>
8281         [BZ #18969]
8282         * string/Makefile (LOCALES): Define.
8283         (gen-locales.mk): Include.
8284         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8285         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8286         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8287         on setlocale failure.
8289 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8291         [BZ #18985]
8292         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8293         (__strftime_internal): Likewise.
8294         * time/tst-strftime.c (do_bz18985): New test.
8295         (do_test): Call it.
8297 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8299         [BZ #18956]
8300         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8301         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8302         extracting high part.
8303         * math/auto-libm-test-in: Add another test of pow.
8304         * math/auto-libm-test-out: Regenerated.
8305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8307 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8309         [BZ #18825]
8310         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8311         New macro.
8312         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8313         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8314         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8315         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8316         DBL_NARROW_EVAL, reloading the PIC register as needed.
8317         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8318         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8319         FLT_NARROW_EVAL.  Use separate return path for case when first
8320         argument is NaN.
8321         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8322         DEFINE_LDBL_MIN.
8323         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8324         PIC register.
8325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8326         math_check_force_underflow_nonneg.
8327         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8328         underflow for subnormal result.
8329         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8330         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8331         math_check_force_underflow_nonneg.
8332         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8333         math_check_force_underflow.
8334         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8335         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8336         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8337         DEFINE_LDBL_MIN.
8338         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8339         * math/auto-libm-test-in: Add more tests of pow.
8340         * math/auto-libm-test-out: Regenerated.
8342 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8344         * nss/bug17079.c (init_test_items): Add diagnostic for
8345         inconsistent entries.
8346         (test_buffer_size): Skip inconsistent entries.
8348 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8350         [BZ #13304]
8351         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8352         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8353         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8355         [BZ #13304]
8356         * sysdeps/microblaze/s_fma.c: New file.
8357         * sysdeps/microblaze/s_fmaf.c: Likewise.
8358         * sysdeps/microblaze/sfp-machine.h: Likewise.
8360 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8362         [BZ #17250]
8363         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8364         member.
8366 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8368         [BZ #18803]
8369         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8370         (MO): New macro.
8371         (__ieee754_hypot) [PIC]: Load PIC register.
8372         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8373         DBL_NARROW_EVAL.
8374         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8375         math_check_force_underflow_nonneg in case where result might be
8376         tiny.
8377         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8378         Likewise.
8379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8380         Likewise.
8381         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8382         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8383         * math/auto-libm-test-in: Add more tests of hypot.
8384         * math/auto-libm-test-out: Regenerated.
8386 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
8388         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8390 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8392         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8393         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8394         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8395         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8396         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8397         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8398         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8400         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8401         LOAD_PIC_REG.
8403         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8404         (FLT_CHECK_FORCE_UFLOW): Likewise.
8405         (DBL_CHECK_FORCE_UFLOW): Likewise.
8406         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8407         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8408         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8409         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8410         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8411         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8412         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8413         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8414         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8416         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8417         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8418         (flt_min): Replace with use of DEFINE_FLT_MIN.
8419         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8420         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8421         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8422         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8423         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8424         (flt_min): Replace with use of DEFINE_FLT_MIN.
8425         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8426         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8427         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8428         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8429         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8430         (flt_min): Replace with use of DEFINE_FLT_MIN.
8431         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8432         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8433         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8434         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8435         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8436         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8437         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8438         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8439         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8440         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8441         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8442         (flt_min): Replace with use of DEFINE_FLT_MIN.
8443         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8444         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8446         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8447         main computation.
8448         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8449         (flt_min): Replace with use of DEFINE_FLT_MIN.
8450         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8451         main computation.
8452         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8453         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8454         (MO): New macro.
8455         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8456         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8457         (flt_min): Replace with use of DEFINE_FLT_MIN.
8458         (MO): New macro.
8459         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8460         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8461         (__log1pl): Use MO.
8463         [BZ #19003]
8464         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8465         $(config-cflags-nofma).
8467 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8469         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8471 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8473         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8474         (TWO127): Likewise.
8476         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8477         (min_of_type): Likewise.
8478         (math_check_force_underflow): Likewise.
8479         (math_check_force_underflow_nonneg): Likewise.
8480         (math_check_force_underflow_complex): Likewise.
8481         * math/e_exp2l.c (__ieee754_exp2l): Use
8482         math_check_force_underflow_nonneg.
8483         * math/k_casinh.c (__kernel_casinh): Likewise.
8484         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8485         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8486         * math/s_catan.c (__catan): Use
8487         math_check_force_underflow_complex.
8488         * math/s_catanf.c (__catanf): Likewise.
8489         * math/s_catanh.c (__catanh): Likewise.
8490         * math/s_catanhf.c (__catanhf): Likewise.
8491         * math/s_catanhl.c (__catanhl): Likewise.
8492         * math/s_catanl.c (__catanl): Likewise.
8493         * math/s_ccosh.c (__ccosh): Likewise.
8494         * math/s_ccoshf.c (__ccoshf): Likewise.
8495         * math/s_ccoshl.c (__ccoshl): Likewise.
8496         * math/s_cexp.c (__cexp): Likewise.
8497         * math/s_cexpf.c (__cexpf): Likewise.
8498         * math/s_cexpl.c (__cexpl): Likewise.
8499         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8500         * math/s_clog10.c (__clog10): Likewise.
8501         * math/s_clog10f.c (__clog10f): Likewise.
8502         * math/s_clog10l.c (__clog10l): Likewise.
8503         * math/s_clogf.c (__clogf): Likewise.
8504         * math/s_clogl.c (__clogl): Likewise.
8505         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8506         * math/s_csinf.c (__csinf): Likewise.
8507         * math/s_csinh.c (__csinh): Likewise.
8508         * math/s_csinhf.c (__csinhf): Likewise.
8509         * math/s_csinhl.c (__csinhl): Likewise.
8510         * math/s_csinl.c (__csinl): Likewise.
8511         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8512         * math/s_csqrtf.c (__csqrtf): Likewise.
8513         * math/s_csqrtl.c (__csqrtl): Likewise.
8514         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8515         * math/s_ctanf.c (__ctanf): Likewise.
8516         * math/s_ctanh.c (__ctanh): Likewise.
8517         * math/s_ctanhf.c (__ctanhf): Likewise.
8518         * math/s_ctanhl.c (__ctanhl): Likewise.
8519         * math/s_ctanl.c (__ctanl): Likewise.
8520         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8521         instead of volatile.
8522         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8523         math_check_force_underflow.
8524         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8525         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8526         volatile when forcing underflow.
8527         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8528         math_check_force_underflow_nonneg.
8529         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8530         Likewise.
8531         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8532         math_check_force_underflow.
8533         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8534         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8535         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8536         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8537         math_check_force_underflow_nonneg.
8538         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8539         math_check_force_underflow.
8540         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8542         instead of volatile.
8543         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8544         math_check_force_underflow.
8545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8546         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8547         math_check_force_underflow_nonneg.
8548         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8549         math_check_force_underflow.
8550         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8551         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8552         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8553         math_check_force_underflow_nonneg.
8554         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8555         Likewise.
8556         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8557         math_check_force_underflow.
8558         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8559         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8560         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8561         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8562         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8563         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8564         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8565         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8566         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8567         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8568         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8569         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8570         Likewise.
8571         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8572         math_check_force_underflow_nonneg.
8573         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8574         Likewise.
8575         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8576         math_check_force_underflow.
8577         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8578         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8579         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8580         Likewise.
8581         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8582         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8583         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8584         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8585         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8586         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8588         instead of volatile.
8589         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8590         math_check_force_underflow.
8591         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8593         math_check_force_underflow.
8594         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8595         Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8597         Use math_check_force_underflow_nonneg.
8598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8599         math_check_force_underflow.
8600         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8601         Likewise.
8602         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8603         Likewise.
8604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8607         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8608         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8609         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8610         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8611         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8612         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8613         math_check_force_underflow_nonneg.
8614         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8615         math_check_force_underflow.
8616         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8617         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8618         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8619         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8620         math_check_force_underflow_nonneg.
8621         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8622         math_check_force_underflow.
8623         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8625         instead of volatile.
8626         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8627         math_check_force_underflow.
8629         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8630         * stdlib/strtod_l.c: Include <math_private.h>.
8631         (overflow_value): Use math_narrow_eval.
8632         (underflow_value): Likewise.
8633         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8634         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8635         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8636         (__ieee754_gamma_r): Likewise.
8637         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8638         Likewise.
8639         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8640         Likewise.
8641         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8642         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8643         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8644         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8645         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8646         (__ieee754_gammaf_r): Likewise.
8647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8648         Likewise.
8649         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8650         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8651         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8652         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8653         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8654         volatile.
8655         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8656         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8657         math_narrow_eval.
8658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8659         Likewise.
8660         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8661         Likewise.
8662         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8663         Likewise.
8664         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8665         volatile.
8666         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8667         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8668         math_narrow_eval.
8669         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8670         Likewise.
8671         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8672         Likewise.
8674 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8676         * nptl/Versions: Remove ignored symbols.
8678 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8680         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8681         * nss/Makefile (tests): Update.
8683 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8685         * nss/bug18287.c: New file.
8686         * nss/Makefile (tests): Add bug18287.
8688 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8690         * mach/Versions (__mach_host_self_): Add symbol.
8692 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8694         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8695         vm_page_size.
8697 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8699         Really fix sysdeps/i386/fpu/s_scalbn.S build
8701         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8702         (libc: GLIBC_2_22): Remove unused version set.
8704 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8706         * config.make.in (enable-timezone-tools): New variable.
8707         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8708         (enable_timezone_tools): Export to generated files.
8709         * configure: Regenerate.
8710         * INSTALL: Regenerate.
8711         * manual/install.texi (--disable-timezone-tools): Document new flag.
8712         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8713         ifeq ($(enable-timezone-tools),yes) check.
8715 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8717         * timezone/Makefile: Revert previous change.
8719         [BZ #18980]
8720         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8721         (DEFINE_DBL_MIN): Likewise.
8722         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8723         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8724         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8725         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8726         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8727         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8728         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8729         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8730         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8731         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8732         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8733         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8734         (flt_min): Replace with use of DEFINE_FLT_MIN.
8735         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8736         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8737         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8738         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8739         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8740         (flt_min): Replace with use of DEFINE_FLT_MIN.
8741         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8742         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8743         (flt_min): Replace with use of DEFINE_FLT_MIN.
8744         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8745         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8746         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8747         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8748         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8749         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8750         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8751         (__ieee754_pow): Use DBL_NARROW_EVAL.
8752         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8753         (__ieee754_powf): Use FLT_NARROW_EVAL.
8754         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8755         (__ieee754_expf_sse2): Convert double-precision result to single
8756         precision.
8757         * sysdeps/i386/fpu/libm-test-ulps: Update.
8759 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8761         * timezone/Makefile: Ignore unused variable errors due to private.h
8762         (time_t_min) and (time_t_max).
8763         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8764         Likewise.
8766 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #18981]
8769         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8770         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8771         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8772         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8773         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8774         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8775         (__scalbn): Use DBL_NARROW_EVAL.
8776         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8777         (__scalbnf): Use FLT_NARROW_EVAL.
8779 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8781         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8782         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8783         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8784         * stdio-common/printf_fp.c (___printf_fp):
8785         Use signbit to get the sign. Use isinf macro to allow inlining.
8786         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8787         * stdio-common/printf_size.c (__printf_size): Likewise.
8789 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8791         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8793 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8795         [BZ #18980]
8796         * sysdeps/generic/math_private.h: Include <float.h>.
8797         (math_narrow_eval): New macro.
8798         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8799         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8800         math_narrow_eval on overflowing return value.
8801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8802         Likewise.
8803         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8804         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8805         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8806         Likewise.
8807         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8809 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8811         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8812         * math/Makefile: Remove isinf_ns.c.
8813         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8814         * math/multc3.c (__multc3): Likewise.
8815         * math/s_casin.c (__casin): Likewise.
8816         * math/s_casinf.c (__casinf): Likewise.
8817         * math/s_casinl.c (__casinl): Likewise.
8818         * math/s_cproj.c (__cproj): Likewise.
8819         * math/s_cprojf.c (__cprojf): Likewise.
8820         * math/s_cprojl.c (__cprofl): Likewise.
8821         * math/s_ctan.c (__ctan): Likewise.
8822         * math/s_ctanf.c (__ctanf): Likewise.
8823         * math/s_ctanh.c (__ctanh): Likewise.
8824         * math/s_ctanhf.c (__ctanhf): Likewise.
8825         * math/s_ctanhl.c (__ctanhl): Likewise.
8826         * math/s_ctanl.c (__ctanl): Likewise.
8827         * math/w_fmod.c (__fmod): Likewise.
8828         * math/w_fmodf.c (__fmodf): Likewise.
8829         * math/w_fmodl.c (_fmodl): Likewise.
8830         * math/w_remainder.c (__remainder): Likewise.
8831         * math/w_remainderf.c (__remainderf): Likewise.
8832         * math/w_remainderl.c (__remainderl): Likewise.
8833         * math/w_scalb.c (__scalb): Likewise.
8834         * math/w_scalbf.c (__scalbf): Likewise.
8835         * math/w_scalbl.c (__scalbl): Likewise.
8836         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8837         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8838         with isinf.
8839         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8841         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8842         __isinf_nsf with isinf.
8843         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8844         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8845         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8846         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8847         with isinf.
8848         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8849         __isinf_nsl with isinf.
8850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8851         with isinf.
8852         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8853         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8854         __isinf_nsl with isinf.
8855         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8856         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8857         with isinf.
8859 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8861         * resolv/base64.c (rcsid): Remove unused static.
8862         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8863         static.  (tqpi1): Likewise.
8864         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8865         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8866         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8867         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8868         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8869         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8870         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8871         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8872         Likewise.
8874 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8876         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8877         <nptl/pthreadP.h>.
8878         (_longjmp_unwind): Use __libc_ptf_call.
8879         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8881 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8883         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8884         * sysdeps/arm/__longjmp.S: Likewise.
8886 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8888         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8889         Use __builtin_signbit.
8890         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8891         Use __builtin_signbitf.
8892         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8893         Use __builtin_signbitl.
8894         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8895         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8897 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8899         [BZ #15367]
8900         [BZ #17441]
8902         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8903         * math/math.h (fpclassify): Use __builtin_fpclassify when
8904         available.  (signbit): Use __builtin_signbit(f/l).
8905         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8906         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8907         (isinf): Use __builtin_isinf_sign.
8909 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8911         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8912         * benchtests/bench-math-inlines.c: New benchmark.
8913         * benchtests/bench-util.h: New file.
8914         * benchtests/bench-util.c: New file.
8915         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8917 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8919         * elf/tst-dlmopen1.c: Define TEST_SO.
8920         (do_test): Use TEST_SO.
8922         * elf/dl-load.c: Include libc-internal.h.
8923         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8925 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8927         [BZ #17887]
8928         * time/strptime_l.c (__strptime_internal): Make %z accept
8929         [+-]HH:MM time zones.
8931 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8933         [BZ #17886]
8934         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8935         valid time zone.
8937 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8939         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8940         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8941         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8942         (__ASSUME_FDATASYNC): Delete.
8944 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8946         * conform/linknamespace.pl: Require weak undefined symbols to be
8947         in the standard namespace.
8948         (%strong_syms): Rename to %seen_syms.
8949         (%strong_seen): Rename to %seen_where.
8951 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8953         [BZ #18970]
8954         * misc/error.c (error): Replace pthread_setcancelstate with
8955         __pthread_setcancelstate.
8956         (error_at_line): Likewise.
8957         * posix/wordexp.c (parse_comm): Likewise.
8958         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8959         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8960         (__pthread_setcancelstate): This.
8961         (pthread_setcancelstate): Add an alias.
8962         * nptl/nptl-init.c (pthread_functions): Replace
8963         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8964         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8965         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8966         hidden_proto.
8967         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8968         it with hidden_def.
8969         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8970         (pthread_setcancelstate): Renamed to ...
8971         (__pthread_setcancelstate): This.
8972         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8973         __libc_ptf_call with __pthread_setcancelstate.
8975 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8976             Andreas Schwab  <schwab@suse.de>
8978         [BZ #17118]
8979         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8980         result when imaginary part of argument is infinite using sine and
8981         cosine.
8982         * math/s_ctanf.c (__ctanf): Likewise.
8983         * math/s_ctanl.c (__ctanl): Likewise.
8984         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8985         of result when real part of argument is infinite using sine and
8986         cosine.
8987         * math/s_ctanhf.c (__ctanhf): Likewise.
8988         * math/s_ctanhl.c (__ctanhl): Likewise.
8989         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8990         (ctanh_test_data): Add more tests of ctanh.
8992 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #15384]
8995         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8996         bit-mask as in subtraction.
8997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8998         Likewise.
8999         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9000         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9001         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9003         [BZ #18951]
9004         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9005         underflow exception for small results.
9006         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9007         Likewise.
9008         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9009         Likewise.
9010         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9011         Likewise.
9012         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9013         Likewise.
9014         * math/auto-libm-test-in: Add more tests of tgamma.
9015         * math/auto-libm-test-out: Regenerated.
9017 2015-09-17  Andreas Schwab  <schwab@suse.de>
9019         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9021 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9023         [BZ #18977]
9024         * math/bits/mathcalls.h
9025         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9026         not declare.
9027         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9028         Likewise.
9029         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9030         Likewise.
9031         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9032         Likewise.
9033         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9034         Likewise.
9035         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9036         Likewise.
9037         * conform/data/math.h-data
9038         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9039         function.
9040         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9041         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9042         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9043         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9044         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9045         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9046         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9047         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9048         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9049         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9050         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9052         [BZ #6803]
9053         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9054         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9055         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9056         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9057         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9058         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9059         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9060         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9061         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9062         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9063         Likewise.
9064         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9065         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9066         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9068         long_double_symbol calls.
9069         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9070         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9071         strong alias of __ldexpl.
9072         (scalbnl): Define using long_double_symbol.
9073         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9074         Remove alias.
9075         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9076         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9077         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9078         (scalbln_test_data): Add more errno expectations.
9080 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9082         Cache the host port like we cache the task port.  This way we do not
9083         need to call the kernel just to get the port.  Furthermore, we no
9084         longer increase the reference count on every invocation of
9085         `mach_host_self'.
9087         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9088         Protect declarations against the macro expansion.
9089         * mach/mach_init.c (__mach_host_self_): New variable.
9090         (mach_init): Initialize `__mach_host_self_'.
9091         * mach/mach_init.h (__mach_host_self_): New declaration.
9092         (__mach_host_self, mach_host_self): New macros.
9093         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9094         Release reference.
9096 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9098         [BZ #4404]
9099         * po/de.po: Update from Translation Project.
9101         [BZ #16415]
9102         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9103         (__expm1l): Remove code to handle positive infinity and overflow.
9104         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9105         variable.
9106         (__expm1l): Remove code to handle positive infinity and overflow.
9108 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9109             Paul Pluzhnikov  <ppluzhnikov@google.com>
9111         [BZ #18872]
9112         * stdio-common/Makefile (tst-printf-bz18872): New test.
9113         (tst-printf-bz18872-mem.out): Likewise.
9114         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9115         * stdio-common/vfprintf.c: Fix memory leaks.
9117 2015-09-16  Andreas Schwab  <schwab@suse.de>
9119         [BZ #17244]
9120         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9121         Remove extra va_start/va_end calls.
9123         [BZ #17243]
9124         * posix/execl.c (execl): Add missing va_end.
9125         * posix/execle.c (execle): Likewise.
9126         * posix/execlp.c (execlp): Likewise.
9128 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9130         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9131         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9133 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9135         [BZ #18967]
9136         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9137         undefine around includes of <bits/mathcalls.h>.
9138         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9139         not declare function.
9140         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9141         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9142         (scalb): Likewise.
9143         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9144         not define macro.
9145         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9146         variable.
9147         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9148         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9149         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9151         [BZ #18857]
9152         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9153         return non-finite argument without doing ordered comparisons on
9154         it.
9156         [BZ #16296]
9157         * math/fenv.h (fegetround): Use __attribute_pure__.
9158         * include/fenv.h (__fegetround): Likewise.
9160         [BZ #18595]
9161         * math/s_ctan.c (__ctan): Force underflow exception for results
9162         whose real or imaginary part has small absolute value.
9163         * math/s_ctanf.c (__ctanf): Likewise.
9164         * math/s_ctanh.c (__ctanh): Likewise.
9165         * math/s_ctanhf.c (__ctanhf): Likewise.
9166         * math/s_ctanhl.c (__ctanhl): Likewise.
9167         * math/s_ctanl.c (__ctanl): Likewise.
9168         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9169         and ctanh.  Add more tests of ctan and ctanh.
9171         [BZ #15918]
9172         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9173         handling of cases where one argument is an infinity.
9175         [BZ #18875]
9176         [BZ #18966]
9177         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9178         (MO): New macro.
9179         (__ieee754_exp10): For small results, force underflow exception
9180         and remove excess range and precision from return value.
9181         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9182         (MO): New macro.
9183         (__ieee754_exp10f): For small results, force underflow exception
9184         and remove excess range and precision from return value.
9185         * math/auto-libm-test-in: Add more tests of exp10.
9186         * math/auto-libm-test-out: Regenerated.
9188 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9190         [BZ #18875]
9191         [BZ #18961]
9192         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9193         (MO): New macro.
9194         (__ieee754_exp): For small results, force underflow exception and
9195         remove excess range and precision from return value.
9196         (__exp_finite): Likewise.
9197         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9198         (MO): New macro.
9199         (__ieee754_expf): For small results, force underflow exception and
9200         remove excess range and precision from return value.
9201         (__expf_finite): Likewise.
9202         * math/auto-libm-test-in: Add more tests of exp.
9203         * math/auto-libm-test-out: Regenerated.
9205         [BZ #16521]
9206         [BZ #18875]
9207         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9208         small results.
9209         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9210         (MO): New macro.
9211         (__ieee754_exp2): For small results, force underflow exception and
9212         remove excess range and precision from return value.
9213         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9214         (MO): New macro.
9215         (__ieee754_exp2f): For small results, force underflow exception
9216         and remove excess range and precision from return value.
9217         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9218         (MO): New macro.
9219         (__ieee754_exp2l): Force underflow exception for small results.
9220         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9221         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9222         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9223         (MO): New macro.
9224         (__ieee754_exp2l): Force underflow exception for small results.
9225         * math/auto-libm-test-in: Add more tests or exp2.
9226         * math/auto-libm-test-out: Regenerated.
9228 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9230         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9232         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9233         /dev/null.
9235 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9237         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9238         io fs process)): Drop spurious backslash.
9240 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9242         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9243         Use sysinfo system call instead of parsing /proc/meminfo.
9244         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9245         Likewise.
9247 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9249         [BZ #16985]
9250         * programs/localedef.c (main): Display argv[remaining] when
9251         output_path is NULL.
9253 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9255         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9256         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9257         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9258         tanh.
9259         * math/auto-libm-test-out: Regenerated.
9260         * sysdeps/i386/fpu/libm-test-ulps: Update.
9261         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9262         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9265 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9267         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9268         Use 'override' keyword to freeze the value here, preventing
9269         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9271 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9273         [BZ #14912]
9274         * sysdeps/aarch64/bits/atomic.h: Move to ...
9275         * sysdeps/aarch64/atomic-machine.h: ...here.
9276         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9277         _AARCH64_ATOMIC_MACHINE_H.
9278         * sysdeps/alpha/bits/atomic.h: Move to ...
9279         * sysdeps/alpha/atomic-machine.h: ...here.
9280         * sysdeps/arm/bits/atomic.h: Move to ...
9281         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9282         * bits/atomic.h: Move to ...
9283         * sysdeps/generic/atomic-machine.h: ...here.
9284         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9285         * sysdeps/i386/bits/atomic.h: Move to ...
9286         * sysdeps/i386/atomic-machine.h: ...here.
9287         * sysdeps/ia64/bits/atomic.h: Move to ...
9288         * sysdeps/ia64/atomic-machine.h: ...here.
9289         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9290         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9291         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9292         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9293         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9294         * sysdeps/microblaze/bits/atomic.h: Move to ...
9295         * sysdeps/microblaze/atomic-machine.h: ...here.
9296         * sysdeps/mips/bits/atomic.h: Move to ...
9297         * sysdeps/mips/atomic-machine.h: ...here.
9298         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9299         * sysdeps/powerpc/bits/atomic.h: Move to ...
9300         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9301         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9302         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9303         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9304         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9305         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9306         <atomic-machine.h> instead of <bits/atomic.h>.
9307         * sysdeps/s390/bits/atomic.h: Move to ...
9308         * sysdeps/s390/atomic-machine.h: ...here.
9309         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9310         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9311         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9312         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9313         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9314         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9315         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9316         * sysdeps/tile/bits/atomic.h: Move to ...
9317         * sysdeps/tile/atomic-machine.h: ...here.
9318         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9319         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9320         <sysdeps/tile/atomic-machine.h> instead of
9321         <sysdeps/tile/bits/atomic.h>.
9322         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9323         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9324         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9325         <sysdeps/tile/atomic-machine.h> instead of
9326         <sysdeps/tile/bits/atomic.h>.
9327         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9328         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9329         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9330         <sysdeps/arm/atomic-machine.h> instead of
9331         <sysdeps/arm/bits/atomic.h>.
9332         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9333         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9334         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9335         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9336         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9337         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9338         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9339         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9340         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9341         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9342         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9343         * sysdeps/x86_64/bits/atomic.h: Move to ...
9344         * sysdeps/x86_64/atomic-machine.h: ...here.
9345         * include/atomic.h: Include <atomic-machine.h> instead of
9346         <bits/atomic.h>.
9348         * sysdeps/mips/mips32/libm-test-ulps: Update.
9349         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9351         [BZ #18952]
9352         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9353         not convert non-integer negative arguments to int to determine the
9354         value of signgam.
9355         * math/auto-libm-test-in: Add more tests of lgamma.
9356         * math/auto-libm-test-out: Regenerated.
9358         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9359         cosh, csqrt, erfc, expm1 and lgamma.
9360         * math/auto-libm-test-out: Regenerated.
9361         * sysdeps/i386/fpu/libm-test-ulps: Update.
9362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9364 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #2542]
9367         [BZ #2543]
9368         [BZ #2558]
9369         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9370         __lgamma_neg for arguments from -28.0 to -2.0.
9371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9372         __lgamma_negf for arguments from -15.0 to -2.0.
9373         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9374         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9375         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9376         Call __lgamma_negl for arguments from -33.0 to -2.0.
9377         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9378         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9379         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9380         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9381         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9382         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9383         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9384         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9385         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9386         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9387         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9388         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9389         (__lgamma_neg): Likewise.
9390         (__lgamma_negl): Likewise.
9391         (__lgamma_product): Likewise.
9392         (__lgamma_productl): Likewise.
9393         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9394         * math/auto-libm-test-in: Add more tests of lgamma.
9395         * math/auto-libm-test-out: Regenerated.
9396         * sysdeps/i386/fpu/libm-test-ulps: Update.
9397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
9401         [BZ #18675]
9402         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9404 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
9406         [BZ #14912]
9407         * bits/libc-lock.h: Move to ...
9408         * sysdeps/generic/libc-lock.h: ...here.
9409         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9410         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9411         * sysdeps/mach/hurd/libc-lock.h: ...here.
9412         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9413         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9414         * sysdeps/mach/bits/libc-lock.h: Move to ...
9415         * sysdeps/mach/libc-lock.h: ...here.
9416         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9417         * sysdeps/nptl/bits/libc-lock.h: Move to ...
9418         * sysdeps/nptl/libc-lock.h: ...here.
9419         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9420         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9421         * sysdeps/nptl/libc-lockP.h: ...here.
9422         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9423         * crypt/crypt_util.c: Include <libc-lock.h> instead of
9424         <bits/libc-lock.h>.
9425         * dirent/scandir-tail.c: Likewise.
9426         * dlfcn/dlerror.c: Likewise.
9427         * elf/dl-close.c: Likewise.
9428         * elf/dl-iteratephdr.c: Likewise.
9429         * elf/dl-lookup.c: Likewise.
9430         * elf/dl-open.c: Likewise.
9431         * elf/dl-support.c: Likewise.
9432         * elf/dl-writev.h: Likewise.
9433         * elf/rtld.c: Likewise.
9434         * grp/fgetgrent.c: Likewise.
9435         * gshadow/fgetsgent.c: Likewise.
9436         * gshadow/sgetsgent.c: Likewise.
9437         * iconv/gconv_conf.c: Likewise.
9438         * iconv/gconv_db.c: Likewise.
9439         * iconv/gconv_dl.c: Likewise.
9440         * iconv/gconv_int.h: Likewise.
9441         * iconv/gconv_trans.c: Likewise.
9442         * include/link.h: Likewise.
9443         * inet/getnameinfo.c: Likewise.
9444         * inet/getnetgrent.c: Likewise.
9445         * inet/getnetgrent_r.c: Likewise.
9446         * intl/bindtextdom.c: Likewise.
9447         * intl/dcigettext.c: Likewise.
9448         * intl/finddomain.c: Likewise.
9449         * intl/gettextP.h: Likewise.
9450         * intl/loadmsgcat.c: Likewise.
9451         * intl/localealias.c: Likewise.
9452         * intl/textdomain.c: Likewise.
9453         * libidn/idn-stub.c: Likewise.
9454         * libio/libioP.h: Likewise.
9455         * locale/duplocale.c: Likewise.
9456         * locale/freelocale.c: Likewise.
9457         * locale/newlocale.c: Likewise.
9458         * locale/setlocale.c: Likewise.
9459         * login/getutent_r.c: Likewise.
9460         * login/getutid_r.c: Likewise.
9461         * login/getutline_r.c: Likewise.
9462         * login/utmp-private.h: Likewise.
9463         * login/utmpname.c: Likewise.
9464         * malloc/mtrace.c: Likewise.
9465         * misc/efgcvt.c: Likewise.
9466         * misc/error.c: Likewise.
9467         * misc/fstab.c: Likewise.
9468         * misc/getpass.c: Likewise.
9469         * misc/mntent.c: Likewise.
9470         * misc/syslog.c: Likewise.
9471         * nis/nis_call.c: Likewise.
9472         * nis/nis_callback.c: Likewise.
9473         * nis/nss-default.c: Likewise.
9474         * nis/nss_compat/compat-grp.c: Likewise.
9475         * nis/nss_compat/compat-initgroups.c: Likewise.
9476         * nis/nss_compat/compat-pwd.c: Likewise.
9477         * nis/nss_compat/compat-spwd.c: Likewise.
9478         * nis/nss_nis/nis-alias.c: Likewise.
9479         * nis/nss_nis/nis-ethers.c: Likewise.
9480         * nis/nss_nis/nis-grp.c: Likewise.
9481         * nis/nss_nis/nis-hosts.c: Likewise.
9482         * nis/nss_nis/nis-network.c: Likewise.
9483         * nis/nss_nis/nis-proto.c: Likewise.
9484         * nis/nss_nis/nis-pwd.c: Likewise.
9485         * nis/nss_nis/nis-rpc.c: Likewise.
9486         * nis/nss_nis/nis-service.c: Likewise.
9487         * nis/nss_nis/nis-spwd.c: Likewise.
9488         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9489         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9490         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9491         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9492         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9493         * nis/nss_nisplus/nisplus-network.c: Likewise.
9494         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9495         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9496         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9497         * nis/nss_nisplus/nisplus-service.c: Likewise.
9498         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9499         * nis/ypclnt.c: Likewise.
9500         * nptl/libc_pthread_init.c: Likewise.
9501         * nss/getXXbyYY.c: Likewise.
9502         * nss/getXXent.c: Likewise.
9503         * nss/getXXent_r.c: Likewise.
9504         * nss/nss_db/db-XXX.c: Likewise.
9505         * nss/nss_db/db-netgrp.c: Likewise.
9506         * nss/nss_db/nss_db.h: Likewise.
9507         * nss/nss_files/files-XXX.c: Likewise.
9508         * nss/nss_files/files-alias.c: Likewise.
9509         * nss/nsswitch.c: Likewise.
9510         * posix/regex_internal.h: Likewise.
9511         * posix/wordexp.c: Likewise.
9512         * pwd/fgetpwent.c: Likewise.
9513         * resolv/res_hconf.c: Likewise.
9514         * resolv/res_libc.c: Likewise.
9515         * shadow/fgetspent.c: Likewise.
9516         * shadow/lckpwdf.c: Likewise.
9517         * shadow/sgetspent.c: Likewise.
9518         * socket/opensock.c: Likewise.
9519         * stdio-common/reg-modifier.c: Likewise.
9520         * stdio-common/reg-printf.c: Likewise.
9521         * stdio-common/reg-type.c: Likewise.
9522         * stdio-common/vfprintf.c: Likewise.
9523         * stdio-common/vfscanf.c: Likewise.
9524         * stdlib/abort.c: Likewise.
9525         * stdlib/cxa_atexit.c: Likewise.
9526         * stdlib/fmtmsg.c: Likewise.
9527         * stdlib/random.c: Likewise.
9528         * stdlib/setenv.c: Likewise.
9529         * string/strsignal.c: Likewise.
9530         * sunrpc/auth_none.c: Likewise.
9531         * sunrpc/bindrsvprt.c: Likewise.
9532         * sunrpc/create_xid.c: Likewise.
9533         * sunrpc/key_call.c: Likewise.
9534         * sunrpc/rpc_thread.c: Likewise.
9535         * sysdeps/arm/backtrace.c: Likewise.
9536         * sysdeps/generic/ldsodefs.h: Likewise.
9537         * sysdeps/generic/stdio-lock.h: Likewise.
9538         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9539         * sysdeps/i386/backtrace.c: Likewise.
9540         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9541         * sysdeps/m68k/backtrace.c: Likewise.
9542         * sysdeps/mach/hurd/cthreads.c: Likewise.
9543         * sysdeps/mach/hurd/dirstream.h: Likewise.
9544         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9545         * sysdeps/nptl/malloc-machine.h: Likewise.
9546         * sysdeps/nptl/stdio-lock.h: Likewise.
9547         * sysdeps/posix/dirstream.h: Likewise.
9548         * sysdeps/posix/getaddrinfo.c: Likewise.
9549         * sysdeps/posix/system.c: Likewise.
9550         * sysdeps/pthread/aio_suspend.c: Likewise.
9551         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9552         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9553         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9554         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9555         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9556         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9557         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9558         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9559         * sysdeps/unix/sysv/linux/system.c: Likewise.
9560         * sysdeps/x86_64/backtrace.c: Likewise.
9561         * time/alt_digit.c: Likewise.
9562         * time/era.c: Likewise.
9563         * time/tzset.c: Likewise.
9564         * wcsmbs/wcsmbsload.c: Likewise.
9565         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9566         instead of <bits/libc-lock.h> in comment.
9568 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9570         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9571         Only use .set mips2 if the current ISA is below mips2.
9572         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9573         Likewise.
9574         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9575         mips32r2 if the current ISA is below mips32r2.
9576         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9577         (TLS_IE): Updated to use the TLD_RDHWR macro.
9578         (TLS_LE): Likewise.
9579         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9580         __ASSEMBLER__ condition.
9582 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9584         Fix parallel build of before-compile targets.
9586         * sysdeps/mach/Makefile ($(patsubst
9587         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9588         mach-before-compile target.
9589         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9590         io fs process)): Move rule to dedicated hurd-before-compile target.
9592 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9594         Fix rules generating headers in hurd/ and mach/ when initial make call
9595         has subdir= explicitly set.
9597         * sysdeps/mach/Makefile ($(patsubst
9598         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9599         calling $(MAKE).
9600         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9601         io fs process)): Force subdir to hurd when calling $(MAKE).
9602         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9603         subdir to mach when calling $(MAKE).
9605 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9607         Check sysheaders when looking for Mach and Hurd headers
9609         * sysdeps/mach/configure.ac: Add sysheaders check.
9610         * sysdeps/mach/configure: Regenerate.
9611         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9612         * sysdeps/mach/hurd/configure: Regenerate.
9614 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9616         [BZ #18921]
9617         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9618         Fix inverted sense of test of 'o_directory_works' value.
9619         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9620         Bernhard Voelker <mail@bernhard-voelker.de>.
9622 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #14912]
9625         * bits/linkmap.h: Move to ...
9626         * sysdeps/generic/linkmap.h: ...here.
9627         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9628         * sysdeps/aarch64/linkmap.h: ...here.
9629         * sysdeps/arm/bits/linkmap.h: Move to ...
9630         * sysdeps/arm/linkmap.h: ...here.
9631         * sysdeps/hppa/bits/linkmap.h: Move to ...
9632         * sysdeps/hppa/linkmap.h: ...here.
9633         * sysdeps/ia64/bits/linkmap.h: Move to ...
9634         * sysdeps/ia64/linkmap.h: ...here.
9635         * sysdeps/mips/bits/linkmap.h: Move to ...
9636         * sysdeps/mips/linkmap.h: ...here.
9637         * sysdeps/s390/bits/linkmap.h: Move to ...
9638         * sysdeps/s390/linkmap.h: ...here.
9639         * sysdeps/sh/bits/linkmap.h: Move to ...
9640         * sysdeps/sh/linkmap.h: ...here.
9641         * sysdeps/x86/bits/linkmap.h: Move to ...
9642         * sysdeps/x86/linkmap.h: ...here.
9643         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9645 2015-09-04  Andreas Schwab  <schwab@suse.de>
9647         [BZ #18635]
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9649         (__makecontext): Terminate FDE before return label.
9650         (__novec_makecontext): Likewise.
9652 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9654         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9655         first member of struct sv in syscall macro.
9657 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9659         [BZ #14912]
9660         * bits/stdio-lock.h: Move to ...
9661         * sysdeps/generic/stdio-lock.h: ...here.
9662         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9663         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9664         * sysdeps/nptl/stdio-lock.h: ...here.
9665         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9666         * include/libio.h: Include <stdio-lock.h> instead of
9667         <bits/stdio-lock.h>.
9668         * sysdeps/nptl/fork.c: Likewise.
9669         * sysdeps/pthread/flockfile.c: Likewise.
9670         * sysdeps/pthread/ftrylockfile.c: Likewise.
9671         * sysdeps/pthread/funlockfile.c: Likewise.
9673         [BZ #14912]
9674         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9675         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9676         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9677         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9678         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9679         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9680         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9682 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9684         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9685         (test-xfail-tst-protected1b): New variable.
9687 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #14912]
9690         * bits/libc-tsd.h: Move to ...
9691         * sysdeps/generic/libc-tsd.h: ...here.
9692         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9693         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9694         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9695         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9696         * include/ctype.h: Include <libc-tsd.h> instead of
9697         <bits/libc-tsd.h>.
9698         * include/rpc/rpc.h: Likewise.
9699         * locale/localeinfo.h: Likewise.
9700         * sunrpc/rpc_thread.c: Likewise.
9701         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9702         * sysdeps/nptl/malloc-machine.h: Likewise.
9704         * Makefile (headers): Remove bits/libc-lock.h.
9705         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9707         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9708         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9709         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9710         <bits/stdio-lock.h>.
9711         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9712         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9714 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9716         [BZ #18757]
9717         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9718         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9719         BZ #18757.
9721 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9723         * malloc/mtrace.pl: Filter out NULL entries.
9725 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9727         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9728         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9729         macro.
9731         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9732         (TCP_CC_INFO): Likewise.
9733         (TCP_SAVE_SYN): Likewise.
9734         (TCP_SAVED_SYN): Likewise.
9736 2015-08-31  Brett Neumeier <brett@neumeier.us>
9738         [BZ #18870]
9739         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9741 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9743         [BZ #18873]
9744         Fix broken overflow check in posix_fallocate
9745         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9746         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9747         Fix parenthesization typo.
9749 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9751         [BZ #18887]
9752         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9753         tst-mntent-blank-passno.
9754         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9755         * misc/tst-mntent-blank-corrupt.c: New test.
9756         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9757         * misc/tst-mntent.c (do_test): ... here.
9759 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9761         [BZ #4404]
9762         * po/de.po: Fix SIGALRM typo.
9764 2015-08-28  James Perkins  <james@loowit.net>
9766         * time/tst-strptime2.c (tests): Replace short list of test
9767         strings for strptime %z specifier with code which exhaustively
9768         tests every combination of sign and 0 to 5 digits. Tests for
9769         rejection of invalid strings.
9771 2015-08-28  James Perkins  <james@loowit.net>
9773         [BZ #16141]
9774         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9775         calculation, removing incorrect decimal time rounding, so that
9776         all minute values result in a valid seconds value.
9777         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9778         offset range limits to UTC-99:59 through UTC+99:59 to parse
9779         current and historical use cases.
9780         * time/tst-strptime2.c (tests): Modify and add tests for the
9781         strptime %z input field descriptor, specifically conversion of
9782         minutes to seconds and validating an offset range of -9959 to
9783         +9959.
9785 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9786             Dmitry V. Levin  <ldv@altlinux.org>
9788         [BZ #18877]
9789         * posix/Makefile (tests): Add tst-mmap-offset.
9790         * posix/tst-mmap.c: New file.
9791         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9792         offset calculation for negative values.
9794 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9796         * sysdeps/i386/init-arch.h: New file.
9797         * sysdeps/i386/i586/init-arch.h: Likewise.
9798         * sysdeps/i386/i686/init-arch.h: Likewise.
9799         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9800         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9801         * sysdeps/x86/cpu-features.h (bit_I586): New.
9802         (bit_I686): Likewise.
9803         (bit_CX8): Likewise.
9804         (bit_CMOV): Likewise.
9805         (index_CX8): Likewise.
9806         (index_CMOV): Likewise.
9807         (index_I586): Likewise.
9808         (index_I686): Likewise.
9809         (reg_CX8): Likewise.
9810         (reg_CMOV): Likewise.
9811         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9812         available at compile-time.
9813         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9814         available at compile-time.
9815         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9816         (USE_I686): Likewise.
9818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9820         * sysdeps/i386/bcopy.S: New file.
9821         * sysdeps/i386/bzero.S: Likewise.
9822         * sysdeps/i386/memcpy.S: Likewise.
9823         * sysdeps/i386/memmove.S: Likewise.
9824         * sysdeps/i386/mempcpy.S: Likewise.
9825         * sysdeps/i386/memset.S: Likewise.
9826         * sysdeps/i386/bzero.c: Removed.
9827         * sysdeps/i386/memset.c: Likewise.
9828         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9829         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9830         * sysdeps/i386/i586/memset_chk.S: Likewise.
9831         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9832         * sysdeps/i386/memcpy_chk.S: Here.
9833         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9834         * sysdeps/i386/memmove_chk.S: Here.
9835         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9836         * sysdeps/i386/mempcpy_chk.S: Likewise.
9837         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9838         * sysdeps/i386/memset_chk.S: Likewise.
9840 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9842         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9843         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9844         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9845         * soft-fp/fmadf4.c: Ditto.
9846         * soft-fp/fmatf4.c: Ditto.
9848 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9850         * sysdeps/i386/i586/Implies: Removed.
9851         * sysdeps/i386/i686/Implies: Likewise.
9853 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9855         * sysdeps/i386/i486/strlen.S: Moved to ...
9856         * sysdeps/i386/strlen.S: Here.
9858 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9860         * sysdeps/i386/i486/strcat.S: Moved to ...
9861         * sysdeps/i386/strcat.S: Here.
9863 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9865         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9866         * sysdeps/i386/pthread_spin_trylock.S: Here.
9867         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9868         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9870 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9872         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9873         * sysdeps/i386/string-inlines.c: Here.
9875 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9877         * sysdeps/i386/i486/htonl.S: Moved ...
9878         * sysdeps/i386/htonl.S: here.
9880 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9882         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9883         * sysdeps/i386/bits/atomic.h: Here.
9885 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9887         * sysdeps/i386/i486/Versions: Removed.
9889 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9891         [BZ #2898]
9892         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9893         Based on patch by Aurelien Jarno.
9895 2015-08-26  Stan Shebs  <stanshebs@google.com>
9897         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9898         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9900 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9902         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9903         * sysdeps/powerpc/dl-procinfo.c:
9904         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9905         feature so it shows when LD_SHOW_AUXV=1.
9907 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9909         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9910         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9911         definition.  ISA 2.07B no longer requires full sync.
9913 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9915         [BZ #18863]
9916         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9917         (si_call_addr): Define.
9918         (si_syscall): Define.
9919         (si_arch): Define.
9921 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9923         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9924         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9925         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9926         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9927         (__memset_zero_constant_len_parameter): New.
9928         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9929         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9930         (__memset_zero_constant_len_parameter): Don't define if
9931         __memset_chk or USE_AS_BZERO are defined.
9933         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9934         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9935         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9937         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9938         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9939         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9940         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9941         comments.
9942         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9943         -mno-mmx for $(all-rtld-routines).
9944         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9945         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9946         i386.
9948 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9950         * sysdeps/generic/unwind.h
9951         (_Unwind_Word): Use __mode__(__unwind_word__)
9952         instead of __mode__(__word__).
9953         (_Unwind_Sword): Likewise.
9955         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9956         (MAX_NEEDED_INPUT): New define.
9957         (MAX_NEEDED_OUTPUT): New define.
9959         * NEWS: New item for IBM z13 string optimizations.
9961         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9962         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9963         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9964         * sysdeps/s390/multiarch/Makefile
9965         (sysdep_routines): Add memrchr functions.
9966         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9967         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9969         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9970         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9971         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9972         * sysdeps/s390/multiarch/Makefile
9973         (sysdep_routines): Add wmemcmp functions.
9974         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9975         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9976         * benchtests/bench-wmemcmp.c: New File.
9977         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9979         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9980         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9981         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9982         * sysdeps/s390/multiarch/Makefile
9983         (sysdep_routines): Add wmemset functions.
9984         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9985         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9986         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9987         * string/test-memset.c: Add wmemset support.
9988         * wcsmbs/test-wmemset.c: New File.
9989         * wcsmbs/Makefile (strop-tests): Add wmemset.
9990         * benchtests/bench-memset.c: Add wmemset support.
9991         * benchtests/bench-wmemset.c: New File.
9992         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9994         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9995         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9996         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9997         * sysdeps/s390/multiarch/Makefile
9998         (sysdep_routines): Add memccpy functions.
9999         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10000         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10001         * string/memccpy.c: Use MEMCCPY if defined.
10003         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10004         * sysdeps/s390/multiarch/memchr.c: Likewise.
10005         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10006         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10007         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10008         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10009         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10010         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10011         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10012         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10014         and rawmemchr functions.
10015         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10016         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10017         and wmemchr.
10018         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10019         * string/test-memchr.c: Add wmemchr support.
10020         * wcsmbs/test-wmemchr.c: New File.
10021         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10022         * benchtests/bench-memchr.c: Add wmemchr support.
10023         * benchtests/bench-wmemchr.c: New File.
10024         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10026         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10027         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10028         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10029         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10030         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10031         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10032         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10033         wcscspn functions.
10034         * sysdeps/s390/multiarch/ifunc-impl-list.c
10035         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10036         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10037         * string/test-strcspn.c: Add wcscspn support.
10038         * wcsmbs/test-wcscspn.c: New File.
10039         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10040         * benchtests/bench-strcspn.c: Add wcscspn support.
10041         * benchtests/bench-wcscspn.c: New File.
10042         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10044         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10045         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10046         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10047         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10048         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10049         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10051         wcspbrk functions.
10052         * sysdeps/s390/multiarch/ifunc-impl-list.c
10053         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10054         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10055         * string/test-strpbrk.c: Add wcspbrk support.
10056         * wcsmbs/test-wcspbrk.c: New File.
10057         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10058         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10059         * benchtests/bench-wcspbrk.c: New File.
10060         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10062         * sysdeps/s390/multiarch/strspn-c.c: New File.
10063         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10064         * sysdeps/s390/multiarch/strspn.c: Likewise.
10065         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10066         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10067         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10068         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10070         wcsspn functions.
10071         * sysdeps/s390/multiarch/ifunc-impl-list.c
10072         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10073         * string/test-strspn.c: Add wcsspn support.
10074         * wcsmbs/test-wcsspn.c: New File.
10075         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10076         * benchtests/bench-strspn.c: Add wcsspn support.
10077         * benchtests/bench-wcsspn.c: New File.
10078         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10080         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10081         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10082         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10083         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10084         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10085         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10087         wcsrchr functions.
10088         * sysdeps/s390/multiarch/ifunc-impl-list.c
10089         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10090         * benchtests/bench-wcsrchr.c: New File.
10091         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10093         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10094         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10095         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10096         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10097         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10098         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10099         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10100         wcschrnul functions.
10101         * sysdeps/s390/multiarch/ifunc-impl-list.c
10102         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10103         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10104         * string/test-strchr.c: Add wcschrnul support.
10105         * wcsmbs/test-wcschrnul.c: New File.
10106         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10107         * benchtests/bench-strchr.c: Add wcschrnul support.
10108         * benchtests/bench-wcschrnul.c: New File.
10109         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10111         * sysdeps/s390/multiarch/strchr-c.c: New File.
10112         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10113         * sysdeps/s390/multiarch/strchr.c: Likewise.
10114         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10115         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10116         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10118         wcschr functions.
10119         * sysdeps/s390/multiarch/ifunc-impl-list.c
10120         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10121         * string/strchr.c (STRCHR): Define and use macro.
10122         * benchtests/bench-wcschr.c: New File.
10123         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10125         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10126         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10127         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10128         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10129         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10130         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10132         wcsncmp functions.
10133         * sysdeps/s390/multiarch/ifunc-impl-list.c
10134         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10135         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10136         * benchtests/bench-strncmp.c: Add wcsncmp support.
10137         * benchtests/bench-wcsncmp.c: New File.
10138         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10140         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10141         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10142         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10143         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10144         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10145         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10146         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10147         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10148         wcscmp functions.
10149         * sysdeps/s390/multiarch/ifunc-impl-list.c
10150         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10151         * string/strcmp.c (STRCMP): Define and use macro.
10152         * benchtests/bench-wcscmp.c: New File.
10153         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10154         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10155         instead of _HAVE_STRING_ARCH_memchr.
10157         * sysdeps/s390/multiarch/strncat-c.c: New File.
10158         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10159         * sysdeps/s390/multiarch/strncat.c: Likewise.
10160         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10161         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10162         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10164         wcsncat functions.
10165         * sysdeps/s390/multiarch/ifunc-impl-list.c
10166         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10167         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10168         * string/test-strncat.c: Add wcsncat support.
10169         * wcsmbs/test-wcsncat.c: New File.
10170         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10171         * benchtests/bench-strncat.c: Add wcsncat support.
10172         * benchtests/bench-wcsncat.c: New File.
10173         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10175         * sysdeps/s390/multiarch/strcat-c.c: New File.
10176         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10177         * sysdeps/s390/multiarch/strcat.c: Likewise.
10178         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10179         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10180         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10182         wcscat functions.
10183         * sysdeps/s390/multiarch/ifunc-impl-list.c
10184         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10185         * string/strcat.c (STRCAT): Define and use macro.
10186         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10187         * string/test-strcat.c: Add wcscat support.
10188         * wcsmbs/test-wcscat.c: New File.
10189         * wcsmbs/Makefile (strop-tests): Add wcscat.
10190         * benchtests/bench-strcat.c: Add wcscat support.
10191         * benchtests/bench-wcscat.c: New File.
10192         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10194         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10195         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10196         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10197         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10198         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10199         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10201         wcpncpy functions.
10202         * sysdeps/s390/multiarch/ifunc-impl-list.c
10203         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10204         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10205         * string/test-stpncpy.c: Add wcpncpy support.
10206         * wcsmbs/test-wcpncpy.c: New File.
10207         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10208         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10209         * benchtests/bench-wcpncpy.c: New File.
10210         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10212         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10213         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10214         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10215         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10216         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10217         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10218         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10220         wcsncpy functions.
10221         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10222         * sysdeps/s390/multiarch/ifunc-impl-list.c
10223         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10224         * string/test-strncpy.c: Add wcsncpy support.
10225         * wcsmbs/test-wcsncpy.c: New File.
10226         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10227         * benchtests/bench-strncpy.c: Add wcsncpy support.
10228         * benchtests/bench-wcsncpy.c: New File.
10229         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10231         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10232         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10233         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10234         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10235         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10236         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10237         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10238         wcpcpy functions.
10239         * string/stpcpy.c: Use STPCPY if defined.
10240         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10241         * sysdeps/s390/multiarch/ifunc-impl-list.c
10242         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10243         * string/test-stpcpy.c: Add wcpcpy support.
10244         * wcsmbs/test-wcpcpy.c: New File.
10245         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10246         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10247         * benchtests/bench-wcpcpy.c: New File.
10248         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10250         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10251         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10252         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10253         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10254         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10255         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10256         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10258         wcscpy functions.
10259         * sysdeps/s390/multiarch/ifunc-impl-list.c
10260         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10261         * benchtests/bench-wcscpy.c: New File.
10262         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10264         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10265         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10266         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10267         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10268         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10269         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10271         wcsnlen functions.
10272         * sysdeps/s390/multiarch/ifunc-impl-list.c
10273         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10274         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10275         * string/test-strnlen.c: Add wcsnlen support.
10276         * wcsmbs/test-wcsnlen.c: New File.
10277         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10278         * benchtests/bench-strnlen.c: Add wcsnlen support.
10279         * benchtests/bench-wcsnlen.c: New File.
10280         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10282         * sysdeps/s390/multiarch/Makefile: New File.
10283         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10284         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10285         * sysdeps/s390/multiarch/strlen.c: Likewise.
10286         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10287         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10288         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10289         * string/strlen.c (STRLEN): Define and use macro.
10290         * sysdeps/s390/multiarch/ifunc-impl-list.c
10291         (IFUNC_VX_IMPL): New macro function.
10292         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10293         * benchtests/Makefile (wcsmbs-bench): New variable.
10294         (string-bench-all): Added wcsmbs-bench.
10295         * benchtests/bench-wcslen.c: New File.
10297         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10298         s390_vx_libc_ifunc2): New macro function.
10300         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10301         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10302         assembler support.
10303         * sysdeps/s390/configure: Regenerated.
10305         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10306         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10308         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10309         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10310         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10312         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10313         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10314         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10315         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10316         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10317         (memcmp, bcmp): Use __memcmp_default as alias source.
10318         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10319         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10320         Rename to __memcmp_default.
10321         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10322         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10323         (memcpy): Use __memcpy_default as alias source.
10324         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10325         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10326         Rename to __memcpy_default.
10327         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10328         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10329         (memset): Use __memset_default as alias source.
10330         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10331         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10332         Rename to __memset_default.
10333         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10334         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10335         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10336         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10337         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10338         (memcmp, bcmp): Use __memcmp_default as alias source.
10339         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10340         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10341         Rename to __memcmp_default.
10342         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10343         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10344         (memcpy): Use __memcpy_default as alias source.
10345         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10346         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10347         Rename to __memcpy_default.
10348         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10349         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10350         (memset): Use __memset_default as alias source.
10351         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10352         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10353         Rename to __memset_default.
10354         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10355         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10357         [BZ #18610]
10358         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10359         __ieee_instruction_pointer to __unused.
10360         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10361         __ieee_instruction_pointer.
10362         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10363         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10364         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10365         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10366         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10367         Mark dxc-field as reserved.
10369 2015-08-25  Roland McGrath  <roland@hack.frob.com>
10371         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10372         if the weak reference is not null.
10374 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10376         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10378         [BZ #11214]
10379         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10381 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10383         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10384         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10385         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10386         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10387         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10388         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10389         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10390         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10391         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10392         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10393         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10394         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10395         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10396         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10397         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10398         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10399         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10400         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10402 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10404         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10405         register other than r0 for tabort, it has special meaning.
10406         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10407         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10408         transaction before starting syscall.
10410 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10412         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10414 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10416         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10418         * sysdeps/x86_64/rtld-memcmp.c: Removed.
10419         * sysdeps/x86_64/rtld-memset.S: Likewise.
10420         * sysdeps/x86_64/rtld-strchr.S: Likewise.
10421         * sysdeps/x86_64/rtld-strlen.S: Likewise.
10422         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10423         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10425         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10427 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
10429         * debug/strcpy_chk.c: Improve performance.
10430         * debug/stpcpy_chk.c: Likewise.
10431         * sysdeps/x86_64/strcpy_chk.S: Remove.
10432         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10434         [BZ #18240]
10435         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10437 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10439         [BZ #15128]
10440         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10441         ifuncmain8.
10442         (modules-names): Add ifuncmod8.
10443         ($(objpfx)ifuncmain8): New rule.
10444         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10445         <cpuid.h>.
10446         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10447         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10448         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10449         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10450         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10451         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10452         * sysdeps/x86_64/ifuncmain8.c: New file.
10453         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10454         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10455         Removed.
10456         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10457         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10458         Change rtld_savespace_sse to __glibc_unused2.
10459         (RTLD_CHECK_FOREIGN_CALL): Removed.
10460         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10461         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10462         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10464 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10466         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10468 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10470         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10471         Unconditionally set __fpcr to avoid uninialized warning.
10472         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10474 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10476         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10477         is corrupt.
10479         * malloc/arena.c (arena_get2): Drop unused argument.
10480         (arena_lock): Adjust.
10481         (arena_get_retry): Likewise.
10483 2015-08-24  Andreas Schwab  <schwab@suse.de>
10485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10486         Don't define.
10487         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10488         (__ASSUME_IPC64): Don't undef.
10489         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10490         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10491         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10492         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10493         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10494         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10495         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10496         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10497         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10498         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10499         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10500         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10501         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10502         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10503         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10504         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10505         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10506         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10508         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10509         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10511 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10513         * manual/Makefile (install): Only build manual when perl is available.
10515 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10518         '#undef memcpy' by '#undef memchr'.
10520 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10522         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10523         memchr not point to the internal __GI_memchr implementation.
10525 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10527         * timezone/Makefile (CFLAGS-zdump.c): Remove
10528         -Wno-strict-prototypes.
10529         (CFLAGS-zic.c): Likewise.
10530         (CFLAGS-ialloc.c): Likewise.
10531         (CFLAGS-scheck.c): Likewise.
10533         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10534         -Wno-error=undef.
10536 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10538         * i386/i686/multiarch/strcasestr-c.c: Removed.
10539         * x86_64/multiarch/strcasestr.c: Likewise.
10540         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10541         Remove strcasestr.
10543 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10545         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10547         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10548         variables for high and low parts before possibly modifying them.
10550 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10552         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10553         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10554         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10555         of "multiarch/init-arch.h".
10556         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10557         * sysdeps/x86/init-arch.h: This.
10559 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10561         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10562         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10564 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10566         [BZ #17787]
10567         * manual/macros.texi: Add twoexp macro.
10568         * manual/filesys.texi: Fix exponents.
10569         * manual/llio.texi: Likewise.
10570         * manual/stdio.texi: Likewise.
10572 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10574         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10575         incorrect use.
10577 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10579         [BZ #18370]
10580         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10581         whose real or imaginary part has small absolute value.
10582         * math/s_csqrtf.c (__csqrtf): Likewise.
10583         * math/s_csqrtl.c (__csqrtl): Likewise.
10584         * math/auto-libm-test-in: Add more tests of csqrt.
10585         * math/auto-libm-test-out: Regenerated.
10586         * sysdeps/i386/fpu/libm-test-ulps: Update.
10588 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10590         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10591         __ppc_set_ppr_very_low): New functions.
10592         * manual/platform.texi: Add documentation about
10593         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10595 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10597         * string/stpncpy.c (stpncpy): Improve performance using
10598         __strnlen/memcpy/memset.
10600 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10602         [BZ #18796]
10603         * scripts/test-installation.pl: Don't add -lmvec to build options if
10604         libmvec wasn't built.
10606 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10608         [BZ #14341]
10609         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10610         case when there is a gap between DT_REL and DT_JMPREL sections.
10611         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10612         (LDFLAGS-tst-split-dynreloc): New.
10613         (tst-split-dynreloc-ENV): Likewise.
10614         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10615         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10617 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10619         [BZ #18822]
10620         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10621         attribute_hidden.
10622         (__xstat64_conv): Likewise.
10623         (__xstat32_conv): Likewise.
10625 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10627         [BZ #18822]
10628         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10629         Don't load %ebx when calling __setcontext.  Call __setcontext
10630         with HIDDEN_JUMPTARGET.
10631         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10632         libc_hidden_def.
10634 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10636         * sysdeps/i386/i686/Makefile
10637         [$(subdir) == string] (sysdep_routines): Moved to ...
10638         * sysdeps/i386/Makefile: Here.
10639         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10640         * sysdeps/i386/cacheinfo.c: Here.
10641         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10642         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10643         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10644         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10646 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10648         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10649         __i586__ is defined.
10650         (HAS_I686): Defined to 1 if __i686__ is defined.
10652 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10654         * elf/Makefile [$(have-z-execstack) = yes]
10655         (CPPFLAGS-tst-execstack.c): New variable.
10657         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10658         conditional to [defined UTMPX || _HAVE_UT_TYPE].
10659         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10660         UTMPX || _HAVE_UT_TV].
10661         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10662         UTMPX || _HAVE_UT_TV - 0].
10664 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10666         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10667         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10668         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10670 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10672         * sysdeps/powerpc/dl-procinfo.c:
10673         (_dl_powerpc_cap_flags): Added missing strings for some
10674         hwcap features.
10675         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10677 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10679         Port the 0x7efe...feff pattern to GCC 6.
10680         See Steve Ellcey's bug report in:
10681         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10682         * string/memrchr.c (MEMRCHR):
10683         * string/rawmemchr.c (RAWMEMCHR):
10684         * string/strchr.c (strchr):
10685         * string/strchrnul.c (STRCHRNUL):
10686         Rewrite code to avoid issues with signed shift overflow.
10688 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10690         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10691         whether cpuid is available only if HAS_CPUID is 0.
10692         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10693         (HAS_I586): Likewise.
10694         (HAS_I686): Likewise.
10696 2015-08-18  Zack Weinberg  <zackw@panix.com>
10698         * misc/Versions (libc): Add GLIBC_2.23.
10700 2015-08-18  Alan Modra  <amodra@gmail.com>
10702         [BZ #18421]
10703         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10704         .Lp__global.
10705         (_start): Load %dp via .Lp__global.
10706         [!SHARED]: Use .section .rodata.
10708 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10710         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10711         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10713 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10715         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10716         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10718 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10720         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10721         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10723 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10725         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10726         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10728 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10730         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10731         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10733 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10735         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10736         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10738 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10740         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10742 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10744         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10745         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10746         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10747         (__ASSUME_LWS_CAS): Delete.
10749 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10751         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10752         * sysdeps/hppa/configure: Regenerated.
10753         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10754         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10755         * sysdeps/hppa/nptl/tls.h: Likewise.
10757 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #18823]
10760         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10761         for scaling up small arguments.
10762         * math/s_csqrtf.c (__csqrtf): Likewise.
10763         * math/s_csqrtl.c (__csqrtl): Likewise.
10764         * math/auto-libm-test-in: Add more tests of csqrt.
10765         * math/auto-libm-test-out: Regenerated.
10767 2015-08-17  Andreas Schwab  <schwab@suse.de>
10769         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10770         version set GLIBC_2.19.
10772 2015-08-16  Zack Weinberg  <zackw@panix.com>
10774         [BZ #18681]
10775         * misc/regexp.h: This interface is no longer supported.
10776         Remove all contents, leaving only an #error directive.
10777         * misc/regexp.c (loc1, loc2, locs, step, advance):
10778         Demote to compatibility symbols.
10780 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10782         [BZ #18084]
10783         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10784         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10785         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10786         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10787         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10788         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10789         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10790         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10791         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10793 2015-08-15  Zack Weinberg  <zackw@panix.com>
10795         [BZ #18795]
10796         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10797         buffer length is known to be too large, not if it's known to be
10798         small enough.
10799         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10800         overflow at runtime, involving a length parameter, twice: once
10801         with a compile-time constant length parameter, once without.
10803 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #18824]
10806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10807         scaling x * y up instead of down.
10808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10810         * math/auto-libm-test-in: Add more tests of fma.
10811         * math/auto-libm-test-out: Regenerated.
10813 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10815         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10817 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10819         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10820         unnecessary movq.
10821         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10822         Likewise.
10824 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10826         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10827         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10828         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10829         and tgamma.
10830         * math/auto-libm-test-out: Regenerated.
10831         * sysdeps/i386/fpu/libm-test-ulps: Update.
10832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10834         [BZ #16520]
10835         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10836         (__tanh): Force underflow exception for arguments with small
10837         absolute value.
10838         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10839         (__tanhf): Force underflow exception for arguments with small
10840         absolute value.
10841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10842         (__tanhl): Force underflow exception for arguments with small
10843         absolute value.
10844         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10845         (__tanhl): Force underflow exception for arguments with small
10846         absolute value.
10847         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10848         (__tanhl): Force underflow exception for arguments with small
10849         absolute value.
10850         * math/auto-libm-test-in: Add more tests of tanh.
10851         * math/auto-libm-test-out: Regenerated.
10852         * sysdeps/i386/fpu/libm-test-ulps: Update.
10854 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10856         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10857         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10859 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10861         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10862         <cpuid.h>.
10864 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10866         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10867         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10869 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10871         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10872         Remove $(objpfx)init-arch.o.
10873         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10874         init-arch.
10875         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10876         (INIT_ARCH_EXT): Defined as empty.
10877         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10878         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10879         __init_cpu_features call.  Replace HAS_XXX with
10880         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10881         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10884         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10885         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10886         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10887         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10888         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10889         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10890         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10900         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10917 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10919         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10920         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10921         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10922         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10923         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10924         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10925         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10926         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10927         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10928         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10929         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10930         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10931         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10932         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10933         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10934         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10935         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10936         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10937         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10938         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10939         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10940         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10941         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10942         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10943         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10944         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10946         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10947         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10949         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10950         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10951         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10953         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10954         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10955         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10956         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10957         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10958         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10959         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10960         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10961         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10963 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10965         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10966         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10967         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10968         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10969         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10970         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10972         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10973         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10974         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10975         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10976         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10977         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10978         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10979         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10980         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10981         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10982         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10983         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10984         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10986         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10987         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10988         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10989         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10990         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10991         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10992         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10993         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10994         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10995         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10996         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10997         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10998         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10999         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11000         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11001         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11002         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11003         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11004         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11005         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11006         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11007         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11009 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11011         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11012         (dl_platform_init): Call init_cpu_features.
11013         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11014         * sysdeps/i386/i686/cacheinfo.c
11015         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11016         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11017         * sysdeps/i386/i686/multiarch/Versions: Removed.
11018         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11019         Removed.
11020         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11021         * sysdeps/unix/sysv/linux/x86/Makefile
11022         (libpthread-sysdep_routines): Remove init-arch.
11023         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11024         <sysdeps/x86_64/dl-procinfo.c> instead of
11025         sysdeps/generic/dl-procinfo.c>.
11026         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11027         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11028         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11029         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11030         [$(subdir) == elf] (tests-static): Add
11031         tst-get-cpu-features-static.
11032         * sysdeps/x86/Versions: New file.
11033         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11034         * sysdeps/x86/cpu-features.c: Likewise.
11035         * sysdeps/x86/cpu-features.h: Likewise.
11036         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11037         * sysdeps/x86/libc-start.c: Likewise.
11038         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11039         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11040         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11041         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11042         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11043         Assume USE_MULTIARCH is defined and don't check it.
11044         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11045         (is_amd): Likewise.
11046         (max_cpuid): Likewise.
11047         (intel_check_word): Likewise.
11048         (__cache_sysconf): Don't call __init_cpu_features.
11049         (__x86_preferred_memory_instruction): Removed.
11050         (init_cacheinfo): Don't call __init_cpu_features. Replace
11051         __cpu_features with GLRO(dl_x86_cpu_features).
11052         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11053         (dl_platform_init): Call init_cpu_features.
11054         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11055         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11056         * sysdeps/x86_64/multiarch/Versions: Removed.
11057         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11058         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11059         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11060         Removed.
11061         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11063 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11065         [BZ #18820]
11066         * libio/Makefile (test-fmemopen-mem): New test.
11067         * libio/test-fmemopen.c (do_bz18820): New test.
11068         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11069         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11071 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11073         [BZ #16734]
11074         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11075         (FREE_BUF): Delete.
11076         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11077         * libio/genops.c (_IO_setb): Use malloc and free directly.
11078         (_IO_default_doallocate, _IO_default_finish): Likewise.
11079         ( _IO_unbuffer_all): Likewise.
11080         ( libc_freeres_fn): Likewise.
11081         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11082         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11083         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11084         (_IO_wdefault_doallocate): Likewise.
11086 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11088         [BZ #18086]
11089         * sysdeps/posix/nice.c (nice): Restore old errno.
11090         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11092 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11096 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11098         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11099         __bcopy and add a weak_alias to bcopy.
11100         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11101         for static build.
11103         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11104         cleanup macro usage.
11105         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11107         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11108         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11109         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11110         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11111         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11112         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11113         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11114         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11115         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11116         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11118         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11119         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11120         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11121         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11122         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11123         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11125         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11126         libc_hidden_def.
11127         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11129         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11130         (sysdep_routines): Add strstr-ppc64.
11131         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11133 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11135         [BZ #18778]
11136         * elf/Makefile (tests): Add Add tst-nodelete2.
11137         (modules-names): Add tst-nodelete2mod.
11138         (tst-nodelete2mod.so-no-z-defs): New.
11139         ($(objpfx)tst-nodelete2): Likewise.
11140         ($(objpfx)tst-nodelete2.out): Likewise.
11141         (LDFLAGS-tst-nodelete2): Likewise.
11142         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11143         out of loop through all loaded libraries.
11144         * elf/tst-nodelete2.c: New file.
11145         * elf/tst-nodelete2mod.c: Likewise.
11146         * elf/tst-znodelete-zlib.cc: Delete.
11148 2015-08-11  Andreas Schwab  <schwab@suse.de>
11150         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11151         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11152         (__openat64_nocancel): Likewise.
11154 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11156         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11157         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11158         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11159         * math/auto-libm-test-out: Regenerated.
11160         * sysdeps/i386/fpu/libm-test-ulps: Update.
11161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11163 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11165         [BZ #18790]
11166         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11167         threshold for returning +/- 1.
11168         * math/auto-libm-test-in: Add more tests of tanh.
11169         * math/auto-libm-test-out: Regenerated.
11170         * sysdeps/i386/fpu/libm-test-ulps: Update.
11172 2015-08-10  Andreas Schwab  <schwab@suse.de>
11174         [BZ #18781]
11175         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11176         MORE_OFLAGS to oflag.
11177         * io/test-lfs.c (do_test): Test openat64.
11179 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11181         [BZ #18789]
11182         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11183         smaller threshold for returning the argument.
11184         * math/auto-libm-test-in: Add more tests of sinh.
11185         * math/auto-libm-test-out: Regenerated.
11186         * sysdeps/i386/fpu/libm-test-ulps: Update.
11188 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11190         [BZ #18674]
11191         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11192         break.
11194 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11196         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11197         (generated): Don't add $(addprefix z.,$(tzfiles)).
11199 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11201         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11202         * scripts/sysd-rules.awk: Likewise.
11204 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11206         * iconvdata/tst-tables.sh: Change echo -n to printf.
11207         * nss/db-Makefile: Likewise.
11208         * posix/tst-getconf.sh: Likewise.
11209         * stdio-common/tst-unbputc.sh: Likewise.
11211 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11213         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11214         MADV_*_PAGES defines behind this feature check.
11216 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11218         [BZ #18480]
11219         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11220         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11221         Define.
11222         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11223         LOAD_REGS_5, LOAD_REGS_6): Update.
11224         (INTERNAL_SYSCALL): Update using new LOAD defines.
11225         (INTERNAL_SYSCALL_NCS): Likewise.
11226         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11228 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11230         [BZ #16734]
11231         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11233 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11235         [BZ #17905]
11236         * catgets/Makefile (tst-catgets-mem): New test.
11237         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11238         * catgets/open_catalog.c (__open_catalog): Likewise.
11239         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11241 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11243         [BZ #18787]
11244         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11245         clobber registers.
11246         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11247         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11248         Cast return to __typeof (oldval).
11250 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11252         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11253         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11254         and delete sys/syscall.h include.
11256 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11258         [BZ #16517]
11259         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11260         (tan): Force underflow exception for arguments with small absolute
11261         value.
11262         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11263         (__kernel_tanf): Force underflow exception for arguments with
11264         small absolute value.
11265         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11266         (__kernel_tanl): Force underflow exception for arguments with
11267         small absolute value.
11268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11269         (__kernel_tanl): Force underflow exception for arguments with
11270         small absolute value.
11271         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11272         (__kernel_tanl): Force underflow exception for arguments with
11273         small absolute value.
11274         * math/auto-libm-test-in: Add more tests of tan.
11275         * math/auto-libm-test-out: Regenerated.
11277 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11279         Fix sysdeps/i386/fpu/s_scalbn.S build
11281         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11283 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11285         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11287 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11289         Fix gcrt0.o compilation
11291         When static-start-installed-name is different from
11292         start-installed-name, we must not use the shared objects.
11294         * csu/Makefile
11295         (extra-objs): Add gmon-start.o when building shared library and
11296         $(static-start-installed-name) is different from
11297         $(start-installed-name).
11298         $(objpfx)g$(static-start-installed-name): When building shared
11299         library and $(static-start-installed-name) is different from
11300         $(static-start-installed-name), revert to non-shared rule,
11301         i.e. using $(objpfx)% and gmon-start.o.
11303 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11305         [BZ #16519]
11306         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11307         (__ieee754_sinh): Force underflow exception for arguments with
11308         small absolute value.
11309         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11310         (__ieee754_sinhf): Force underflow exception for arguments with
11311         small absolute value.
11312         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11313         (__ieee754_sinhl): Force underflow exception for arguments with
11314         small absolute value.
11315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11316         (__ieee754_sinhl): Force underflow exception for arguments with
11317         small absolute value.
11318         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11319         (__ieee754_sinhl): Force underflow exception for arguments with
11320         small absolute value.
11321         * math/auto-libm-test-in: Add more tests of sinh.
11322         * math/auto-libm-test-out: Regenerated.
11323         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11327         * libio/oldfileops.c: Include unistd.h.
11329 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11331         * stdlib/isomac.c: Include ctype.h.
11333 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11335         * dirent/tst-seekdir.c (main): Converted to ...
11336         (do_test): ... this.
11337         (TEST_FUNCTION): New macro.
11338         Include test-skeleton.c.
11339         * elf/tst-dlmodcount.c (main): Converted to ...
11340         (do_test): ... this.
11341         (TEST_FUNCTION): New macro.
11342         Include test-skeleton.c.
11343         * elf/tst-order-main.c (main): Converted to ...
11344         (do_test): ... this.
11345         (TEST_FUNCTION): New macro.
11346         Include test-skeleton.c.
11347         * elf/tst-pie2.c (main): Converted to ...
11348         (do_test): ... this.
11349         (TEST_FUNCTION): New macro.
11350         Include test-skeleton.c.
11351         * inet/tst-ether_aton.c (main): Converted to ...
11352         (do_test): ... this.
11353         (TEST_FUNCTION): New macro.
11354         Include test-skeleton.c.
11355         * misc/tst-mntent.c (main): Converted to ...
11356         (do_test): ... this.
11357         (TEST_FUNCTION): New macro.
11358         Include test-skeleton.c.
11359         * misc/tst-tsearch.c (main): Converted to ...
11360         (do_test): ... this.
11361         (TEST_FUNCTION): New macro.
11362         Include test-skeleton.c.
11363         * posix/tst-regexloc.c (main): Converted to ...
11364         (do_test): ... this.
11365         (TEST_FUNCTION): New macro.
11366         Include test-skeleton.c.
11367         * resolv/tst-aton.c (main): Converted to ...
11368         (do_test): ... this.
11369         (TEST_FUNCTION): New macro.
11370         Include test-skeleton.c.
11371         * stdio-common/test-fwrite.c (main): Converted to ...
11372         (do_test): ... this.
11373         (TEST_FUNCTION): New macro.
11374         Include test-skeleton.c.
11375         * stdio-common/tst-ferror.c (main): Converted to ...
11376         (do_test): ... this.
11377         (TEST_FUNCTION): New macro.
11378         Include test-skeleton.c.
11379         * stdio-common/tst-printf.c (main): Converted to ...
11380         (do_test): ... this.
11381         (TEST_FUNCTION): New macro.
11382         Include test-skeleton.c.
11383         * stdio-common/tst-printfsz.c (main): Converted to ...
11384         (do_test): ... this.
11385         (TEST_FUNCTION): New macro.
11386         Include test-skeleton.c.
11387         * stdlib/tst-strtod.c (main): Converted to ...
11388         (do_test): ... this.
11389         (TEST_FUNCTION): New macro.
11390         Include test-skeleton.c.
11391         * string/tst-strlen.c (main): Converted to ...
11392         (do_test): ... this.
11393         (TEST_FUNCTION): New macro.
11394         Include test-skeleton.c.
11395         * string/tst-svc.c (main): Converted to ...
11396         (do_test): ... this.
11397         (TEST_FUNCTION): New macro.
11398         Include test-skeleton.c.
11399         * time/tst-strptime.c (main): Converted to ...
11400         (do_test): ... this.
11401         (TEST_FUNCTION): New macro.
11402         Include test-skeleton.c.
11403         * timezone/tst-timezone.c (main): Converted to ...
11404         (do_test): ... this.
11405         (TEST_FUNCTION): New macro.
11406         Include test-skeleton.c.
11408 2015-08-05  Zack Weinberg  <zackw@panix.com>
11410         * misc/regexp.h: Update comments.
11412 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
11414         [BZ #18635]
11415         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11416         before return label.
11418 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11420         [BZ #18661]
11421         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11422         when calling __errno_location.
11423         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11424         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11426 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11428         [BZ #18661]
11429         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11430         (__lll_timedwait_tid): Align stack to 16 bytes when calling
11431         __gettimeofday.
11433 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11435         [BZ #18661]
11436         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11437         (__start_context): Don't use pop to restore %rdi so that stack
11438         is aligned to 16 bytes when calling __setcontext.
11440 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11442         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11443         only for libc.
11444         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11446 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11448         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11449         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11450         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11452 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11454         * string/memccpy.c (memccpy):
11455         Improve performance by using memchr/memcpy/__mempcpy.
11457 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11459         * string/strncpy.c (strncpy):
11460         Improve performance by using __strnlen/memcpy.
11462 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11464         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11465         Optimize to avoid an unnecessary FPCR read.
11467 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11469         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11470         Optimize to reduce FPCR/FPSR accesses.
11472 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11474         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11475         dead->data[category] != NULL.
11477 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11479         [BZ #18647]
11480         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11481         and |x| close to 1, use absolute value of x when computing log.
11482         * math/auto-libm-test-in: Add more tests of pow.
11483         * math/auto-libm-test-out: Regenerated.
11485 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11487         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11488         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11489         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11491 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11493         [BZ #18525]
11494         * locales/km_KH: Remove timezone definition.
11495         * locales/lo_LA: Likewise.
11496         * locales/my_MM: Likewise.
11497         * locales/nan_TW@latin: Likewise.
11498         * locales/th_TH: Likewise.
11499         * locales/uk_UA: Likewise.
11501 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11503         [BZ #18265]
11504         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11505         (wcsncat): Likewise.
11506         (wcscmp): Likewise.
11507         (wcsncmp): Likewise.
11509 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11511         * test-skeleton.c (usage): New function.
11512         (main): Call usage when opt is '?'.
11514 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11516         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11517         before first use.
11519 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11521         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11522         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11523         in there too.
11525 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11527         * version.h (RELEASE): Set to "development".
11528         (VERSION): Set to "2.22.90"
11530         * version.h (RELEASE): Set to "stable".
11531         (VERSION): Set to "2.22"
11532         * include/features.h (__GLIBC_MINOR__): Set to 22.
11534 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11536         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11537         Restructure macro to avoid "value computed is not used" warning.
11538         (atomic_compare_and_exchange_val_acq): Likewise.
11540 2015-08-04  Andreas Schwab  <schwab@suse.de>
11542         [BZ #18635]
11543         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11544         ret.
11545         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11547 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11549         * po/pl.po: Updated translation.
11550         * po/uk.po: Likewise.
11551         * po/fi.po: Likewise.
11552         * po/ko.po: Likewise.
11553         * po/ru.po: Likewise.
11554         * po/vi.po: Likewise.
11556 2015-07-31  Zack Weinberg  <zackw@panix.com>
11558         [BZ #18681]
11559         * regexp.h: Add unconditional #warning stating that this header
11560         will be removed soon.  Revise banner comment to match.
11561         (compile): Consistently use ERROR instead of RETURN to report
11562         errors (partial fix for bz#18681).
11563         * regexp.c: Don't include regexp.h. Remove some unnecessary
11564         declarations.
11566 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11568         * po/libc.pot: Regenerated.
11570 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11572         [BZ #18740]
11573         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11574         float-vlen4-arch-ext-cflags): Removed.
11575         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11576         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11578 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11580         [BZ #14113]
11581         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11582         aligned to __aligned__.
11583         (pthread_cond_t, pthread_rwlock_t): Likewise.
11585 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11587         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11589 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11591         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11592         (struct sigaction): Change sa_flags from a long to an int, and add
11593         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11595 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11597         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11598         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11599         sysdeps/generic/sysdep.h include.
11600         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11601         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11602         sysdeps/hppa/sysdep.h.
11603         (ENTRY, PSEUDO): Undefine before defining.
11605 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11607         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11608         from scratch to use INTERNAL_SYSCALL.
11610 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11612         [BZ #18078]
11613         * scripts/check-localplt.awk: Support alternate relocations.
11614         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11615         sections.
11616         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11617         malloc entries with + REL R_386_GLOB_DAT.
11618         * sysdeps/x86_64/localplt.data: New file.
11620 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11622         [BZ #18731]
11623         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11624         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11625         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11627 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11629         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11631 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11633         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11634         directly in terms of __sync_fetch_and_add and delete (int) cast.
11636 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11638         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11639         the -D_ASM_IA64_CURRENT_H flag.
11641 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11643         [BZ #18641]
11644         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11646 2015-07-27  Andreas Schwab  <schwab@suse.de>
11648         * conform/conformtest.pl (checknamespace): Filter out string
11649         literals while tokenizing.
11651 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11653         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11654         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11655         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11657 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11659         * nptl/tst-join7mod.c: Add #include <string.h>.
11661 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11663         * sysdeps/nios2/libm-test-ulps: Update.
11665 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11667         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11668         Fix order of arguments to the rt_sigprocmask syscall.
11669         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11670         Likewise.
11672 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11674         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11676 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11678         [BZ #18457]
11679         * nptl/Makefile (tests): New test case tst-join7.
11680         (modules-names): New test case module tst-join7mod.
11681         * nptl/tst-join7.c: New file.
11682         * nptl/tst-join7mod.c: New file.
11683         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11684         all translation units in libc.so, libpthread.so and rtld.
11686 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11690 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11692         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11694         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11695         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11699         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11700         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11703         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11704         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11705         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11706         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11707         implementation.
11709 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11711         [BZ #17711]
11712         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11713         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11714         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11715         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11716         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11717         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11719 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11721         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11722         instead of just saying load lock in the comments.
11724 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11726         * sysdeps/unix/Subdirs: Moved ...
11727         * sysdeps/posix/Subdirs: ... here.
11728         * login/pty.h (struct termios, struct winsize): Add forward decls.
11729         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11730         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11731         * sysdeps/arm/nacl/libc.abilist: Updated.
11732         * sysdeps/nacl/libutil.abilist: New file.
11734         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11735         (SIGWINCH): New macro.
11737         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11738         * sysdeps/arm/nacl/libc.abilist: Add it.
11740 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11742         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11744 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11746         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11747         Swap __glibc_reserved0 and sa_flags order.
11749 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11751         [BZ #18657]
11752         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11753         are pending TLS destructor calls.
11754         * include/link.h (struct link_map): Add concurrency note for
11755         L_TLS_DTOR_COUNT.
11756         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11757         Don't touch the link map flag.  Atomically increment
11758         l_tls_dtor_count.
11759         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11760         Avoid taking the load lock and don't touch the link map flag.
11761         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11762         * stdlib/Makefile (tests): Use it.
11763         * stdlib/tst-tls-atexit.c (do_test): dlopen
11764         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11765         to allow tst-tls-atexit-nodelete test case to use it.
11767 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11769         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11770         to bits/types.h.
11771         (msgqnum_t): New typedef.
11772         (msglen_t): Likewise.
11773         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11774         and msg_qbytes type to msglen_t.
11776 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11778         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11779         pad0 to __glibc_reserved0.
11780         (struct stat64): Likewise.
11782 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11784         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11785         Change sa_flags from a long to an int and add __glibc_reserved0 before
11786         it for padding.
11788 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11790         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11791         anonymous by deleting "siginfo" name.
11793 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11795         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11796         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11797         rather than __nacl_irt_filename.
11798         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11800         * NEWS: New item for arm-nacl port.
11801         * sysdeps/arm/nacl/libc.abilist: New file.
11802         * sysdeps/nacl/ld.abilist: New file.
11803         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11804         * sysdeps/nacl/libanl.abilist: New file.
11805         * sysdeps/nacl/libcrypt.abilist: New file.
11806         * sysdeps/nacl/libdl.abilist: New file.
11807         * sysdeps/nacl/libm.abilist: New file.
11808         * sysdeps/nacl/libpthread.abilist: New file.
11809         * sysdeps/nacl/libresolv.abilist: New file.
11810         * sysdeps/nacl/librt.abilist: New file.
11812 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11814         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11815         __startcontext to initialize the new context.
11816         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11817         up CFI directive to forbid further backtracing.
11819 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11821         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11822         reference.
11823         * charmaps/ANSI_X3.4-1968: Likewise.
11824         * charmaps/BS_4730: Likewise.
11825         * charmaps/BS_VIEWDATA: Likewise.
11826         * charmaps/CP1250: Likewise.
11827         * charmaps/CP1251: Likewise.
11828         * charmaps/CP1252: Likewise.
11829         * charmaps/CP1253: Likewise.
11830         * charmaps/CP1254: Likewise.
11831         * charmaps/CP1255: Likewise.
11832         * charmaps/CP1256: Likewise.
11833         * charmaps/CSN_369103: Likewise.
11834         * charmaps/EBCDIC-DK-NO: Likewise.
11835         * charmaps/GB_1988-80: Likewise.
11836         * charmaps/GREEK-CCITT: Likewise.
11837         * charmaps/GREEK7: Likewise.
11838         * charmaps/INIS-8: Likewise.
11839         * charmaps/ISIRI-3342: Likewise.
11840         * charmaps/ISO_2033-1983: Likewise.
11841         * charmaps/ISO_5427-EXT: Likewise.
11842         * locales/POSIX: Likewise.
11843         * locales/ar_SA: Likewise.
11844         * locales/be_BY: Likewise.
11845         * locales/be_BY@latin: Likewise.
11846         * locales/ca_ES: Likewise.
11847         * locales/cs_CZ: Likewise.
11848         * locales/da_DK: Likewise.
11849         * locales/de_BE: Likewise.
11850         * locales/de_CH: Likewise.
11851         * locales/de_LU: Likewise.
11852         * locales/en_AU: Likewise.
11853         * locales/en_BW: Likewise.
11854         * locales/en_CA: Likewise.
11855         * locales/en_DK: Likewise.
11856         * locales/en_GB: Likewise.
11857         * locales/en_IE: Likewise.
11858         * locales/en_NZ: Likewise.
11859         * locales/en_ZA: Likewise.
11860         * locales/en_ZW: Likewise.
11861         * locales/es_AR: Likewise.
11862         * locales/es_BO: Likewise.
11863         * locales/es_CL: Likewise.
11864         * locales/es_CO: Likewise.
11865         * locales/es_DO: Likewise.
11866         * locales/es_EC: Likewise.
11867         * locales/es_ES: Likewise.
11868         * locales/es_HN: Likewise.
11869         * locales/es_MX: Likewise.
11870         * locales/es_PA: Likewise.
11871         * locales/es_PE: Likewise.
11872         * locales/es_PY: Likewise.
11873         * locales/es_SV: Likewise.
11874         * locales/es_US: Likewise.
11875         * locales/es_UY: Likewise.
11876         * locales/es_VE: Likewise.
11877         * locales/et_EE: Likewise.
11878         * locales/fa_IR: Likewise.
11879         * locales/fo_FO: Likewise.
11880         * locales/fr_CA: Likewise.
11881         * locales/fr_CH: Likewise.
11882         * locales/gv_GB: Likewise.
11883         * locales/he_IL: Likewise.
11884         * locales/hr_HR: Likewise.
11885         * locales/id_ID: Likewise.
11886         * locales/is_IS: Likewise.
11887         * locales/it_CH: Likewise.
11888         * locales/iw_IL: Likewise.
11889         * locales/kl_GL: Likewise.
11890         * locales/ko_KR: Likewise.
11891         * locales/kw_GB: Likewise.
11892         * locales/lg_UG: Likewise.
11893         * locales/lt_LT: Likewise.
11894         * locales/lv_LV: Likewise.
11895         * locales/mi_NZ: Likewise.
11896         * locales/nhn_MX: Likewise.
11897         * locales/nl_BE: Likewise.
11898         * locales/pl_PL: Likewise.
11899         * locales/sk_SK: Likewise.
11900         * locales/sl_SI: Likewise.
11901         * locales/sv_FI: Likewise.
11902         * locales/tl_PH: Likewise.
11903         * locales/tr_TR: Likewise.
11904         * locales/vi_VN: Likewise.
11906 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11908         [BZ #17475]
11909         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11910         of tu_IN and bh_IN.
11912 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11914         [BZ #18694]
11915         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11916         bits/wordsize.h.
11917         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11919 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11921         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11922         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11923         (spawn_thread): New function.
11924         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11925         (do_test): ... here.  Use IS_LOADED to test for its
11926         availability.
11928 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11930         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11932 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11934         [BZ #18696]
11935         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11936         si_addr_bnd.
11937         (si_lower): New.
11938         (si_upper): Likewise.
11940 2015-07-16  David S. Miller  <davem@davemloft.net>
11942         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11944 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11946         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11947         buffer.
11948         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11949         fail output information.
11951 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11954         and strstr-ppc64..
11955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11956         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11957         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11958         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11959         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11961 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11963         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11964         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11965         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11966         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11968 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11970         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11971         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11972         rtld_hidden_proto.
11973         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11975 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11977         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11978         the test can fail.
11980         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11982         [BZ #18676]
11983         * elf/tst-nodelete-opened.c: New test case.
11984         * elf/tst-nodelete-opened-lib.c: New test case module.
11985         * elf/Makefile (tests, modules-names): Use them.
11986         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11987         early.
11989 2015-07-15  David S. Miller  <davem@davemloft.net>
11991         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11992         futex-intenal.h
11993         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11994         * sysdeps/sparc/sparc64/Makefile: Likewise.
11995         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11996         Remove space from macro define.
11997         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11999 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12001         [BZ #17475]
12002         * locale/iso-639.def: Update Bhili and Tulu language codes as
12003         per iso639-3.
12005 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12007         * elf/tst-leaks1.c (main): Converted to ...
12008         (do_test): ... this.
12009         (TEST_FUNCTION): New macro.
12010         Include test-skeleton.c.
12011         * localedata/tst-langinfo.c (main): Converted to ...
12012         (do_test): ... this.
12013         (TEST_FUNCTION): New macro.
12014         Include test-skeleton.c.
12015         * math/test-fpucw.c (main): Converted to ...
12016         (do_test): ... this.
12017         (TEST_FUNCTION): New macro.
12018         Include test-skeleton.c.
12019         * math/test-tgmath.c (main): Converted to ...
12020         (do_test): ... this.
12021         (TEST_FUNCTION): New macro.
12022         Include test-skeleton.c.
12023         * math/test-tgmath2.c (main): Converted to ...
12024         (do_test): ... this.
12025         (TEST_FUNCTION): New macro.
12026         Include test-skeleton.c.
12027         * setjmp/tst-setjmp.c (main): Converted to ...
12028         (do_test): ... this.
12029         (TEST_FUNCTION): New macro.
12030         Include test-skeleton.c.
12031         * stdio-common/tst-sscanf.c (main): Converted to ...
12032         (do_test): ... this.
12033         (TEST_FUNCTION): New macro.
12034         Include test-skeleton.c.
12035         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12036         (do_test): ... this.
12037         (TEST_FUNCTION): New macro.
12038         Include test-skeleton.c.
12040         * elf/tst-audit9.c (main): Converted to ...
12041         (do_test): ... this.
12042         (TEST_FUNCTION): New macro.
12043         Include test-skeleton.c.
12045 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12047         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12049 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12051         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12052         New variable.
12054 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12056         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12058 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12060         * sysdeps/generic/dl-fileid.h: New file.
12061         * sysdeps/posix/dl-fileid.h: New file.
12062         * sysdeps/nacl/dl-fileid.h: New file.
12063         * include/link.h: Include <dl-fileid.h>.
12064         (struct link_map): Replace l_dev and l_ino with l_file_id.
12065         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12066         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12067         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12069 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12071         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12073 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12075         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12076         Add iff $CXX is set.
12077         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12078         Likewise.
12079         (tst-nodelete-zmodiff): Likewise.
12080         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12082 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12084         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12086 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12088         * sysdeps/aarch64/fpu/math_private.h
12089         (define math_opt_barrier): Add AArch64 version.
12090         (math_force_eval): Likewise.
12092 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12094         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12096 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12098         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12099         %ld with %jd and cast to intmax_t.
12100         (do_test_length_zero): Likewise.
12102 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12104         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12106 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12108         * sysdeps/tile/libm-test-ulps: Regenerated.
12110         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12111         Comment out the whole function, not just its body.
12113 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12115         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12116         locks.
12118         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12120 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12122         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12123         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12125 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12127         * sysdeps/nptl/futex-internal.h: New file.
12128         * sysdeps/nacl/futex-internal.h: New file.
12129         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12130         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12131         error checking.
12132         (setxid_unmark_thread): Likewise.
12133         (__nptl_setxid): Likewise.
12134         (__wait_lookup_done): Likewise.
12135         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12136         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12137         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12138         * nptl/pthread_once.c (clear_once_control): Likewise.
12139         (__pthread_once_slow): Likewise.
12140         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12141         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12142         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12143         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12144         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12145         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12146         Likewise.
12147         (__pthread_rwlock_rdlock): Likewise.
12148         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12149         Likewise.
12150         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12151         Likewise.
12152         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12153         Likewise.
12154         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12155         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12156         Likewise.
12157         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12158         __ASSUME_PRIVATE_FUTEX check.
12159         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12160         Check that shared futexes are supported.
12161         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12162         wrappers with error checking.
12163         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12164         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12165         * nptl/pthread_barrierattr_setpshared.c
12166         (pthread_barrierattr_setpshared): Check that shared futexes are
12167         supported.
12168         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12169         Likewise.
12170         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12171         Likewise.
12172         * nptl/sem_init.c (futex_private_if_supported): Remove.
12173         (__new_sem_init): Adapt and check that shared futexes are supported.
12174         * nptl/sem_open.c (sem_open): Likewise.
12175         * nptl/sem_post.c (futex_wake): Remove.
12176         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12177         (do_futex_wait): Use futex wrappers with error checking.
12178         * nptl/sem_wait.c: Include lowlevellock.h.
12179         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12180         Use futex_supports_pshared.
12181         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12182         Use futex wrappers with error checking.
12183         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12184         Likewise.
12185         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12186         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12187         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12188         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12189         (futex_wake): Likewise.
12190         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12191         (do_futex_wait): Use futex wrappers with error checking.
12192         (__new_sem_wait_slow): Update EINTR handling.
12193         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12195 2015-07-09  Martin Sebor  <msebor@redhat.com>
12197         [BZ #18435]
12198         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12199         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12200         * nptl/Makefile (test-xfail-tst-once5): Define.
12202 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12204         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12205         * elf/dl-minimal.c: For readability, reorder some definitions and
12206         introduce more page breaks.  Include <stdio.h>.
12207         (__libc_fatal): New function.
12209         * include/unistd.h: Add rtld_hidden_proto for _exit.
12210         * posix/_exit.c: Add rtld_hidden_def.
12211         * sysdeps/mach/hurd/_exit.c: Likewise.
12212         * sysdeps/nacl/_exit.c: Likewise.
12213         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12214         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12216 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12218         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12219         bndmov encoding with zero displacement.
12221 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12222             H.J. Lu  <hongjiu.lu@intel.com>
12224         [BZ #18134]
12225         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12226         * sysdeps/i386/configure: Regenerated.
12227         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12228         (_dl_runtime_profile): Save and restore Intel MPX return bound
12229         registers when calling _dl_call_pltexit.  Add
12230         PRESERVE_BND_REGS_PREFIX before return.
12231         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12232         (LRV_BND1_OFFSET): Likewise.
12233         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12234         lrv_bnd1.
12235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12236         typo in bndmov encoding.
12237         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12238         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12239         branch instructions to preserve bounds.
12241 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12244         [GLIBC_2.22]: Add fmemopen.
12246 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12248         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12249         returns an error, also try to use host port from __mach_host_self for
12250         the __vm_wire call.
12251         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12253 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12255         [BZ #18400]
12256         [BZ #18648]
12257         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12258         Fix pr_uid and pr_gid members.
12259         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12260         definition to elf_greg_t.
12262 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12264         [BZ #18383]
12265         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12266         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12267         * sysdeps/arm/configure: Regenerated.
12268         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12269         (test-xfail-tst-tlsalign-static): Variable removed.
12271         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12272         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12273         rather than explicit 'ln -s'.
12275         * resolv/rpc/netdb.h: New file.
12276         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12278 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12280         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12281         length buffers.
12282         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12283         test-skeleton.c.
12285         [BZ #6544]
12286         [BZ #11216]
12287         [BZ #12836]
12288         [BZ #13151]
12289         [BZ #13152]
12290         [BZ #14292]
12291         * include/stdio.h (fmemopen): Remove hidden prototype.
12292         (__fmemopen): Add new hidden prototype.
12293         * libio/Makefile: Add oldfmemopen object.
12294         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12295         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12296         compliance.
12297         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12298         symbol compatibility.
12299         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12300         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12301         fmemopen.
12302         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12303         on append and read mode.
12304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12305         fmemopen.
12306         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12307         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12308         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12309         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12310         Likewise.
12311         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12312         [GLIBC_2.22]: Likewise.
12313         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12316         Likewise.
12317         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12318         [GLIBC_2.22]: Likewise.
12319         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12320         [GLIBC_2.22]: Likewise.
12321         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12322         [GLIBC_2.22]: Likewise.
12323         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12324         [GLIBC_2.22]: Likewise.
12325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12326         [GLIBC_2.22]: Likewise.
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12328         [GLIBC_2.22]: Likewise.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12330         [GLIBC_2.22]: Likewise.
12331         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12332         Likewise.
12333         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12334         Likewise.
12335         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12336         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12337         [GLIBC_2.22]: Likewise.
12338         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12339         [GLIBC_2.22]: Likewise.
12340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12341         [GLIBC_2.22]: Likewise.
12342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12343         [GLIBC_2.22]: Likewise.
12344         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12345         Likewise.
12346         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12347         Likewise.
12348         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12349         Likewise.
12350         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12351         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12353 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12355         [BZ #18643]
12356         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12357         IPV6_PATHMTU, and IPV6_DONTFRAG.
12359 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12361         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12362         and _IO_UNBUFFERED.
12363         * libio/oldfileops.c: Likewise.
12364         * libio/wfileops.c: Likewise.
12366 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12368         * nscd/selinux.c: Delete selinux/flask.h include.
12370 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12372         [BZ #18641]
12373         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12374         (putpwent): Likewise.
12375         (getpwnam): Likewise.
12376         (getpwent_r): Likewise.
12377         (getpwuid_r): Likewise.
12378         (getpwnam_r): Likewise.
12379         (fgetpwent_r): Likewise.
12381 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12383         [BZ #18557]
12384         * inet/rcmd.c (__validuser2_sa): Check user first to
12385         short-circuit host check.
12387 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
12388             Mikhail Ilin  <m.ilin@samsung.com>
12390         [BZ #17833]
12391         * elf/Makefile (tests): Add tst-nodelete.
12392         (modules-names): Add tst-nodelete-uniquemod.
12393         (tst-nodelete-uniquemod.so-no-z-defs): New.
12394         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12395         (tst-nodelete-zmod.so-no-z-defs): Likewise.
12396         ($(objpfx)tst-nodelete): Likewise.
12397         ($(objpfx)tst-nodelete.out): Likewise.
12398         (LDFLAGS-tst-nodelete): Likewise.
12399         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12400         * elf/dl-close.c (_dl_close_worker): Add a parameter to
12401         implement forced object deletion.
12402         (_dl_close): Pass false to _dl_close_worker.
12403         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12404         * elf/tst-nodelete.cc: New file.
12405         * elf/tst-nodeletelib.cc: Likewise.
12406         * elf/tst-znodeletelib.cc: Likewise.
12407         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12409 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12411         [BZ #18508]
12412         * stdlib/Makefile ($(objpfx)tst-makecontext3):
12413         Depend on $(libdl).
12414         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12415         is not called infinitely times.
12416         (backtrace_helper): New function.
12417         (trace_arg): New struct.
12418         (st1): Enlarge stack size.
12419         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12420         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12421         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12422         Likewise.
12424 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12426         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12428 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12430         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12431         Include sys/types.h instead of bits/types.h.
12432         Remove inclusion of bits/wordsize.h.
12434 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12436         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12437         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12438         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12439         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12440         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12441         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12443 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12445         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12446         link-defines.sym.
12447         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12448         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12449         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12450         and LR_SIZE.
12451         * sysdeps/i386/link-defines.sym: New file.
12453 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12455         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12456         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12457         ($(objpfx)tst-audit3): New rule.
12458         ($(objpfx)tst-audit3.out): Likewise.
12459         * sysdeps/i386/tst-audit3.c: New file.
12460         * sysdeps/i386/tst-audit3.h: Likewise.
12461         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12462         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12464 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12466         [BZ #18633]
12467         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12468         pointer in C code.
12469         (__strcat_c): Likewise.
12470         (__strcat_g): Likewise.
12472 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12474         [BZ #18592]
12475         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12477 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12479         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12480         New function.  (__ieee754_sqrtf): New function.
12481         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12482         New function.
12483         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12484         New function.
12486 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12488         * sysdeps/ieee754/support.c: Remove unused file.
12490 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12492         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12493         registers instead of d ones so the layout is kernel abi compatible.
12494         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12495         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12496         Likewise.
12498 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12500         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12502 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12504         [BZ #18619]
12505         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12506         and return argument in case of subnormal argument.
12508 2015-07-01  Martin Sebor  <msebor@redhat.com>
12510         [BZ #18435]
12511         * nptl/Makefile: Add tst-once5.cc.
12512         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12513         Remove macro redefinitions.
12514         * nptl/tst-once5.cc: New test.
12516 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12518         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12520         * sysdeps/arm/libm-test-ulps: Regenerated.
12522         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12523         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12525 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12527         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12528         lll_lock_wait_private and lll_futex_wake probes.
12530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12532         Likewise.
12533         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12534         atomic_spin_nop.
12535         * sysdeps/x86_64/bits/atomic.h: Likewise.
12536         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12537         to atomic_spin_nop and move ...
12538         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12539         ... here and ...
12540         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12541         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12542         atomic_spin_nop instead of BUSY_WAIT_NOP.
12543         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12544         Likewise.
12545         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12546         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12547         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12548         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12549         instead of atomic_delay.
12551 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12553         [BZ #18613]
12554         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12555         X_ADJ not X when adjusting exponent.
12556         (__ieee754_gamma_r): Do intermediate computations in
12557         round-to-nearest then adjust overflowing and underflowing results
12558         as needed.
12559         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12560         of X_ADJ not X when adjusting exponent.
12561         (__ieee754_gammaf_r): Do intermediate computations in
12562         round-to-nearest then adjust overflowing and underflowing results
12563         as needed.
12564         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12565         log of X_ADJ not X when adjusting exponent.
12566         (__ieee754_gammal_r): Do intermediate computations in
12567         round-to-nearest then adjust overflowing and underflowing results
12568         as needed.  Use 1.0L not 1.0f as numerator of division.
12569         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12570         log of X_ADJ not X when adjusting exponent.
12571         (__ieee754_gammal_r): Do intermediate computations in
12572         round-to-nearest then adjust overflowing and underflowing results
12573         as needed.  Use 1.0L not 1.0f as numerator of division.
12574         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12575         of X_ADJ not X when adjusting exponent.
12576         (__ieee754_gammal_r): Do intermediate computations in
12577         round-to-nearest then adjust overflowing and underflowing results
12578         as needed.  Use 1.0L not 1.0f as numerator of division.
12579         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12580         to auto-libm-test-in.
12581         (tgamma_test): Use ALL_RM_TEST.
12582         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12583         tests of tgamma with spurious-overflow.
12584         * math/auto-libm-test-out: Regenerated.
12585         * math/gen-libm-have-vector-test.sh: Do not check for START.
12586         * sysdeps/i386/fpu/libm-test-ulps: Update.
12587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12589         [BZ #18612]
12590         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12591         arguments, just return 0.5 times the argument, with underflow
12592         forced as needed.
12593         * math/auto-libm-test-in: Add more tests of j1.
12594         * math/auto-libm-test-out: Regenerated.
12596         [BZ #16559]
12597         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12598         (__ieee754_j1): Force underflow exception for small results.
12599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12600         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12601         (__ieee754_j1f): Force underflow exception for small results.
12602         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12603         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12605         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12606         (__ieee754_j1l): Force underflow exception for small results.
12607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12608         * math/auto-libm-test-in: Add more tests of j1 and jn.
12609         * math/auto-libm-test-out: Regenerated.
12611         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12612         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12613         (PF_MPLS): Likewise.
12614         (AF_IB): Likewise.
12615         (AF_MPLS): Likewise.
12616         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12617         value and macro.
12618         (MS_RMT_MASK): Include MS_LAZYTIME.
12620 2015-06-26  Mel Gorman  <mgorman@suse.de>
12622         [BZ #18502]
12623         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12624         already minimal.
12626 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12628         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12629         (DT_MIPS_NUM): Update.
12630         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12631         DT_MIPS_RLD_MAP_REL.
12633 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12635         [BZ #16559]
12636         [BZ #18602]
12637         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12638         round-to-nearest internally then recompute results that
12639         underflowed to zero in the original rounding mode.
12640         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12644         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12645         * sysdeps/i386/fpu/libm-test-ulps: Update.
12646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12650         * NEWS: Fixed description of link with vector math library.
12652 2015-06-25  Andreas Schwab  <schwab@suse.de>
12654         [BZ #18549]
12655         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12656         * libio/test-fmemopen.c (do_test): Add test for it.
12658 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12660         [BZ #17841]
12661         * Makeconfig (no-pie-ldflag): New.
12662         (+link): Set to $(+link-pie) if default to PIE.
12663         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12664         * config.make.in (build-pie-default): New.
12665         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12666         is default.  AC_SUBST.
12667         * configure: Regenerated.
12668         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12670 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12672         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12673         to 'unsigned int'.
12675         * resolv/gai_misc.h (struct waitlist): Change type of field
12676         counterp to 'volatile unsigned int *'.
12677         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12678         FUTEXADDR and OLDVAL.
12679         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12680         Give local variable TOTAL type 'volatile unsigned int'.
12681         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12682         * resolv/gai_suspend.c (gai_suspend):
12683         Give local variable CNTR type 'unsigned int'.
12685         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12686         counterp to 'volatile unsigned int *'.
12687         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12688         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12689         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12690         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12691         Give local variable TOTAL type 'volatile unsigned int'.
12692         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12694 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12696         [BZ #18383]
12697         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12698         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12699         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12700         comment for i386/x86-64.
12701         (test-xfail-tst-tlsalign-extern-static): Removed.
12703 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12705         * math/test-double.h: New file.
12706         * math/test-float.h: Likewise.
12707         * math/test-ldouble.h: Likewise.
12708         * math/test-math-inline.h: Likewise.
12709         * math/test-math-no-inline.h: Likewise.
12710         * math/test-math-scalar.h: Likewise.
12711         * math/test-math-vector.h: Likewise.
12712         * math/test-vec-loop.h: Remove file.  Contents moved into
12713         test-math-vector.h.
12714         * math/libm-test.inc (MATHCONST): Do not document macro.
12715         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12716         and test-math-scalar.h.
12717         (FUNC): Remove macro.
12718         (FUNC_TEST): Likewise.
12719         (FLOAT): Likewise.
12720         (MATHCONST): Likewise.
12721         (PRINTF_EXPR): Likewise.
12722         (PRINTF_XEXPR): Likewise.
12723         (PRINTF_NEXPR): Likewise.
12724         (TEST_DOUBLE): Likewise.
12725         (TEST_MATHVEC): Likewise.
12726         (__NO_MATH_INLINES): Likewise.
12727         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12728         and test-math-scalar.h.
12729         (FUNC): Remove macro.
12730         (FUNC_TEST): Likewise.
12731         (FLOAT): Likewise.
12732         (MATHCONST): Likewise.
12733         (PRINTF_EXPR): Likewise.
12734         (PRINTF_XEXPR): Likewise.
12735         (PRINTF_NEXPR): Likewise.
12736         (TEST_FLOAT): Likewise.
12737         (TEST_MATHVEC): Likewise.
12738         (__NO_MATH_INLINES): Likewise.
12739         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12740         and test-math-scalar.h.
12741         (FUNC): Remove macro.
12742         (FUNC_TEST): Likewise.
12743         (FLOAT): Likewise.
12744         (MATHCONST): Likewise.
12745         (PRINTF_EXPR): Likewise.
12746         (PRINTF_XEXPR): Likewise.
12747         (PRINTF_NEXPR): Likewise.
12748         (TEST_DOUBLE): Likewise.
12749         (TEST_MATHVEC): Likewise.
12750         (TEST_INLINE): Likewise.
12751         (__NO_MATH_INLINES): Likewise.
12752         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12753         test-math-scalar.h.
12754         (FUNC): Remove macro.
12755         (FUNC_TEST): Likewise.
12756         (FLOAT): Likewise.
12757         (MATHCONST): Likewise.
12758         (PRINTF_EXPR): Likewise.
12759         (PRINTF_XEXPR): Likewise.
12760         (PRINTF_NEXPR): Likewise.
12761         (TEST_FLOAT): Likewise.
12762         (TEST_MATHVEC): Likewise.
12763         (TEST_INLINE): Likewise.
12764         (__NO_MATH_INLINES): Likewise.
12765         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12766         and test-math-scalar.h.
12767         (FUNC): Remove macro.
12768         (FUNC_TEST): Likewise.
12769         (FLOAT): Likewise.
12770         (MATHCONST): Likewise.
12771         (PRINTF_EXPR): Likewise.
12772         (PRINTF_XEXPR): Likewise.
12773         (PRINTF_NEXPR): Likewise.
12774         (TEST_LDOUBLE): Likewise.
12775         (TEST_MATHVEC): Likewise.
12776         (TEST_INLINE): Likewise.
12777         (__NO_MATH_INLINES): Likewise.
12778         * math/test-ldouble.c: Include test-ldouble.h,
12779         test-math-no-inline.h and test-math-scalar.h.
12780         (FUNC): Remove macro.
12781         (FUNC_TEST): Likewise.
12782         (FLOAT): Likewise.
12783         (MATHCONST): Likewise.
12784         (PRINTF_EXPR): Likewise.
12785         (PRINTF_XEXPR): Likewise.
12786         (PRINTF_NEXPR): Likewise.
12787         (TEST_LDOUBLE): Likewise.
12788         (TEST_MATHVEC): Likewise.
12789         (__NO_MATH_INLINES): Likewise.
12790         * math/test-double-vlen2.h: Include test-double.h,
12791         test-math-no-inline.h and test-math-vector.h.
12792         (FLOAT): Remove macro.
12793         (FUNC): Likewise.
12794         (MATHCONST): Likewise.
12795         (PRINTF_EXPR): Likewise.
12796         (PRINTF_XEXPR): Likewise.
12797         (PRINTF_NEXPR): Likewise.
12798         (TEST_DOUBLE): Likewise.
12799         (TEST_MATHVEC): Likewise.
12800         (__NO_MATH_INLINES): Likewise.
12801         (CNCT): Likewise.
12802         (CONCAT): Likewise.
12803         (WRAPPER_NAME): Likewise.
12804         (WRAPPER_DECL): Likewise.
12805         (WRAPPER_DECL_ff): Likewise.
12806         (WRAPPER_DECL_fFF): Likewise.
12807         (VECTOR_WRAPPER): Likewise.
12808         (VECTOR_WRAPPER_ff): Likewise.
12809         (VECTOR_WRAPPER_fFF): Likewise.
12810         (VEC_LEN): New macro.
12811         * math/test-double-vlen4.h: Include test-double.h,
12812         test-math-no-inline.h and test-math-vector.h.
12813         (FLOAT): Remove macro.
12814         (FUNC): Likewise.
12815         (MATHCONST): Likewise.
12816         (PRINTF_EXPR): Likewise.
12817         (PRINTF_XEXPR): Likewise.
12818         (PRINTF_NEXPR): Likewise.
12819         (TEST_DOUBLE): Likewise.
12820         (TEST_MATHVEC): Likewise.
12821         (__NO_MATH_INLINES): Likewise.
12822         (CNCT): Likewise.
12823         (CONCAT): Likewise.
12824         (WRAPPER_NAME): Likewise.
12825         (WRAPPER_DECL): Likewise.
12826         (WRAPPER_DECL_ff): Likewise.
12827         (WRAPPER_DECL_fFF): Likewise.
12828         (VECTOR_WRAPPER): Likewise.
12829         (VECTOR_WRAPPER_ff): Likewise.
12830         (VECTOR_WRAPPER_fFF): Likewise.
12831         (VEC_LEN): New macro.
12832         * math/test-double-vlen8.h: Include test-double.h,
12833         test-math-no-inline.h and test-math-vector.h.
12834         (FLOAT): Remove macro.
12835         (FUNC): Likewise.
12836         (MATHCONST): Likewise.
12837         (PRINTF_EXPR): Likewise.
12838         (PRINTF_XEXPR): Likewise.
12839         (PRINTF_NEXPR): Likewise.
12840         (TEST_DOUBLE): Likewise.
12841         (TEST_MATHVEC): Likewise.
12842         (__NO_MATH_INLINES): Likewise.
12843         (CNCT): Likewise.
12844         (CONCAT): Likewise.
12845         (WRAPPER_NAME): Likewise.
12846         (WRAPPER_DECL): Likewise.
12847         (WRAPPER_DECL_ff): Likewise.
12848         (WRAPPER_DECL_fFF): Likewise.
12849         (VECTOR_WRAPPER): Likewise.
12850         (VECTOR_WRAPPER_ff): Likewise.
12851         (VECTOR_WRAPPER_fFF): Likewise.
12852         (VEC_LEN): New macro.
12853         * math/test-float-vlen4.h: Include test-float.h,
12854         test-math-no-inline.h and test-math-vector.h.
12855         (FLOAT): Remove macro.
12856         (FUNC): Likewise.
12857         (MATHCONST): Likewise.
12858         (PRINTF_EXPR): Likewise.
12859         (PRINTF_XEXPR): Likewise.
12860         (PRINTF_NEXPR): Likewise.
12861         (TEST_FLOAT): Likewise.
12862         (TEST_MATHVEC): Likewise.
12863         (__NO_MATH_INLINES): Likewise.
12864         (CNCT): Likewise.
12865         (CONCAT): Likewise.
12866         (WRAPPER_NAME): Likewise.
12867         (WRAPPER_DECL): Likewise.
12868         (WRAPPER_DECL_ff): Likewise.
12869         (WRAPPER_DECL_fFF): Likewise.
12870         (VECTOR_WRAPPER): Likewise.
12871         (VECTOR_WRAPPER_ff): Likewise.
12872         (VECTOR_WRAPPER_fFF): Likewise.
12873         (VEC_LEN): New macro.
12874         * math/test-float-vlen8.h: Include test-float.h,
12875         test-math-no-inline.h and test-math-vector.h.
12876         (FLOAT): Remove macro.
12877         (FUNC): Likewise.
12878         (MATHCONST): Likewise.
12879         (PRINTF_EXPR): Likewise.
12880         (PRINTF_XEXPR): Likewise.
12881         (PRINTF_NEXPR): Likewise.
12882         (TEST_FLOAT): Likewise.
12883         (TEST_MATHVEC): Likewise.
12884         (__NO_MATH_INLINES): Likewise.
12885         (CNCT): Likewise.
12886         (CONCAT): Likewise.
12887         (WRAPPER_NAME): Likewise.
12888         (WRAPPER_DECL): Likewise.
12889         (WRAPPER_DECL_ff): Likewise.
12890         (WRAPPER_DECL_fFF): Likewise.
12891         (VECTOR_WRAPPER): Likewise.
12892         (VECTOR_WRAPPER_ff): Likewise.
12893         (VECTOR_WRAPPER_fFF): Likewise.
12894         (VEC_LEN): New macro.
12895         * math/test-float-vlen16.h: Include test-float.h,
12896         test-math-no-inline.h and test-math-vector.h.
12897         (FLOAT): Remove macro.
12898         (FUNC): Likewise.
12899         (MATHCONST): Likewise.
12900         (PRINTF_EXPR): Likewise.
12901         (PRINTF_XEXPR): Likewise.
12902         (PRINTF_NEXPR): Likewise.
12903         (TEST_FLOAT): Likewise.
12904         (TEST_MATHVEC): Likewise.
12905         (__NO_MATH_INLINES): Likewise.
12906         (CNCT): Likewise.
12907         (CONCAT): Likewise.
12908         (WRAPPER_NAME): Likewise.
12909         (WRAPPER_DECL): Likewise.
12910         (WRAPPER_DECL_ff): Likewise.
12911         (WRAPPER_DECL_fFF): Likewise.
12912         (VECTOR_WRAPPER): Likewise.
12913         (VECTOR_WRAPPER_ff): Likewise.
12914         (VECTOR_WRAPPER_fFF): Likewise.
12915         (VEC_LEN): New macro.
12916         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12917         test-vec-loop.h.
12918         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12919         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12920         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12921         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12922         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12923         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12924         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12926 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12928         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12929         (__getlogin_r): ... this.
12931 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12933         [BZ #18594]
12934         * math/s_ccosh.c (__ccosh): Compare with least normal value
12935         instead of comparing class with FP_SUBNORMAL.
12936         * math/s_ccoshf.c (__ccoshf): Likewise.
12937         * math/s_ccoshl.c (__ccoshl): Likewise.
12938         * math/s_cexp.c (__cexp): Likewise.
12939         * math/s_cexpf.c (__cexpf): Likewise.
12940         * math/s_cexpl.c (__cexpl): Likewise.
12941         * math/s_csin.c (__csin): Likewise.
12942         * math/s_csinf.c (__csinf): Likewise.
12943         * math/s_csinh.c (__csinh): Likewise.
12944         * math/s_csinhf.c (__csinhf): Likewise.
12945         * math/s_csinhl.c (__csinhl): Likewise.
12946         * math/s_csinl.c (__csinl): Likewise.
12947         * math/s_ctan.c (__ctan): Likewise.
12948         * math/s_ctanf.c (__ctanf): Likewise.
12949         * math/s_ctanh.c (__ctanh): Likewise.
12950         * math/s_ctanhf.c (__ctanhf): Likewise.
12951         * math/s_ctanhl.c (__ctanhl): Likewise.
12952         * math/s_ctanl.c (__ctanl): Likewise.
12953         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12954         csin, csinh, ctan and ctanh.
12955         * math/auto-libm-test-out: Regenerated.
12956         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12957         * sysdeps/i386/fpu/libm-test-ulps: Update.
12958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12962         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12963         return value is wrong, print the expected value too.
12965 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12967         [BZ #18585]
12968         * elf/readlib.c (is_gdb_python_file): New.
12969         (process_file): Don't issue errors on filenames with -gdb.py
12970         suffix.
12972 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12974         * math/auto-libm-test-in: Add more tests of csin and csinh.
12975         * math/auto-libm-test-out: Regenerated.
12976         * math/libm-test.inc (csin_test_data): Remove tests moved to
12977         auto-libm-test-in.
12978         (csinh_test_data): Likewise.
12980         [BZ #18593]
12981         * math/s_csin.c (__csin): Negate before rather than after possibly
12982         overflowing multiplication.
12983         * math/s_csinf.c (__csinf): Likewise.
12984         * math/s_csinh.c (__csinh): Likewise.
12985         * math/s_csinhf.c (__csinhf): Likewise.
12986         * math/s_csinhl.c (__csinhl): Likewise.
12987         * math/s_csinl.c (__csinl): Likewise.
12988         * math/auto-libm-test-in: Add some tests of csin and csinh.
12989         * math/auto-libm-test-out: Regenerated.
12990         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12991         (csinh_test_data): Likewise.
12992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12994         [BZ #18586]
12995         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12996         underflow exception for small results.
12998 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13000         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13002         variable and included header.
13003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13004         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13005         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13006         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13007         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13008         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13009         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13010         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13011         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13012         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13013         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13014         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13015         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13016         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13017         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13018         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13020 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13022         [BZ #16526]
13023         [BZ #16538]
13024         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13025         (__sin): Force underflow exception for arguments with small
13026         absolute value.
13027         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13028         (__kernel_sinf): Force underflow exception for arguments with
13029         small absolute value.
13030         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13031         (__kernel_sincosl): Force underflow exception for arguments with
13032         small absolute value.
13033         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13034         (__kernel_sinl): Force underflow exception for arguments with
13035         small absolute value.
13036         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13037         (__kernel_sincosl): Force underflow exception for arguments with
13038         small absolute value.
13039         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13040         (__kernel_sinl): Force underflow exception for arguments with
13041         small absolute value.
13042         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13043         (__kernel_sinl): Force underflow exception for arguments with
13044         small absolute value.
13045         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13046         (__kernel_sinf): Force underflow exception for arguments with
13047         small absolute value.
13048         * math/auto-libm-test-in: Add more tests of sin and sincos.
13049         * math/auto-libm-test-out: Regenerated.
13051         [BZ #18245]
13052         [BZ #18583]
13053         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13054         (__kernel_standard_l): Use feholdexcept and fesetenv around
13055         conversion to double instead of special-casing overflow and
13056         underflow.
13057         * math/libm-test.inc (fmod_test_data): Add more tests.
13058         (remainder_test_data): Likewise.
13059         (sqrt_test_data): Likewise.
13061 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13063         [BZ #17403]
13064         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13065         atomic_read_barrier, atomic_write_barrier): Define.
13066         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13067         atomic_read_barrier, atomic_write_barrier): Define.
13069 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13071         * math/Makefile [$(PERL) != no]
13072         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13073         dependency on libm-test.stmp below the inclusion of Rules.
13075 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13079         and included header.
13080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13084         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13085         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13086         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13087         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13088         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13089         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13090         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13091         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13092         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13093         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13094         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13095         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13096         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13097         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13098         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13100 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #18371]
13103         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13104         intermediate but not final result might underflow.
13105         * math/s_csqrtf.c (__csqrtf): Likewise.
13106         * math/s_csqrtl.c (__csqrtl): Likewise.
13107         * math/auto-libm-test-in: Add more tests of csqrt.
13108         * math/auto-libm-test-out: Regenerated.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13111         [BZ #18219]
13112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13113         threshold on absolute value of exponent for which scaling is used.
13114         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13115         * math/auto-libm-test-in: Add more tests of exp2.
13116         * math/auto-libm-test-out: Regenerated.
13118 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13120         [BZ #17977]
13121         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13122         when initializing interface list, based on the bug analysis
13123         and the patch proposed by Eric Newton.
13124         * resolv/tst-res_hconf_reorder.c: New test.
13125         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13126         tst-res_hconf_reorder.
13127         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13128         and $(shared-thread-library).
13129         (tst-res_hconf_reorder-ENV): New variable.
13131         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13132         in comment.
13134 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #16353]
13137         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13138         (__expm1): Force underflow exception for arguments with small
13139         absolute value.
13140         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13141         (__expm1f): Force underflow exception for arguments with small
13142         absolute value.
13143         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13144         (__expm1): Force underflow exception for arguments with small
13145         absolute value.
13146         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13147         (__expm1f): Force underflow exception for arguments with small
13148         absolute value.
13149         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13150         Check for small arguments before calling __expm1.
13151         * math/auto-libm-test-in: Do not mark underflow exceptions as
13152         possibly missing for bug 16353.
13153         * math/auto-libm-test-out: Regenerated.
13155 2015-06-22  Andreas Schwab  <schwab@suse.de>
13157         [BZ #18513]
13158         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13159         PTR queries.
13161 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13163         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13165         * string/strcoll_l.c: Remove unused struct element idxnow.
13167 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13169         [BZ #18569]
13170         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13171         underflow and return argument in case of subnormal argument.
13172         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13173         Likewise.
13174         * math/auto-libm-test-in: Add more tests of expm1.
13175         * math/auto-libm-test-out: Regenerated.
13177         [BZ #16361]
13178         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13179         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13180         tiny results.
13181         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13182         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13183         tiny results.
13184         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13185         mark underflow exceptions as possibly missing for bug 16361.
13186         * math/auto-libm-test-out: Regenerated.
13188 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13190         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13191         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13192         Remove variable.
13193         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13194         (test-xfail-XOPEN2K8/utmpx.h/conform).
13196         * conform/conformtest.pl ($xerrors): New variable.
13197         (note_error): New function.
13198         (compiletest): New argument $xfail.  Use not_error.
13199         (runtest): Likewise.
13200         (top level): Handle xfail- lines.  Update calls to compiletest and
13201         runtest.  Handle xfail- and optional- in headers listed with
13202         allow-header.
13203         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13204         (O_EXEC): Likewise.
13205         (O_SEARCH): Likewise.
13206         * conform/data/stropts.h-data (ioctl): Likewise.
13207         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13208         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13209         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13210         (msghdr.msg_controllen): Likewise.
13211         (cmsghdr.cmsg_len): Likewise.
13212         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13213         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13214         variable.
13215         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13216         (test-xfail-XPG4/stropts.h/conform): Likewise.
13217         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13218         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13219         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13220         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13221         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13222         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13223         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13224         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13225         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13226         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13227         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13228         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13229         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13230         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13231         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13232         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13233         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13234         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13235         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13237 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13239         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13240         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13241         definitions for proper unfolding of __MATHDECL_VEC.
13243 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13245         * benchtests/bench-strcoll.c:
13246         Include string.h.
13247         (main): Remove unused variable res.
13249 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13251         * timezone/Makefile (%/UTC %/Universal):
13252         Generate test-result files for UTC and Universal.
13254 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13256         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13258 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13260         [BZ #16350]
13261         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13262         for arguments with small absolute value.
13263         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13264         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13265         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13266         (__asinh): Force underflow exception for arguments with small
13267         absolute value.
13268         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13269         (__asinhf): Force underflow exception for arguments with small
13270         absolute value.
13271         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13272         (__asinhl): Force underflow exception for arguments with small
13273         absolute value.
13274         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13275         (__asinhl): Force underflow exception for arguments with small
13276         absolute value.
13277         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13278         (__asinhl): Force underflow exception for arguments with small
13279         absolute value.
13280         * math/auto-libm-test-in: Do not mark underflow exceptions as
13281         possibly missing for bug 16350.
13282         * math/auto-libm-test-out: Regenerated.
13284         * include/bits/ipc.h: Remove file.
13285         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13286         variable.
13287         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13288         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13289         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13290         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13291         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13292         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13293         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13294         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13295         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13297         * math/auto-libm-test-in: Remove spurious underflow allowance for
13298         tests of cexp.
13299         * math/auto-libm-test-out: Regenerated.
13301         [BZ #18558]
13302         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13303         unconditional definition.
13304         (MCAST_BLOCK_SOURCE): Likewise.
13305         (MCAST_UNBLOCK_SOURCE): Likewise.
13306         (MCAST_LEAVE_GROUP): Likewise.
13307         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13308         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13309         (MCAST_MSFILTER): Likewise.
13310         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13311         Remove variable.
13312         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13313         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13314         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13315         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13316         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13318 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13320         * NEWS: Mention addition of x86_64 vector sincosf.
13321         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13322         * math/test-float-vlen4.h: Likewise.
13323         * math/test-float-vlen8.h: Likewise.
13324         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13325         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13326         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13327         * sysdeps/x86_64/fpu/Versions: New versions added.
13328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13329         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13330         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13331         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13332         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13334         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13336         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13337         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13338         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13339         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13340         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13341         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13342         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13343         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13344         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13345         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13346         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13347         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13350         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13351         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13353         * NEWS: Mention addition of x86_64 vector sincos.
13354         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13355         * math/math.h (__MATHDECL_VEC): New macro.
13356         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13357         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13358         declaration under condition.
13359         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13360         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13361         TEST_VEC_LOOP change.
13362         * math/test-double-vlen4.h: Likewise.
13363         * math/test-double-vlen8.h: Likewise.
13364         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13365         * math/test-float-vlen4.h: Likewise.
13366         * math/test-float-vlen8.h: Likewise.
13367         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13368         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13370         * sysdeps/x86_64/fpu/Versions: New versions added.
13371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13372         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13373         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13378         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13379         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13380         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13381         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13382         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13383         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13384         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13385         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13386         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13388         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13391         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13392         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13393         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13394         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13396         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13397         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13398         redirections for powf.
13399         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13400         * sysdeps/x86_64/fpu/Versions: New versions added.
13401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13402         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13403         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13404         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13406         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13407         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13408         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13409         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13410         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13411         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13412         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13413         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13414         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13415         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13416         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13417         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13418         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13419         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13420         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13423         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13424         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13425         * math/test-float-vlen16.h: Fixed 2 argument macro.
13426         * math/test-float-vlen4.h: Likewise.
13427         * math/test-float-vlen8.h: Likewise.
13428         * NEWS: Mention addition of x86_64 vector powf.
13430 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13432         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13433         and redefine.
13434         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13435         and redefine.
13436         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13437         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13438         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13440         [BZ #18553]
13441         * resource/getpriority.c (getpriority): Rename to __getpriority
13442         and define as weak alias of __getpriority.
13443         * resource/setpriority.c (setpriority): Rename to __setpriority
13444         and define as weak alias of __setpriority.
13445         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13446         __getpriority and define as weak alias of __getpriority.
13447         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13448         __setpriority and define as weak alias of __setpriority.
13449         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13450         strong name.
13451         (setpriority): Use __setpriority as strong name.
13452         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13453         __getpriority and define as weak alias of __getpriority.
13454         * include/sys/resource.h (__getpriority): Declare.  Use
13455         libc_hidden_proto.
13456         (__setpriority): Likewise.
13457         (getpriority): Don't use libc_hidden_proto.
13458         (setpriority): Likewise.
13459         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13460         getpriority.  Call __setpriority instead of setpriority.
13461         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13462         Remove variable.
13464         [BZ #18547]
13465         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13466         as weak alias of __getttynam.  Use prototype function definition.
13467         Call __setttyent, __getttyent and __endttyent instead of
13468         setttyent, getttyent and endttyent.
13469         (getttyent): Rename to __getttyent and define as weak alias of
13470         __getttyent.  Call __setttyent instead of setttyent.  Call
13471         __fgets_unlocked instead of fgets_unlocked.
13472         (setttyent): Rename to __setttyent and define as weak alias of
13473         __setttyent.
13474         (endttyent): Rename to __endttyent and define as weak alias of
13475         __endttyent.
13476         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13477         (__setttyent): Likewise.
13478         (__endttyent): Likewise.
13479         (getttyent): Don't use libc_hidden_proto.
13480         (setttyent): Likewise.
13481         (endttyent): Likewise.
13482         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13483         __endttyent instead of setttyent, getttyent and endttyent.
13484         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13485         Remove variable.
13487         [BZ #18546]
13488         * socket/recv.c (__recv): Use libc_hidden_def.
13489         * socket/socket.c (__socket): Likewise.
13490         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13491         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13492         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13493         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13494         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13495         libc_hidden_def.
13496         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13497         libc_hidden_weak.
13498         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13499         Use libc_hidden_proto.
13500         (__recv): Likewise.
13501         * socket/Versions (libc): Export __recv and __socket at version
13502         GLIBC_PRIVATE.
13503         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13504         instead of recv.
13505         (init_mq_netlink): Call __socket instead of socket.
13506         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13507         Remove variable.
13509         [BZ #18545]
13510         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13511         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13512         hidden_weak.
13513         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13514         define as alias of __mq_timedsend.  Use hidden_weak.
13515         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13516         __mq_timedsend as strong name.
13517         (mq_timedreceive): Use __mq_timedreceive as strong name.
13518         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13519         (__mq_timedreceive): Likewise.
13520         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13521         __mq_timedreceive instead of mq_timedreceive.
13522         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13523         instead of mq_timedsend.
13524         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13525         Remove variable.
13527         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13528         hidden_def and hidden_weak instead of libc_hidden_def and
13529         libc_hidden_weak.
13530         (top level): Refer to hidden_def in comment.
13531         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13532         macro.  Use it instead of libc_hidden_def.
13533         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13534         specify __GI_* name explicitly.
13535         (mq_timedreceive): Likewise.
13536         (mq_setattr): Likewise.
13538         [BZ #18544]
13539         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13540         __pthread_barrier_init and define as weak alias of
13541         __pthread_barrier_init.
13542         * sysdeps/sparc/nptl/pthread_barrier_init.c
13543         (pthread_barrier_init): Likewise.
13544         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13545         __pthread_barrier_wait and define as weak alias of
13546         __pthread_barrier_wait.
13547         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13548         (pthread_barrier_wait): Likewise.
13549         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13550         (pthread_barrier_wait): Likewise.
13551         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13552         (pthread_barrier_wait): Likewise.
13553         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13554         (pthread_barrier_wait): Likewise.
13555         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13556         __pthread_barrier_wait at version GLIBC_PRIVATE.
13557         * include/pthread.h (__pthread_barrier_init): Declare.
13558         (__pthread_barrier_wait): Likewise.
13559         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13560         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13561         (helper_thread): Likewise.
13562         (init_mq_netlink): Call __pthread_barrier_init instead of
13563         pthread_barrier_init.
13565         [BZ #18542]
13566         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13567         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13568         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13569         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13570         vswscanf.
13571         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13572         Remove variable.
13574         [BZ #18540]
13575         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13576         strong alias of _IO_fflush.  Use libc_hidden_def.
13577         * libio/iofflush_u.c (fflush_unlocked): Rename to
13578         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13579         Use libc_hidden_weak.
13580         * include/stdio.h (__fflush_unlocked): Declare.  Use
13581         libc_hidden_proto.
13582         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13583         fflush_unlocked.
13584         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13585         Remove variable.
13587         [BZ #18539]
13588         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13589         define as weak alias of __addseverity.
13590         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13591         Remove variable.
13592         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13593         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13594         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13596         [BZ #18536]
13597         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13598         (__tfind): Likewise.
13599         (__tdelete): Likewise.
13600         (__twalk): Likewise.
13601         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13602         __twalk to GLIBC_PRIVATE.
13603         * include/search.h (__tsearch): Use libc_hidden_proto.
13604         (__tfind): Likewise.
13605         (__tdelete): Likewise.
13606         (__twalk): Likewise.
13607         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13608         Call __tdelete instead of tdelete.
13609         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13610         tfind.  Call __tsearch instead of tsearch.
13611         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13612         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13613         Remove variable.
13614         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13616         [BZ #18534]
13617         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13618         (dprintf): Define as a weak alias of __dprintf, not a strong
13619         alias.
13620         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13621         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13622         dprintf.
13623         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13624         Remove variable.
13625         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13626         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13628         [BZ #18533]
13629         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13630         not a strong alias.
13631         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13632         Remove variable.
13634         [BZ #18532]
13635         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13636         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13637         (in6addr_loopback): Rename to __in6addr_loopback and define as
13638         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13639         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13640         libc_hidden_proto.
13641         (__in6addr_any): Likewise.
13642         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13643         in6addr_any.
13644         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13645         variable.
13646         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13648 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13650         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13651         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13652         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13653         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13654         redirections for pow.
13655         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13656         * sysdeps/x86_64/fpu/Versions: New versions added.
13657         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13658         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13659         build of SSE, AVX2 and AVX512 IFUNC versions.
13660         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13661         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13664         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13665         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13666         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13667         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13668         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13669         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13670         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13671         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13672         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13673         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13674         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13675         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13676         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13677         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13678         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13679         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13680         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13681         * NEWS: Mention addition of x86_64 vector pow.
13683         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13684         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13685         redirections for expf.
13686         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13687         * sysdeps/x86_64/fpu/Versions: New versions added.
13688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13689         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13690         build of SSE, AVX2 and AVX512 IFUNC versions.
13691         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13692         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13693         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13694         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13695         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13696         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13697         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13698         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13699         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13700         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13701         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13702         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13703         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13704         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13705         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13706         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13707         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13708         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13709         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13710         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13711         * NEWS: Mention addition of x86_64 vector expf.
13713         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13714         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13715         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13716         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13717         redirections for exp.
13718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13719         * sysdeps/x86_64/fpu/Versions: New versions added.
13720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13722         build of SSE, AVX2 and AVX512 IFUNC versions.
13723         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13725         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13727         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13728         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13729         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13730         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13731         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13732         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13733         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13734         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13735         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13736         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13737         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13739         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13740         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13741         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13742         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13743         * NEWS: Mention addition of x86_64 vector exp.
13745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13746         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13747         redirections for logf.
13748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13749         * sysdeps/x86_64/fpu/Versions: New versions added.
13750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13752         build of SSE, AVX2 and AVX512 IFUNC versions.
13753         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13754         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13755         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13756         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13757         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13758         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13759         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13760         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13761         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13762         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13763         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13764         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13765         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13766         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13767         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13768         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13769         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13770         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13771         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13772         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13773         * NEWS: Mention addition of x86_64 vector logf.
13775         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13776         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13777         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13778         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13779         redirections for log.
13780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13781         * sysdeps/x86_64/fpu/Versions: New versions added.
13782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13784         build of SSE, AVX2 and AVX512 IFUNC versions.
13785         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13786         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13787         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13788         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13789         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13790         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13791         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13792         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13793         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13794         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13795         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13796         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13797         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13798         test.
13799         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13802         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13803         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13804         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13805         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13806         * NEWS: Mention addition of x86_64 vector log.
13808 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13810         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13811         cfi_adjust_cfa_offset argument.
13812         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13813         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13815         [BZ #18034]
13816         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13817         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13818         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13819         ordering using ldar.
13820         (_dl_tlsdesc_dynamic): Likewise.
13821         (_dl_tlsdesc_return_lazy): Likewise.
13822         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13823         relaxed atomics instead of volatile and synchronize with release store.
13824         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13825         volatile.
13826         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13828 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13830         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13831         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13832         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13833         * sysdeps/x86_64/fpu/Versions: New versions added.
13834         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13835         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13836         build of SSE, AVX2 and AVX512 IFUNC versions.
13837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13838         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13841         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13842         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13843         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13844         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13845         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13846         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13847         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13848         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13849         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13850         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13851         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13852         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13853         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13854         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13855         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13856         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13857         * NEWS: Mention addition of x86_64 vector sinf.
13859 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13861         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13862         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13863         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13864         Remove variable.
13865         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13866         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13868 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #18530]
13871         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13872         strong alias of _IO_fputs.  Use libc_hidden_def.
13873         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13874         and define as weak alias of __fputs_unlocked.  Use
13875         libc_hidden_weak.
13876         * include/stdio.h (__fputs_unlocked): Declare.  Use
13877         libc_hidden_proto.
13878         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13879         fputs_unlocked.
13881         [BZ #18529]
13882         * resolv/netdb.h [__USE_POSIX]: Change condition to
13883         [__USE_XOPEN2K].
13884         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13885         not expect.
13886         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13887         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13888         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13889         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13890         [XPG4 || UNIX98] (AI_ALL): Likewise.
13891         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13892         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13893         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13894         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13895         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13896         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13897         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13898         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13899         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13900         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13901         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13902         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13903         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13904         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13905         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13906         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13907         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13908         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13909         [XPG4 || UNIX98] (gai_strerror): Likewise.
13910         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13911         [XPG4 || UNIX98] (getnameinfo): Likewise.
13913         [BZ #18528]
13914         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13915         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13916         __USE_XOPEN2K8].
13917         (getgrent): Likewise.
13918         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13919         expect.
13920         [XPG3 || POSIX2008] (endgrent): Likewise.
13921         [XPG3] (setgrent): Likewise.
13922         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13923         variable.
13924         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13926         [BZ #18527]
13927         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13928         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13929         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13930         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13931         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13932         * include/unistd.h (__getlogin_r): Declare.  Use
13933         libc_hidden_proto.
13934         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13935         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13936         variable.
13937         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13938         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13939         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13941 2015-06-12  Martin Sebor  <msebor@redhat.com>
13943         [BZ #18512]
13944         * Makerules (check-install-supported): New target.
13945         (install): Add check-install-supported as a dependency.
13946         * manual/install.texi (Installing the C Library): Document
13947         that overriding prefix and exec_prefix is not supported.
13948         Mention DESTDIR.
13949         * INSTALL: Regenerate from the above.
13951 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13953         [BZ #18519]
13954         * posix/Versions (libc): Export __libc_pread at version
13955         GLIBC_PRIVATE.
13956         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13957         instead of pread.
13958         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13959         variable.
13961         [BZ #18522]
13962         * misc/efgcvt_r.c
13963         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13964         (cvt_symbol): Use weak_alias instead of strong_alias.
13965         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13966         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13967         Remove variable.
13968         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13969         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13971         [BZ #18520]
13972         * inet/herrno.c (h_errno): Rename to __h_errno.
13973         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13974         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13975         to __h_errno instead of h_errno.
13976         * nptl/herrno.c (h_errno): Rename to __h_errno.
13977         (__h_errno_location): Refer to __h_errno not h_errno.
13978         * resolv/Versions (h_errno): Rename to __h_errno.
13979         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13980         Remove variable.
13981         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13983 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13985         * configure.ac: More strict check for AVX512 assembler support.
13986         * configure: Regenerated.
13988         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13989         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13991         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13992         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13993         * sysdeps/x86_64/fpu/Versions: New versions added.
13994         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13995         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13996         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13998         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13999         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14000         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14001         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14003         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14004         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14005         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14006         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14007         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14008         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14009         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14010         test.
14011         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14012         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14013         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14014         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14015         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14016         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14017         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14018         * NEWS: Mention addition of x86_64 vector sin.
14020 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14022         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14023         comment.
14025 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14027         [BZ #18479]
14028         * nptl/pt-interp.c: New file.
14029         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14030         Add pt-interp.
14031         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14032         $(common-objpfx)runtime-linker.h.
14034 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14036         * Makeconfig (+interp): Remove unused variable.
14037         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14038         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14039         $(elf-objpfx)runtime-linker.h.
14040         ($(elf-objpfx)runtime-linker.h): Rename to
14041         $(common-objpfx)runtime-linker.h and move ...
14042         * Makerules [$(build-shared) = yes]: ... here.
14043         * elf/interp.c: Include <runtime-linker.h> instead of
14044         <elf/runtime-linker.h>.
14046 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14048         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14049         (__gettimeofday_syscall): Remove vsyscall fallback.
14050         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14051         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14052         Add syscall fallback function.
14053         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14054         if vDSO is not present.
14055         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14056         fallback function.
14057         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14058         present.
14059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14060         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14062 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14064         [BZ #18497]
14065         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14066         of wcscmp.
14067         (wcscmp): Define as weak alias of WCSCMP.
14068         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14069         wcscoll.
14070         (USE_HIDDEN_DEF): Define.
14071         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14072         __wcscoll.  Don't use libc_hidden_weak.
14073         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14074         wcscmp.
14075         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14076         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14077         __GI_wcscmp.
14078         (weak_alias): Undefine and redefine.
14079         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14080         __wcscmp and define as weak alias of __wcscmp.
14081         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14082         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14083         (__wcscoll): Likewise.
14084         (wcscmp): Don't use libc_hidden_proto.
14085         (wcscoll): Likewise.
14086         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14087         wcscoll.
14088         * posix/regexec.c (check_node_accept_bytes): Likewise.
14089         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14090         variable.
14091         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14092         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14094         [BZ #18507]
14095         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14096         __fstatvfs and define as weak alias of __fstatvfs.  Use
14097         libc_hidden_weak.
14098         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14099         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14100         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14101         Define as alias of __fstatvfs, not fstatvfs.
14102         (fstatvfs64): Likewise.
14103         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14104         Define as alias of __statvfs, not statvfs.
14105         (statvfs64): Likewise.
14106         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14107         Remove variable.
14109 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14112         (HAVE_GETCPU_VSYSCALL): Define.
14113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14114         (HAVE_GETCPU_VSYSCALL): Likewise.
14115         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14116         * sysdeps/unix/sysv/linux/sched_getcpu.c
14117         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14118         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14119         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14120         prototype.
14121         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14122         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14123         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14125         Define.
14126         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14127         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14128         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14131 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14133         * sysdeps/x86_64/fpu/Makefile: New file.
14134         * sysdeps/x86_64/fpu/Versions: New file.
14135         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14136         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14137         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14138         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14139         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14140         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14141         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14143         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14145         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14146         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14147         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14148         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14149         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14150         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14151         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14152         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14153         * sysdeps/x86_64/configure: Regenerated.
14154         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14155         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14156         * manual/install.texi (Configuring and compiling): Document
14157         --disable-mathvec.
14158         * INSTALL: Regenerated.
14159         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14161         * math/Makefile: Added rules for vector tests.
14162         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14163         declaration under condition.
14164         * math/test-double-vlen2.h: New file.
14165         * math/test-double-vlen4.h: New file.
14166         * math/test-double-vlen8.h: New file.
14167         * math/test-vec-loop.h: Added initialization macro.
14168         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14170         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14171         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14172         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14173         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14175         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14176         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14177         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14178         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14181         * sysdeps/x86_64/fpu/Versions: New versions added.
14182         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14183         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14184         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14185         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14186         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14187         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14188         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14189         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14190         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14191         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14192         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14193         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14194         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14195         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14196         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14197         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14198         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14199         * NEWS: Mention addition of x86_64 vector cosf.
14201         * math/Makefile: Added CFLAGS for new tests.
14202         * math/test-float-vlen16.h: New file.
14203         * math/test-float-vlen4.h: New file.
14204         * math/test-float-vlen8.h: New file.
14205         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14206         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14208         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14209         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14210         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14211         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14212         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14213         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14214         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14215         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14217 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14219         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14220         * locale/programs/ld-ctype.c: Likewise.
14222 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14224         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14225         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14226         bit_ZMM16_31_state): New macro.
14227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14228         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14230 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14232         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14234 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14236         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14238 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #18498]
14241         * libio/memstream.c (open_memstream): Rename to __open_memstream
14242         and define as weak alias of __open_memstream.
14243         * include/stdio.h (__open_memstream): Declare.  Use
14244         libc_hidden_proto.
14245         (open_memstream): Don't use libc_hidden_proto.
14246         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14247         open_memstream.
14248         * posix/getopt.c (_getopt_internal_r): Likewise.
14249         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14250         variable.
14251         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14252         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14253         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14255         [BZ #18496]
14256         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14257         instead of wcrtomb.
14259         [BZ #18483]
14260         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14261         [__USE_XOPEN2K8].  Remove redundant #endif.
14262         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14263         Remove redundant #if.
14264         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14265         Remove variable.
14266         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14267         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14269         [BZ #18495]
14270         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14271         (__iswlower): Likewise.
14272         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14273         (__iswlower): Likewise.
14274         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14275         instead of towlower.
14276         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14277         instead of iswlower.  Call __towupper instead of towupper.
14278         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14279         instead of iswalnum.
14281 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14283         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14284         errors to stderr.
14286 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14288         [BZ #15661]
14289         [BZ #17322]
14290         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14291         Check for overflow properly.  Check for O_APPEND.  Ignore large
14292         file system block sizes.  Add comments about problems.
14293         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14294         * manual/filesys.texi (Storage Allocation): New node.
14296 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14298         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14299         cancellable syscalls.
14300         (SYS_ify): Add guard to no redefine it.
14301         (INLINE_SYSCALL): Likewise.
14302         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14303         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14304         SYSCALL_CANCEL instead.
14305         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14306         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14307         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14308         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14309         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14310         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14311         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14312         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14313         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14314         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14315         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14316         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14317         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14318         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14319         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14321         Likewise.
14322         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14323         (__libc_pread64): Likewise.
14324         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14325         (__libc_preadv): Likewise.
14326         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14327         (__libc_readv64): Likewise.
14328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14329         (__libc_pwrite): Likewise.
14330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14331         (__libc_pwrite64): Likewise.
14332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14333         (__libc_pwritev): Likewise.
14334         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14335         (__libc_pwritev64): Likewise.
14336         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14337         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14338         (sync_file_range): Likewise.
14339         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14340         Likewise.
14341         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14342         Likewise.
14343         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14344         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14345         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14346         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14347         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14348         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14349         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14350         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14352         Likewise.
14353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14354         (__libc_read64): Likewise.
14355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14356         Likewise.
14357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14358         Likewise.
14359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14360         Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14364         (__libc_pread64): Likewise.
14365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14366         Likewise.
14367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14368         (__libc_pwrite64): Likewise.
14369         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14370         (sync_file_range): Likewise.
14371         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14372         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14373         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14374         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14375         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14376         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14377         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14378         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14379         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14380         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14381         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14382         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14383         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14384         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14385         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14386         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14387         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14388         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14389         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14390         Likewise.
14391         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14392         Likewise.
14393         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14394         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14395         Likewise.
14396         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14397         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14398         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14399         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14400         Likewise.
14401         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14402         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14403         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14404         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14405         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14407 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
14409         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14410         Include dl-vdso.
14411         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14412         Use VDSO routines for gettimeofday, clock_gettime if
14413         available.
14414         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14415         Declare VDSO symbols.
14416         * sysdeps/unix/sysv/linux/arm/sysdep.h:
14417         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14418         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14419         * sysdeps/unix/sysv/linux/arm/Versions: Add
14420         __vdso_clock_gettime.
14422 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14424         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14425         be an inline implementation regardless of library is built within.
14426         (open_not_cancel_2): Likewise.
14427         (__read_nocancel): Likewise.
14428         (__write_nocancel): Likewise.
14429         (openat_not_cancel): Likewise.
14430         (openat_not_cancel_3): Likewise.
14431         (openat64_not_cancel): Likewise.
14432         (openat64_not_cancel_3): Likewise.
14433         (__close_nocancel): Likewise.
14434         (pause_not_cancel): Likewise.
14435         (nanosleep_not_cancel): Likewise.
14436         (sigsuspend_not_cancel): Likewise.
14438 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14440         [BZ #14958]
14441         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14442         wake-up.
14443         (__pthread_rwlock_rdlock_slow): Likewise.
14444         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14445         Likewise.
14446         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14447         Likewise.
14448         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14449         * nptl/tst-rwlock16.c: New file.
14450         * nptl/Makefile (tests): Add new test.
14452 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14454         [BZ #18324]
14455         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14456         missing wake-up of readers.
14457         * nptl/tst-rwlock15.c: New file.
14458         * nptl/Makefile (tests): Add new test.
14460 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14462         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14463         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14464         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14465         and __nacl_supply_interface_rtld.
14466         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14467         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14468         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14469         Add __nacl_supply_interface_rtld.
14470         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14472 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14474         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14475         isfinite.
14476         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14477         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14479 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14481         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14482         __signbit* with standard C99 macros.
14483         * math/e_exp10l.c: Likewise.
14484         * math/e_exp2l.c: Likewise.
14485         * math/e_scalb.c: Likewise.
14486         * math/e_scalbf.c: Likewise.
14487         * math/e_scalbl.c: Likewise.
14488         * math/s_ldexp.c: Likewise.
14489         * math/s_ldexpf.c: Likewise.
14490         * math/s_ldexpl.c: Likewise.
14491         * math/w_atan2.c: Likewise.
14492         * math/w_atan2f.c: Likewise.
14493         * math/w_atan2l.c: Likewise.
14494         * math/w_cosh.c: Likewise.
14495         * math/w_coshf.c: Likewise.
14496         * math/w_coshl.c: Likewise.
14497         * math/w_exp10.c: Likewise.
14498         * math/w_exp10f.c: Likewise.
14499         * math/w_exp10l.c: Likewise.
14500         * math/w_exp2.c: Likewise.
14501         * math/w_exp2f.c: Likewise.
14502         * math/w_exp2l.c: Likewise.
14503         * math/w_fmod.c: Likewise.
14504         * math/w_fmodf.c: Likewise.
14505         * math/w_fmodl.c: Likewise.
14506         * math/w_hypot.c: Likewise.
14507         * math/w_hypotf.c: Likewise.
14508         * math/w_hypotl.c: Likewise.
14509         * math/w_jnl.c: Likewise.
14510         * math/w_lgamma.c: Likewise.
14511         * math/w_lgamma_r.c: Likewise.
14512         * math/w_lgammaf.c: Likewise.
14513         * math/w_lgammaf_r.c: Likewise.
14514         * math/w_lgammal.c: Likewise.
14515         * math/w_lgammal_r.c: Likewise.
14516         * math/w_pow.c: Likewise.
14517         * math/w_powf.c: Likewise.
14518         * math/w_powl.c: Likewise.
14519         * math/w_remainder.c: Likewise.
14520         * math/w_remainderf.c: Likewise.
14521         * math/w_remainderl.c: Likewise.
14522         * math/w_scalb.c: Likewise.
14523         * math/w_scalbf.c: Likewise.
14524         * math/w_scalbl.c: Likewise.
14525         * math/w_scalbln.c: Likewise.
14526         * math/w_scalblnf.c: Likewise.
14527         * math/w_scalblnl.c: Likewise.
14528         * math/w_sinh.c: Likewise.
14529         * math/w_sinhf.c: Likewise.
14530         * math/w_sinhl.c: Likewise.
14531         * math/w_tgamma.c: Likewise.
14532         * math/w_tgammaf.c: Likewise.
14533         * math/w_tgammal.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14535         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14536         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14537         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14538         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14540         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14541         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14542         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14543         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14544         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14545         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14546         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14548         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14549         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14551         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14552         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14561         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14562         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14564         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14565         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14566         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14567         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14568         * stdio-common/printf_fp.c: Likewise.
14569         * stdio-common/printf_fphex.c: Likewise.
14570         * stdio-common/printf_size.c: Likewise.
14572 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14574         [BZ #18470]
14575         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14576         strnlen.
14577         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14578         Remove variable.
14579         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14580         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14581         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14582         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14583         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14584         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14585         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14586         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14587         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14588         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14590         [BZ #18468]
14591         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14592         weak alias of __wmemchr.  Use libc_hidden_weak.
14593         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14594         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14595         instead of wmemchr.
14597 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14599         [BZ #18383]
14600         * elf/tst-tlsalign-extern.c: New file.
14601         * elf/tst-tlsalign-extern-static.c: New file.
14602         * elf/tst-tlsalign-vars.c: New file.
14603         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14604         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14605         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14606         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14607         (test-xfail-tst-tlsalign-extern-static): New variable.
14609 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14611         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14612         Use variable name _sc_err instead of err.
14613         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14614         instead of ret.
14615         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14616         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14617         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14618         (INLINE_SYSCALL): Likewise.
14620         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14621         * include/string.h (__strnlen): Use libc_hidden_proto.
14622         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14623         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14624         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14625         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14626         (libc_hidden_def): Undefine and redefine.
14627         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14628         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14629         __GI_strnlen.
14630         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14631         libc_hidden_def.
14632         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14634         [BZ #18469]
14635         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14636         weak alias of __towlower.  Use libc_hidden_weak.
14637         (towupper): Rename to __towupper and define as weak alias of
14638         __towupper.  Use libc_hidden_weak.
14639         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14640         (__towupper): Likewise.
14641         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14642         __towlower instead of towlower.
14644 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14646         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14647         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14649 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14651         * sysdeps/aarch64/libm-test-ulps: Update.
14653 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14655         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14656         Define.
14657         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14659         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14660         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14661         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14662         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14663         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14665 2015-06-01  Martin Sebor  <msebor@redhat.com>
14667         [BZ #18116]
14668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14669         (__setcontext): Use extended four-operand version of mtsf whenever
14670         possible.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14672         (__novec_swapcontext): Likewise.
14674 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         * benchtests/scripts/compare_bench.py: New file.
14677         * benchtests/scripts/import_bench.py (mean): New function.
14678         (split_list): Likewise.
14679         (do_for_all_timings): Likewise.
14680         (compress_timings): Likewise.
14682         * benchtests/scripts/import_bench.py: New file.
14683         * benchtests/scripts/validate_benchout.py: Import import_bench
14684         instead of jsonschema.
14685         (validate_bench): Remove function.
14686         (main): Use import_bench.
14688 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14690         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14691         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14693 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14697 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14699         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14700         set THREAD_SELF->tid to a magic value and futex-wake it.
14701         Pass its address to the thread_exit system call.
14702         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14703         bit is clear.
14704         * sysdeps/nacl/lowlevellock.h: New file.
14705         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14707         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14708         Add TIMEOUT to current time, don't subtract it.
14710 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14712         [BZ #2981]
14713         [BZ #18422]
14714         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14715         ($(objpfx)tst-audit2.out): Also depend on
14716         $(objpfx)tst-auditmod9b.so.
14717         * elf/tst-audit2.c: Include <dlfcn.h>.
14718         (calloc_called): New.
14719         (calloc): Allow to be called more than once.
14720         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14722 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14724         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14725         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14727 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14729         * stdlib/monetary.h: Fix comment.
14731 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14733         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14734         Avoid using variables in #defines that might cause shadowing.
14735         (INTERNAL_VSYSCALL_CALL): Likewise.
14737 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14739         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14741         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14742         * nptl/lll_timedlock_wait.c: ... to this new file.
14743         * nptl/Makefile (libpthread-routines): Add it.
14744         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14745         * nptl/lll_timedwait_tid.c: ... to this new file.
14746         * nptl/Makefile (libpthread-routines): Add it.
14747         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14748         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14749         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14750         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14751         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14752         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14753         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14754         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14755         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14756         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14758 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14760         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14761         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14762         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14764         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14766         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14768         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14769         * sysdeps/unix/sysv/linux/tile/sysdep.h
14770         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14771         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14772         using vDSO syscall macro.
14774 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14776         [BZ #17293]
14777         * uk_UA: Fix sorting order for Ukrainian locale
14779 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14781         * stdlib/monetary.h: Fix comment.
14783 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14785         [BZ #18234]
14786         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14787         st_mtim and st_ctim members.
14788         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14789         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14790         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14791         (struct stat64): Likewise.
14792         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14793         (struct stat64): Likewise.
14794         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14795         (struct stat64): Likewise.
14797 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14799         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14800         Define and include sysdep-vdso.h.
14801         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14802         Likewise.
14803         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14804         Likewise.
14805         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14806         Define with VDSO_SYMBOL and use PTR_MANGLE.
14807         (__vdso_clock_gettime): Likewise.
14808         (__vdso_clock_getres): Likewise.
14809         (_libc_vdso_platform_setup): Likewise.
14810         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14811         Likewise.
14812         (_libc_vdso_platform_setup): Likewise.
14813         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14814         Likewise.
14815         (__vdso_clock_gettime): Likewise.
14816         (__vdso_clock_getres): Likewise.
14817         (__vdso_get_tbfreq): Likewise.
14818         (__vdso_getcpu): Likewise.
14819         (__vdso_time): Likewise.
14820         (__vdso_sigtramp_rt64): Likewise.
14821         (__vdso_signtramp32): Likewise.
14822         (__vdso_sigtramp_rt32): Likewise.
14823         (_libc_vdso_platform_setup): Likewise.
14824         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14825         Likewise.
14826         (__vdso_clock_gettime): Likewise.
14827         (__vdso_clock_getres): Likewise.
14828         (_libc_vdso_platform_setup): Likewise.
14829         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14830         Likewise.
14831         (__vdso_clock_gettime): Likewise.
14832         (_libc_vdso_platform_setup): Likewise.
14833         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14834         Likewise.
14835         (__vdso_getcpu): Likewise.
14836         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14837         Use VDSO_SYMBOL macro to define.
14838         (__vdso_clock_gettime): Likewise.
14839         (__vdso_clock_getres): Likewise.
14840         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14841         Likewise.
14842         (__vdso_clock_gettime): Likewise.
14843         (__vdso_clock_getres): Likewise.
14844         (__vdso_get_tbfreq): Likewise.
14845         (__vdso_getcpu): Likewise.
14846         (__vdso_time): Likewise.
14847         (__vdso_sigtramp_rt64): Likewise.
14848         (__vdso_signtramp32): Likewise.
14849         (__vdso_sigtramp_rt32): Likewise.
14850         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14851         Likewise.
14852         (__vdso_clock_gettime): Likewise.
14853         (__vdso_clock_getres): Likewise.
14854         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14855         Likewise.
14856         (__vdso_clock_gettime): Likewise.
14857         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14858         Likewise.
14859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14860         macro.
14861         (INTERNAL_VSYSCALL): Likewise.
14862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14863         Remove macro.
14864         (INTERNAL_VSYSCALL): Likewise.
14865         (INTERNAL_VSYSCALL_NCS): Likewise.
14866         (INTERNAL_VSYSCALL_CALL): New macro.
14867         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14869         Likewise.
14870         (INTERNAL_VSYSCALL): Likewise.
14871         (INTERNAL_VSYSCALL_NCS): Likewise.
14872         (INTERNAL_VSYSCALL_CALL): New macro.
14873         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14875         (INLINE_VSYSCALL): Remove macro.
14876         (INTERNAL_VSYSCALL): Remove macro.
14877         (INTERNAL_VSYSCALL_NCS): Remove macro.
14878         (INTERNAL_VSYSCALL_CALL): New macro.
14879         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14880         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14881         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14882         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14883         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14885         (INLINE_VSYSCALL): Remove macro.
14886         (INTERNAL_VSYSCALL): Likewise.
14887         (INTERNAL_VSYSCALL_NCS): Likewise.
14888         (INTERNAL_VSYSCALL_CALL): New macro.
14889         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14890         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14891         PTR_DEMANGLE on vDSO pointer.
14892         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14893         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14894         macro.
14895         (INTERNAL_SYSCALL): Likewise.
14896         (INTERNAL_VSYSCALL_NCS): Remove macro.
14897         (INTERNAL_VSYSCALL_CALL): New macro.
14898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14899         Remove macro.
14900         (INTERNAL_VSYSCALL): Likewise.
14901         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14902         sysdep-vdso.h instead of libc-vdso.h.
14903         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14904         definition.
14905         (INLINE_VSYSCALL): Likewise.
14906         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14907         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14908         definition.
14909         (INLINE_VSYSCALL): Likewise.
14910         (INTERNAL_VSYSCALL): Likewise.
14911         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14912         * sysdeps/unix/sysv/linux/timespec_get.c
14913         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14914         (timespec_get): Use ANSI prototype.
14915         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14916         and definition for Linux.
14918 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14920         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14921         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14923 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14925         [BZ #2981]
14926         [BZ #18410]
14927         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14928         for missing DT_PLTRELSZ.
14930 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14932         Remove obsolete aliases that broke 'locale -a'
14933         [BZ #18412]
14934         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14935         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14936         breaking some applications that use 'locale -a' output.
14937         Change the encoding of this file from Latin-1 to ASCII to avoid
14938         other potential problems with people grepping this file.
14940 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14942         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14943         -fasynchronous-unwind-tables.
14944         (CFLAGS-sendto.c): Likewise.
14945         (CFLAGS-sendmsg.c): Likewise.
14946         (CFLAGS-connect.c): Likewise.
14947         (CFLAGS-recvmsg.c): Likewise.
14948         (CFLAGS-recvfrom.c): Likewise.
14949         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14950         (SOCKETCALL): New macro: non-cancellable socketcall.
14951         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14952         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14953         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14954         * sysdeps/unix/sysv/linux/accept.c: New file.
14955         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14956         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14957         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14958         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14959         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14960         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14961         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14962         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14963         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14964         * sysdeps/unix/sysv/linux/send.c: Likewise.
14965         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14966         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14967         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14968         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14969         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14970         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14971         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14972         prototype.
14973         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14974         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14975         instead of __internal_xxx function.
14976         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14977         prototype.
14978         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14979         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14980         instead of __internal_xxx function.
14981         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14982         prototype.
14983         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14984         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14985         instead of __internal_xxx function.
14986         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14987         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14988         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14989         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14990         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14991         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14992         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14993         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14994         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14995         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14996         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14997         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14998         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14999         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15000         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15001         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15002         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15003         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15004         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15005         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15008         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15009         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15010         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15011         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15012         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15013         * sysdeps/unix/sysv/linux/send.S: Likewise.
15014         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15015         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15016         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15017         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15018         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15019         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15020         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15021         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15022         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15023         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15024         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15025         socketcall is implemented in GLIBC.
15027 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15029         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15030         (__fma): Ignore uninitialized warnings around packing.
15031         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15032         (__fmaf): Ignore uninitialized warnings around packing.
15033         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15034         (__fmal): Ignore uninitialized warnings around packing.
15036         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15037         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15038         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15039         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15041         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15042         switch statement into default case.
15043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15045         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15046         a conditional in forcing "inexact".
15047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15048         Likewise.
15050 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15052         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15053         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15054         for each INTERNAL_SYSCALL use.
15056 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15058         [BZ #438]
15059         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15060         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15061         variable.
15063         [BZ #18444]
15064         * string/basename.c (basename): Rename to __basename and define as
15065         weak alias of __basename.  Use libc_hidden_weak.
15066         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15067         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15068         __basename instead of basename.
15069         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15070         Remove variable.
15071         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15073 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15075         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15076         (_IO_JUMPS_FILE_plus): New.
15077         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15078         _IO_CAST_FIELD_ACCESS.
15079         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15080         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15081         * libio/freopen.c (freopen): Likewise.
15082         * libio/freopen64.c (freopen64): Likewise.
15083         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15084         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15085         * libio/iofwide.c (_IO_fwide): Likewise.
15086         * libio/memstream.c (open_memstream): Likewise.
15087         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15088         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15089         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15091 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15093         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15094         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15095         NADJ.
15096         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15097         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15098         NADJ.
15099         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15100         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15101         NADJ.
15103         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15104         (p == 4) case.
15106         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15107         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15108         Remove variable.
15109         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15110         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15111         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15113 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15115         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15116         Adjust jump table label generation macros.
15118 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15120         * stdio-common/vfprintf.c (vfprintf): Move local variables
15121         args_malloced, specs, specs_malloced, and the code after
15122         do_positional to the printf_positional function.
15123         (printf_positional): New function.
15125 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15127         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15128         function.
15129         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15130         STEP4_TABLE, process_arg): Move macro definitions
15131         out of the vfprintf function.  (Cosmetic change only.)
15133 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15135         * benchtests/Makefile (stdio-common-bench): Define.
15136         (benchset): Add stdio-common-bench.
15137         * sprintf-inputs: New file.
15138         * sprintf-source.c: New file.
15140 2015-05-21  Andreas Schwab  <schwab@suse.de>
15142         [BZ #13028]
15143         [BZ #17053]
15144         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15145         of struct __res_state.
15146         * resolv/res_send.c (__libc_res_nsend): Likewise.
15147         (get_nsaddr): New function.
15148         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15149         statp directly.
15151 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15153         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15154         -D_POSIX_C_SOURCE=199506L.
15156         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15158         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15159         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15160         Do not mention otherwise.
15161         [POSIX] (_XOPEN_VERSION): Do not expect.
15162         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15163         [POSIX] (_POSIX2_C_BIND): Likewise.
15164         [POSIX] (_POSIX2_VERSION): Likewise.
15165         [POSIX] (_XOPEN_XPG2): Likewise.
15166         [POSIX] (_XOPEN_XPG3): Likewise.
15167         [POSIX] (_XOPEN_XPG4): Likewise.
15168         [POSIX] (_XOPEN_UNIX): Likewise.
15169         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15170         [POSIX] (_POSIX_BARRIERS): Likewise.
15171         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15172         [POSIX] (_POSIX_CPUTIME): Likewise.
15173         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15174         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15175         [POSIX] (_POSIX_SHELL): Likewise.
15176         [POSIX] (_POSIX_SPAWN): Likewise.
15177         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15178         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15179         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15180         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15181         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15182         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15183         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15184         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15185         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15186         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15187         [POSIX] (_POSIX2_PBS): Likewise.
15188         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15189         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15190         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15191         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15192         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15193         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15194         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15195         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15196         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15197         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15198         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15199         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15200         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15201         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15202         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15203         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15204         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15205         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15206         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15207         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15208         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15209         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15210         [POSIX] (_SC_2_C_BIND): Likewise.
15211         [POSIX] (_SC_2_C_VERSION): Likewise.
15212         [POSIX] (_SC_2_PBS): Likewise.
15213         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15214         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15215         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15216         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15217         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15218         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15219         [POSIX] (_SC_BARRIERS): Likewise.
15220         [POSIX] (_SC_BASE): Likewise.
15221         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15222         [POSIX] (_SC_DEVICE_IO): Likewise.
15223         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15224         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15225         [POSIX] (_SC_FD_MGMT): Likewise.
15226         [POSIX] (_SC_FIFO): Likewise.
15227         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15228         [POSIX] (_SC_FILE_LOCKING): Likewise.
15229         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15230         [POSIX] (_SC_IOV_MAX): Likewise.
15231         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15232         [POSIX] (_SC_NETWORKING): Likewise.
15233         [POSIX] (_SC_PAGE_SIZE): Likewise.
15234         [POSIX] (_SC_PASS_MAX): Likewise.
15235         [POSIX] (_SC_PIPE): Likewise.
15236         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15237         [POSIX] (_SC_REGEXP): Likewise.
15238         [POSIX] (_SC_SHELL): Likewise.
15239         [POSIX] (_SC_SIGNALS): Likewise.
15240         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15241         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15242         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15243         [POSIX] (_SC_USER_GROUPS): Likewise.
15244         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15245         [POSIX] (_SC_STREAMS): Likewise.
15246         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15247         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15248         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15249         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15250         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15251         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15252         [POSIX] (_PC_FILESIZEBITS): Likewise.
15253         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15254         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15255         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15256         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15257         [POSIX] (uid_t): Likewise.
15258         [POSIX] (gid_t): Likewise.
15259         [POSIX] (off_t): Likewise.
15260         [POSIX] (pid_t): Likewise.
15261         [POSIX] (cuserid): Allow.
15262         (_SC_2_CHAR_TERM): Require constant.
15263         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15264         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15265         variable.
15267 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15269         * sysdeps/nacl/pthread-pids.h: New file.
15270         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15271         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15273         * nptl/pthread-pids.h: New file.
15274         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15275         * nptl/nptl-init.c: Include <pthread-pids.h>.
15276         (__pthread_initialize_minimal_internal):
15277         Call __pthread_initialize_pids instead of set_tid_address syscall.
15279         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15280         * sysdeps/posix/usleep.c: ... here.
15282 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15284         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15285         call_pselect6 object.
15286         [$(subdir) = io]: Remove call_sync_file_range object.
15287         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15288         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15289         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15290         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15292 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15294         * math/s_cproj.c: Add include "math_private.h".
15295         * math/s_cprojf.c: Likewise.
15296         * math/s_cprojl.c: Likewise.
15298 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15300         [BZ #18244]
15301         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15302         high mantissa bit when testing whether P is a NaN.
15303         * math/libm-test.inc (remainder_test_data): Add more tests.
15304         (remquo_test_data): Likewise.
15306         [BZ #18049]
15307         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15308         below -32, return the argument, with underflow if subnormal.
15309         * math/auto-libm-test-in: Add more tests of atanh.
15310         * math/auto-libm-test-out: Regenerated.
15312 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15314         [BZ #18434]
15315         * nptl/tst-sem15.c: New file.
15316         * nptl/Makefile (tests): Add it.
15317         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15318         s/<</>>/ to fix typo in EOVERFLOW check.
15319         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15321 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15323         * manual/strings.texi (envz_remove): Fix typo in safety
15324         annotations.
15326 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15327             Steve Ellcey  <sellcey@imgtec.com>
15329         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15330         in order to avoid strict alias warnings.
15331         (iruserok_af): Ditto for ra.
15333 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15335         [BZ #17581]
15336         * malloc/hooks.c
15337         (magicbyte): Convert to a function and avoid returning 0x01.
15338         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15339         (mem2chunk_check): Fix unsigned comparisons to zero.
15340         Hoist defs of sz and magic.
15342 2015-05-19  Richard Henderson  <rth@redhat.com>
15344         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15346         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15348 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15350         [BZ #16159]
15351         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15352         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15353         (reused_arena): Find a non-corrupt arena.
15354         (heap_trim): Pass arena to unlink.
15355         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15356         malloc_printerr.
15357         (top_check): Likewise.
15358         (free_check): Likewise.
15359         (realloc_check): Likewise.
15360         * malloc/malloc.c (malloc_printerr): Add arena argument.
15361         (unlink): Likewise.
15362         (munmap_chunk): Adjust.
15363         (ARENA_CORRUPTION_BIT): New macro.
15364         (arena_is_corrupt): Likewise.
15365         (set_arena_corrupt): Likewise.
15366         (sysmalloc): Use mmap if there are no usable arenas.
15367         (_int_malloc): Likewise.
15368         (__libc_malloc): Don't fail if arena_get returns NULL.
15369         (_mid_memalign): Likewise.
15370         (__libc_calloc): Likewise.
15371         (__libc_realloc): Adjust for additional argument to
15372         malloc_printerr.
15373         (_int_free): Likewise.
15374         (malloc_consolidate): Likewise.
15375         (_int_realloc): Likewise.
15376         (_int_memalign): Don't touch corrupt arenas.
15377         * malloc/tst-malloc-backtrace.c: New test case.
15379         * Makefile (summarize-tests): Fix return value on success.
15381         * manual/string.texi (Envz Functions): Add envz_remove.
15383 2015-05-18  Roland McGrath  <roland@hack.frob.com>
15385         * sysdeps/posix/opendir.c: Include <stdbool.h>.
15386         (invalid_name): New function, broken out of ...
15387         (__opendirat): ... here.  Call it.
15388         (need_isdir_precheck): New function, broken out of ...
15389         (__opendirat): ... here.  Call it.
15390         Use __fxstatat64, not __xstatat64.
15391         (opendir_oflags): New function, broken out of ...
15392         (__opendirat): ... here.  Call it.
15393         (opendir_tail): New function, broken out of ...
15394         (__opendirat): ... here.  Call it.
15395         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15396         opendir_tail, rather than punting to __opendirat.
15397         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15399 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15401         * .gitignore: Ignore generated *.pyc.
15403 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
15405         * include/stdio.h: Define __need_wint_t.
15406         * test-skeleton.c: Avoid `for' loop initial declaration.
15407         * nptl/tst-initializers1.c: Use test-skeleton.c.
15409 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15411         [BZ #18418]
15412         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15414 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15416         [BZ #16352]
15417         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15418         (__ieee754_atanh): Force underflow exception for results with
15419         small absolute value.
15420         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15421         (__ieee754_atanhf): Force underflow exception for results with
15422         small absolute value.
15423         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15424         (__ieee754_atanh): Force underflow exception for results with
15425         small absolute value.
15426         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15427         (__ieee754_atanhf): Force underflow exception for results with
15428         small absolute value.
15429         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15430         (__ieee754_atanhl): Force underflow exception for results with
15431         small absolute value.
15432         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15433         (__ieee754_atanhl): Force underflow exception for results with
15434         small absolute value.
15435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15436         (__ieee754_atanhl): Force underflow exception for results with
15437         small absolute value.
15438         * math/auto-libm-test-in: Do not allow missing underflow
15439         exceptions from atanh.
15440         * math/auto-libm-test-out: Regenerated.
15442         [BZ #18221]
15443         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15444         2**-28 as threshold for returning x or +/- 1/x.
15445         * math/auto-libm-test-in: Add more tests of tan.
15446         * math/auto-libm-test-out: Regenerated.
15448         [BZ #18220]
15449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15450         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15451         * math/auto-libm-test-in: Add another test of lgamma.
15452         * math/auto-libm-test-out: Regenerated.
15454 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15456         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15457         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15458         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15459         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15460         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15461         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15462         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15465         (log1): Use fabs.  (my_log2): Use fabs.
15466         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15467         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15469         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15471         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15472         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15473         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15474         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15476         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15478 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15480         [BZ #18217]
15481         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15482         as threshold for returning 1 - x.
15483         * math/auto-libm-test-in: Add more tests of erfc.
15484         * math/auto-libm-test-out: Regenerated.
15486 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15488         [BZ #18196]
15489         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15490         threshold for large arguments.
15491         * math/auto-libm-test-in: Add another test of atan.
15492         * math/auto-libm-test-out: Regenerated.
15494         [BZ #16339]
15495         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15496         (__log1p): Force underflow exception for results with small
15497         absolute value.
15498         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15499         (__log1pf): Force underflow exception for results with small
15500         absolute value.
15501         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15502         (__log1p): Force underflow exception for results with small
15503         absolute value.
15504         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15505         (__log1pf): Force underflow exception for results with small
15506         absolute value.
15507         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15508         (__log1pl): Force underflow exception for results with small
15509         absolute value.
15510         * math/auto-libm-test-in: Do not allow missing underflow
15511         exceptions from log1p.
15512         * math/auto-libm-test-out: Regenerated.
15514 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15515             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15517         [BZ #16704]
15518         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15520 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15522         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15523         (libmvec): New variable.
15524         * configure.ac: Added option for mathvec build.
15525         * configure: Regenerated.
15526         * mathvec/Depend: New file.
15527         * mathvec/Makefile: New file.
15528         * shlib-versions: Added libmvec.
15529         * math/Makefile: Added rule for libm.so installation.
15531         * bits/math-vector.h: New file.
15532         * bits/libm-simd-decl-stubs.h: New header.
15533         * math/Makefile (headers): Added new header
15534         libm-simd-decl-stubs.h.
15535         * math/math.h (__MATHCALL_VEC): New macro.
15537         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15538         for conditions in testing functions.
15539         * math/Makefile: Added call of libm-have-vector-test.sh.
15540         * math/libm-test.inc (HAVE_VECTOR): New macros.
15542         * math/libm-test.inc: START refactored.
15543         * math/test-double.c (TEST_MATHVEC): Add define.
15544         * math/test-float.c: Likewise.
15545         * math/test-idouble.c: Likewise.
15546         * math/test-ifloat.c: Likewise.
15547         * math/test-ildoubl.c: Likewise.
15548         * math/test-ldouble.c: Likewise.
15549         * sysdeps/generic/math-tests-arch.h
15550         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15551         architecture check.
15553         * math/test-double.c (FUNC_TEST): New macro.
15554         * math/test-float.c: Likewise.
15555         * math/test-idouble.c: Likewise.
15556         * math/test-ifloat.c: Likewise.
15557         * math/test-ildoubl.c: Likewise.
15558         * math/test-ldouble.c: Likewise.
15559         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15561 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15563         * sysdeps/nacl/fdopendir.c: New file.
15565         * dirent/scandir-tail.c: New file.
15566         * dirent/scandir64-tail.c: New file.
15567         * dirent/Makefile (routines): Add them.
15568         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15569         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15570         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15571         [!SCANDIR] (SCANDIR_TAIL): New macro.
15572         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15573         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15574         (SCANDIRAT): Macro removed.
15575         (SCANDIR_TAIL): New macro.
15576         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15577         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15578         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15579         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15580         (READDIR): Macro removed.
15581         (SCANDIR_TAIL): New macro.
15582         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15583         (SCANDIR_TAIL): New macro.
15585         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15586         * dirent/scandir-cancel.c: ... to this new file.
15587         * dirent/Makefile (routines): Add it.
15588         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15589         * sysdeps/unix/sysv/linux/i386/scandir64.c
15590         (SKIP_SCANDIR_CANCEL): Macro removed.
15591         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15593         * dirent/tst-scandir.c: New file.
15594         * dirent/tst-scandir64.c: New file.
15595         * dirent/Makefile (tests): Add them.
15597 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15599         [BZ #18409]
15600         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15602 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15604         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15605         list.
15607 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15609         * benchtests/bench-strcoll.c: New benchmark.
15610         * benchtests/Makefile: Generate locales and run benchmark.
15611         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15612         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15613         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15614         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15615         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15616         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15617         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15618         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15619         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15620         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15621         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15622         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15623         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15624         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15625         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15626         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15627         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15628         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15629         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15630         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15631         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15632         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15633         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15634         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15636 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15638         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15639         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15641 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15643         * posix/uname-values.h: New file.
15644         * posix/uname.c: Include that instead of <config-name.h>.
15645         * sysdeps/nacl/uname-values.h: New file.
15646         * sysdeps/arm/nacl/uname-values.h: New file.
15648 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
15650         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15651         splitting into fields.
15653 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
15655         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15656         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15657         * locale/localeinfo.h: Add enum collation_encoding_type.
15658         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15659         * programs/ld-collate.c (collate_output): Add encoding type info.
15660         * string/strcoll_l.c (STRDIFF): New function.
15661         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15662         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15664 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15666         [BZ #18397]
15667         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15668         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15669         <fpu_control.h> instead of <math/fpu_control.c>.
15670         * sysdeps/mips/mips32/fpu/Makefile: New file.
15672 2015-05-11  Andreas Schwab  <schwab@suse.de>
15674         [BZ #18007]
15675         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15676         nss_endgrent.
15677         (_nss_compat_endgrent): Call nss_endgrent.
15678         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15679         nss_endpwent.
15680         (_nss_compat_endpwent): Call nss_endpwent.
15681         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15682         needent, call nss_setspent only if non-zero.
15683         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15684         (internal_endspent): Don't call nss_endspent.
15685         (_nss_compat_endspent): Call nss_endspent.
15686         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15687         Remove.  All uses removed.
15688         (internal_setent): Remove parameter stayopen, add parameter
15689         stream.  Use it instead of global variable.
15690         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15691         (internal_endent, internal_getent): Add parameter stream.  Use it
15692         instead of global variable.
15693         (CONCAT(_nss_files_end,ENTNAME))
15694         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15695         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15696         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15697         uses removed.
15698         (internal_setent, internal_endent): Add parameter stream.  Use it
15699         instead of global variable.
15700         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15701         stream.
15702         (get_next_alias): Add parameter stream.
15703         (_nss_files_getaliasent_r): Pass global stream.
15704         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15705         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15706         (_nss_files_gethostbyname4_r): Pass local stream to
15707         internal_setent, internal_getent and internal_endent.  Remove
15708         locking.
15710 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15712         * tst-strfmon1.c (tests): Update expected currency symbol.
15714 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15716         * sysdeps/nacl/gethostname.c: New file.
15718 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15720         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15721         and sinh.
15722         * math/auto-libm-test-out: Regenerated.
15723         * sysdeps/i386/fpu/libm-test-ulps: Update.
15724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15726 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15728         [BZ #18125]
15729         * stdlib/tst-setcontext3.c: New file.
15730         * stdlib/tst-setcontext3.sh: New file.
15731         * stdlib/Makefile (tests): Add tst-setcontext3.
15732         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15733         to verify test program created output file.
15734         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15735         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15736         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15737         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15739 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15741         [BZ #18383]
15742         * elf/tst-tlsalign.c: New file.
15743         * elf/tst-tlsalign-static.c: New file.
15744         * elf/tst-tlsalign-lib.c: New file.
15745         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15746         (tests-static): Add tst-tlsalign-static.
15747         (modules-names): Add tst-tlsalign-lib.
15748         (test-xfail-tst-tlsalign): New variable.
15749         (test-xfail-tst-tlsalign-static): New variable.
15751         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15752         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15754 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15756         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15757         csqrt, erfc, sin and sincos.
15758         * math/auto-libm-test-out: Regenerated.
15759         * sysdeps/i386/fpu/libm-test-ulps: Update.
15760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15764         * sysdeps/aarch64/libm-test-ulps: Update.
15766 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15768         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15769         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15770         * math/auto-libm-test-out: Regenerated.
15771         * sysdeps/i386/fpu/libm-test-ulps: Update.
15772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15774 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15776         [BZ #18265]
15777         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15778         (wcsncpy): Likewise.
15780 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15782         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15783         Assume __ASSUME_FALLOCATE is always true.
15784         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15785         (__posix_fallocate64_l64): Likweise.
15786         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15787         (posix_fallocate): Likewise.
15788         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15789         (__posix_fallocate64_l64): Likewise.
15790         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15791         [!__ASSUME_FALLOCATE]: Add comment.
15793 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15795         * sysdeps/unix/sysv/linux/i386/Makefile
15796         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15797         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15798         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15799         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15800         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15801         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15802         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15804 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15806         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15807         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15808         tgamma.
15809         * math/auto-libm-test-out: Regenerated.
15810         * sysdeps/i386/fpu/libm-test-ulps: Update.
15811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15813 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15815         * math/auto-libm-test-in: Add more tests of tgamma.
15816         * math/auto-libm-test-out: Regenerated.
15817         * sysdeps/i386/fpu/libm-test-ulps: Update.
15818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15820         * math/auto-libm-test-in: Add more tests of tanh.
15821         * math/auto-libm-test-out: Regenerated.
15822         * sysdeps/i386/fpu/libm-test-ulps: Update.
15823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825         * math/auto-libm-test-in: Add more tests of tan.
15826         * math/auto-libm-test-out: Regenerated.
15827         * sysdeps/i386/fpu/libm-test-ulps: Update.
15828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15830         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15831         * math/auto-libm-test-out: Regenerated.
15832         * sysdeps/i386/fpu/libm-test-ulps: Update.
15833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15835         * math/auto-libm-test-in: Add another test of pow.
15836         * math/auto-libm-test-out: Regenerated.
15837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15839         * math/auto-libm-test-in: Add more tests of lgamma.
15840         * math/auto-libm-test-out: Regenerated.
15841         * sysdeps/i386/fpu/libm-test-ulps: Update.
15842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15844         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15845         log1p.
15846         * math/auto-libm-test-out: Regenerated.
15847         * sysdeps/i386/fpu/libm-test-ulps: Update.
15848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15850 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15852         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15853         Elf64_Chdr structs and ELFCOMPRESS constants.
15855 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15857         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15858         expm1.
15859         * math/auto-libm-test-out: Regenerated.
15860         * sysdeps/i386/fpu/libm-test-ulps: Update.
15861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15863         * math/auto-libm-test-in: Add more tests of erf and erfc.
15864         * math/auto-libm-test-out: Regenerated.
15865         * sysdeps/i386/fpu/libm-test-ulps: Update.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15868 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15870         * config.h.in (HAVE_AARCH64_BE): Add.
15872 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15874         * math/auto-libm-test-in: Add more tests of csqrt.
15875         * math/auto-libm-test-out: Regenerated.
15876         * sysdeps/i386/fpu/libm-test-ulps: Update.
15877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15880         * math/auto-libm-test-out: Regenerated.
15881         * sysdeps/i386/fpu/libm-test-ulps: Update.
15882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15884         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15886 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15888         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15889         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15891         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15892         (euidaccess, eaccess): Define as weak aliases.
15894         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15895         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15896         but __suseconds_t is often 'long int' so some sources assume that
15897         type is being used (e.g. they use %ld to print tv_usec).
15899 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15901         [BZ #18007]
15902         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15903         (CVE-2014-8121)
15904         * nss/tst-nss-getpwent.c: New file.
15905         * nss/Makefile (tests): Add new test.
15907 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #18346]
15910         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15911         exponents less than 48 as cases where high part of mantissa needs
15912         examining to determine whether argument is integral.
15913         * math/libm-test.inc (round_test_data): Add more tests.
15915 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15917         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15919 2015-04-27  David S. Miller  <davem@davemloft.net>
15921         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15922         __tls_get_addr.
15923         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15925 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15927         [BZ#18333]
15928         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15930 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15932         [BZ#18333]
15933         * time/tzset.c (parse_tzname): Return error on memory allocation
15934         failure.
15935         * test-skeleton.c (struct temp_name_list): Change type of name
15936         member to non-const.
15937         (add_temp_file): Create a copy of the file name.
15938         (delete_temp_files): Deallocate memory.
15939         (create_temp_file): Add comment.
15941 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15943         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15944         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15946 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15948         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15949         * sysdeps/arm/configure: Regenerated.
15951 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15953         [BZ #17715]
15954         * time/tzfile.c (__tzfile_read): Check for large values of
15955         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15956         * time/tzset.c (__tzstring_len): New function, based on the old
15957         __tzstring function.
15958         (__tzstring): Call __tzstring_len.
15959         (parse_tzname): New helper function extracted from
15960         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15961         the input string.
15962         (parse_offset): New helper function extracted from
15963         __tzset_parse_tz.  Replace switch with fallthrough with
15964         initialization before sscanf.
15965         (parse_rule): Likewise.
15966         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15967         new-style function definition.
15968         * timezone/Makefile (tests): Add tst-tzset.
15969         (tst-tzset.out): Dependencies on time zone files.
15970         (tst-tzset-ENV): Set TZDIR.
15971         (testdata/XT%): Copy crafted time zone files.
15972         * timezone/README: Mention crafted time zone files.
15973         * timezone/testdata/XT1, timezone/testdata/XT2,
15974         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15975         files.
15976         * timezone/tst-tzset.c: New test.
15978 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15980         * Makeconfig (+gccwarn): Remove -Winline.
15982 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15984         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15986 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15988         * NEWS: Mention sysconf() cache information support for s390.
15989         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15991 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15993         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15994         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15995         (__nearbyint): Likewise.
15996         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15997         (copysignl): Likewise.
15999 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16001         [BZ #18287]
16002         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16003         based on padding.  (CVE-2015-1781)
16005 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16007         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16008         libc-vdso.h.
16009         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16010         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16011         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16012         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16013         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16014         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16015         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16016         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16017         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16018         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16019         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16020         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16021         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16022         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16023         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16024         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16025         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16026         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16027         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16028         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16029         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16030         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16031         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16033 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16035         * stdlib/setenv.c (__add_to_environ):
16036         Dump core quickly if setenv (..., NULL, ...) is called.
16037         This time, do it the right way, and pacify GCC with a pragma.
16039 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16041         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16042         IMAP->l_prev cannot be null, and #if out the code for the contrary
16043         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16044         believe that NS (&_dl_ns[NSID]) could point outside the array.
16046         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16047         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16048         before using NSID as an index.
16050 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16052         [BZ #17825]
16053         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16054         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16055         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16057 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16059         Add preliminary port to Google Native Client on ARM.
16060         * abi-tags (.*-.*-nacl.*): New entry.
16061         * sysdeps/arm/nacl: New directory.
16062         * sysdeps/nacl: New directory.
16064 2015-04-16  David S. Miller  <davem@davemloft.net>
16066         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16067         lowlevellock-futex.h
16069 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16071         * sysdeps/tile/configure.ac: New file.
16072         * sysdeps/tile/configure: Regenerated.
16074 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16076         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16077         conditionals for weak_alias and libc_hidden_weak.
16078         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16079         libc_hidden_weak and weak_alias.
16080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16081         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16082         and weak_alias for static one.
16084 2015-04-15  David S. Miller  <davem@davemloft.net>
16086         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16088 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16090         [BZ #18206]
16091         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16092           Use signed comparision instead of substraction to avoid
16093           overflow bug.
16094         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16095           Take the sign of ret.
16096         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16097           Do not expect precise return values. Only the sign matters.
16098         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16099         * wcsmbs/test-wcsncmp.c: New File.
16100         * string/test-strncmp.c: Add wcsncmp support.
16102 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16104         [BZ #6792]
16105         * math/w_log1p.c: New file.
16106         * math/w_log1pf.c: Likewise.
16107         * math/w_log1pl.c: Likewise.
16108         * math/Makefile (libm-calls): Add w_log1p.
16109         * math/s_log1pl.c (log1pl): Remove weak_alias.
16110         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16111         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16112         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16113         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16114         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16115         [NO_LONG_DOUBLE] (log1pl): Likewise.
16116         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16117         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16118         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16119         (log1p): Remove long_double_symbol.
16120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16121         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16122         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16123         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16124         remove weak_alias for corresponding log1p function.
16125         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16126         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16127         * sysdeps/ia64/fpu/w_log1p.c: New file.
16128         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16129         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16130         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16132 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16134         [BZ #18247]
16135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16136         decimal exponent by 1.
16137         * stdlib/tst-strtod-round-data: Add more tests.
16138         * stdlib/tst-strtod-round.c (tests): Regenerated.
16140 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16142         * math/auto-libm-test-in: Add more tests of clog and clog10.
16143         * math/auto-libm-test-out: Regenerated.
16144         * sysdeps/i386/fpu/libm-test-ulps: Update.
16145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16147 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16149         * Makeconfig (module-cppflags): Exclude all .v.i files.
16150         (skip-module-cppflags): Variable removed.
16152         * configure.ac (libc_config_ok): Initialize before reading
16153         preconfigure scripts, not after.
16154         * configure: Regenerated.
16156         * test-skeleton.c (TIMEOUT): Move #define to top level.
16157         (main): Grok environment variable TEST_DIRECT.  If set, print
16158         test expectation details into that file and then behave as if
16159         given --direct.
16161 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16163         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16164         warning on 32-bit.
16166 2015-04-08  David S. Miller  <davem@davemloft.net>
16168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16170 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16172         * math/auto-libm-test-in: Add more tests of atanh.
16173         * math/auto-libm-test-out: Regenerated.
16174         * sysdeps/i386/fpu/libm-test-ulps: Update.
16175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16177         * math/auto-libm-test-in: Add more tests of atan.
16178         * math/auto-libm-test-out: Regenerated.
16179         * sysdeps/i386/fpu/libm-test-ulps: Update.
16180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16182 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16184         * elf/pldd.c (main): Rewrite to use struct
16185         scratch_buffer instead of extend_alloca.
16186         * elf/pldd-xx.c (find_maps): Likewise.
16187         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16188         <alloca.h>.
16189         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16190         scratch_buffer instead of extend_alloca.
16191         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16192         grp/compat-initgroups.c.
16193         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16194         Rewrite to use struct scratch_buffer instead of extend_alloca.
16195         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16196         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16198 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16200         * math/auto-libm-test-in: Add more tests of cbrt.
16201         * math/auto-libm-test-out: Regenerated.
16202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16204         * math/auto-libm-test-in: Add more tests of cabs.
16205         * math/auto-libm-test-out: Regenerated.
16206         * sysdeps/i386/fpu/libm-test-ulps: Update.
16207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16209         [BZ #18210]
16210         [BZ #18211]
16211         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16212         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16213         computations.
16214         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16215         clog10.
16216         * math/auto-libm-test-out: Regenerated.
16217         * sysdeps/i386/fpu/libm-test-ulps: Update.
16218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16220         [BZ #18197]
16221         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16222         (atan): Set FE_TONEAREST mode for internal computations.
16223         * math/auto-libm-test-in: Add more tests of atan.
16224         * math/auto-libm-test-out: Regenerated.
16226 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16228         [BZ #17930]
16229         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16231 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16233         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16235 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16237         * include/scratch_buffer.h: New file.
16238         * malloc/scratch_buffer_grow.c: Likewise.
16239         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16240         * malloc/scratch_buffer_set_array_size.c: Likewise.
16241         * malloc/tst-scratch_buffer.c: Likewise.
16242         * malloc/Makefile (routines): Add scratch_buffer_grow.
16243         (tests): Add test case.
16244         * malloc/Versions (GLIBC_PRIVATE): Export
16245         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16246         __libc_scratch_buffer_set_array_size.
16248 2015-04-06  Richard Henderson  <rth@redhat.com>
16250         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16251         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16253         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16254         unsigned int before printing.
16256 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16258         [BZ #17596]
16259         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16260         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16262 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16264         * include/libc-internal.h (libc_max_align_t): Define.
16266 2015-04-02  Andreas Schwab  <schwab@suse.de>
16268         [BZ #16850]
16269         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16271 2015-04-02  Mel Gorman  <mgorman@suse.de>
16273         [BZ #17195]
16274         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16275         as well as the main arena.
16277 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16279         [BZ #18185]
16280         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16281         sharing L2 cache to 2 for Silvermont/Knights Landing.
16283 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16285         [BZ #17711]
16286         * config.make.in (have-protected-data): New.
16287         * configure.ac: Check linker support for protected data symbol.
16288         * configure: Regenerated.
16289         * elf/Makefile (modules-names): Add tst-protected1moda and
16290         tst-protected1modb if $(have-protected-data) is yes.
16291         (tests): Add tst-protected1a and tst-protected1b if
16292         $(have-protected-data) is yes.
16293         ($(objpfx)tst-protected1a): New.
16294         ($(objpfx)tst-protected1b): Likewise.
16295         (tst-protected1modb.so-no-z-defs): Likewise.
16296         * elf/tst-protected1a.c: New file.
16297         * elf/tst-protected1b.c: Likewise.
16298         * elf/tst-protected1mod.h: Likewise.
16299         * elf/tst-protected1moda.c: Likewise.
16300         * elf/tst-protected1modb.c: Likewise.
16302 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16304         [BZ #17711]
16305         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16306         indicates it is called from do_lookup_x on relocation against
16307         protected data, skip the data definion in the executable from
16308         copy reloc.
16309         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16310         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16311         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16312         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16313         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16314         otherwise to 0.
16315         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16316         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16317         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16318         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16319         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16320         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16322 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16324         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16325         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16327 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16329         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16330         THREAD_SETMEM_NC.
16331         * sysdeps/x86_64/nptl/tls.h: Ditto.
16333 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16335         * dlfcn/tststatic.c (main): Converted to ...
16336         (do_test): ... this.
16337         (TEST_FUNCTION): New macro.
16338         Include test-skeleton.c.
16340 2015-03-26  Alan Modra  <amodra@gmail.com>
16342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16343         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16344         zero for undefined weak.
16345         (elf_machine_plt_conflict): Similarly.
16347 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16349         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16350         atanh.
16351         * math/auto-libm-test-out: Regenerated.
16352         * sysdeps/i386/fpu/libm-test-ulps: Update.
16353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16355         * math/auto-libm-test-in: Add another test of asin.
16356         * math/auto-libm-test-out: Regenerated.
16357         * sysdeps/i386/fpu/libm-test-ulps: Update.
16358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16360         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16361         Remove macro.
16362         (LLL_EBX_REG): Likewise.
16363         (LLL_ENTER_KERNEL): Likewise.
16365         * math/auto-libm-test-in: Add more tests of asin.
16366         * math/auto-libm-test-out: Regenerated.
16367         * sysdeps/i386/fpu/libm-test-ulps: Update.
16368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16370         [BZ #18138]
16371         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16372         libc_do_syscall_args): New structure.
16373         (INTERNAL_SYSCALL_MAIN_0): New macro.
16374         (INTERNAL_SYSCALL_MAIN_1): Likewise.
16375         (INTERNAL_SYSCALL_MAIN_2): Likewise.
16376         (INTERNAL_SYSCALL_MAIN_3): Likewise.
16377         (INTERNAL_SYSCALL_MAIN_4): Likewise.
16378         (INTERNAL_SYSCALL_MAIN_5): Likewise.
16379         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
16380         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16381         Replace conditional definitions by conditional definitions of ....
16382         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
16383         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16384         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16385         (libpthread-sysdep_routines): Add libc-do-syscall.
16386         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16387         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16388         to __NR_futex not 240.
16390 2015-03-25  Alan Modra  <amodra@gmail.com>
16392         * NEWS: Advertise TLS optimization.
16393         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16394         (DT_PPC_NUM): Increment.
16395         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16396         (CHECK_STATIC_TLS): Use here.
16397         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16398         TLS descriptors.
16399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16400         * sysdeps/powerpc/dl-tls.c: New file.
16401         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16402         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16403         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16404         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16409 2015-03-25  Alan Modra  <amodra@gmail.com>
16411         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16412         for overlapping .opd entries" to "support...".
16413         * sysdeps/powerpc/powerpc64/configure: Regenerate
16415 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16417         * math/auto-libm-test-in: Add more tests of acos.
16418         * math/auto-libm-test-out: Regenerated.
16419         * sysdeps/i386/fpu/libm-test-ulps: Update.
16420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16422         * math/auto-libm-test-in: Add more tests of expm1.
16423         * math/auto-libm-test-out: Regenerated.
16424         * sysdeps/i386/fpu/libm-test-ulps: Update.
16425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
16429         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16430         * math/auto-libm-test-out: Regenerated.
16431         * sysdeps/i386/fpu/libm-test-ulps: Update.
16432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16434         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16437         * math/auto-libm-test-in: Add more tests of log2.
16438         * math/auto-libm-test-out: Regenerated.
16439         * sysdeps/i386/fpu/libm-test-ulps: Update.
16440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16442 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16444         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16445         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16446         _IO_IS_APPENDING bit in READ_WRITE instead.
16448 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16450         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16451         (__determine_cpumask_size): Replace extend_alloca with a
16452         variable-length array.  Do not treat res == 0 as an error.
16454 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16456         [BZ #18100]
16457         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16458         and integer overflow.
16459         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16460         (main): Add integer overflow tests.
16461         * manual/pattern.texi (Calling Wordexp): Document additional use
16462         for WRDE_SYNTAX.
16464 2015-03-23  Alan Modra  <amodra@gmail.com>
16466         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16467         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16468         and false branch of conditional.
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16470         Likewise.
16472 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16474         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16475         libc-modules.h
16476         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16477         unused declaration of _hurd_intr_rpc_msg_in_trap.
16478         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16479         defined instead of whether it is non-zero.
16480         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16481         input constraint instead of both input and output constraint.  Use ecx
16482         clobber instead of %ecx.
16483         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16484         mutex_unlock): Use a statement expression instead of an expression list.
16485         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16486         type to vm_size_t instead of vm_address_t.
16487         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16488         defined instead of whether it is non-zero.
16489         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16490         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16491         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16492         comparisons with mapaddr.
16493         * nscd/nscd-client.h: Include <time.h>.
16494         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16495         9th parameter to __vm_region instead of int.
16496         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16497         * scripts/check-local-headers.sh (exclude): Add device/,
16498         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16499         cthreads.h.
16501 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16503         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16504         to account for alignment padding.
16505         * sysdeps/arm/memmove.S: Likewise.
16507 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16509         * sysdeps/unix/sysv/linux/generic/README: New file.
16511 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16513         [BZ #18138]
16514         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16515         (futex_abstimed_wait)
16516         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16517         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16518         of lll_futex_timed_wait.
16520 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16522         [BZ #17542]
16523         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16525 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16527         [BZ #17090]
16528         [BZ #17620]
16529         [BZ #17621]
16530         [BZ #17628]
16531         * NEWS: Update.
16532         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16533         entries with Static TLS too.  Skip entries past the end of the
16534         allocated DTV, from Alan Modra.
16535         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16536         Static TLS DTV entry set up from...
16537         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16538         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16539         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16540         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16541         for Static TLS.
16542         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16543         that the slot we find is associated with the given map before
16544         using its generation count.
16545         * nptl_db/db_info.c: Include ldsodefs.h.
16546         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16547         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16548         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16549         (link_map::l_tls_offset): New struct field.
16550         (dtv_t::counter): Likewise.
16551         (rtld_global): New struct.
16552         (_rtld_global): New rtld variable.
16553         (dl_tls_dtv_slotinfo_list): New rtld global field.
16554         (dtv_slotinfo_list): New struct.
16555         (dtv_slotinfo): Likewise.
16556         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16557         (td_lookup): Rename to...
16558         (td_mod_lookup): ... this.  Use new mod parameter instead of
16559         LIBPTHREAD_SO.
16560         * nptl_db/td_thr_tlsbase.c: Include link.h.
16561         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16562         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16563         addresses even if the DTV is out of date or missing them.
16564         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16565         index zero-length arrays.
16566         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16567         (td_lookup): Make it a macro implemented in terms of...
16568         (td_mod_lookup): ... this declaration.
16569         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16570         (DB_MAIN_VARIABLE): Likewise.
16572 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16574         [BZ #18134]
16575         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16577 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16579         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16581 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16583         [BZ #18128]
16584         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16585         (atomic_add, atomic_increment_and_test)
16586         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16588 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16590         * stdlib/setenv.c (__add_to_environ):
16591         Dump core quickly if setenv (..., NULL, ...) is called.
16593 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16595         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16596         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16597         all the necessary asm magic in one place.
16598         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16599         using those.
16601 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16603         [BZ #14906]
16604         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16605         traced file mtime. Use consistent log message.
16606         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16607         (register_traced_file): Call install_watches. Always set mtime.
16608         (invalidate_cache): Iterate over all trace files. Call install_watches.
16609         (inotify_check_files): Don't inline. Handle watching parent
16610         directories and configuration file movement in and out.
16611         (handle_inotify_events): New function.
16612         (main_loop_poll): Call handle_inotify_events.
16613         (main_loop_epoll): Likewise.
16614         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16615         (struct traced_file): Use array of inotify fds. Add parent directory,
16616         and basename.
16617         (struct database_dyn): Remove unused file_mtime.
16618         (init_traced_file): New inline function.
16619         (define_traced_file): New macro.
16620         * nss/nss_db/db-init.c: Use define_traced_file.
16621         (_nss_db_init): Use init_traced_file.
16622         * nss/nss_files/files-init.c: Use define_traced_file.
16623         (_nss_files_init): Use init_traced_file.
16625 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16627         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16628         [_LIBC]: Do not include <stdlib.h>.
16629         [!_LIBC] (abort): Remove declaration.
16630         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16631         _FP_STATIC_ASSERT instead of conditionally calling abort.
16632         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16633         (_FP_EXTEND_CNAN): Likewise.
16634         (FP_TRUNC): Likewise.
16635         (__FP_CLZ): Likewise.
16636         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16638 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16640         * manual/string.texi (XPG basename): Fix prototype.
16642 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16644         [BZ #18080]
16645         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16646         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16647         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16648         (__setcontext): Likewise.
16649         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16650         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16651         Call rt_sigprocmask syscall one time to set new signal mask
16652         and retrieve the current signal mask instead of two calls.
16653         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16654         (__swapcontext): Likewise.
16655         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16656         * stdlib/tst-setcontext2.c: New file.
16658 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16660         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16662 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16664         [BZ #18093]
16665         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16666         the wrong size.
16668 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16670         [BZ #18043]
16671         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16673 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16675         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16676         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16677         Remove define.
16678         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16679         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16680         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16681         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16682         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16683         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16684         define.
16685         * nptl_db/td_symbol_list.c (td_lookup): Remove
16686         HAVE_ASM_GLOBAL_DOT_NAME code.
16687         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16688         HAVE_ASM_GLOBAL_DOT_NAME check.
16689         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16690         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16691         (DOT_LABEL): Remove define.
16692         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16693         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16694         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16695         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16696         (__TLS_GET_ADDR): Likewise.
16697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16698         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16700 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16702         [BZ #18111]
16703         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16704         (_FPU_SETCW): Initialize cw from fpsr before storing.
16705         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16706         (fesetexceptflag): Rewrite using fpu_control.h.
16707         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16709 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16711         [BZ #18110]
16712         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16713         asms.
16714         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16716 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16718         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16719         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16720         abort.
16721         (_FP_FMA): Likewise.
16722         (_FP_DIV): Likewise.
16724 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16726         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16727         with 0 in that case.
16728         * Makefile (summarize-tests): New canned sequence, factored out of
16729         commands for targets tests and xtests.  Display summary lines that
16730         don't start with PASS: or XFAIL: rather than ones that do start with
16731         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16732         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16733         do start with ERROR: or FAIL:.
16734         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16735         (except for [$(build-shared) = yes]).
16736         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16737         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16738         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16739         * nptl/Makefile: Revert 2015-03-04 changes.
16740         [$(CXX) empty] (tests-unsupported): New variable.
16741         * debug/Makefile: Likewise.
16743         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16744         gnulib file.  Replace __attribute with __attribute__ throughout.
16746 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16748         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16750 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16752         [BZ #18104]
16753         * math/auto-libm-test-in: Add another test of pow.
16754         * math/auto-libm-test-out: Regenerated.
16756 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16758         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16759         $(config-cflags-nofma).
16761 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16763         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16764         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16765         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16766         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16767         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16768         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16769         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16770         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16771         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16772         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16773         Add comment on closing #endif.
16775 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16777         * posix/wordexp.c (CHAR_IN_SET): New macro.
16778         (parse_param): Use it.
16780 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16782         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16784 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16786         [BZ #18043]
16787         * posix/wordexp.c (parse_param): Fix buffer overflow.
16788         * posix/wordexp-test.c (test_case): Add test case.
16790 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16792         [BZ #18042]
16793         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16794         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16796 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16798         [BZ #18043]
16799         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16800         (do_bz18043): Delete.
16801         (at_page_end): New.
16802         (testit): Refactor to have words at the edge of unreadable page.
16804 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16806         [BZ #16734]
16807         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16808         Cleanup read-only streams as well.
16809         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16811 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16813         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16814         <bits/libc-lockP.h>
16816 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16818         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16819         on [__KERNEL__].
16820         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16821         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16822         * soft-fp/op-common.h (_FP_DECL): Likewise.
16824 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16826         * elf/ifuncdep2.c (global): Replace
16827         __attribute__((visibility("protected"))) with
16828         asm (".protected global").
16829         * elf/ifuncmod1.c (global): Likewise.
16830         * elf/ifuncmod5.c (global): Likewise.
16832 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16834         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16835         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16837 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16839         * manual/install.texi (Configuring and compiling):
16840         Document test-wrapper-env-only.
16841         * INSTALL: Regenerated.
16843 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16845         [BZ #18043]
16846         * posix/wordexp.c (parse_param): Fix buffer overflow.
16847         * posix/wordexp-test.c (do_bz18043): Add test case.
16849 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16851         * time/tst-strptime2.c (do_test): Ensure failing tests are
16852         reported correctly.
16853         * time/tst-strptime3.c (do_test): Likewise.
16855 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16857         Fix aio_error thread-safety.
16858         * sysdeps/pthread/aio_error.c: New file
16859         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16860         synchronization.
16862 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16864         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16865         (group_number, vfprintf): Use it.
16866         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16867         (JUMP, REF): Use it.
16868         (WORK_BUFFER_SIZE): New enum constant.
16869         (process_arg, vfprintf): Use it.
16871 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16873         * manual/errno.texi (Error Messages): Complete example function
16874         by adding missing #define.
16875         (program_invocation_name): Add statement indicating GNU
16876         extension and reference which header file declares the variable.
16877         (program_invocation_short_name): Likewise.
16879 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16881         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16882         compatibility note.
16884 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16886         * Makeconfig (test-wrapper-env-only): New variable.
16887         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16888         then use that with $(test-wrapper-env-only) rather than using
16889         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16891 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16893         [BZ #18082]
16894         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16895         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16896         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16897         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16898         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16899         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16900         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16901         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16902         Likewise.
16903         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16904         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16905         Likewise.
16906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16907         Likewise.
16908         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16909         Likewise.
16910         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16911         Likewise.
16912         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16913         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16914         Likewise.
16915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16916         Likewise.
16917         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16918         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16920 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16922         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16923         (ETH_ALEN): New macro.
16924         (struct ether_addr): Use it for length of ether_addr_octet.
16926         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16927         (setdb): Don't call __nss_configure_lookup for "rpc".
16928         (do_test): Don't call test_rpc.
16929         (output_rpcent, test_rpc): Functions moved ...
16930         * sunrpc/test-rpcent.c: ... to this new file.
16931         * sunrpc/Makefile (tests): Add it.
16933         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16934         __xpg_sigpause.
16935         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16936         * nptl/tst-signal6.c: Likewise.
16937         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16938         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16940         * configure.ac (libc_cv_cxx_link_ok): New check.
16941         Reset CXX to empty if it fails to link.
16942         * configure: Regenerated.
16943         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16944         bug-atexit3-lib only if $(CXX) is nonempty.
16945         * nptl/Makefile (tests): Likewise for tst-cancel24.
16946         (tests, tests-static): Likewise for tst-cancel24-static.
16947         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16948         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16949         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16950         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16952 2015-03-04  Andreas Schwab  <schwab@suse.de>
16954         [BZ #17631]
16955         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16956         for non-GCC compilers.
16957         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16958         Likewise.
16960 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16962         [BZ #17776]
16963         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16964         integer before bitwise and assembly operations.
16965         (feclearexcept): Likewise.
16966         * math/test-fenvinline.c: New file.
16967         * math/Makefile: Add test-fenvinline test.
16969 2015-03-03  Alan Modra  <amodra@gmail.com>
16971         [BZ #16512]
16972         * scripts/localplt.awk: Strip off symbol version.
16973         * NEWS: Mention bug fix.
16975 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16977         * sysdeps/pthread/timer_routines.c
16978         (timer_free_list, thread_free_list, thread_active_list): Make static.
16980 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16982         [BZ #17779]
16983         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16984         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16985         Undefine.
16986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16987         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16988         Likewise.
16989         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16990         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16991         Likewise.
16993 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16995         [BZ #18036]
16996         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16997         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16999 2015-03-02  Andreas Schwab  <schwab@suse.de>
17001         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17002         variable name.
17004 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17006         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17007         Return error status.
17009 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17011         [BZ #15969]
17012         * locale/findlocale.c (_nl_find_locale): Introduce const
17013         version of loc_name and drop unsafe type casts.
17015 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17017         * dlfcn/tststatic2.c (main): Converted to ...
17018         (do_test): ... this.
17019         (TEST_FUNCTION): New macro.
17020         Include test-skeleton.c.
17022 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17024         [BZ #17711]
17025         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17026         (tests-pie): Add vismain.
17027         (CFLAGS-vismain.c): New.
17028         * elf/vismain.c: Add comments for PIE requirement.
17030 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17032         [BZ #18046]
17033         [BZ #18047]
17034         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17035         0x1p-56L as threshold for just returning the argument.
17036         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17037         0x1p-32L as threshold for just returning the argument.
17038         * math/auto-libm-test-in: Add more tests of atanh.
17039         * math/auto-libm-test-out: Regenerated.
17040         * sysdeps/i386/fpu/libm-test-ulps: Update.
17041         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17043 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17045         * string/bcopy.c (bcopy): Call memmove for performance.
17047 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17049         * string/bzero.c (__bzero): Call memset for performance.
17051 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17053         [BZ #18068]
17054         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17055         to 00100000.
17057 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17059         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17061 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17063         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17064         (__kernel_standard): Use CSTR macro when setting exc.name.
17065         * sysdeps/ieee754/Makefile [$(subdir) = math]
17066         (CFLAGS-k_standard.c): Remove variable.
17068         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17069         setting p and q from "else if" to "else".
17070         (qzero): Likewise.
17071         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17072         (qone): Likewise.
17073         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17074         (qzerof): Likewise.
17075         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17076         (qonef): Likewise.
17077         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17078         (qzero): Likewise.
17079         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17080         (qone): Likewise.
17082         [BZ #18038]
17083         [BZ #18039]
17084         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17085         return pi/2 for arguments below 0x1p-113L.
17086         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17087         return pi/2 for arguments below 0x1p-106L.
17088         * math/auto-libm-test-in: Add more tests of acos.
17089         * math/auto-libm-test-out: Regenerated.
17091         [BZ #16351]
17092         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17093         (MO): New macro.
17094         (__ieee754_asin): Force underflow exception for results with small
17095         absolute value.
17096         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17097         (MO): New macro.
17098         (__ieee754_asinf): Force underflow exception for results with
17099         small absolute value.
17100         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17101         (__ieee754_asin): Force underflow exception for results with small
17102         absolute value.
17103         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17104         (__ieee754_asinf): Force underflow exception for results with
17105         small absolute value.
17106         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17107         (__ieee754_asinl): Force underflow exception for results with
17108         small absolute value.
17109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17110         (__ieee754_asinl): Force underflow exception for results with
17111         small absolute value.
17112         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17113         (__ieee754_asinl): Force underflow exception for results with
17114         small absolute value.
17115         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17116         Include <math.h>.
17117         * math/auto-libm-test-in: Do not mark underflow exceptions as
17118         possibly missing for bug 16351.
17119         * math/auto-libm-test-out: Regenerated.
17121         [BZ #18030]
17122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17123         of power of 2 down when low part has opposite sign.
17124         * math/libm-test.inc (logb_test_data): Add more tests.
17126 2015-02-26  Andreas Schwab  <schwab@suse.de>
17128         [BZ #18032]
17129         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17130         over collating symbol inside a bracket expression.  Minor cleanup.
17131         * posix/tst-fnmatch3.c (do_test): Add test case.
17133 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17135         [BZ #18029]
17136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17137         Adjust exponent of power of 2 down when low part has opposite
17138         sign.
17139         * math/libm-test.inc (ilogb_test_data): Add more tests.
17141 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17143         [BZ #15969]
17144         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17145         the previous change.
17147         [BZ #15969]
17148         * locale/findlocale.c (_nl_find_locale): Retry archive search
17149         after alias expansion.
17151 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17153         * iconv/tst-iconv3.c (main): Converted to ...
17154         (do_test): ... this.
17155         (TEST_FUNCTION): New macro.
17156         Include test-skeleton.c.
17158         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17159         (convert): Make function static.
17160         (test_unalign): Likewise.  Add const to argument pointee types.
17161         (main): Replace with static function do_test.
17162         Print "Succeeded." only if RET is zero.
17163         (TEST_FUNCTION): New macro.
17164         Include test-skeleton.c.
17166         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17167         returns a null pointer.
17169 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17171         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17172         to __memcpy_ppc only for static builds.
17174 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17176         [BZ #18020]
17177         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17178         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17179         * math/auto-libm-test-in: Add more tests of asinh.
17180         * math/auto-libm-test-out: Regenerated.
17181         * sysdeps/i386/fpu/libm-test-ulps: Update.
17182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17184 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17186         [BZ #15850]
17187         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17188         and ip6_mtuinfo definitions here.
17189         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17190         in this define too.  Update comment.
17192 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17194         * elf/sprof.c (load_shobj): Tweak error message to match others.
17196 2015-02-24  Kevin Easton  <kevin@guarana.org>
17198         [BZ #16145] (partial fix)
17199         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17200         to reduce lock contention.
17202 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17204         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17205         (struct timex): Update time comment.
17206         (ADJ_SETOFFSET): Define.
17208 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17210         [BZ #18019]
17211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17212         2**56 not 2**28 as threshold for log (2x) formula.
17213         * math/auto-libm-test-in: Add more tests of acosh.
17214         * math/auto-libm-test-out: Regenerated.
17215         * sysdeps/i386/fpu/libm-test-ulps: Update.
17216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17218 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17220         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17221         parenthesis around the buf assignment.
17222         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17224 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17226         [BZ #16783]
17227         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17228         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17229         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17230         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17231         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17232         * math/libm-test.inc (scalb_test_data): Add more tests.
17234 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17236         [BZ #17916]
17237         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17238         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17240 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17242         [BZ #17523]
17243         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17244         * io/bits/fcntl2.h (open): Use it.
17245         (openat): Likewise.
17246         * io/open.c (__libc_open): Likewise.
17247         * io/open64.c (__libc_open64): Likewise.
17248         * io/open64_2.c (__open64_2): Likewise.
17249         * io/open_2.c (__open_2): Likewise.
17250         * io/openat.c (__openat): Likewise.
17251         * io/openat64.c (__openat64): Likewise.
17252         * io/openat64_2.c (__openat64_2): Likewise.
17253         * io/openat_2.c (__openat_2): Likewise.
17254         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17255         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17256         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17257         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17258         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17259         (__open_nocancel): Likewise.
17260         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17261         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17262         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17264 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17266         [BZ #14841]
17267         * resolv/gethnamaddr.c (getanswer): Skip logging if
17268         RES_USE_DNSSEC is set.
17269         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17271 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17273         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17275 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17277         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17278         201304L, for Unicode 7.
17280 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17282         [BZ #17836]
17283         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17284         shared library.  Add gmon-start.os otherwise.
17285         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17286         $(objpfx)gmon-start.os if builing shared library.
17287         ($(objpfx)g$(static-start-installed-name)): Likewise.
17289 2015-02-23  Andreas Schwab  <schwab@suse.de>
17291         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17293 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17295         [BZ #17269]
17296         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17297         (enlarge_userbuf): Likewise.
17299 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17301         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17302         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17303         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17304         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17306 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17308         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17309         expression inside statement expression.
17311 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17313         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17314         <sysdeps/nptl/lowlevellock.h> and remove macros and
17315         functions that are now defined there.
17316         (SYS_futex): Remove.
17317         (lll_compare_and_swap): Remove.
17318         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17320 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17322         [BZ #17999]
17323         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17324         instead of scandirat.
17325         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17326         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17327         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17328         __scandirat.
17329         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17330         (__scandirat): Declare.  Use libc_hidden_proto.
17331         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17332         Remove variable.
17333         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17335 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17337         [BZ #15319]
17338         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17339         (MO): New macro.
17340         (__ieee754_atan2): For results with small absolute value, force
17341         underflow exception and remove excess range and precision from
17342         return value.
17343         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17344         (MO): New macro.
17345         (__ieee754_atan2f): For results with small absolute value, force
17346         underflow exception and remove excess range and precision from
17347         return value.
17348         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17349         (MO): New macro.
17350         (__atan): For results with small absolute value, force underflow
17351         exception and remove excess range and precision from return value.
17352         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17353         (MO): New macro.
17354         (__atanf): For results with small absolute value, force underflow
17355         exception and remove excess range and precision from return value.
17356         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17357         <math.h>.
17358         (__ieee754_atan2): Force underflow exception for results with
17359         small absolute value.
17360         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17361         <math_private.h>.
17362         (atan): Force underflow exception for results with small absolute
17363         value.
17364         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17365         (__atanf): Force underflow exception for results with small
17366         absolute value.
17367         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17368         <math.h>.
17369         (__atanl): Force underflow exception for results with small
17370         absolute value.
17371         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17372         (__atanl): Force underflow exception for results with small
17373         absolute value.
17374         * sysdeps/x86/fpu/bits/mathinline.h
17375         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17376         (__ieee754_atan2): Only define inline for long double.
17377         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17378         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17379         * math/auto-libm-test-in: Do not mark underflow exceptions as
17380         possibly missing for bug 15319.  Add more tests of atan2.
17381         * math/auto-libm-test-out: Regenerated.
17382         * math/libm-test.inc (casin_test_data): Do not mark underflow
17383         exceptions as possibly missing for bug 15319.
17384         (casinh_test_data): Likewise.
17385         * sysdeps/i386/fpu/libm-test-ulps: Update.
17387 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
17389         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17390         * sysdeps/mips/bits/endian.h: Fix comments.
17392 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17394         [BZ #17996]
17395         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17396         (hdestroy_r): Likewise.
17397         (hsearch_r): Likewise.
17398         (__hcreate_r): Declare and use libc_hidden_proto.
17399         (__hdestroy_r): Likewise.
17400         (__hsearch_r): Likewise.
17401         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17402         (hcreate): Call __hcreate_r instead of hcreate_r.
17403         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17404         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17405         as weak alias of __hcreate_r.
17406         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17407         __hdestroy_r.
17408         (hsearch_r): Rename to __hsearch_r and define as weak alias of
17409         __hsearch_r.
17410         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17411         Remove variable.
17412         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17413         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17414         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17415         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17417 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17419         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17420         arena_lock into a single arena_get.
17422 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
17424         * dl-reloc.c: Inlucde libc-internal.h.
17425         (_dl_try_allocate_static_tls): Call ALIGN_UP.
17426         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17427         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17428         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17429         (grow_heap): Likewise.
17430         * malloc/malloc.c: Include libc-internal.h.
17431         (do_check_malloc): Call powerof2.
17432         (sysmalloc): Use pagesize. Call ALIGN_UP.
17433         (systrim): Use pagesize.
17434         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17435         (__libc_valloc): Use pagesize.
17436         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17438 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17440         [BZ #17991]
17441         * include/sys/resource.h (__getrlimit64): Declare.  Use
17442         libc_hidden_proto.
17443         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17444         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17445         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17446         getrlimit64.
17447         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17448         __getrlimit64.
17449         [!getrlimit64] (getrlimit64): Define as weak alias of
17450         __getrlimit64.  Use libc_hidden_weak.
17451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17452         using __getrlimit64 not __new_getrlimit64.
17453         (__GI_getrlimit64): Likewise.
17454         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17455         Likewise.
17456         (__GI_getrlimit64): Likewise.
17457         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17459         (getrlimit): Add __getrlimit64 alias.
17460         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17461         Likewise.
17462         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17463         Remove variable.
17464         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17465         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17467 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17469         * libio/fileops.c: Add missing sys/mman.h
17470         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17472 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17474         * manual/math.texi (Errors in Math Functions): Clarify goals
17475         regarding inexact and underflow exceptions.
17477 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17479         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17480         * sysdeps/mips/memset.S: Ditto.
17482 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17484         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17486 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17488         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17489         (__v1longjmp): Remove versioned symbol.
17490         (__v1siglongjmp): Remove alias and versioned symbol.
17491         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17492         (__v2siglongjmp): Likewise.
17494 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17496         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17498 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17500         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17502 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17504         [BZ #17987]
17505         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17506         zero result does not depend on the sign resulting from
17507         subtraction.
17508         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17509         Likewise.
17510         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17511         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17512         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17513         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17514         * math/libm-test.inc (remquo_test_data): Add more tests.
17516 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17518         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17519         Problem reported by J William Piggott.
17521 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17523         [BZ #17978]
17524         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17525         products 4 * y and 2 * y where those would overflow.
17526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17527         Likewise.
17528         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17529         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17531         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17532         * math/libm-test.inc (remquo_test_data): Add more tests.
17534         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17536         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17537         [defined _COMPILING_NEWLIB].
17538         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17539         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17541         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17542         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17544 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17546         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17547         acquired.
17549 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17551         [BZ #17792]
17552         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17553         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17554         HOST_STACK_END_ADDR): Likewise.
17556 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17558         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17559         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17560         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17562 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17564         * sysdeps/generic/c++-types.data: New file.
17565         * sysdeps/generic/ld.abilist: New file.
17566         * sysdeps/generic/libBrokenLocale.abilist: New file.
17567         * sysdeps/generic/libanl.abilist: New file.
17568         * sysdeps/generic/libc.abilist: New file.
17569         * sysdeps/generic/libcrypt.abilist: New file.
17570         * sysdeps/generic/libdl.abilist: New file.
17571         * sysdeps/generic/libm.abilist: New file.
17572         * sysdeps/generic/libpthread.abilist: New file.
17573         * sysdeps/generic/libresolv.abilist: New file.
17574         * sysdeps/generic/librt.abilist: New file.
17576 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17578         [BZ #17569]
17579         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17580         Compute absolute value of x as modified by fmod, not original
17581         value of x.
17582         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17583         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17584         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17585         RUN_TEST_ffI_f1_mod8.
17586         (remquo_test_data): Add more tests.
17588 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17590         * sysdeps/init_array/pt-crti.S: New file.
17592 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17594         [BZ #17967]
17595         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17596         __builtin_fmaf instead of relying on contraction of a * b + c.
17598 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17600         [BZ #17969]
17601         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17602         node.
17604 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17606         [BZ #17964]
17607         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17608         __builtin_fma instead of relying on contraction of a * b + c.
17610 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17612         * Makeconfig (ASFLAGS): Add -Werror=undef.
17613         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17614         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17615         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17617         * Makeconfig (after-link): New variable.
17618         (+link-pie, +link-pie-tests): Use it.
17619         (+link-static, +link-static-tests): Likewise.
17620         (+link, +link-tests): Likewise.
17621         * Makerules (build-module, build-module-asneeded): Likewise.
17622         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17623         Likewise.
17624         * elf/Makefile ($(objpfx)ld.so): Likewise.
17626 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17628         [BZ #17965]
17629         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17630         both struct timeval and struct timespec.
17632 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17634         [BZ #16560]
17635         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17636         and redefine.
17637         (__ieee754_exp2l): Do not multiply small fractional parts by
17638         M_LN2l.
17639         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17640         small argument.
17641         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17642         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17643         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17644         * math/auto-libm-test-in: Add more tests of exp2.
17645         * math/auto-libm-test-out: Regenerated.
17647 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17649         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17650         unaligned path.
17652 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17654         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17655         little endian.
17657 2015-02-12  Andreas Schwab  <schwab@suse.de>
17659         [BZ #15790]
17660         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17661         Filter out elision flags from value returned in kind.
17662         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17663         * nptl/tst-pthread-mutexattr.c: New file.
17665 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17667         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17668         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17669         into gnu-gnu, and update comment to refer to abi-tags.
17671 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17673         [BZ #15467]
17674         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17675         (__sincos): Set errno to EDOM for infinite argument.
17676         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17677         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17678         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17679         (__sincosl): Set errno to EDOM for infinite argument.
17680         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17681         (__sincosl): Set errno to EDOM for infinite argument.
17682         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17683         (__sincosl): Set errno to EDOM for infinite argument.
17684         * math/libm-test.inc (sincos_test_data): Test errno setting.
17686 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17688         * string/strxfrm_l.c: Remove #define STRCMP.
17689         * string/strcoll_l.c: Remove #define STRLEN.
17690         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17691         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17693 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17695         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17696         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17697         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17698         * sysdeps/mips/mips64/Makefile: ... here.
17699         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17700         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17701         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17702         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17703         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17704         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17705         * sysdeps/mips/mips64/n64/Implies: Likewise.
17707 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17709         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17710         <sys/time.h>, <string.h>, and <errno.h>.
17711         (dest_offset, dest_address, value, zero): Remove unused variables.
17712         (ldouble): Remove typedef.
17713         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17714         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17715         1).  Fix code style.
17716         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17717         (check): Function removed.
17718         (CHECK): New macro.
17719         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17720         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17721         Don't call set_sigaction_FP and remove_sigaction_FP here.
17722         (ldouble_test): Just use 'long double' as macro argument, no need for
17723         the 'ldouble' typedef.
17724         (do_test): Set up SIGFPE handler at start, using plain signal rather
17725         than sigaction.  Fix code style.
17727 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17729         [BZ #17949]
17730         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17731         jump label.
17733 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17735         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17736         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17738         * sysdeps/powerpc/configure.ac: Remove file.
17739         * sysdeps/powerpc/configure: Likewise.
17741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17742         [sysdep_routines]: Remove wordcopy-power6 object.
17743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17744         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17745         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17746         (__memmove_ppc32): Likewise.
17747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17748         file.
17749         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17750         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17751         Remove preprocessor.
17753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17754         [sysdep_routines]: Remove wide chars objects.
17755         [wcsmbs]: New rule for wide char objects.
17757         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17758         Remove wordcopy-power6 obejct.
17759         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17760         Use local call for wordcopy and memcpy symbols.
17761         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17763         implementation for loader.
17764         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17766         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17767         Remove wordcopy-power7 object.
17768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17770         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17771         (_wordcopy_fwd_dest_aligned): Likewise.
17772         (_wordcopy_bwd_aligned): Likewise.
17773         (_wordcopy_bwd_dest_aligned): Likewise.
17775         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17776         Rewrite to call __memmove_ppc instead of include default
17777         implementation.
17779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17780         Remove wide chars objects.
17781         [wcsmbs]: New rule for wide char objects.
17783 2015-02-09  Andreas Schwab  <schwab@suse.de>
17785         [BZ #17912]
17786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17787         in terms of __O_DIRECTORY.
17789 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17791         * time/getdate.c: Include <stdbool.h>.
17792         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17793         call PTR_MANGLE.
17794         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17795         PTR_DEMANGLE.
17797 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17799         Add ersatz _Static_assert on older C hosts
17800         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17801         pre-C11 C platform that is not known to support _Static_assert.
17803 2015-02-07  Richard Braun  <rbraun@sceen.net>
17805         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17806         sigstate.
17807         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17809 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17811         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17812         priority against unexistent AIO_PRIO_DELTA_MAX.
17813         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17814         instead of int.
17815         * misc/fchflags.c (fchflags): Likewise.
17816         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17817         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17818         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17819         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17820         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17821         Declare macros.
17822         [__USE_MISC] (chflags, fchflags): Declare functions.
17823         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17824         EINVAL when nfds is greater than FD_SETSIZE.
17825         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17826         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17827         45.
17828         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17829         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17830         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17831         MACH_RCV_TIMED_OUT.
17832         * hurd/hurd/signal.h (_hurd_self_sigstate,
17833         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17834         Explicit casts from void *.
17835         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17836         * abi-tags: Rename gnu-gnu os into gnu.
17838         [BZ #4719]
17839         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17840         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17841         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17842         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17843         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17844         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17846         [BZ #17944]
17847         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17848         duplicates ADDR->sun_path with sockaddr LEN limitation.
17849         * sysdeps/mach/hurd/connect.c: Include <string.h>
17850         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17851         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17852         * sysdeps/mach/hurd/sendto.c: Likewise.
17853         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17854         implementing it by hand.
17856 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17858         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17859         Use sfi_breg on ldr.
17860         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17861         Likewise.
17863         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17864         it's defined.
17865         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17866         Test SIGSETXID only if it's defined.
17868         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17870         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17871         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17873         * nptl/tst-align2.c: Moved ...
17874         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17875         * nptl/Makefile (tests): Remove tst-align2.
17876         * sysdeps/unix/sysv/linux/Makefile
17877         [$(subdir) = nptl] (tests): Add tst-align-clone.
17878         * nptl/tst-getpid1.c: Moved ...
17879         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17880         * nptl/tst-getpid2.c: Moved ...
17881         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17882         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17883         * sysdeps/unix/sysv/linux/Makefile
17884         [$(subdir) = nptl] (tests): ... here.
17885         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17886         * sysdeps/unix/sysv/linux/Makefile
17887         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17889         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17890         Drop trailing \n from perror argument.  Use return rather than exit.
17892         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17893         on [SA_SIGINFO].
17894         * nptl/tst-cancel21.c (do_test): Likewise.
17895         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17896         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17897         [!SA_SIGINFO]: Make it a stub test.
17899         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17900         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17902         * posix/tst-getlogin.c: Move to ...
17903         * login/tst-getlogin.c: ... here.
17904         * posix/Makefile (tests): Move tst-getlogin to ...
17905         * login/Makefile (tests): ... here.
17907         * libio/tst-atime.c (do_test): Move local variables SV and E
17908         inside [ST_NOATIME] conditional.
17910         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17912         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17914         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17915         (wait_code): New function replaces macro.
17916         Call nanosleep rather than syscall.
17918         * nptl/pt-system.c: Rewritten.  Put everything under
17919         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17920         Use IFUNC to redirect when possible.
17922         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17923         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17924         Use IFUNC to redirect when possible.
17926         * nptl/pt-fork.c: Rewritten.  Put everything under
17927         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17928         Use IFUNC to redirect when possible.
17929         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17932         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17933         unconditionally nowadays.  This included the only reference to
17934         __vdso_clock_gettime that appears outside libc proper.
17935         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17936         Remove version set (containing only __vdso_clock_gettime).
17937         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17938         Add attribute_hidden.
17939         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17940         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17941         libc_hidden_data_def.
17942         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17943         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17945         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17946         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17947         setrpcent, and getrpcport to ...
17948         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17949         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17950         getrpcbynumber_r, and getrpcent_r to ...
17951         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17952         * inet/getrpcbyname.c: Moved ...
17953         * sunrpc/getrpcbyname.c: ... here.
17954         * inet/getrpcbyname_r.c: Moved ...
17955         * sunrpc/getrpcbyname_r.c: ... here.
17956         * inet/getrpcbynumber.c: Moved ...
17957         * sunrpc/getrpcbynumber.c: ... here.
17958         * inet/getrpcbynumber_r.c: Moved ...
17959         * sunrpc/getrpcbynumber_r.c: ... here.
17960         * inet/getrpcent.c: Moved ...
17961         * sunrpc/getrpcent.c: ... here.
17962         * inet/getrpcent_r.c: Moved ...
17963         * sunrpc/getrpcent_r.c: ... here.
17964         * inet/Makefile (routines): Move those to ...
17965         * sunrpc/Makefile (routines): ... here.
17966         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17967         the $(subdirs) list.
17968         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17969         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17970         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17971         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17973         * elf/Makefile (routines): Include $(all-dl-routines), not just
17974         $(dl-routines).
17975         (rtld-routines): Likewise.  Use = rather than :=.
17976         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17977         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17978         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17979         * sysdeps/arm/Makefile: Likewise.
17980         * sysdeps/i386/Makefile: Likewise.
17981         * sysdeps/x86_64/Makefile: Likewise.
17982         * sysdeps/hppa/Makefile [$(subdir) = elf]
17983         (sysdep_routines, sysdep-rtld-routines): Don't add
17984         $(sysdep-dl-routines) to these.
17985         * sysdeps/ia64/Makefile: Likewise.
17986         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17987         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17988         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17989         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17990         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17991         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17992         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17993         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17994         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17995         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17996         these; sysdep-dl-routines alone is enough.
17998 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18000         [BZ #17932]
18001         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18002         where multiplication results in zero and third argument is finite
18003         and nonzero.
18004         * math/auto-libm-test-in: Add more tests of fma.
18005         * math/auto-libm-test-out: Regenerated.
18007         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18008         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18009         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18010         (_FP_CMP_EQ): Likewise.
18011         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18013         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18014         extra argument CHECK_NAN.  Redefine as wrapper around
18015         _FP_EXTEND_CNAN.
18017 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18019         * version.h (RELEASE): Set to "stable".
18020         (VERSION): Set to "2.21"
18021         * include/features.h (__GLIBC_MINOR__): Set to 21.
18023         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18025 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18026             Paul Eggert  <eggert@cs.ucla.edu>
18028         [BZ #16618]
18029         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18030         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18031         size in bytes. Store needed elements in wpmax. Use needed size
18032         in bytes for extend_alloca.
18034 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18036         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18037         binutls 2.25, and texinfo 5.2.
18038         * INSTALL: Regenerate.
18039         * sysdeps/nios2/configure: Regenerate.
18040         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18041         * manual/contrib.texi: Update.
18042         * po/be.po: Update.
18043         * po/bg.po: Update.
18044         * po/ca.po: Update.
18045         * po/cs.po: Update.
18046         * po/da.po: Update.
18047         * po/de.po: Update.
18048         * po/el.po: Update.
18049         * po/eo.po: Update.
18050         * po/es.po: Update.
18051         * po/fi.po: Update.
18052         * po/fr.po: Update.
18053         * po/gl.po: Update.
18054         * po/hr.po: Update.
18055         * po/hu.po: Update.
18056         * po/ia.po: Update.
18057         * po/id.po: Update.
18058         * po/it.po: Update.
18059         * po/ja.po: Update.
18060         * po/ko.po: Update.
18061         * po/lt.po: Update.
18062         * po/nb.po: Update.
18063         * po/nl.po: Update.
18064         * po/pl.po: Update.
18065         * po/pt_BR.po: Update.
18066         * po/ru.po: Update.
18067         * po/rw.po: Update.
18068         * po/sk.po: Update.
18069         * po/sl.po: Update.
18070         * po/sv.po: Update.
18071         * po/tr.po: Update.
18072         * po/uk.po: Update.
18073         * po/vi.po: Update.
18074         * po/zh_CN.po: Update.
18075         * po/zh_TW.po: Update.
18077         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18078         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18079         * sysdeps/hppa/dl-irel.h: Remove #warning.
18080         * sysdeps/hppa/entry.h: Provide prototype for
18081         __canonicalize_funcptr_for_compare and cast argument.
18082         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18083         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18084         * sysdeps/hppa/sotruss-lib.c: New file.
18085         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18086         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18087         (atomic_compare_and_exchange_bool_acq): Likewise.
18088         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18089         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18091         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18092         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18093         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18095 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18097         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18098         called function in non-PIC case.
18100 2015-01-31  David S. Miller  <davem@davemloft.net>
18102         * sysdeps/sparc/sparc32/bits/atomic.h
18103         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18104         unlock not after it.
18105         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18106         volatile register usage warnings from the compiler.
18108         * sysdeps/sparc/nptl/sem_init.c: Delete.
18109         * sysdeps/sparc/nptl/sem_post.c: Delete.
18110         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18111         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18112         * sysdeps/sparc/sparc32/sem_init.c: New file.
18113         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18114         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18115         padding explicitly initialized.
18116         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18117         padding for in-semaphore spinlock.
18118         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18119         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18120         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18121         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18122         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18123         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18124         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18125         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18126         version.
18127         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18128         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18130 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18132         [BZ #17801]
18133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18134         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18135         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18136         New.
18137         (index_AVX_Fast_Unaligned_Load): Likewise.
18138         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18139         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18140         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18141         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18142         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18143         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18144         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18145         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18146         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18148 2015-01-29  Andreas Schwab  <schwab@suse.de>
18150         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18152 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18154         [BZ #17892]
18155         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18157 2015-01-28  Martin Sebor  <msebor@redhat.com>
18159         * math/README.libm-test: Clarify. Add "How to read the test output."
18161 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18163         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18164         Define to 0.
18166 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18168         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18169         (__HAVE_64B_ATOMICS): Define to 0.
18171 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18173         [BZ #17885]
18174         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18175         value to set as new flag.
18177         [BZ #16576]
18178         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18179         and use _ARCH_PPCSQ instead.
18180         (__ieee754_sqrt): Likewise.
18181         (__ieee754_sqrtf): Likewise.
18182         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18183         _ARCH_PPCSQ is defined.
18184         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18185         fsqrt instruction.
18186         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18187         _ARCH_PPCSQ is defined.
18188         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18189         fsqrts instruction.
18190         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18192 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18194         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18195         bug (GCC BZ #64739).
18197 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18199         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18200         Mark _retval as used.
18201         (lll_futex_wake_unlock): Likewise.
18202         (lll_futex_timed_wait_requeue_pi): Likewise.
18204         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18205         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18206         register variables.
18208         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18209         libm_hidden_def.
18211         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18212         (__bswap_64): Mark as __always_inline.
18214 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18216         [BZ #15378]
18217         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18218         when none of the search directories exist.
18220 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18222         [BZ #17869]
18223         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18224         power8 in .machine directive.
18226         [BZ #17868]
18227         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18228         set dependency from opd value.
18230 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18233         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18234         architecture.
18236 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18238         [BZ #17870]
18239         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18240         with uint64_t.
18241         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18242         (uint64_t) 1.
18243         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18244         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18245         Replace 1UL with (uint64_t) 1.
18246         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18247         int with uint64_t.
18249 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18251         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18252         (if_freenameindex): Likewise.
18254         * resource/getrlimit64.c: Add missing libc_hidden_def.
18256 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18258         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18259         __label__.
18260         (_FP_FMA): Likewise.
18261         (_FP_TO_INT_ROUND): Likewise.
18262         (_FP_FROM_INT): Likewise.
18264 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18266         [BZ #16418]
18267         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18268         Make code racy and cancel safe.
18270 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18272         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18273         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18274         attribution.
18276         * pwd/tst-getpw.c: Rewrite.
18278         [BZ #17702]
18279         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18280         (modules-names): Add moddummy1 and moddummy2.
18281         ($(objpfx)tst-rec-dlopen): Define.
18282         * dlfcn/moddummy1.c: New file.
18283         * dlfcn/moddummy2.c: New file.
18284         * dlfcn/tst-rec-dlopen.c: New file.
18285         * elf/dl-cache.c (_dl_load_cache_lookup):
18286         Return char*. Copy result with alloca/strcpy/strdup.
18287         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18288         returns char*. Free cached. If not saving realname
18289         free cached.
18290         * elf/dl-open.c (dl_open_worker): Do not assert that
18291         _r_debug->r_state is RT_CONSISTENT.
18292         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18293         returns char*.
18295 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18296             Carlos O'Donell  <carlos@redhat.com>
18298         [BZ #12674]
18299         * nptl/sem_waitcommon.c: New file.
18300         * nptl/sem_wait.c: Include sem_waitcommon.c.
18301         (__sem_wait_cleanup, do_futex_wait): Remove.
18302         (__new_sem_wait): Adapt.
18303         (__new_sem_trywait): New function.
18304         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18305         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18306         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18307         (sem_timedwait): Adapt.
18308         * nptl/sem_post.c (__new_sem_post): Adapt.
18309         (futex_wake): New function.
18310         (__old_sem_post): Add release MO fence.
18311         * nptl/sem_open.c (sem_open): Adapt.
18312         * nptl/sem_init.c (__new_sem_init): Adapt.
18313         (futex_private_if_supported): New function.
18314         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18315         (__old_sem_getvalue): Add using previous code.
18316         * sysdeps/nptl/internaltypes.h: Adapt.
18317         * nptl/tst-sem13.c (do_test): Adapt.
18318         * nptl/tst-sem11.c (main): Adapt.
18319         * nptl/sem_trywait.c: Remove.
18320         * nptl/DESIGN-sem.txt: Remove.
18321         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18322         (gen-as-const-headers): Remove structsem.sym.
18323         * nptl/structsem.sym: Remove.
18324         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18325         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18326         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18327         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18328         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18329         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18330         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18331         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18332         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18333         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18334         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18335         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18336         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18337         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18338         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18339         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18340         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18341         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18342         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18343         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18344         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18345         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18347 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18349         * INSTALL: Regenerated.
18351         * po/libc.pot: Regenerated.
18353 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18354             Sandra Loosemore  <sandra@codesourcery.com>
18355             Andrew Jenner  <andrew@codesourcery.com>
18356             Joseph Myers  <joseph@codesourcery.com>
18357             Nathan Sidwell  <nathan@codesourcery.com>
18359         * NEWS: Mention new Nios II port.
18360         * sysdeps/nios2/Implies: New file.
18361         * sysdeps/nios2/Makefile: New file.
18362         * sysdeps/nios2/Subdirs: New file.
18363         * sysdeps/nios2/Versions: New file.
18364         * sysdeps/nios2/__longjmp.S: New file.
18365         * sysdeps/nios2/abort-instr.h: New file.
18366         * sysdeps/nios2/backtrace.c: New file.
18367         * sysdeps/nios2/bits/endian.h: New file.
18368         * sysdeps/nios2/bits/fenv.h: New file.
18369         * sysdeps/nios2/bits/link.h: New file.
18370         * sysdeps/nios2/bits/setjmp.h: New file.
18371         * sysdeps/nios2/bsd-_setjmp.S: New file.
18372         * sysdeps/nios2/bsd-setjmp.S: New file.
18373         * sysdeps/nios2/configure: New generated file.
18374         * sysdeps/nios2/configure.ac: New file.
18375         * sysdeps/nios2/crti.S: New file.
18376         * sysdeps/nios2/crtn.S: New file.
18377         * sysdeps/nios2/dl-init.c: New file.
18378         * sysdeps/nios2/dl-machine.h: New file.
18379         * sysdeps/nios2/dl-sysdep.h: New file.
18380         * sysdeps/nios2/dl-tls.h: New file.
18381         * sysdeps/nios2/dl-trampoline.S: New file.
18382         * sysdeps/nios2/gccframe.h: New file.
18383         * sysdeps/nios2/gmp-mparam.h: New file.
18384         * sysdeps/nios2/jmpbuf-offsets.h: New file.
18385         * sysdeps/nios2/jmpbuf-unwind.h: New file.
18386         * sysdeps/nios2/ldsodefs.h: New file.
18387         * sysdeps/nios2/libc-tls.c: New file.
18388         * sysdeps/nios2/libm-test-ulps: New file.
18389         * sysdeps/nios2/machine-gmon.h: New file.
18390         * sysdeps/nios2/math-tests.h: New file.
18391         * sysdeps/nios2/math_private.h: New file.
18392         * sysdeps/nios2/memusage.h: New file.
18393         * sysdeps/nios2/nptl/Makefile: New file.
18394         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18395         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18396         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18397         * sysdeps/nios2/nptl/pthreaddef.h: New file.
18398         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18399         * sysdeps/nios2/nptl/tls.h: New file.
18400         * sysdeps/nios2/preconfigure: New file.
18401         * sysdeps/nios2/s_fma.c: New file.
18402         * sysdeps/nios2/s_fmaf.c: New file.
18403         * sysdeps/nios2/setjmp.S: New file.
18404         * sysdeps/nios2/sfp-machine.h: New file.
18405         * sysdeps/nios2/sotruss-lib.c: New file.
18406         * sysdeps/nios2/stackguard-macros.h: New file.
18407         * sysdeps/nios2/stackinfo.h: New file.
18408         * sysdeps/nios2/start.S: New file.
18409         * sysdeps/nios2/sysdep.h: New file.
18410         * sysdeps/nios2/tls-macros.h: New file.
18411         * sysdeps/nios2/tst-audit.h: New file.
18412         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18413         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18414         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18415         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18416         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18417         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18418         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18419         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18420         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18421         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18422         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18423         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18424         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18425         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18426         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18427         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18428         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18429         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18430         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18431         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18432         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18433         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18434         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18435         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18436         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18437         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18438         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18439         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18440         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18441         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18442         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18443         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18444         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18445         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18446         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18447         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18448         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18449         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18450         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18451         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18452         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18453         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18454         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18455         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18457 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18459         [BZ #17844]
18460         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18461         (getutent): Use weak_alias in non SHARED case
18462         and default_symbol_version in SHARED case.
18463         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18464         (getutent_r, pututline): Likewise.
18465         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18466         (getutid): Likewise.
18467         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18468         (getutid_r): Likewise.
18469         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18470         (getutline): Likewise.
18471         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18472         (getutline_r): Likewise.
18473         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18474         (updwtmp): Likewise.
18476 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18478         [BZ #17848]
18479         * sysdeps/s390/s390-32/memcmp.S
18480         (memcmp_g5): Rename to __memcmp_g5.
18481         * sysdeps/s390/s390-32/memcpy.S
18482         (memcpy_g5): Rename to __memcpy_g5.
18483         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18484         (memcpy_mvcle) Rename to __memcpy_mvcle.
18485         * sysdeps/s390/s390-32/memset.S
18486         (memset_g5): Rename to __memset_g5.
18487         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18488         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18489         and use prefixed functions.
18490         * sysdeps/s390/s390-32/multiarch/memcmp.S
18491         (memcmp_z196): Rename to __memcmp_z196.
18492         (memcmp_z10): Rename to __memcmp_z10.
18493         (memcmp): Set alias to __memcmp_g5.
18494         (bcmp): Set alias to __memcmp_g5.
18495         * sysdeps/s390/s390-32/multiarch/memcpy.S
18496         (memcpy_z196): Rename to __memcpy_z196.
18497         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18498         (memcpy_z10): Rename to __memcpy_z10.
18499         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18500         (memcpy): Set alias to __memcpy_g5.
18501         * sysdeps/s390/s390-32/multiarch/memset.S
18502         (memset_z196): Rename to __memset_z196.
18503         Jump to __memset_mvcle instead of memset_mvcle.
18504         (memset_z10): Rename to __memset_z10.
18505         Jump to __memset_mvcle instead of memset_mvcle.
18506         (memset_mvcle) Rename to __memset_mvcle.
18507         (memset): Set alias to __memset_g5.
18508         * sysdeps/s390/s390-64/memcmp.S
18509         (memcmp_z900): Rename to __memcmp_z900.
18510         * sysdeps/s390/s390-64/memcpy.S
18511         (memcpy_z900): Rename to __memcpy_z900.
18512         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18513         (memcpy_mvcle) Rename to __memcpy_mvcle.
18514         * sysdeps/s390/s390-64/memset.S
18515         (memset_z900): Rename to __memset_z900.
18516         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18517         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18518         and use prefixed functions.
18519         * sysdeps/s390/s390-64/multiarch/memcmp.S
18520         (memcmp_z196): Rename to __memcmp_z196.
18521         (memcmp_z10): Rename to __memcmp_z10.
18522         (memcmp): Set alias to __memcmp_z900.
18523         (bcmp): Set alias to __memcmp_z900.
18524         * sysdeps/s390/s390-64/multiarch/memcpy.S
18525         (memcpy_z196): Rename to __memcpy_z196.
18526         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18527         (memcpy_z10): Rename to __memcpy_z10.
18528         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18529         (memcpy): Set alias to __memcpy_z900.
18530         * sysdeps/s390/s390-64/multiarch/memset.S
18531         (memset_z196): Rename to __memset_z196.
18532         Jump to __memset_mvcle instead of memset_mvcle.
18533         (memset_z10): Rename to __memset_z10.
18534         Jump to __memset_mvcle instead of memset_mvcle.
18535         (memset_mvcle) Rename to __memset_mvcle.
18536         (memset): Set alias to __memset_z900.
18538 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18540         [BZ #17748]
18541         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18542         __fesetenv instead of fesetenv.
18544 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18546         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18547         macro.
18549 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18551         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18552         regression on LE.
18554         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18555         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18557         strncmp-power8 object.
18558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18559         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18560         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18561         * NEWS: Update.
18563 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18564             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18566         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18567         trailing byte check.
18569 2015-01-13  David S. Miller  <davem@davemloft.net>
18571         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18573 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18575         * login/logout.c (logout): Use memset rather than bzero.
18576         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18577         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18578         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18579         (_gethtbyaddr): Likewise.
18580         * locale/programs/simple-hash.c (bcopy): Macro removed.
18582 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18585         Add strcmp-power8 object.
18586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18587         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18588         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18589         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18590         __strcmp_power8 implementation.
18591         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18592         * NEWS: Update.
18594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18595         Add strncpy-power8 and stpncpy-power8 objects.
18596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18597         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18598         implementations.
18599         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18600         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18601         __stpncpy_power8 implementation.
18602         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18603         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18604         __strncpy_power8 implementation.
18605         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18606         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18607         * NEWS: Update.
18609         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18610         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18611         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18614         strncat-power8 object.
18615         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18616         __strcat_power8 implementation.
18617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18618         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18619         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18620         optimized strcat for power8.
18622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18623         strcpy-power8 and stpcpy-power8 objects.
18624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18625         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18626         implementations.
18627         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18628         multiarch stpcpy implementation for POWER8.
18629         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18630         multiarch strcpy implementation for POWER8.
18631         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18632         __strcpy_power8 function.
18633         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18634         stpcpy for POWER8.
18635         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18636         strcpy for POWER8.
18637         * NEWS: Update.
18639 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18641         [BZ #16009]
18642         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18643         weights and rules. Use do_xfrm_cached if data fits in cache,
18644         do_xfrm otherwise.  Moved former main loop to...
18645         * (do_xfrm_cached): New function.
18646         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18647         find_idx, find_position and stack_push.
18648         * (find_idx): New function.
18649         * (find_position): Likewise.
18650         * localedata/sort-test.sh: Added test run for do_xfrm.
18651         * localedata/xfrm-test.c (main): Added command line option
18652         -nocache to run the test with strings that are too large for
18653         the STRXFRM cache.
18655 2015-01-13  Torvald Riegel  <triegel@redhat.com>
18657         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18658         variable to lll_futex_wake call, not the value itself.
18660 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18662         [BZ #17803]
18663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18664         twom64.  Adjust value to 0x1p-64L.
18665         (__scalblnl): Only return standard underflowing result for K <=
18666         -64 not K <= -63; adjust exponent for underflowing result by 64
18667         not 63.
18668         * math/libm-test.inc (scalbn_test_data): Add more tests.
18669         (scalbln_test_data): Likewise.
18671         [BZ #17834]
18672         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18673         0x1p63L.
18674         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18675         not HX.
18676         * math/libm-test.inc (scalbn_test_data): Add more tests.
18677         (scalbln_test_data): Likewise.
18679 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18680             Stefani Seibold  <stefani@seibold.net>
18682         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18683         (sysdep_routines): Add dl-vdso here, ...
18684         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18685         (sysdep_routines): ... not here.
18686         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18687         fallback when vDSO is not presented.
18688         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18689         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18690         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18691         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18692         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18693         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18694         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18695         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18696         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18697         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18698         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18699         fallback configurable symbol when vDSO is not available.
18700         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18701         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18702         be able to redefine fallback symbol when vDSO is not available.
18703         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18704         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18706 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18708         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18709         (TLS_INIT_TP): Add tm_capable initialization.
18710         (TLS_DEFINE_INIT_TP): Likewise.
18711         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18712         TCB.
18713         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18714         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18715         calculation.
18716         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18717         transactoion is lock elision is built and TCB tm_capable is set.
18718         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18720         (INTERNAL_SYSCALL_NCS): Likewise.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18722         (INTERNAL_SYSCALL_NCS): Likewise.
18723         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18725         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18726         for powerpc.
18727         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18728         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18729         and remove it for 32 bits case.
18730         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18732         initialization.
18733         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18734         Disable lock elision with rdlocks if elision is not available.
18736         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18737         (sysdep_routines): Add lock elision objects.
18738         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18739         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18740         [pthread_mutex_t] (__elision): Add field.
18741         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18742         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18743         elision definitions for powerpc.
18744         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18745         implementation of lock elision for powerpc.
18746         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18747         implementation of timed lock elision for powerpc.
18748         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18749         implementation of trylock with lock elision for powerpc.
18750         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18751         implementaion of unlock for lock elision for powerpc.
18752         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18753         automatic enable lock elision for mutexes.
18754         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18755         transaction execution definitions for powerpc.
18756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18757         definitions.
18758         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18759         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18760         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18761         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18762         * NEWS: Update.
18764 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18766         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18767         for #include of <shm-directory.h>.
18769 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18771         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18772         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18774 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18776         [BZ #17791]
18777         * NEWS: Mention bug fix.
18778         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18779         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18780         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18782 2015-01-09  Torvald Riegel <triegel@redhat.com>
18784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18786 2015-01-09  Torvald Riegel <triegel@redhat.com>
18788         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18790 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18792         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18793         pointer and cast to uintptr_t.
18795 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18797         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18798         removed.
18799         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18801 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18803         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18804         of 0.
18806 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18808         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18809         <nptl/pthreadP.h> instead.
18810         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18812         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18813         already defined.
18814         [__SIGRTMIN] (init): Function removed.
18815         [__SIGRTMIN] (initialized): Variable removed.
18816         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18817         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18818         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18819         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18820         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18821         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18822         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18823         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18824         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18825         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18826         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18827         * sysdeps/nptl/allocrtsig.c: New file.
18828         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18829         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18830         * sysdeps/generic/testrtsig.h: File removed.
18832         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18833         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18835         * nptl/nptl-init.c (pthread_functions): Conditionalize
18836         .ptr__nptl_setxid initialization on [SIGSETXID].
18838         * sysdeps/nptl/sys/procfs.h: New file.
18839         * nptl_db/Makefile (headers): Add it.
18840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18842         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18843         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18844         * nptl/pthread_attr_setaffinity.c: Include it.
18845         * nptl/pthread_setattr_default_np.c: Likewise.
18846         * nptl/check-cpuset.h: New file.
18848 2015-01-08  Richard Henderson  <rth@redhat.com>
18850         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18851         (CFLAGS-tst-execstack-prog.c): Likewise.
18852         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18854 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18855             Sandra Loosemore  <sandra@codesourcery.com>
18856             Andrew Jenner  <andrew@codesourcery.com>
18857             Joseph Myers  <joseph@codesourcery.com>
18858             Nathan Sidwell  <nathan@codesourcery.com>
18860         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18861         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18862         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18863         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18864         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18865         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18866         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18867         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18868         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18869         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18870         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18871         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18872         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18873         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18874         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18875         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18876         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18878 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18880         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18881         timespec struct member in syscall macro.
18882         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18883         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18884         first timeval struct member in syscall macro.
18885         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18887 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18889         [BZ #17748]
18890         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18891         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18892         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18893         __feupdateenv and define as weak alias of __feupdateenv.  Use
18894         libm_hidden_weak.
18895         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18896         libm_hidden_def.
18897         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18898         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18899         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18900         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18901         libm_hidden_def.
18902         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18903         __feupdateenv and define as weak alias of __feupdateenv.  Use
18904         libm_hidden_weak.
18905         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18906         libm_hidden_def.
18907         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18908         __feupdateenv and define as weak alias of __feupdateenv.  Use
18909         libm_hidden_weak.
18910         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18911         libm_hidden_def.
18912         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18913         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18914         (__feupdateenv): Likewise.
18915         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18916         __feupdateenv and define as weak alias of __feupdateenv.  Use
18917         libm_hidden_weak.
18918         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18919         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18920         libm_hidden_def.
18921         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18922         function.
18923         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18924         libm_hidden_def.
18925         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18926         __feupdateenv instead of feupdateenv.
18927         (default_libc_feupdateenv_test): Likewise.
18928         (libc_feresetround_ctx): Likewise.
18930 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18932         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18933         prototype.
18935 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18937         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18938         COLL_SYM in a couple of places to avoid uninitialized variable
18939         wanings on tilegx gcc 4.8.2.
18941 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18943         * sysdeps/aarch64/strcpy.S: New file.
18944         * sysdeps/aarch64/stpcpy.S: New file.
18945         * NEWS: Updated.
18947 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18949         * sysdeps/aarch64/strrchr.S: New file.
18950         * NEWS: Updated.
18952 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18954         [BZ #17658]
18955         * stdlib/setenv.c: Fix memory leak when setting large,
18956         duplicate string.
18958 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18960         [BZ #17273]
18961         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18962         and tabs from buffer before parsing fstab entry.
18963         * misc/tst-mntent.c (main): Add test for mount entry with
18964         trailing spaces and tabs.
18966 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18968         [BZ #17748]
18969         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18970         * math/fesetround.c (fesetround): Rename to __fesetround and
18971         define as weak alias of __fesetround.  Use libm_hidden_weak.
18972         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18973         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18974         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18975         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18976         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18977         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18978         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18979         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18980         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18981         __fesetround_inline.
18982         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18983         __fesetround_inline instead of __fesetround.
18984         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18985         __fesetround and define as weak alias of __fesetround.  Use
18986         libm_hidden_weak.  Call __fesetround_inline instead of
18987         __fesetround.
18988         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18989         __fesetround and define as weak alias of __fesetround.  Use
18990         libm_hidden_weak.
18991         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18992         Likewise.
18993         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18994         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18995         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18996         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18997         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18998         __fesetround and define as weak alias of __fesetround.  Use
18999         libm_hidden_weak.
19000         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19001         __fesetround instead of fesetround.
19002         (default_libc_feholdexcept_setround): Likewise.
19003         (libc_feholdsetround_ctx): Likewise.
19004         (libc_feholdsetround_noex_ctx): Likewise.
19006         [BZ #17748]
19007         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19008         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19009         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19010         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19011         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19012         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19013         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19014         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19015         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19016         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19017         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19018         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19019         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19020         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19021         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19022         libm_hidden_def.
19023         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19024         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19025         Likewise.
19026         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19027         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19028         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19029         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19030         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19031         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19032         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19033         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19034         __fesetenv instead of fesetenv.
19035         (libc_feresetround_noex_ctx): Likewise.
19036         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19037         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19038         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19039         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19040         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19041         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19042         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19043         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19044         (__feupdateenv): Likewise.
19045         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19046         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19047         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19048         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19050 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19052         [BZ #17806]
19053         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19054         addresses have been freed.
19056 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19058         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19059         and nservall.
19061 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19063         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19064         Clean up check_pf allocation pattern. addresses
19066 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19068         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19069         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19070         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19071         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19072         * nptl/pthread_join.c (pthread_join): Likewise.
19073         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19074         * sysdeps/posix/waitid.c (__waitid): Likewise.
19075         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19076         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19077         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19078         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19080         Likewise.
19081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19082         (__libc_pread64): Likewise.
19083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19084         (__libc_pwrite): Likewise.
19085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19086         (__libc_pwrite64): Likewsie.
19087         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19088         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19089         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19090         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19091         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19092         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19093         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19095         Likewise.
19096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19097         (__libc_pread64): Likewise.
19098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19101         (__libc_pwrite64): Likewise.
19102         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19103         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19104         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19105         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19106         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19107         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19108         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19109         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19110         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19111         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19112         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19113         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19114         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19115         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19116         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19117         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19118         Likewise.
19120 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19122         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19123         (CFLAGS-test-double.c): Likewise.
19124         (CFLAGS-test-ldouble.c): Likewise.
19125         (CPPFLAGS-test-ifloat.c): Likewise.
19126         (CPPFLAGS-test-idouble.c): Likewise.
19127         (CPPFLAGS-test-ildoubl.c): Likewise.
19128         (CFLAGS-test-test-fenv.c): Remove variable.
19129         (CFLAGS-test-misc.c): Likewise.
19131 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19133         [BZ #17797]
19134         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19135         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19136         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19137         CLOCKS_PER_SEC == 1000000.
19138         * time/clocktest.c (main): Replace %ld with %jd and cast to
19139         intmax_t.
19141 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19143         * sysdeps/generic/unwind-resume.h: New file.
19144         * sysdeps/gnu/unwind-resume.c: Include it.
19145         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19146         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19147         argument list.
19148         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19149         global rather than static.
19150         (_Unwind_Resume): Update user.
19151         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19152         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19153         rather than static.  Add __attribute__ ((cold)).
19154         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19155         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19156         * sysdeps/arm/arm-unwind-resume.S: New file.
19157         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19158         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19159         * sysdeps/arm/Makefile [$(subdir) = csu]
19160         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19161         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19162         Add rt-arm-unwind-resume.
19163         [$(subdir) = nptl]
19164         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19165         Add pt-arm-unwind-resume.
19166         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19167         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19169 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19171         [BZ #17748]
19172         * include/fenv.h (__feholdexcept): Declare.  Use
19173         libm_hidden_proto.
19174         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19175         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19176         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19177         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19178         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19179         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19180         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19181         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19182         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19183         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19184         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19185         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19186         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19187         (feholdexcept): Likewise.
19188         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19189         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19190         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19191         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19192         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19193         __feholdexcept instead of feholdexcept.
19194         (default_libc_feholdexcept_setround): Likewise.
19196 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19198         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19199         to avoid using stl/str to align destination.
19201 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19203         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19205 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19207         [BZ #17796]
19208         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19209         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19210         Define as weak alias not strong alias.
19212 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19214         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19215         bltzal with addiupc.
19216         (RTLD_START): Ditto.
19218 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19220         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19221         for __vdso_* functions in declarations.
19222         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19223         definitions.
19224         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19225         INTERNAL_VSYSCALL): Use struct return types to check for error.
19227         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19228         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19229         function with cast from llround().
19230         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19231         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19232         Define.
19234 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19236         [BZ #17793]
19237         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19238         Define as weak alias not strong alias.
19240         [BZ #17635]
19241         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19242         ...
19243         * ctype/ctype-extn.c: ... here.
19244         (__isblank_l): Move to ...
19245         * ctype/ctype-c99_l.c: ... here.  New file.
19246         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19247         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19248         Remove variable.
19249         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19250         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19251         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19252         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19253         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19255         [BZ #17777]
19256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19257         (posix_fadvise64): Define as weak alias not strong alias.
19258         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19259         (posix_fallocate64): Likewise.
19260         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19261         Remove variable.
19262         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19263         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19264         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19265         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19266         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19268 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19270         [BZ #16191]
19271         * NEWS: Mention bug fix.
19272         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19273         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19274         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19275         (HOST_STACK_END_ADDR): Likewise.
19277 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19279         [BZ #17748]
19280         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19281         * math/fegetround.c (fegetround): Rename to __fegetround and
19282         define as weak alias of __fegetround.  Use libm_hidden_weak.
19283         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19284         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19285         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19286         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19287         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19288         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19289         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19290         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19291         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19292         Undefine after rather than before function definition; use
19293         parentheses around function name in definition.
19294         (__fegetround): Also undefine macro after function definition.
19295         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19296         __fegetround and define as weak alias of __fegetround.  Use
19297         libm_hidden_weak.  Do not undefine as macro.
19298         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19299         Likewise.
19300         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19301         __fegetround and define as weak alias of __fegetround.  Use
19302         libm_hidden_weak.
19303         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19304         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19305         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19306         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19307         __fegetround and define as weak alias of __fegetround.  Use
19308         libm_hidden_weak.
19309         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19310         __fegetround instead of fegetround.
19312         [BZ #17782]
19313         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19314         Condition macro definition on [__USE_MISC].
19316         [BZ #17781]
19317         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19318         (struct sigaction): Change type of sa_flags field to int.
19320         [BZ #17780]
19321         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19322         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19323         __glibc_reserved0.
19325         * nptl/version.c (banner): Use single year in copyright notice.
19327         * NEWS: Update copyright dates.
19328         * catgets/gencat.c (print_version): Likewise.
19329         * csu/version.c (banner): Likewise.
19330         * debug/catchsegv.sh: Likewise.
19331         * debug/pcprofiledump.c (print_version): Likewise.
19332         * debug/xtrace.sh (do_version): Likewise.
19333         * elf/ldconfig.c (print_version): Likewise.
19334         * elf/ldd.bash.in: Likewise.
19335         * elf/pldd.c (print_version): Likewise.
19336         * elf/sotruss.sh: Likewise.
19337         * elf/sprof.c (print_version): Likewise.
19338         * iconv/iconv_prog.c (print_version): Likewise.
19339         * iconv/iconvconfig.c (print_version): Likewise.
19340         * locale/programs/locale.c (print_version): Likewise.
19341         * locale/programs/localedef.c (print_version): Likewise.
19342         * login/programs/pt_chown.c (print_version): Likewise.
19343         * malloc/memusage.sh (do_version): Likewise.
19344         * malloc/memusagestat.c (print_version): Likewise.
19345         * malloc/mtrace.pl: Likewise.
19346         * manual/libc.texinfo: Likewise.
19347         * nptl/version.c (banner): Likewise.
19348         * nscd/nscd.c (print_version): Likewise.
19349         * nss/getent.c (print_version): Likewise.
19350         * nss/makedb.c (print_version): Likewise.
19351         * posix/getconf.c (main): Likewise.
19352         * scripts/test-installation.pl: Likewise.
19353         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19355 2015-01-02  Will Newton  <will.newton@linaro.org>
19357         * sysdeps/arm/armv7/configure: Removed.
19358         * sysdeps/arm/armv7/configure.ac: Likewise.
19360 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19362         * All files with FSF copyright notices: Update copyright dates
19363         using scripts/update-copyrights.
19364         * intl/plural.c: Regenerated.
19365         * locale/programs/charmap-kw.h: Likewise.
19366         * locale/programs/locfile-kw.h: Likewise.
19368 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19370         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19372 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19374         [BZ #17748]
19375         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19376         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19377         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19378         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19379         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19380         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19381         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19382         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19383         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19384         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19385         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19386         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19387         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19388         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19389         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19390         libm_hidden_def.
19391         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19392         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19393         Likewise.
19394         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19395         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19396         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19397         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19398         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19399         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19400         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19401         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19402         __fegetenv instead of fegetenv.
19403         (libc_feholdsetround_noex_ctx): Likewise.
19405 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19407         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19408         (Elf_MIPS_ABIFlags_v0): New structure.
19409         (EF_MIPS_FP64): Define.
19410         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19411         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19412         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19413         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19414         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19415         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19416         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19417         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19418         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19419         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19420         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19421         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19422         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19423         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19424         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19425         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19426         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19427         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19428         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19429         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19430         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19431         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19432         field.
19433         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19434         EF_MIPS_FP64.
19435         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19436         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19437         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19438         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19439         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19440         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19441         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19442         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19443         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19444         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19445         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19446         record the current FP ABI extension.
19447         (mips-mode-switch): Define to show if kernel headers support mode
19448         switching.
19449         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19450         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19451         supported SYSV ABI version to 3.
19452         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19453         feature.
19455 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19456             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19458         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19459         path.
19460         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19462 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19464         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19465         __fegetround and redefine to call __fegetround.  Remove condition
19466         on [!__NO_MATH_INLINES].
19467         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19468         function.
19469         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19470         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19471         Remove macro.
19472         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19473         instead of <fenv_libc.h>.
19474         (__llrintl): Call fegetround instead of __fegetround.
19475         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19476         instead of <fenv_libc.h>.
19477         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19478         (__lrintl): Call fegetround instead of __fegetround.
19479         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19480         instead of <fenv_libc.h>.
19481         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19482         (__rintl): Call fegetround instead of __fegetround.
19484 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19486         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19487         arrays.
19489 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19491         [BZ #17775]
19492         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19493         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19494         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19496 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19498         * sysdeps/i386/tls-macros.h: Include <features.h>.
19499         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19500         (TLS_IE): Likewise.
19501         (TLS_LD): Likewise.
19502         (TLS_GD): Likewise.
19503         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19504         define for GCC >= 5.0.
19506 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19508         * math/test-fenv.c (test_single_exception, set_single_exc,
19509         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19510         feexcp_mask_test, feenable_test, fe_single_test): Add
19511         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19512         case where they are not used.
19513         * math/libm-test.inc: Likewise.
19514         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19515         unused in the absence of FP rounding/exception support.
19516         * stdio-common/tst-printf-round.c: Likewise.
19517         * stdlib/tst-strtod-round.c: Likewise.
19518         * stdlib/tst-strtod-underflow.c: Likewise.
19520 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #17723]
19523         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19524         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19525         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19526         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19527         libm_hidden_weak.
19528         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19529         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19530         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19531         libm_hidden_def.
19532         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19533         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19534         libm_hidden_weak.
19535         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19536         Likewise.
19537         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19538         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19539         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19540         libm_hidden_weak.
19541         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19542         libm_hidden_def.
19543         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19544         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19545         (__feraiseexcept): Likewise.
19546         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19547         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19548         libm_hidden_weak.
19549         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19550         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19551         libm_hidden_def.
19552         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19553         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19554         Use libm_hidden_def.
19555         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19556         libm_hidden_def.
19557         (feraiseexcept): Define as weak not strong alias.  Use
19558         libm_hidden_weak.
19559         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19560         New inline function.  Factored out of ...
19561         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19562         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19563         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19564         feraiseexcept.
19565         * math/w_acos.c (__acos): Likewise.
19566         * math/w_asin.c (__asin): Likewise.
19567         * math/w_ilogb.c (__ilogb): Likewise.
19568         * math/w_j0.c (y0): Likewise.
19569         * math/w_j1.c (y1): Likewise.
19570         * math/w_jn.c (yn): Likewise.
19571         * math/w_log.c (__log): Likewise.
19572         * math/w_log10.c (__log10): Likewise.
19573         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19574         * sysdeps/aarch64/fpu/math_private.h
19575         (libc_feupdateenv_test_aarch64): Likewise.
19576         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19577         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19578         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19579         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19580         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19581         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19582         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19583         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19584         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19585         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19587 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19589         [BZ #17732]
19590         * io/test-utime.c (main): Replace %ld with %jd and cast to
19591         intmax_t.
19592         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19593         * nptl/tst-mutex5.c: Include <stdint.h>.
19594         (do_test): Replace %ld with %jd and cast to intmax_t.
19595         * posix/tst-regex.c (run_test): Likewise.
19596         (run_test_backwards): Likewise.
19597         * rt/tst-clock.c: Include <stdint.h>.
19598         (clock_test): Replace %ld with %jd and cast to intmax_t.
19599         * rt/tst-cpuclock1.c: Include <stdint.h>.
19600         (do_test): Replace %lu with %ju and cast to uintmax_t.
19601         * rt/tst-cpuclock2.c: Include <stdint.h>.
19602         (do_test): Replace %lu with %ju and cast to uintmax_t.
19603         * rt/tst-mqueue1.c: Include <stdint.h>.
19604         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19605         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19606         intmax_t.
19607         * rt/tst-mqueue4.c (do_test): Likewise.
19608         * rt/tst-timer4.c: Include <stdint.h>.
19609         (check_ts): Replace %ld with %jd and cast to intmax_t.
19610         (do_test): Likewise.
19611         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19612         and cast to intmax_t.
19613         * sysdeps/pthread/tst-timer.c (main): Likewise.
19614         * time/clocktest.c (main): Likewise.
19615         * time/tst-posixtz.c (do_test): Likewise.
19616         * timezone/tst-timezone.c (main): Likewise.
19618 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19619             H.J. Lu  <hongjiu.lu@intel.com>
19621         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19622         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19623         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19624         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19625         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19626         version if bit_Fast_Unaligned_Load is set.
19627         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19628         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19629         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19630         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19631         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19632         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19633         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19634         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19635         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19636         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19637         to 4.
19638         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19639         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19640         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19641         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19643 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19645         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19646         instead of #if to avoid a Wundef warning.
19647         * stdlib/tst-limits.c (do_test): Likewise.
19649         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19650         parallel other exception macros.
19651         (fegetenv): Convert from macro to extern inline so that it applies
19652         retroactively to inline functions already seen by the compiler.
19653         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19655         * posix/Makefile (before-compile): Use $(objpfx) for
19656         posix-conf-vars-def.h.
19658 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19660         * posix/getconf.c (main): Use size_t for type of I.
19661         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19662         NSPEC.
19664         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19665         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19666         * posix/posix-envs.def: Likewise.
19667         * sysdeps/posix/sysconf.c: Likewise.
19668         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19669         (specs): Remove array.
19670         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19671         array.
19673         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19674         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19675         (__sysconf): Use CONF_IS_* macros.
19677         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19678         ($(objpfx)posix-conf-vars-def.h): New target.
19679         * posix/posix-conf-vars.list: New file.
19680         * posix/posix-conf-vars.h: New file.
19681         * posix/confstr.c: Include posix-conf-vars.h.
19682         (confstr): Use CONF_IS_* macros.
19683         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19684         CONF_IS_* macros.
19685         * scripts/gen-posix-conf-vars.awk: New file.
19687 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19689         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19690         fegetround): Add no-op macros to avoid linknamespace issues.
19692         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19693         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19695         * sysdeps/unix/sysv/linux/tile/sysdep.h
19696         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19697         assembly-specific section to avoid a redefinition warning.
19699         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19700         long before casting to pointer to avoid a cast warning.
19702 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19704         * sysdeps/tile/tilegx/Implies: New file.
19706 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19708         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19710 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19712         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19714 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19717         not define.
19718         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19719         <kernel-features.h>.
19720         (__utimes) [__NR_utimes]: Make code unconditional.
19721         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19722         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19723         (__ASSUME_UTIMES): Do not undefine.
19724         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19725         (__ASSUME_UTIMES): Likewise.
19726         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19727         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19728         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19729         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19731 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19733         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19735 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19737         [BZ #17747]
19738         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19739         alias to weak alias for j0l, y0l.
19740         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19741         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19743         [BZ #17746]
19744         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19745         conversion.
19747 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19749         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19750         to zero if not already defined.
19752 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19754         [BZ #17724]
19755         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19756         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19757         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19758         (char *) casts added.
19759         * sysdeps/ieee754/k_standardf.c: New file.
19760         * sysdeps/ieee754/k_standardl.c: Likewise.
19761         * math/Makefile (libm-support): Remove k_standard.
19762         (libm-calls): Add k_standard.
19764 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19766         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19767         Optimize to avoid an unnecessary FPCR read.
19769 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19771         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19772         Optimize to reduce FPCR/FPSR accesses.
19774 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19776         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19777         Call libc_fetestexcept_aarch64.
19779 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19781         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19782         Call libc_fesetround_aarch64.
19784 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19786         [BZ #17733]
19787         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19788         (__bind): Do not define as weak alias.
19789         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19790         define.
19791         (__getsockname): Do not define as weak alias.
19793 2014-12-22  Will Newton  <will.newton@linaro.org>
19795         * manual/install.texi: Document that we require bison 2.7
19796         or above.
19797         * INSTALL: Regenerate.
19798         * configure.ac: Use AC_CHECK_PROG_VER instead of
19799         AC_PATH_PROG when checking for bison and check for
19800         version 2.7 or above.
19801         * configure: Regenerate.
19803 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19805         [BZ #17745]
19806         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19807         * sysdeps/tile/ffsll.c (ffsll): To here.
19809         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19811 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19813         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19814         if not defined.
19815         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19816         definition.
19817         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19818         hidden ___tls_get_addr.
19819         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19820         hidden __tls_get_addr.
19821         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19822         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19823         Likewise.
19825 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19827         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19828         _dl_init call.
19830 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19832         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19833         from "call _dl_init@PLT".
19834         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19836 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19838         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19839         guarantees.
19841 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19843         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19845 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19847         [BZ #17744]
19848         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19849         strnlen.
19851 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19853         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19854         of multu on MIPSr6.
19855         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19856         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19857         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19858         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19859         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19861 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19863         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19864         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19865         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19866         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19867         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19868         mips32r6/mips64r6.
19869         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19871 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19873         * string/strncat.c (STRNCAT): Simplify implementation.
19875 2014-12-19  David S. Miller  <davem@davemloft.net>
19877         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19878         access the quad as both a long double and as a series of 4 words.
19880         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19881         link_map->l_info array access.
19883 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19885         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19887         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19888         * math/atest-exp2.c (TIMEOUT): Likewise.
19889         * math/atest-sincos.c (TIMEOUT): Likewise.
19891 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19893         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19894         -Wno-error with -fno-builtin-lround.
19896 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19898         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19899         Contains futex constants and functions moved over from ...
19900         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19901         <lowlevellock-futex.h>.
19902         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19903         (lll_timedwait_tid): Add comments and parentheses around macro
19904         arguments.
19906 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19908         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19909         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19910         (__lll_private_flag): Remove.
19911         (lll_futex_wait): Likewise.
19912         (lll_futex_timed_wait): Likewise.
19913         (lll_futex_wake): Likewise.
19914         (lll_futex_requeue): Likewise.
19915         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19916         (__lll_timedwait_tid): Spell out argument names.
19917         (lll_timedwait_tid): Add comments and parentheses around macro
19918         arguments.
19919         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19920         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19922 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19924         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19925         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19926         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19927         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19928         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19929         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19930         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19931         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19932         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19935         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19936         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19937         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19938         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19939         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19940         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19941         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19942         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19944 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19946         * sysdeps/x86_64/x32/Makefile: New file.
19948 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19950         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19951         1L with (mp_limb_t) 1.
19953 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19955         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19956         * nptl/libc_pthread_init.c: ... here.
19957         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19958         * nptl/register-atfork.c: ... here.
19960         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19961         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19962         Use assert_perror to check its return value.
19963         (__gai_create_helper_thread): Likewise.
19965         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19967         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19969 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19971         [BZ #17725]
19972         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19973         __profil_counter.
19974         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19975         Likewise.
19976         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19977         Likewise.
19978         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19979         Likewise.
19980         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19981         (profil_counter): Likewise.
19982         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19983         (profil_counter): Likewise.
19984         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19985         Likewise.
19986         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19987         Likewise.
19988         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19989         (profil_counter): Likewise.
19990         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19991         Likewise.
19992         [!__profil_counter] (profil_counter): Define as weak alias of
19993         __profil_counter.
19994         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19995         (profil_counter): Rename to __profil_counter.
19996         [!__profil_counter] (profil_counter): Define as weak alias of
19997         __profil_counter.
19998         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19999         (profil_counter): Rename to __profil_counter.
20000         [!__profil_counter] (profil_counter): Define as weak alias of
20001         __profil_counter.
20002         * sysdeps/posix/profil.c: Update comment referring to
20003         profil_counter.
20004         (__profil): Use __profil_counter instead of profil_counter.
20005         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20006         __profil_counter.  Use __profil_counter_ushort and
20007         __profil_counter_uint in definitions.
20008         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20009         instead of profil_counter_uint and profil_counter_ushort.
20011         [BZ #17722]
20012         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20013         define as weak alias of __inet_makeaddr.
20014         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20015         as weak alias of __inet_addr.
20016         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20017         as weak alias of __inet_pton.  Use libc_hidden_weak.
20018         * include/arpa/inet.h (__inet_pton): Declare.  Use
20019         libc_hidden_proto.
20020         (inet_makeaddr): Don't use libc_hidden_proto.
20021         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20022         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20023         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20024         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20025         Remove variable.
20026         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20027         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20029 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20031         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20033 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20035         * stdio-common/bug-vfprintf-nargs.c (do_test):
20036         Cast value to intptr_t to avoid format warning
20037         for usage with PRIdPTR printing macro.
20039 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20041         * libio/tst-widetext.c (do_test):
20042         Use format type %td instead of %Zd for ptrdiff_t
20043         in order to avoid format warning.
20045 2014-12-17  Andreas Schwab  <schwab@suse.de>
20047         * nscd/mem.c (gc): Add size_t cast to match printf format.
20049 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20051         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20052         (init): Apply PTR_MANGLE to pointers before storing them.
20053         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20054         before using them.
20056 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20058         [BZ #17719]
20059         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20060         define as weak alias of __memrchr.
20061         (__memrchr): Do not define as strong alias of memrchr.
20062         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20063         Remove variable.
20064         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20065         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20066         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20068         [BZ #17717]
20069         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20070         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20071         (if_indextoname): Rename to __if_indextoname and define as weak
20072         alias of __if_indextoname.  Use libc_hidden_weak.
20073         (if_freenameindex): Rename to __if_freenameindex and define as
20074         weak alias of __if_freenameindex.
20075         (if_nameindex): Rename to __if_nameindex and define as weak alias
20076         of __if_nameindex.
20077         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20078         __if_nametoindex and define as weak alias of __if_nametoindex.
20079         Use libc_hidden_weak.
20080         (if_freenameindex): Rename to __if_freenameindex and define as
20081         weak alias of __if_freenameindex.
20082         (if_nameindex): Rename to __if_nameindex and define as weak alias
20083         of __if_nameindex.
20084         (if_indextoname): Rename to __if_indextoname and define as weak
20085         alias of __if_indextoname.  Use libc_hidden_weak.
20086         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20087         __if_nametoindex and define as weak alias of __if_nametoindex.
20088         Use libc_hidden_weak.
20089         (if_freenameindex): Rename to __if_freenameindex and define as
20090         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20091         (if_nameindex_netlink): Use __if_freenameindex instead of
20092         if_freenameindex.
20093         (if_nameindex): Rename to __if_nameindex and define as weak alias
20094         of __if_nameindex.  Use libc_hidden_weak.
20095         (if_indextoname): Rename to __if_indextoname and define as weak
20096         alias of __if_indextoname.  Use libc_hidden_weak.
20097         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20098         libc_hidden_proto.
20099         [!_ISOMAC] (__if_freenameindex): Likewise.
20100         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20101         if_nametoindex.
20102         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20103         variable.
20104         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20105         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20106         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20107         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20108         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20109         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20110         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20112         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20113         Remove variable.
20114         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20115         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20117 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20120         subscript above bounds'
20122         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20123         bounds.
20125 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20127         * libio/tst-fopenloc.c: Use test-skeleton.c.
20129         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20130         (entry): Rename to ITEM.
20131         (do_test, comp): Adjust.
20133         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20135 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20137         * string/tester.c: Include <libc-internal.h>.
20138         (test_memset): Ignore -Wmemset-transposed-args.
20140 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20142         * misc/tst-mntent2.c (do_test): Fix warning.
20144 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20146         * elf/tst-unique4lib.cc(a): Mark as used.
20148 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20150         [BZ #17630]
20151         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20152         names.
20154 2014-12-16  Allan McRae  <allan@archlinux.org>
20156         * stdio-common/Makefile (tests): Re-add bug26.
20158 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20160         [BZ #17657]
20161         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20162         static array.
20164 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20166         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20167         (__lll_lock_wait): Likewise.
20168         (__lll_timedlock_wait): Likewise.
20169         (__lll_timedwait_tid): Likewise.
20170         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20171         (__lll_robust_timedlock_wait): Likewise.
20172         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20173         (lll_cond_trylock): Likewise.
20174         (__lll_lock): Likewise.
20175         (__lll_robust_lock): Likewise.
20176         (__lll_cond_lock): Likewise.
20177         (lll_robust_cond_lock): Likewise.
20178         (__lll_timedlock): Likewise.
20179         (__lll_robust_timedlock): Likewise.
20180         (__lll_unlock): Likewise.
20181         (__lll_robust_unlock): Likewise.
20182         (lll_wait_tid): Likewise.
20183         (lll_timedwait_tid): Likewise.
20185 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20187         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20189 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20191         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20193 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20195         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20196         * stdio-common/tst-sprintf.c: Likewise.
20198 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20200         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20202 2014-12-15  Jeff Law  <law@redhat.com>
20204         [BZ #16617]
20205         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20206         on the heap.  (CVE-2012-3406)
20207         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20208         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20209         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20211 2014-12-15  Will Newton  <will.newton@linaro.org>
20213         * manual/install.texi: Bump required version of texinfo
20214         to 4.7 from 4.5.
20215         * INSTALL: Regenerated.
20216         * configure.ac: Check for makeinfo version 4.7 and above.
20217         * configure: Regenerated.
20219 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20221         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20222         PREFIX, string constant to insert between directory and name.
20223         * sysdeps/posix/shm_open.c: Update caller.
20224         * sysdeps/posix/shm_unlink.c: Likewise.
20225         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20226         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20227         (SEM_SHM_PREFIX): New macro.
20228         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20229         [$(have-thread-library) = no].
20230         * nptl/Makefile (libpthread-routines): Add shm-directory.
20231         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20232         * sysdeps/nptl/shm-directory.h: New file.
20233         * sysdeps/posix/shm-directory.c
20234         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20235         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20236         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20237         INTERNAL_SYSCALL.
20238         (__where_is_shmfs): Function removed.
20239         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20240         Variables removed.
20241         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20242         Use SHM_GET_NAME.
20243         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20245         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20246         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20247         unconditional for use inside libpthread.
20248         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20250 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20252         * nptl/pthread_getaffinity.c: New file.
20253         * nptl/pthread_setaffinity.c: New file.
20254         * nptl/pthread_getname.c: New file.
20255         * nptl/pthread_setname.c: New file.
20257         * nptl/pthread_create.c (START_THREAD_DEFN)
20258         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20260 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20263         * resolv/res_send.c (send_vc): Disable warning resplen may
20264         be used uninitialized.
20266 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20268         * nptl/tst-mutex6.c
20269         (ATTR_NULL): New define checks ATTR against NULL.
20270         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20271         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20273 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20275         [BZ #17581]
20276         * malloc/hooks.c
20277         (mem2mem_check): Revert my previous change.
20278         (malloc_check_get_size): Revert my previous change.
20279         (mem2chunk_check): Revert my previous change.
20281 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20283         * sysdeps/posix/shm-directory.c: New file.
20284         * sysdeps/posix/shm-directory.h: New file.
20285         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20286         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20287         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20288         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20289         Transmute EPERM to EACCES.
20290         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20291         from ...
20292         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20293         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20295 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20297         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20298         pointer and cast to uintptr_t.
20299         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20300         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20301         Add cast to avoid warning.
20302         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20304 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20306         * nptl/semaphore.h: Move to ...
20307         * sysdeps/pthread/semaphore.h: ... here.
20308         * Makefile (installed-headers): Change nptl/semaphore.h to
20309         sysdeps/pthread/semaphore.h.
20311 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20313         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20314         generated error format strings.
20316         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20317         -Wformat-extra-args warnings for scanf formats.
20318         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20319         test of zero-length format (duh).
20320         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20321         corner-case scanf format test.
20322         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20323         generated fprintf format string.
20324         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20325         corner-case sprintf format tests.
20326         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20327         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20328         -Wformat-extra-args warnings throughout.
20329         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20330         (CFLAGS-scanf4.c): Likewise.
20331         (CFLAGS-scanf7.c): Likewise.
20332         (CFLAGS-tst-sprintf.c): Likewise.
20333         (CFLAGS-tst-printf.c): Likewise.
20334         (CFLAGS-tst-printfsz.c): Likewise.
20336 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20338         * include/cpio.h: New file.
20339         * include/fmtmsg.h: Likewise.
20341         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20342         corresponding format argument to size_t.
20343         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20344         arguments.
20345         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20346         corresponding format argument to size_t.
20347         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20348         arguments.
20349         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20350         corresponding format argument to size_t.
20351         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20352         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20353         (CFLAGS-tst-mbswcs2.c): Likewise.
20354         (CFLAGS-tst-mbswcs3.c): Likewise.
20355         (CFLAGS-tst-mbswcs4.c): Likewise.
20356         (CFLAGS-tst-mbswcs5.c): Likewise.
20357         (CFLAGS-tst-trans.c): Likewise.
20359 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20361         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20362         rather than assuming they won't contain any '%'s.
20364 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
20366         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20367         inhibit_loop_to_libcall to avoid recursive calls.
20368         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20369         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20371 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20373         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20374         prototype.
20376 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20378         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20379         integer value instead of boolean.
20381 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20383         * malloc/malloc.c: Fix powerof2 check.
20385 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20387         * locale/programs/locfile.h (maybe_swap_uint32):
20388         Remove inline and add unused attribute.
20390 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20393         Truncating assembler expression to a .long expression.
20395 2014-12-11  Andreas Schwab  <schwab@suse.de>
20397         * elf/rtld.c (struct map_args): Constify str member.
20398         (do_preload): Constify fname argument.
20400 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20402         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20403         constants definition.
20405 2014-12-11  Andreas Schwab  <schwab@suse.de>
20407         [BZ #16657]
20408         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20409         FORCE_ELISION instead of DO_ELISION.
20410         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20411         Remove.
20412         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20413         Likewise.
20415         * iconvdata/gconv-modules: Remove duplicate entry.
20417 2014-12-11  Will Newton  <will.newton@linaro.org>
20419         Merge gettext 0.19.3 into intl/.
20421         This involves a number of cosmetic changes to comments
20422         and ANSI function definitions and prototypes throughout
20423         all the files. The gettext copyright header is used but
20424         with the date ranges taken from the glibc copy.
20426         * NEWS: Add gettext merge to 2.21.
20427         * intl/bindtextdom.c: Switch to gettext copyright.
20428         Use ANSI definitions and prototypes.
20429         Use gl_* locking primitives rather than __libc_* ones.
20430         Use __builtin_expect rather than __glibc_likely/unlikely.
20431         * intl/dcgettext.c: Switch to gettext copyright.
20432         Use ANSI definitions and prototypes.
20433         * intl/dcigettext.c: Switch to gettext copyright.
20434         Use ANSI definitions and prototypes.
20435         (INTDIV0_RAISES_SIGFPE): New define.
20436         Use gl_* locking primitives rather than __libc_* ones.
20437         Include eval-plural.h instead of plural-eval.c.
20438         Use __builtin_expect rather than __glibc_likely/unlikely.
20439         * intl/dcngettext.c: Switch to gettext copyright.
20440         Use ANSI definitions and prototypes.
20441         * intl/dgettext.c: Likewise.
20442         * intl/dngettext.c: Likewise.
20443         * intl/plural-eval.c: Renamed to...
20444         * intl/eval-plural.h: ...this.
20445         * intl/explodename.c: Switch to gettext copyright.
20446         Use ANSI definitions and prototypes.
20447         (_nl_explode_name): Use strchr instead of __rawmemchr.
20448         * intl/finddomain.c: Switch to gettext copyright.
20449         Use ANSI definitions and prototypes.
20450         Use gl_* locking primitives rather than __libc_* ones.
20451         (_nl_find_domain): Use malloc rather than alloca for
20452         allocation of temporary locale name.
20453         * intl/gettext.c: Switch to gettext copyright.
20454         Use ANSI definitions and prototypes.
20455         * intl/gettextP.h: Switch to gettext copyright.
20456         Use ANSI definitions and prototypes.
20457         Use gl_* locking primitives rather than __libc_* ones.
20458         * intl/gmo.h: Switch to gettext copyright.
20459         (struct sysdep_string): Move struct segment_pair outside of
20460         struct definition.
20461         * intl/hash-string.c: Use ANSI definitions and prototypes.
20462         * intl/hash-string.h: Switch to gettext copyright.
20463         Use ANSI definitions and prototypes.
20464         * intl/l10nflist.c: Switch to gettext copyright.
20465         Use ANSI definitions and prototypes.
20466         (_nl_normalize_codeset): Avoid integer overflow.
20467         * intl/loadinfo.h: Switch to gettext copyright.
20468         Use ANSI definitions and prototypes.
20469         (LIBINTL_DLL_EXPORTED): New define.
20470         (PATH_SEPARATOR): New define.
20471         * intl/loadmsgcat.c: Switch to gettext copyright.
20472         * intl/localealias.c: Switch to gettext copyright.
20473         Use ANSI definitions and prototypes.
20474         (_nl_expand_alias): Use PATH_SEPARATOR.
20475         * intl/ngettext.c: Switch to gettext copyright.
20476         Use ANSI definitions and prototypes.
20477         * intl/plural-exp.c: Likewise.
20478         * intl/plural-exp.h: Switch to gettext copyright.
20479         Use ANSI definitions and prototypes.
20480         (struct expression): Move definition of enum operator outside
20481         of struct definition.
20482         * intl/plural.c: Regenerate.
20483         * intl/plural.y: Switch to gettext copyright.
20484         Use ANSI definitions and prototypes.
20485         Port to bison 3.0.
20486         * intl/textdomain.c: Switch to gettext copyright.
20487         Use ANSI definitions and prototypes.
20488         Use gl_* locking primitives rather than __libc_* ones.
20490 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20492         * debug/warning-nop.c: Add used atrribute.
20494 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20496         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20498         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20499         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20500         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20502 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20503             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20505         [BZ #17634]
20506         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20507         Undefine after defining function.  Define as weak alias of
20508         __wcschr.  Use libc_hidden_weak.
20509         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20510         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20511         (libc_hidden_def): Also define __GI___wcschr alias.
20512         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20513         __wcschr and define as weak alias of __wcschr.
20514         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20515         __wcschr.
20516         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20517         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20518         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20519         libc_hidden_weak.  Do not use libc_hidden_def.
20520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20521         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20522         __GI___wcschr alias.
20523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20524         [IS_IN (libc)] (wcschr): Define as macro expanding to
20525         __redirect_wcschr.
20526         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20527         [IS_IN (libc)] (__wcschr_power6): Likewise.
20528         [IS_IN (libc)] (__wcschr_power7): Likewise.
20529         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20530         instead of wcschr.
20531         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20532         __libc_wcschr.
20533         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20534         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20535         __wcschr and define as weak alias of __wcschr.  Use
20536         libc_hidden_builtin_def.
20537         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20538         as weak alias of __wcschr.  Use libc_hidden_weak.
20539         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20540         wcschr.
20541         * time/era.c (_nl_init_era_entries): Likewise.
20542         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20543         variable.
20544         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20545         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20547 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20549         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20550         format for long int variable.
20552 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20554         [BZ #10672]
20555         * manual/search.texi: (Array Sort Function): Remove claim how to make
20556         qsort stable.
20558 2014-12-10  Andreas Schwab  <schwab@suse.de>
20560         [BZ #12847]
20561         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20562         user-controlled locks.
20564 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20566         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20567         register.
20569 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20571         * configure.ac (--disable-werror): New configure option.
20572         (enable_werror): New AC_SUBST.
20573         * configure: Regenerated.
20574         * config.make.in (enable-werror): New variable.
20575         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20576         -Wno-error=undef.
20577         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20578         * manual/install.texi (Configuring and compiling): Document
20579         --disable-werror.
20580         * INSTALL: Regenerated.
20581         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20582         (CFLAGS-tst-chk2.c): Likewise.
20583         (CFLAGS-tst-chk3.c): Likewise.
20584         (CFLAGS-tst-chk4.cc): Likewise.
20585         (CFLAGS-tst-chk5.cc): Likewise.
20586         (CFLAGS-tst-chk6.cc): Likewise.
20587         (CFLAGS-tst-lfschk1.c): Likewise.
20588         (CFLAGS-tst-lfschk2.c): Likewise.
20589         (CFLAGS-tst-lfschk3.c): Likewise.
20590         (CFLAGS-tst-lfschk4.cc): Likewise.
20591         (CFLAGS-tst-lfschk5.cc): Likewise.
20592         (CFLAGS-tst-lfschk6.cc): Likewise.
20594         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20595         (main): Disable -Wdeprecated-declarations around calls to
20596         register_printf_function.
20598         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20599         (do_test): Disable -Wdiv-by-zero around some calls to
20600         fwrite_unlocked and fread_unlocked.
20602         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20603         (DIAG_POP_NEEDS_COMMENT): Likewise.
20604         (_DIAG_STR1): Likewise.
20605         (_DIAG_STR): Likewise.
20606         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20607         * stdio-common/bug21.c: Include <libc-internal.h>.
20608         (do_test): Disable -Wformat around call to sscanf.
20609         * stdio-common/scanf14.c: Include <libc-internal.h>.
20610         (main): Disable -Wformat around some calls to scanf functions.
20612 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20614         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20616 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20618         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20619         stack variable alignment.
20621 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20623         [BZ #17682]
20624         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20625         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20626         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20627         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20628         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20629         __getrlimit instead of getrlimit.
20630         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20631         __gettimeofday instead of gettimeofday.
20632         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20633         Likewise.
20634         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20635         Likewise.
20636         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20637         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20638         Remove variable.
20639         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20640         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20642 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20644         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20645         for wide-character tests.
20647 2014-12-04  Roland McGrath  <roland@hack.frob.com>
20649         * io/openat64.c: #include <libc-internal.h>
20650         (__openat64): Prototypify.  Use ignore_value on MODE.
20651         * io/openat.c: Likewise.
20652         * misc/reboot.c: #include <libc-internal.h>
20653         (reboot): Prototypify.  Use ignore_value on HOWTO.
20654         * misc/ptrace.c: #include <libc-internal.h>
20655         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
20657 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
20659         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20660         XPG4, UNIX98 and XOPEN2K.
20661         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20662         Remove variable.
20663         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20665 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20667         * libio/fileops.c: Use ISO C style for function definitions.
20668         * libio/iofopen.c: Likewise.
20669         * libio/wfileops.c: Likewise.
20671         [BZ #17653]
20672         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20673         offset on EOF.
20674         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20675         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20676         (fgets_func): Function pointer to fgets and fgetws.
20677         (do_ftell_test): Add test to verify ftell value after read
20678         EOF.
20679         (do_test): Set fgets_func.
20681         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20682         O_TRUNC flag for w and w+ modes.
20683         (do_rewind_test): Likewise.
20684         (do_ftell_test): Likewise.
20685         (do_write_test): Likewise.
20687         [BZ #17647]
20688         * libio/fileops.c (do_ftell): Seek only when there are
20689         unflushed writes.
20690         * libio/wfileops.c (do_ftell_wide): Likewise.
20691         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20692         test case.
20693         (do_one_test): Call it.
20695 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20697         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20698         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20699         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20700         Remove variable.
20701         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20702         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20703         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20705 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20707         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20708         Remove variable.
20709         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20711         [BZ #17668]
20712         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20713         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20714         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20715         __freeifaddrs.  Use libc_hidden_weak.
20716         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20717         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20718         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20719         __freeifaddrs.  Use libc_hidden_weak.
20720         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20721         __getifaddrs and define as weak alias of __getifaddrs.  Use
20722         libc_hidden_weak.
20723         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20724         __freeifaddrs.  Use libc_hidden_weak.
20725         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20726         Remove variable.
20727         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20728         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20730 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20732         [BZ #17601]
20733         * sysdeps/mips/start.S (__start): Use indirect jump to call
20734         __libc_start_main.
20736 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20738         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20740         * nptl/tst-mutex1.c: Include <stdbool.h>.
20741         [!ATTR] (ATTR_NULL): New macro.
20742         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20743         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20744         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20746         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20747         to char *.
20749         [BZ #17665]
20750         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20751         Change conditional to [__USE_MISC].
20753         [BZ #17664]
20754         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20755         fgets_unlocked.
20756         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20757         __fgets_unlocked.
20758         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20759         fgets_unlocked.
20760         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20761         Remove variable.
20762         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20763         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20764         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20765         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20766         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20767         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20768         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20769         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20770         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20772         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20774 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20777         Remove strpbrk objects.
20778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20779         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20780         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20781         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20782         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20783         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20786         Remove strcspn objects.
20787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20788         (__libc_ifunc_impl_list): Remove strcspn implementation.
20789         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20790         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20791         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20792         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20795         Remove strspn objetcs.
20796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20797         (__libc_ifunc_impl_list): Remove strspn implementation.
20798         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20799         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20800         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20801         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20803 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20805         [BZ #17581]
20806         * malloc/hooks.c
20807         (mem2mem_check): Add a terminator to the chain of checking blocks.
20808         (malloc_check_get_size): Use it here.
20809         (mem2chunk_check): Ditto.
20811 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20813         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20814         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20816 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20818         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20820         * nptl/nptl-init.c: Include libc-internal.h.
20821         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20823         * elf/ldconfig.c (search_dir): Expand comment.
20825 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20827         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20828         variable.
20829         (linknamespace-symlist-stdlibs-tests): Likewise.
20830         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20831         instead of $(objpfx)symlist-stdlibs.
20832         (linknamespace-libs-isoc): New variable.
20833         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20834         (linknamespace-libs-ISO): New variable.
20835         (linknamespace-libs-ISO99): Likewise.
20836         (linknamespace-libs-ISO11): Likewise.
20837         (linknamespace-libs-XPG3): Likewise.
20838         (linknamespace-libs-XPG4): Likewise.
20839         (linknamespace-libs-POSIX): Likewise.
20840         (linknamespace-libs-UNIX98): Likewise.
20841         (linknamespace-libs-XOPEN2K): Likewise.
20842         (linknamespace-libs-POSIX2008): Likewise.
20843         (linknamespace-libs-XOPEN2K8): Likewise.
20844         ($(objpfx)symlist-stdlibs): Replace by
20845         $(linknamespace-symlist-stdlibs-tests).  Use
20846         $(linknamespace-libs-$*) as set of libraries.
20847         ($(linknamespace-header-tests)): Update dependencies.  Use
20848         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20849         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20850         * conform/linknamespace.pl: Remove comment about considering
20851         definitions of symbols from irrelevant libraries.
20853 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20855         [BZ #13862]
20856         * elf/dl-tls.c: Include <atomic.h>.
20857         (oom): Remove #ifdef SHARED/#endif.
20858         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20859         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20860         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20861         big enough.
20862         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20863         * nptl/Makefile (tests): Add tst-stack4.
20864         (modules-names): Add tst-stack4mod.
20865         ($(objpfx)tst-stack4): New.
20866         (tst-stack4mod.sos): Likewise.
20867         ($(objpfx)tst-stack4.out): Likewise.
20868         ($(tst-stack4mod.sos)): Likewise.
20869         (clean): Likewise.
20870         * nptl/tst-stack4.c: New file.
20871         * nptl/tst-stack4mod.c: Likewise.
20873 2014-11-27  J. Brown  <jb999@gmx.de>
20875         * sysdeps/x86/bits/string.h: Add recent CPUs.
20877 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20879         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20880         sigblock.
20882         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20883         feof.
20885         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20886         variable.
20888 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20890         * nscd/connections.c: Include libc-internal.h because of macro
20891         usage ignore_value.
20893 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20895         * string/bits/string3.h (__warn_memset_zero_len): Don't
20896         declare for gcc newer than 5.0.
20897         (memset): Don't test for zero-length __LEN for gcc newer than
20898         5.0.
20900 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20902         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20903         size_t for %zu format.
20905         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20906         difference, not %ju.
20908 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20910         * include/libc-internal.h (ignore_value): New macro.
20911         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20912         with ignore_value.
20914         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20915         definition.
20917         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20918         pthread_cleanup_push to void *.
20920         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20921         Undefine.
20923         [BZ #16619]
20924         [BZ #16740]
20925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20926         instead of 1L << 52.
20928         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20929         * libio/bug-rewind2.c (do_test): Likewise.
20931         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20932         * debug/test-strcpy_chk-ifunc.c: Likewise.
20933         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20934         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20935         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20936         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20937         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20938         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20939         * Rules [$(multi-arch) = no] (tests): Do not filter out
20940         $(tests-ifunc).
20941         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20942         * debug/Makefile (tests-ifunc): Remove variable.
20943         (tests): Do not add $(tests-ifunc).
20944         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20945         (tests): Do not add $(tests-ifunc).
20946         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20947         [TEST_IFUNC]: Remove conditionals.
20948         * string/test-string.h (TEST_IFUNC): Remove macro.
20949         [TEST_IFUNC]: Remove conditionals.
20951         * string/test-strchr.c [!WIDE] (L): New macro.
20952         [WIDE] (L): Likewise.
20953         (check1): Use CHAR instead of char.  Use L on string and character
20954         constants.
20956 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20958         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20959         tests.
20960         * sysdeps/powerpc/bits/atomic.h
20961         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20962         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20963         (atomic_exchange_and_add_acq): Likewise.
20964         (atomic_exchange_and_add_rel): Likewise.
20965         * sysdeps/powerpc/powerpc32/bits/atomic.h
20966         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20967         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20968         * sysdeps/powerpc/powerpc64/bits/atomic.h
20969         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20970         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20972 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20974         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20975         Change synchronization of __sched_fifo_min_prio and
20976         __sched_fifo_max_prio.
20977         * nptl/pthread_mutexattr_getprioceiling.c
20978         (pthread_mutexattr_getprioceiling): Likewise.
20979         * nptl/pthread_mutexattr_setprioceiling.c
20980         (pthread_mutexattr_setprioceiling): Likewise.
20981         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20982         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20983         Likewise.
20985 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20987         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20988         void.
20990 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20992         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20993         third argument const.
20995 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20997         fnmatch: work around GCC compiler warning bug with uninit var
20998         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20999         This works around a bug with x86-64 GCC 4.9.2 and earlier
21000         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21001         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21002         used uninitialized in this function [-Wmaybe-uninitialized]".
21004 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21006         * posix/bug-regex31.c (main): Return RES not 0.
21008 2014-11-25  Anton Blanchard <anton@samba.org>
21010         * sysdeps/powerpc/bits/atomic.h
21011         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21013 2014-11-24  Sterling Augustine  <saugustine@google.com>
21015         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21017 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21019         [BZ #17608]
21020         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21022 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21024         [BZ #17633]
21025         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21026         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21027         variable.
21028         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21029         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21031 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21033         * string/strncpy.c (strncpy): Improve performance by using memset.
21035 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21037         * string/strcpy.c (strcpy):
21038         Improve performance by using strlen and memcpy.
21040 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21042         * string/strcoll_l.c (get_next_seq): __always_inline.
21043         * string/strcoll_l.c (do_compare): __always_inline.
21045 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21047         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21048         defined.
21049         * include/mqueue.h: Likewise.
21050         * include/stdlib.h: Likewise.
21052         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21053         (get_null_defines): Adjust.
21054         * sunrpc/Makefile: Adjust comment.
21055         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21056         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21057         (CFLAGS-interp.c): Likewise.
21058         (CFLAGS-ldconfig.c): Likewise.
21059         (CPPFLAGS-.os): Likewise.
21060         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21061         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21062         * extra-modules.mk (extra-modules.mk): Likewise.
21063         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21064         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21065         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21066         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21067         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21068         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21069         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21070         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21071         * iconvdata/Makefile (CPPFLAGS): Likewise.
21072         (cpp-srcs-left): Add libof for all iconvdata routines.
21073         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21074         * include/assert.h: Likewise.
21075         * include/ctype.h: Likewise.
21076         * include/errno.h: Likewise.
21077         * include/libc-symbols.h: Likewise.
21078         * include/math.h: Likewise.
21079         * include/netdb.h: Likewise.
21080         * include/resolv.h: Likewise.
21081         * include/stdio.h: Likewise.
21082         * include/stdlib.h: Likewise.
21083         * include/string.h: Likewise.
21084         * include/sys/stat.h: Likewise.
21085         * include/wctype.h: Likewise.
21086         * intl/l10nflist.c: Likewise.
21087         * libidn/idn-stub.c: Likewise.
21088         * libio/libioP.h: Likewise.
21089         * nptl/libc_multiple_threads.c: Likewise.
21090         * nptl/pthreadP.h: Likewise.
21091         * posix/regex_internal.h: Likewise.
21092         * resolv/res_hconf.c: Likewise.
21093         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21094         * sysdeps/arm/memmove.S: Likewise.
21095         * sysdeps/arm/sysdep.h: Likewise.
21096         * sysdeps/generic/_itoa.h: Likewise.
21097         * sysdeps/generic/symbol-hacks.h: Likewise.
21098         * sysdeps/gnu/errlist.awk: Likewise.
21099         * sysdeps/gnu/errlist.c: Likewise.
21100         * sysdeps/i386/i586/memcpy.S: Likewise.
21101         * sysdeps/i386/i586/memset.S: Likewise.
21102         * sysdeps/i386/i686/memcpy.S: Likewise.
21103         * sysdeps/i386/i686/memmove.S: Likewise.
21104         * sysdeps/i386/i686/mempcpy.S: Likewise.
21105         * sysdeps/i386/i686/memset.S: Likewise.
21106         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21107         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21108         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21109         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21110         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21111         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21112         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21113         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21114         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21115         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21116         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21117         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21118         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21119         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21120         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21121         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21122         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21123         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21124         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21125         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21126         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21127         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21128         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21129         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21130         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21131         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21132         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21133         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21134         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21135         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21136         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21137         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21139         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21140         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21141         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21142         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21143         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21146         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21147         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21148         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21149         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21150         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21151         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21152         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21153         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21154         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21155         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21156         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21157         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21158         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21159         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21160         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21161         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21162         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21163         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21164         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21165         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21166         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21167         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21168         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21169         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21170         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21171         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21172         * sysdeps/posix/closedir.c: Likewise.
21173         * sysdeps/posix/opendir.c: Likewise.
21174         * sysdeps/posix/readdir.c: Likewise.
21175         * sysdeps/posix/rewinddir.c: Likewise.
21176         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21177         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21178         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21179         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21180         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21182         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21187         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21188         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21190         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21191         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21192         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21193         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21195         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21196         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21198         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21204         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21208         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21211         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21212         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21213         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21214         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21215         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21216         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21217         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21218         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21219         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21220         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21221         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21222         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21223         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21224         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21225         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21226         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21227         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21228         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21230         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21233         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21234         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21235         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21236         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21237         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21238         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21239         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21240         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21241         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21242         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21243         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21244         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21245         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21246         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21247         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21248         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21249         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21250         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21252         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21253         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21254         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21255         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21256         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21257         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21258         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21260         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21261         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21262         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21263         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21264         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21265         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21266         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21267         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21268         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21270         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21272         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21274         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21275         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21276         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21277         * sysdeps/unix/alpha/sysdep.S: Likewise.
21278         * sysdeps/unix/alpha/sysdep.h: Likewise.
21279         * sysdeps/unix/make-syscalls.sh: Likewise.
21280         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21282         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21283         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21284         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21285         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21286         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21287         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21288         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21289         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21291         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21293         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21294         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21295         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21296         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21297         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21298         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21299         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21300         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21301         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21302         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21303         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21304         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21305         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21306         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21309         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21310         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21314         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21316         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21317         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21318         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21319         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21320         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21321         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21323         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21324         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21327         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21328         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21330         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21331         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21332         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21333         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21334         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21335         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21336         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21338         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21339         * sysdeps/x86_64/memcpy.S: Likewise.
21340         * sysdeps/x86_64/memmove.c: Likewise.
21341         * sysdeps/x86_64/memset.S: Likewise.
21342         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21343         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21344         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21345         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21346         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21347         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21348         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21349         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21350         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21351         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21352         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21353         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21354         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21355         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21356         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21357         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21358         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21359         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21360         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21361         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21362         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21363         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21366         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21367         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21368         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21369         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21370         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21371         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21372         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21373         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21374         * sysdeps/x86_64/strcmp.S: Likewise.
21376         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21378         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21379         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21380         * elf/rtld-Rules: Likewise.
21381         * elf/setup-vdso.h: Likewise.
21382         * include/assert.h: Likewise.
21383         * include/bits/stdlib-float.h: Likewise.
21384         * include/errno.h: Likewise.
21385         * include/sys/stat.h: Likewise.
21386         * include/unistd.h: Likewise.
21387         * sysdeps/aarch64/setjmp.S: Likewise.
21388         * sysdeps/alpha/setjmp.S: Likewise.
21389         * sysdeps/arm/__longjmp.S: Likewise.
21390         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21391         * sysdeps/arm/setjmp.S: Likewise.
21392         * sysdeps/arm/sysdep.h: Likewise.
21393         * sysdeps/generic/_itoa.h: Likewise.
21394         * sysdeps/generic/dl-sysdep.h: Likewise.
21395         * sysdeps/generic/ldsodefs.h: Likewise.
21396         * sysdeps/i386/dl-tls.h: Likewise.
21397         * sysdeps/i386/setjmp.S: Likewise.
21398         * sysdeps/m68k/setjmp.c: Likewise.
21399         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21400         * sysdeps/mach/hurd/opendir.c: Likewise.
21401         * sysdeps/posix/getcwd.c: Likewise.
21402         * sysdeps/posix/opendir.c: Likewise.
21403         * sysdeps/posix/profil.c: Likewise.
21404         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21405         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21406         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21407         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21408         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21409         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21410         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21411         * sysdeps/s390/dl-tls.h: Likewise.
21412         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21413         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21414         * sysdeps/sh/sh3/setjmp.S: Likewise.
21415         * sysdeps/sh/sh4/setjmp.S: Likewise.
21416         * sysdeps/unix/alpha/sysdep.h: Likewise.
21417         * sysdeps/unix/arm/sysdep.S: Likewise.
21418         * sysdeps/unix/i386/sysdep.S: Likewise.
21419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21420         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21421         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21422         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21423         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21424         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21425         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21426         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21427         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21428         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21429         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21430         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21431         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21434         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21437         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21438         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21439         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21442         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21443         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21446         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21447         * sysdeps/x86_64/setjmp.S: Likewise.
21449         * include/math.h: Use IS_IN instead of IS_IN_libm.
21450         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21451         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21452         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21453         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21454         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21455         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21456         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21457         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21458         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21460         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21461         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21462         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21463         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21464         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21465         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21466         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21467         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21468         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21469         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21470         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21471         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21472         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21473         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21474         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21475         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21476         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21477         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21478         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21479         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21480         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21481         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21482         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21484         Likewise.
21485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21486         Likewise.
21487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21488         Likewise.
21489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21490         Likewise.
21491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21492         Likewise.
21493         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21494         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21495         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21496         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21497         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21498         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21504         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21505         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21506         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21507         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21509         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21510         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21511         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21512         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21513         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21514         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21516         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21517         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21519         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21521         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21522         * nptl/pthreadP.h: Likewise.
21523         * nptl_db/structs.def: Likewise.
21524         * sysdeps/arm/sysdep.h: Likewise.
21525         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21526         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21527         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21528         * sysdeps/unix/alpha/sysdep.h: Likewise.
21529         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21531         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21532         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21533         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21534         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21536         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21537         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21538         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21539         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21540         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21541         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21542         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21547         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21550         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21551         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21552         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21553         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21554         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21556         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21557         * nptl/pthreadP.h: Likewise.
21558         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21559         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21560         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21561         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21562         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21563         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21564         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21565         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21566         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21567         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21568         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21569         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21576         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21579         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21580         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21581         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21583         * dlfcn/dladdr.c: Use IS_IN.
21584         * dlfcn/dladdr1.c: Likewise.
21585         * dlfcn/dlclose.c: Likewise.
21586         * dlfcn/dlerror.c: Likewise.
21587         * dlfcn/dlinfo.c: Likewise.
21588         * dlfcn/dlmopen.c: Likewise.
21589         * dlfcn/dlopen.c: Likewise.
21590         * dlfcn/dlsym.c: Likewise.
21591         * dlfcn/dlvsym.c: Likewise.
21593         * include/ifaddrs.h: Use IS_IN.
21594         * inet/check_pf.c: Likewise.
21595         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21596         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21598         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21599         IS_IN_ldconfig.
21600         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21601         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21603         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21604         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21605         IS_IN (libc).
21607         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21609         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21610         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21611         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21612         * include/libc-symbols.h (IS_IN_LIB): New macro.
21613         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21614         * include/netdb.h: Likewise.
21615         * include/stap-probe.h: Remove all uses of IN_LIB.
21617         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21618         instead of IN_MODULE.
21619         * include/libc-symbols.h (IN_MODULE): Define using
21620         MODULE_NAME.
21621         (PASTE_NAME, PASTE_NAME1): New macros.
21622         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21623         of IN_LIB.
21624         (STAP_PROBE_ASM): Likewise.
21626 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21628         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21629         __mach_init in dlopened libc.
21631 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21633         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21634         * sysdeps/arm/preconfigure: Regenerate.
21636 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21638         * nptl/pthread_create.c (__pthread_create_2_1): Set
21639         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21640         when copying values from IATTR into PD.
21642 2014-11-21  Will Newton  <will.newton@linaro.org>
21643             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21645         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21646         Refactor inline-asm.  Also add comment.
21648         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21649         ElfW macro instead of hardcoded Elf64 types.
21650         (la_aarch64_gnu_pltenter): Likewise.
21651         * sysdeps/aarch64/dl-machine.h
21652         (elf_machine_runtime_setup): Use ElfW(Addr).
21654         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21655         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21656         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21657         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21658         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21659         (R_AARCH64_TLS_DTPMOD64): Rename to ..
21660         (R_AARCH64_TLS_DTPMOD): This.
21661         (R_AARCH64_TLS_DTPREL64): Rename to ...
21662         (R_AARCH64_TLS_DTPREL): This.
21663         (R_AARCH64_TLS_TPREL64): Rename to ...
21664         (R_AARCH64_TLS_TPREL): This.
21665         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21666         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21667         R_AARCH64_TLS_TPREL64.
21668         (elf_machine_rela): Likewise.
21670 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21672         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21673         by setting it to 0.  64b atomics are not supported currently.
21675 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21677         [BZ #16469]
21678         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21679         search domain names.
21681 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21683         [BZ #16469]
21684         * NEWS: Update.
21685         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21686         trailing dot.
21687         * posix/tst-getaddrinfo5.c: New.
21688         * posix/Makefile (tests): Add it.
21690 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21692         [BZ #14498]
21693         * NEWS: Fixed.
21694         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21695         after parsing line but before break_if_match.
21696         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21697         if there is a protocol mismatch.
21699 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21701         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21702         because the potential race is on the user-supplied stream.
21704 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21706         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21707         string literal if not passed a buffer.
21708         * manual/job.texi (ctermid): Update reasoning, note deviation
21709         from posix, suggest mtasurace when not passed a buffer, for
21710         future non-preliminary safety notes.
21712 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21714         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21715         of not passing it a buffer.
21716         Reported by Peng Haitao.
21718 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21720         * manual/Makefile ($(objpfx)stamp-summary): Require
21721         check-safety.sh to pass.
21722         * manual/check-safety.sh: Wish for verification that every
21723         @deftypefn and @deftypefun is followed by a @safety remark.
21725 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21727         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21729         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21730         PTHREAD_CANCEL_ASYNCHRONOUS.
21731         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21732         send SIGCANCEL.
21734         * nptl/default-sched.h: New file.
21735         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21736         * nptl/pthread_create.c: Include it.
21737         (__pthread_create_2_1): Use collect_default_sched instead of making
21738         Linux syscalls here directly.
21740 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21742         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21743         __pthread_once): Use C11 atomics.
21745 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21747         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21749 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21751         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21752         atomic_thread_fence_acquire, atomic_thread_fence_release,
21753         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21754         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21755         atomic_compare_exchange_weak_relaxed,
21756         atomic_compare_exchange_weak_acquire,
21757         atomic_compare_exchange_weak_release,
21758         atomic_exchange_acquire, atomic_exchange_release,
21759         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21760         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21761         atomic_fetch_and_acquire,
21762         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21764 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21766         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21767         USE_ATOMIC_COMPILER_BUILTINS): Define.
21768         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21770         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21772         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21774         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21776         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21778         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21780         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21782         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21784         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21786         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21788         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21790         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21792         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21794         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21796         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21798         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21800         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21802         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21803         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21804         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21806         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21809 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21811         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21812         the sched_priority value here.  It was already checked when the user
21813         called pthread_attr_setschedparam.
21815         * nptl/tst-bad-schedattr.c: New file.
21816         * nptl/Makefile (tests): Add it.
21818 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21819             Florian Weimer  <fweimer@redhat.com>
21820             Joseph Myers  <joseph@codesourcery.com>
21821             Adam Conrad  <adconrad@0c3.net>
21822             Andreas Schwab  <schwab@suse.de>
21823             Brooks  <bmoses@google.com>
21825         [BZ #17625]
21826         * wordexp-test.c (__dso_handle): Add prototype.
21827         (__register_atfork): Likewise.
21828         (__app_register_atfork): New function.
21829         (registered_forks): New global.
21830         (register_fork): New function.
21831         (test_case): Add 3 new tests for WRDE_CMDSUB.
21832         (main): Call __app_register_atfork.
21833         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21834         fork count is non-zero fail the test.
21835         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21836         is set.
21837         (parse_dollars): Remove check for WRDE_NOCMD.
21838         (parse_dquote): Likewise.
21840 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21842         * Makeconfig (built-modules): List non-library modules to be
21843         built.
21844         (module-cppflags): Include libc-modules.h for
21845         everything except shlib-versions.v.i.
21846         (CPPFLAGS): Use it.
21847         (before-compile): Add libc-modules.h.
21848         ($(common-objpfx)libc-modules.h,
21849         $(common-objpfx)libc-modules.stmp): New targets.
21850         (common-generated): Add libc-modules.h and libc-modules.stmp.
21851         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21852         * include/libc-symbols.h: Don't include libc-modules.h.
21853         * include/libc-modules.h: Remove file.
21854         * scripts/gen-libc-modules.awk: New script to generate
21855         libc-modules.h.
21856         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21857         Depend on libc-modules.stmp.
21859         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21861         * Makeconfig (in-module): Get value of libof set for the
21862         translation unit.
21863         (CPPFLAGS): Use $(in-module).
21864         * Makerules: Don't suffix routine names for nonlib.
21865         * include/libc-modules.h: New file.
21866         * include/libc-symbols.h: Include libc-modules.h
21867         (IS_IN): New macro to replace IS_IN_* macros.
21868         * elf/Makefile: Set libof-* for each routine.
21869         * elf/rtld-Rules: Likewise.
21870         * extra-modules.mk: Likewise.
21871         * iconv/Makefile: Likewise.
21872         * iconvdata/Makefile: Likewise.
21873         * locale/Makefile: Likewise.
21874         * malloc/Makefile: Likewise.
21875         * nss/Makefile: Likewise.
21876         * sysdeps/gnu/Makefile: Likewise.
21877         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21878         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21879         * sysdeps/s390/s390-64/Makefile: Likewise.
21880         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21881         CPPFLAGS for nscd instead of nonlib.
21883 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21885         * nptl/createthread.c: New file.
21887         * nptl/createthread.c: Moved ...
21888         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21890         * nptl/createthread.c: Add proper top-line comment.
21891         (do_clone): Folded into ...
21892         (create_thread): ... here.  Take new arguments STOPPED_START and
21893         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21894         increment __nptl_threads, do event-reporting logic, do
21895         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21896         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21897         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21898         just send SIGCANCEL.
21899         * nptl/pthread_create.c: Forward-declare create_thread before
21900         including createthread.c.
21901         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21902         declaration, and new macro START_THREAD_SELF to replace argument.
21903         Remove return statement.
21904         (report_thread_creation): New function.
21905         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21906         synchronization logic, and __nptl_nthreads increment here, around
21907         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21908         PD->parent_cancelhandling here, before create_thread.  When
21909         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21910         __deallocate_stack, and ENOMEM translation here.
21912 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21914         [BZ #17616]
21915         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21916         (mptwo): Rename to __mptwo.
21917         (__inv): Use __mptwo instead of mptwo.
21918         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21919         (mptwo): Rename to __mptwo.
21920         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21921         of mpone and __mptwo instead of mptwo.
21922         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21923         instead of mpone.
21924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21925         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21926         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21927         of mpone and __mptwo instead of mptwo.
21928         (__mpranred): Use __mpone instead of mpone.
21929         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21930         variable.
21931         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21932         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21933         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21934         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21935         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21936         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21937         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21938         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21939         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21940         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21941         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21942         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21943         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21944         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21945         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21946         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21947         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21948         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21949         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21951 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21953         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21954         replace BSD Handler xref with BSD Signal Handling.
21956 2014-11-17  Richard Henderson  <rth@redhat.com>
21958         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21959         (_FP_PACK_RAW_2): Remove.
21960         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21961         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21962         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21963         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21964         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21965         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21966         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21967         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21968         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21969         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21970         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21971         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21972         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21973         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21974         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21975         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21977 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21979         * signal/signal.h [__USE_MISC]
21980         (struct sigvec): Remove type.
21981         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21982         (sigvec): Remove declaration.
21983         * sysdeps/posix/sigvec.c: Moved ...
21984         * signal/sigvec.c: ... here, replacing old file.
21985         (struct sigvec): New type, copied from old signal.h definition.
21986         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21987         (__sigvec): Convert definition to prototype.
21988         (sigvec): Replace weak_alias with compat_symbol.
21989         * signal/Versions (libc: GLIBC_2.21): New version set.
21990         * include/signal.h: Remove __sigvec declaration.
21991         * sysdeps/unix/bsd/sigvec.c: Remove file.
21992         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21993         * manual/signal.texi (BSD Handler): Remove subsection.
21994         Move siginterrupt up to ...
21995         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21996         (Blocking in BSD): Fold subsection into its parent.
21997         * NEWS: Mention sigvec removal.
21999 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22001         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22002         (DLA_FMS): Make definition conditional only on [__FMA4__].
22003         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22004         definition.
22006         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22007         Make definition conditional only on [PROF].
22008         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22009         definition.
22010         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22011         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22013         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22014         !__GNUC__].
22015         * include/signal.h (__sigpause): Move declaration above call to
22016         libc_hidden_proto.
22017         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22018         variable.
22019         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22020         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22022 2014-11-14  David S. Miller  <davem@davemloft.net>
22024         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22025         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22027 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22029         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22030         * configure: Regenerated.
22031         * manual/install.texi (Tools for Compilation): Document a
22032         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22033         compiler verified to work.
22034         * INSTALL: Regenerated.
22036         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22037         redeclare with asm name.
22038         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22039         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22040         including <string.h>.
22041         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22042         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22043         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22044         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22045         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22047         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22049 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22051         * stdlib/strtol.c (__strtol): Use prototype definition.
22053         [BZ #17594]
22054         * stdlib/strtol.c (SYM__): New macro.
22055         (SYM__1): Likewise.
22056         (__strtol): Likewise.
22057         (strtol): Rename to __strtol and define as weak alias of
22058         __strtol.  Use libc_hidden_weak.
22060 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22062         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22063         Use numbered labels in inline assembly.
22065 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22067         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22068         Add setjmp LIBC_PROBE.
22069         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22070         Likewise.
22071         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22072         Add longjmp, longjmp_target LIBC_PROBE.
22073         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22074         Likewise.
22076 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22079         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22080         to get rid of unused variable warning.
22082 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22084         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22085         Check for unwind_backtrace ==  NULL only in SHARED case.
22086         (__backchain_backtrace): Compile only in SHARED case.
22087         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22088         Likewise.
22089         (__backchain_backtrace): Declare as static.
22091 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22093         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22094         (__libc_multiple_threads_ptr): Variable moved ...
22095         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22097 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22099         * conform/GlibcConform.pm: New file.
22100         * conform/conformtest.pl: Use GlibcConform module.
22101         * conform/linknamespace.pl: New file.
22102         * conform/list-header-symbols.pl: Likewise.
22103         * conform/Makefile (linknamespace-symlists-base): New variable.
22104         (linknamespace-symlists-tests): Likewise.
22105         (linknamespace-header-base): Likewise.
22106         (linknamespace-header-tests): Likewise.
22107         (tests-special): Add new tests.
22108         ($(linknamespace-symlists-tests)): New rule.
22109         (linknamespace-libs): New variable.
22110         ($(objpfx)symlist-stdlibs): New rule.
22111         ($(linknamespace-header-tests)): Likewise.
22112         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22113         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22114         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22115         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22116         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22117         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22118         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22119         (test-xfail-ISO/math.h/linknamespace): Likewise.
22120         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22121         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22122         (test-xfail-ISO/time.h/linknamespace): Likewise.
22123         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22124         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22125         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22126         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22127         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22128         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22129         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22130         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22131         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22132         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22133         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22134         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22135         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22136         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22137         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22138         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22139         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22140         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22141         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22142         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22143         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22144         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22145         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22146         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22147         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22148         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22149         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22150         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22151         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22152         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22153         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22154         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22155         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22156         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22157         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22158         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22159         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22160         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22161         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22162         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22163         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22164         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22165         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22166         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22167         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22168         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22169         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22170         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22171         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22172         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22173         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22174         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22175         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22176         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22177         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22178         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22179         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22180         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22181         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22182         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22183         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22184         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22185         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22186         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22187         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22188         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22189         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22190         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22191         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22192         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22193         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22194         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22195         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22196         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22197         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22198         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22199         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22200         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22201         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22202         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22203         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22204         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22205         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22206         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22207         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22208         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22209         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22210         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22211         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22212         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22213         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22214         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22215         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22216         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22217         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22218         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22219         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22220         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22221         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22222         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22223         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22224         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22225         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22226         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22227         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22228         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22229         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22230         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22231         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22232         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22233         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22234         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22235         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22236         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22237         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22238         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22239         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22240         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22241         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22242         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22243         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22244         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22245         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22246         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22247         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22248         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22249         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22250         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22251         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22252         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22253         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22254         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22255         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22256         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22257         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22258         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22259         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22260         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22261         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22262         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22263         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22264         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22265         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22266         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22267         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22268         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22269         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22270         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22271         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22272         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22274         [BZ #17589]
22275         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22276         of fgets_unlocked.
22278         [BZ #17585]
22279         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22280         (memmem): Rename to __memmem and define as weak alias of
22281         __memmem.  Use libc_hidden_weak.
22282         (__memmem): Use libc_hidden_def.
22283         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22284         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22285         memmem.
22287         [BZ #17582]
22288         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22289         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22290         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22291         and define as weak alias of __fgets_unlocked.  Use
22292         libc_hidden_weak.
22293         (__fgets_unlocked): Use libc_hidden_def.
22294         * include/stdio.h (__fgets_unlocked): Declare.  Use
22295         libc_hidden_proto.
22296         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22297         __fgets_unlocked instead of fgets_unlocked.
22298         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22299         (GET_NPROCS_CONF_PARSER): Likewise.
22300         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22301         (GET_NPROCS_CONF_PARSER): Likewise.
22303         [BZ #17574]
22304         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22305         weak alias of __wmemset.  Use libc_hidden_weak.
22306         (__wmemset): Use libc_hidden_def.
22307         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22308         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22309         of wmemset.
22311         [BZ #17573]
22312         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22313         with asm name __mempcpy.
22314         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22316         [BZ #17572]
22317         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22318         and define as weak alias of __rawmemchr.
22319         (__rawmemchr): Do not define as strong alias of rawmemchr.
22321         [BZ #17571]
22322         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22323         alias of __qsort_r.
22324         (qsort): Call __qsort_r instead of qsort_r.
22325         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22326         (__qsort_r): Declare.  Call libc_hidden_proto.
22327         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22328         instead of qsort_r.
22329         * nscd/gai.c (__qsort_r): Define to qsort_r.
22330         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22331         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22332         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22334         [BZ #17570]
22335         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22336         define as weak alias of __malloc_info.
22338         [BZ #17584]
22339         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22340         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22341         (__rewinddir): Use libc_hidden_def.
22342         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22343         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22344         (__rewinddir): Use libc_hidden_def.
22345         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22346         weak alias of __rewinddir.  Don't use libc_hidden_def.
22347         (__rewinddir): Use libc_hidden_def.
22348         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22349         (__rewinddir): Use libc_hidden_proto.
22350         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22351         rewinddir.
22352         (__getcwd): Use __rewinddir instead of rewinddir.
22354         [BZ #17583]
22355         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22356         alias of __fileno.  Use libc_hidden_weak.
22357         (__fileno): Use libc_hidden_def.
22358         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22359         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22360         alias of __ftello.
22361         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22362         __ftello.
22363         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22364         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
22365         libc_hidden_def.
22366         (fread_unlocked): Don't use libc_hidden_ver.
22367         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22368         and define as weak alias of __fread_unlocked.  Don't use
22369         libc_hidden_def.
22370         (__fread_unlocked): Use libc_hidden_def.
22371         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
22372         (ftello): Don't use libc_hidden_proto.
22373         (__ftello): Declare.  Use libc_hidden_proto.
22374         (fread_unlocked): Don't use libc_hidden_proto.
22375         (__fread_unlocked): Declare.  Use libc_hidden_proto.
22376         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22377         and __ftello instead of fileno, fread_unlocked and ftello.
22379 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22381         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22382         GOT12.
22383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22384         Likewise.
22385         (_dl_start_user): Likewise.
22386         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22388 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
22389             Siddhesh Poyarekar  <siddhesh@redhat.com>
22391         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22392         Move argv and envp down instead of moving argc up.
22393         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22395 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
22397         [BZ #17506]
22398         * test-skeleton.c (main): Return successful if one of
22399         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22400         * string/tst-strcoll-overflow.c: Define expected status.
22402 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
22404         [BZ #17475]
22405         * locale/iso-639.def: Define Bhili and Tulu language codes.
22407 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
22409         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22411 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
22413         [BZ #17555]
22414         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22416 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22418         * configure.ac: Updated check of minimal required version to
22419         2.22.
22420         * manual/install.texi (Tools for Compilation): Updated version
22421         number.
22422         * configure: Regenerated.
22423         * INSTALL: Likewise.
22425 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
22427         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22428         __tls_get_addr.
22430 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22432         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22433         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22434         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22435         libc_hidden_weak.
22436         (waitpid): Define as alias of __waitpid.
22437         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22438         __waitpid.
22439         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22440         libc_hidden_weak.
22441         (waitpid): Define as alias of __waitpid.
22442         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22443         __libc_waitpid alias.
22444         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22445         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22446         Likewise.
22447         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22448         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22449         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22450         alias.
22451         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22452         __waitpid.
22453         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22454         libc_hidden_weak.
22455         (waitpid): Define as alias of __waitpid.
22457 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22459         * manual/llio.texi: Add comment that write safety has been
22460         fixed in Linux.
22462         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22463         (localplt-build-dso): Add elf/ld.so.
22464         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22465         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22466         and free for ld.so.
22467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22468         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22470         Likewise.
22471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22472         Likewise.
22473         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22474         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22475         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22476         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22477         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22478         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22479         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22480         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22481         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22482         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22483         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22485 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22487         [BZ #14132]
22488         * include/libc-symbols.h (INTUSE): Remove macro.
22489         (INTDEF): Likewise.
22490         (INTVARDEF): Likewise.
22491         (_INTVARDEF): Likewise.
22492         (INTDEF2): Likewise.
22493         (INTVARDEF2): Likewise.
22494         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22495         rtld_hidden_def instead of INTVARDEF.
22496         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22497         (_dl_starting_up_internal): Remove declaration.
22498         (_dl_starting_up): Use rtld_hidden_proto.
22499         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22500         declaration.
22501         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22502         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22503         _dl_starting_up.
22504         * elf/dl-writev.h (_dl_writev): Likewise.
22505         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22506         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22507         _dl_starting_up_internal.
22509 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22511         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22512         test-skeleton.c.
22514 2014-11-05  Will Newton  <will.newton@linaro.org>
22516         * benchtests/Makefile: (bench-malloc): Add malloc thread
22517         scalability benchmark.
22518         * benchtests/bench-malloc-threads.c: New file.
22520 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22522         * sysdeps/aarch64/strchrnul.S: New file.
22524 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22526         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22527         definition.
22528         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22529         Likwise.
22530         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22531         Likewise.
22532         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22533         Likewise.
22534         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22535         Likewise.
22536         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22537         Likewise.
22539 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22541         * catgets/test-gencat.c: Use test-skeleton.c.
22542         * catgets/tst-catgets.c: Likewise.
22543         * csu/tst-empty.c: Likewise.
22544         * elf/tst-audit2.c: Likewise.
22545         * elf/tst-global1.c: Likewise.
22546         * elf/tst-pathopt.c: Likewise.
22547         * elf/tst-piemod1.c: Likewise.
22548         * elf/tst-tls10.c: Likewise.
22549         * elf/tst-tls11.c: Likewise.
22550         * elf/tst-tls12.c: Likewise.
22551         * gnulib/tst-gcc.c: Likewise.
22552         * iconvdata/tst-e2big.c: Likewise.
22553         * iconvdata/tst-loading.c: Likewise.
22554         * iconv/tst-iconv1.c: Likewise.
22555         * iconv/tst-iconv2.c: Likewise.
22556         * inet/test-inet6_opt.c: Likewise.
22557         * inet/tst-gethnm.c: Likewise.
22558         * inet/tst-network.c: Likewise.
22559         * inet/tst-ntoa.c: Likewise.
22560         * intl/tst-codeset.c: Likewise.
22561         * intl/tst-gettext2.c: Likewise.
22562         * intl/tst-gettext3.c: Likewise.
22563         * intl/tst-ngettext.c: Likewise.
22564         * intl/tst-translit.c: Likewise.
22565         * io/test-stat.c: Likewise.
22566         * libio/test-fmemopen.c: Likewise.
22567         * libio/tst-freopen.c: Likewise.
22568         * libio/tst-sscanf.c: Likewise.
22569         * libio/tst-ungetwc1.c: Likewise.
22570         * libio/tst-ungetwc2.c: Likewise.
22571         * libio/tst-widetext.c: Likewise.
22572         * localedata/tst-ctype.c: Likewise.
22573         * localedata/tst-digits.c: Likewise.
22574         * localedata/tst-leaks.c: Likewise.
22575         * localedata/tst-mbswcs1.c: Likewise.
22576         * localedata/tst-mbswcs2.c: Likewise.
22577         * localedata/tst-mbswcs3.c: Likewise.
22578         * localedata/tst-mbswcs4.c: Likewise.
22579         * localedata/tst-mbswcs5.c: Likewise.
22580         * localedata/tst-setlocale.c: Likewise.
22581         * localedata/tst-trans.c: Likewise.
22582         * localedata/tst-wctype.c: Likewise.
22583         * localedata/tst-xlocale1.c: Likewise.
22584         * login/tst-grantpt.c: Likewise.
22585         * malloc/tst-calloc.c: Likewise.
22586         * malloc/tst-malloc.c: Likewise.
22587         * malloc/tst-mallocstate.c: Likewise.
22588         * malloc/tst-mcheck.c: Likewise.
22589         * malloc/tst-mtrace.c: Likewise.
22590         * malloc/tst-obstack.c: Likewise.
22591         * math/atest-exp2.c: Likewise.
22592         * math/atest-exp.c: Likewise.
22593         * math/atest-sincos.c: Likewise.
22594         * math/test-matherr.c: Likewise.
22595         * math/test-misc.c: Likewise.
22596         * math/test-powl.c: Likewise.
22597         * math/tst-definitions.c: Likewise.
22598         * misc/tst-dirname.c: Likewise.
22599         * misc/tst-efgcvt.c: Likewise.
22600         * misc/tst-fdset.c: Likewise.
22601         * misc/tst-hsearch.c: Likewise.
22602         * misc/tst-mntent2.c: Likewise.
22603         * nptl/tst-sem7.c: Likewise.
22604         * nptl/tst-sem8.c: Likewise.
22605         * nptl/tst-sem9.c: Likewise.
22606         * nss/test-netdb.c: Likewise.
22607         * posix/tst-fnmatch.c: Likewise.
22608         * posix/tst-getlogin.c: Likewise.
22609         * posix/tst-gnuglob.c: Likewise.
22610         * posix/tst-mmap.c: Likewise.
22611         * pwd/tst-getpw.c: Likewise.
22612         * resolv/tst-inet_ntop.c: Likewise.
22613         * rt/tst-timer.c: Likewise.
22614         * stdio-common/test-fseek.c: Likewise.
22615         * stdio-common/test-popen.c: Likewise.
22616         * stdio-common/test-vfprintf.c: Likewise.
22617         * stdio-common/tst-cookie.c: Likewise.
22618         * stdio-common/tst-fileno.c: Likewise.
22619         * stdio-common/tst-gets.c: Likewise.
22620         * stdio-common/tst-obprintf.c: Likewise.
22621         * stdio-common/tst-perror.c: Likewise.
22622         * stdio-common/tst-sprintf2.c: Likewise.
22623         * stdio-common/tst-sprintf3.c: Likewise.
22624         * stdio-common/tst-sprintf.c: Likewise.
22625         * stdio-common/tst-swprintf.c: Likewise.
22626         * stdio-common/tst-tmpnam.c: Likewise.
22627         * stdio-common/tst-unbputc.c: Likewise.
22628         * stdio-common/tst-wc-printf.c: Likewise.
22629         * stdlib/tst-environ.c: Likewise.
22630         * stdlib/tst-fmtmsg.c: Likewise.
22631         * stdlib/tst-limits.c: Likewise.
22632         * stdlib/tst-rand48-2.c: Likewise.
22633         * stdlib/tst-rand48.c: Likewise.
22634         * stdlib/tst-random2.c: Likewise.
22635         * stdlib/tst-random.c: Likewise.
22636         * stdlib/tst-strtol.c: Likewise.
22637         * stdlib/tst-strtoll.c: Likewise.
22638         * stdlib/tst-tls-atexit.c: Likewise.
22639         * stdlib/tst-xpg-basename.c: Likewise.
22640         * string/test-ffs.c: Likewise.
22641         * string/tst-bswap.c: Likewise.
22642         * string/tst-inlcall.c: Likewise.
22643         * string/tst-strtok.c: Likewise.
22644         * string/tst-strxfrm.c: Likewise.
22645         * sysdeps/x86_64/tst-audit10.c: Likewise.
22646         * sysdeps/x86_64/tst-audit3.c: Likewise.
22647         * sysdeps/x86_64/tst-audit4.c: Likewise.
22648         * sysdeps/x86_64/tst-audit5.c: Likewise.
22649         * time/tst-ftime_l.c: Likewise.
22650         * time/tst-getdate.c: Likewise.
22651         * time/tst-mktime3.c: Likewise.
22652         * time/tst-mktime.c: Likewise.
22653         * time/tst-posixtz.c: Likewise.
22654         * time/tst-strptime2.c: Likewise.
22655         * time/tst-strptime3.c: Likewise.
22656         * wcsmbs/tst-btowc.c: Likewise.
22657         * wcsmbs/tst-mbrtowc.c: Likewise.
22658         * wcsmbs/tst-mbsrtowcs.c: Likewise.
22659         * wcsmbs/tst-wchar-h.c: Likewise.
22660         * wcsmbs/tst-wcpncpy.c: Likewise.
22661         * wcsmbs/tst-wcrtomb.c: Likewise.
22662         * wcsmbs/tst-wcsnlen.c: Likewise.
22663         * wcsmbs/tst-wcstof.c: Likewise.
22665 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22667         [BZ #14132]
22668         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22669         INTDEF.
22670         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22671         declaration.
22672         (_dl_mcount): Use rtld_hidden_proto.
22673         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22674         _dl_mcount.
22675         * elf/rtld.c (_rtld_global_ro): Likewise.
22677         [BZ #14132]
22678         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22679         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22680         of _dl_init_internal.
22681         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22682         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22683         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22684         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22685         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22686         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22687         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22688         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22689         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22690         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22691         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22692         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22693         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22694         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22695         * sysdeps/tile/dl-start.S (_start): Likewise.
22696         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22697         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22699         [BZ #14132]
22700         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22701         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22702         (rtld_progname): Make macro definition unconditional.
22703         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22704         INTDEF.
22705         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22706         (dl_main): Likewise.
22707         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22708         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22709         instead of _dl_argv_internal.
22710         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22711         __GI__dl_argv instead of INTUSE(_dl_argv).
22712         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22713         __GI__dl_argv instead of _dl_argv_internal.
22715         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22716         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22717         macro.
22718         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22719         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22720         New macro.
22721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22722         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22723         macro.
22724         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22725         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22727 2014-11-04  Andreas Schwab  <schwab@suse.de>
22729         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22731 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22733         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22734         mtvsrd instruction in binary form.
22736 2014-11-03  Andreas Schwab  <schwab@suse.de>
22738         [BZ #17522]
22739         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22740         for less than MB_LEN_MAX use a local buffer of that size.
22741         * libio/tst-fputws.c: New file.
22742         * libio/Makefile (tests): Add tst-fputws.
22744 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22746         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22747         the size of the fpu_fr.fpu_dregs[] array.
22749 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22751         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22752         (__nanosleep): Do not define as alias.
22753         (nanosleep): Define as alias of __nanosleep.
22754         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22755         __libc_nanosleep name.
22757 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22759         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22760         install.texi in comment.
22762 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22764         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22765         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22766         ... add here and use lwsync or sync ...
22767         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22768         ... and add here using lwsync.
22770 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22772         * elf/dl-machine-reject-phdr.h: New file.
22773         * elf/dl-load.c: #include that.
22774         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22775         if that returned true.
22777 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22779         [BZ #17496]
22780         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22781         gen-as-const-headers chunk.  Add a big scare comment after the last
22782         safe place to touch before-compile.
22784 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22786         * manual/install.texi (Tools for Compilation): Update autoconf
22787         version requirements.
22788         * INSTALL: Regenerated.
22790         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22791         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22792         (__libc_pselect): Likewise.
22794         [BZ #14138]
22795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22800 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22802         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22803         correct barrier instruction.
22804         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22805         Likewise.
22806         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22807         Likewise.
22809 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22811         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22812         after defining inlines.  Instead, just use parens to defeat macro
22813         expansion of __isctype in its declaration.
22815 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22817         * include/sys/uio.h (__libc_readv): Remove declaration.
22818         (__libc_writev): Likewise.
22819         * misc/readv.c (__libc_readv): Rename to __readv.
22820         (__readv): Do not define as alias.
22821         (readv): Define as alias of __readv.
22822         * misc/writev.c (__libc_writev): Rename to __writev.
22823         (__writev): Do not define as alias.
22824         (writev): Define as alias of __writev.
22825         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22826         (__readv): Do not define as alias.
22827         (readv): Define unconditionally as alias of __readv.
22828         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22829         (__writev): Do not define as alias.
22830         (writev): Define unconditionally as alias of __writev.
22831         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22832         name.
22833         (writev): Do not define __libc_writev name.
22835 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22837         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22838         (convert_charseq): New function, broken out of ...
22839         (use_from_charmap): ... here.  Call it.
22840         (use_to_charmap): Use convert_charseq and free instead of duplicating
22841         its code with a variable-length stack struct.
22843 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22845         * include/fcntl.h (__libc_creat): Remove declaration.
22846         * io/creat.c (__libc_creat): Rename to creat.
22847         (creat): Do not define as alias.
22848         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22849         of creat instead of __libc_creat.
22850         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22851         to creat.
22852         (creat): Do not define as alias.
22853         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22854         __libc_creat.
22855         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22856         __libc_creat name.
22857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22858         Likewise.
22860 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22862         * manual/llio.texi: Add comments discussing why write() may be
22863         considered MT-unsafe on Linux.
22865 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22867         * dl-load.c (local_strdup): Remove.
22868         (expand_dynamic_string_token): Use __strdup.
22869         (decompose_rpath): Likewise.
22870         (_dl_map_object): Likewise.
22872 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22874         [BZ #14132]
22875         * sysdeps/generic/unwind-dw2-fde.c
22876         (__register_frame_info_bases_internal): Do not declare.
22877         (__register_frame_info_table_bases_internal): Likewise.
22878         (__deregister_frame_info_bases_internal): Likewise.
22879         (__register_frame_info_bases): Declare and use hidden_proto before
22880         definition.  Use hidden_def instead of INTDEF.
22881         (__register_frame_info_table_bases): Likewise.
22882         (__deregister_frame_info_bases): Likewise.
22883         (__register_frame_info): Do not use INTUSE.
22884         (__register_frame): Likewise.
22885         (__register_frame_info_table): Likewise.
22886         (__register_frame_table): Likewise.
22887         (__deregister_frame_info): Likewise.
22888         (__deregister_frame): Likewise.
22890 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22893         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22894         not undefine.
22895         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22896         Likewise.
22897         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22898         Likewise.
22900 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22902         [BZ #14138]
22903         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22904         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22905         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22906         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22907         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22908         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22909         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22910         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22911         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22912         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22913         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22914         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22915         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22916         syscall.
22917         (setfsuid): Likewise.
22918         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22919         (setfsuid): Likewise.
22920         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22921         (setfsuid): Likewise.
22922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22923         Likewise.
22924         (setfsuid): Likewise.
22925         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22926         (setfsuid): Likewise.
22927         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22928         Likewise.
22929         (setfsuid): Likewise.
22931 2014-10-27  Andreas Schwab  <schwab@suse.de>
22933         [BZ #17501]
22934         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22935         check for Slow_SSE4_2 feature bit.
22936         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22937         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22938         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22939         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22941 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22943         * configure.ac: Validate compiler version with a empirical test of
22944         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22945         $CC -v output.
22946         * configure: Regenerated.
22948         * inet/htons.c (htons): Prototypify.
22949         * inet/htonl.c (htonl): Likewise.
22951 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22953         * string/strncat.c (strncat): Improve performance by using strlen.
22955 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22957         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22959 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22961         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22962         Call libc_fetestexcept_aarch64.
22964 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22966         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22967         Call libc_feholdexcept_aarch64.
22969 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22971         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22972         Call get_rounding_mode.
22974 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22976         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22977         Simplify logic.
22979 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22981         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22982         Simplify logic.
22984 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22986         [BZ #14138]
22987         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22988         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22989         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22990         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22991         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22992         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22993         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22994         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22995         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22996         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22997         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22998         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22999         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23000         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23001         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23002         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23003         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23004         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23005         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23006         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23007         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23008         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23009         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23010         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23011         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23012         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23013         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23014         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23015         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23016         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23017         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23018         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23019         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23020         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23021         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23022         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23023         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23024         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23025         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23026         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23027         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23028         syscall.
23029         (geteuid): Likewise.
23030         (getgid): Likewise.
23031         (getuid): Likewise.
23032         (getresgid): Likewise.
23033         (getresuid): Likewise.
23034         (getgroups): Likewise.
23035         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23036         (geteuid): Likewise.
23037         (getgid): Likewise.
23038         (getuid): Likewise.
23039         (getresgid): Likewise.
23040         (getresuid): Likewise.
23041         (getgroups): Likewise.
23042         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23043         (geteuid): Likewise.
23044         (getgid): Likewise.
23045         (getuid): Likewise.
23046         (getresgid): Likewise.
23047         (getresuid): Likewise.
23048         (getgroups): Likewise.
23049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23050         Likewise.
23051         (geteuid): Likewise.
23052         (getgid): Likewise.
23053         (getuid): Likewise.
23054         (getresgid): Likewise.
23055         (getresuid): Likewise.
23056         (getgroups): Likewise.
23057         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23058         (geteuid): Likewise.
23059         (getgid): Likewise.
23060         (getuid): Likewise.
23061         (getresgid): Likewise.
23062         (getresuid): Likewise.
23063         (getgroups): Likewise.
23064         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23065         Likewise.
23066         (geteuid): Likewise.
23067         (getgid): Likewise.
23068         (getuid): Likewise.
23069         (getgroups): Likewise.
23071         [BZ #14138]
23072         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23073         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23074         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23075         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23076         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23077         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23078         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23079         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23080         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23081         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23082         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23083         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23084         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23085         __chown.
23086         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23087         (lchown): Likewise.
23088         (fchown): Likewise.
23089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23090         Likewise.
23091         (lchown): Likewise.
23092         (fchown): Likewise.
23093         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23094         (lchown): Likewise.
23095         (fchown): Likewise.
23096         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23097         Likewise.
23098         (lchown): Likewise.
23099         (fchown): Likewise.
23101 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23103         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23104         Simplify logic.
23106 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23108         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23109         Cleanup logic.
23111 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23113         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23114         Remove unused include.
23116 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23118         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23119         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23120         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23121         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23123 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23124             Helge Deller <deller@gmx.de>
23126         [BZ #17508]
23127         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23128         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23129         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23131 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23133         [BZ #14132]
23134         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23135         Remove macro definition.
23136         (__ashrdi3_v_glibc20): Likewise.
23137         (__lshrdi3_v_glibc20): Likewise.
23138         (__cmpdi2_v_glibc20): Likewise.
23139         (__ucmpdi2_v_glibc20): Likewise.
23140         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23141         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23142         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23143         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23144         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23145         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23147 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23149         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23150         old GNU extension [0] syntax.
23151         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23152         alloca rather than an array member with variable length.
23153         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23154         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23155         (parse_opt): ... here.  Likewise use alloca there.
23156         Validate the -i argument before checking for rootness.
23157         (send_shutdown): New function, broken out of ...
23158         (parse_opt): ... here.
23160 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23162         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23163         macro to get at the _rt_local_ro field.
23164         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23165         ([PIC] case) or _dl_hwcap ([!PIC] case).
23166         * sysdeps/arm/setjmp.S: Likewise.
23168         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23169         * sysdeps/arm/configure.ac: New check to define it.
23170         * sysdeps/arm/configure: Regenerated.
23171         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23172         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23173         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23174         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23175         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23176         Use move/movt pair instead of a load.
23177         (LDST_GLOBAL): Macro removed.
23178         (LDR_GLOBAL): New macro replaces it.
23179         (LDR_HIDDEN): New macro.
23180         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23181         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23183         * setjmp/tst-setjmp-static.c: New file.
23184         * setjmp/Makefile (tests): Add it.
23185         (tests-static): New variable.
23187 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23189         [BZ #17485]
23190         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23192 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23194         [BZ #14132]
23195         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23197 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23199         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23201 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23203         * io/fts.c (dirent_not_directory): New function.
23204         (fts_build): Call it.
23206 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23208         * nptl/version.c (__nptl_main): Use normal __write rather than
23209         INTERNAL_SYSCALL.
23210         (banner): Update copyright years.
23212         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23213         gettimeofday.
23214         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23215         * nptl/pthread_cond_timedwait.c: Likewise.
23216         * nptl/pthread_mutex_timedlock.c: Likewise.
23217         * nptl/sem_timedwait.c: Likewise.
23219         * sysdeps/nptl/bits/libc-lock.h
23220         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23221         (__libc_lock_init_recursive): Return void, not 0.
23222         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23223         (__libc_rwlock_init): Likewise.
23224         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23226 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23228         [BZ #15215]
23229         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23230         (__pthread_once_slow): ... here.
23231         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23232         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23234 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23236         [BZ #15215]
23237         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23238         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23239         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23240         * nptl/pthread_once.c (__pthread_once): Likewise.
23241         Update comments.
23243 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23245         [BZ #14138]
23246         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23247         name.
23248         (writev): Use __libc_writev as strong name.
23249         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23250         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23252 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23254         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23256         * sysdeps/i386/nptl/tls.h
23257         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23258         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23259         New macros.
23260         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23261         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23262         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23263         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23264         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23265         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23267         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23268         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23269         on [__NR_futex].
23270         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23271         broken out of ...
23272         (__pthread_mutex_init): ... here.  Call it.
23273         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23274         Conditionalize PI cases on [__NR_futex].
23275         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23276         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23277         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23279         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23280         conditional on [SIGSETXID].
23281         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23282         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23283         is defined.  Likewise for SIGSETXID.
23284         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23285         Conditionalize definitions on [SIGSETXID].
23286         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23287         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23288         unblocking on [SIGCANCEL].
23290         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23291         [__NR_set_robust_list].
23293 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23296         (do_compare): Likewise.
23298 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23300         [BZ #15884]
23301         * string/strcoll_l.c: Don't include stdio.h.
23302         (coll_seq): Remove members idxarr and rulearr.
23303         (get_next_seq_cached): Remove function.
23304         (get_next_seq): Likewise.
23305         (get_next_seq_nocache): Rename to get_next_seq.
23306         (do_compare): Remove function.
23307         (do_compare_nocache): Rename to do_compare.
23308         (STRCOLL): Remove weight and rules cache.
23310 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23312         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23313         * sysdeps/arm/sfp-machine.h: ... to here.
23314         * sysdeps/arm/Implies: Remove arm/soft-fp.
23316 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23318         * conform/data/sys/utsname.h-data (*_t): Allow.
23319         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23320         [POSIX] (WEXITED): Do not expect constant.
23321         [POSIX] (WSTOPPED): Likewise.
23322         [POSIX] (WNOHANG): Likewise.
23323         [POSIX] (WNOWAIT): Likewise.
23324         [POSIX] (siginfo_t): Do not expect type or elements.
23325         [POSIX] (pid_t): Do not expect type.
23326         [POSIX] (signal.h): Do not allow header.
23327         [POSIX] (sys/resource.h): Likewise.
23328         [POSIX] (si_*): Do not allow pattern.
23329         [POSIX] (W*): Likewise.
23330         [POSIX] (P_*): Likewise.
23331         [POSIX] (BUS_*): Likewise.
23332         [POSIX] (CLD_*): Likewise.
23333         [POSIX] (FPE_*): Likewise.
23334         [POSIX] (ILL_*): Likewise.
23335         [POSIX] (POLL_*): Likewise.
23336         [POSIX] (SEGV_*): Likewise.
23337         [POSIX] (SI_*): Likewise.
23338         [POSIX] (TRAP_*): Likewise.
23339         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23340         variable.
23342 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23344         [BZ #12926]
23345         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23346         infinite loop when __recvmsg returns 0.
23348 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23350         * CANCEL-FCT-WAIVE: Remove file.
23351         * CANCEL-FILE-WAIVE: Likewise.
23353         [BZ #14132]
23354         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23355         instead of INTVARDEF.
23356         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23357         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23358         rtld_hidden_data_def instead of INTVARDEF.
23359         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23360         * elf/dl-deps.c (expand_dst): Likewise.
23361         * elf/dl-load.c (_dl_dst_count): Likewise.
23362         (_dl_dst_substitute): Likewise.
23363         (decompose_rpath): Likewise.
23364         (_dl_init_paths): Likewise.
23365         (open_path): Likewise.
23366         (_dl_map_object): Likewise.
23367         * elf/rtld.c (dl_main): Likewise.
23368         (process_dl_audit): Likewise.
23369         (process_envvars): Likewise.
23370         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23371         Remove declaration.
23372         (__libc_enable_secure): Use rtld_hidden_proto.
23374 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23376         * elf/dl-load.c
23377         (add_path): New function broken out of _dl_rtld_di_serinfo.
23378         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
23380 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23382         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23383         parentheses around macro arguments.
23384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23395         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23399         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23400         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23412         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23413         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23415         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23416         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23417         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23418         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23419         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23420         Likewise.
23421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23428         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23431         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23432         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23433         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23442         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23443         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23444         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23445         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23446         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23447         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23448         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23449         (_FP_FRAC_SRS_1): Likewise.
23450         (_FP_FRAC_CLZ_1): Likewise.
23451         (_FP_MUL_MEAT_1_imm): Likewise.
23452         (_FP_MUL_MEAT_1_wide): Likewise.
23453         (_FP_MUL_MEAT_1_hard): Likewise.
23454         (_FP_SQRT_MEAT_1): Likewise.
23455         (_FP_FRAC_ASSEMBLE_1): Likewise.
23456         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23457         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23458         (__FP_CLZ_2): Likewise.
23459         (_FP_MUL_MEAT_2_wide): Likewise.
23460         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23461         (_FP_MUL_MEAT_2_gmp): Likewise.
23462         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23463         (_FP_SQRT_MEAT_2): Likewise.
23464         (_FP_FRAC_ASSEMBLE_2): Likewise.
23465         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23466         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23467         (_FP_FRAC_CLZ_4): Likewise.
23468         (_FP_MUL_MEAT_4_wide): Likewise.
23469         (_FP_MUL_MEAT_4_gmp): Likewise.
23470         (_FP_SQRT_MEAT_4): Likewise.
23471         (_FP_FRAC_ASSEMBLE_4): Likewise.
23472         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23473         * soft-fp/op-common.h (_FP_CMP): Likewise.
23474         (_FP_CMP_EQ): Likewise.
23475         (_FP_CMP_UNORD): Likewise.
23476         (_FP_TO_INT): Likewise.
23477         (_FP_FROM_INT): Likewise.
23478         [!__FP_CLZ] (__FP_CLZ): Likewise.
23479         (_FP_DIV_HELP_imm): Likewise.
23480         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23481         Likewise.
23482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23492         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23493         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23496         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23497         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23498         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23504         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23509         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23511         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23512         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23513         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23514         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23515         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23516         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23517         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23518         (FP_UNPACK_RAW_SP): Likewise.
23519         (FP_PACK_RAW_S): Likewise.
23520         (FP_PACK_RAW_SP): Likewise.
23521         (FP_UNPACK_S): Likewise.
23522         (FP_UNPACK_SP): Likewise.
23523         (FP_UNPACK_SEMIRAW_S): Likewise.
23524         (FP_UNPACK_SEMIRAW_SP): Likewise.
23525         (FP_PACK_S): Likewise.
23526         (FP_PACK_SP): Likewise.
23527         (FP_PACK_SEMIRAW_S): Likewise.
23528         (FP_PACK_SEMIRAW_SP): Likewise.
23529         (_FP_SQRT_MEAT_S): Likewise.
23530         (FP_CMP_S): Likewise.
23531         (FP_CMP_EQ_S): Likewise.
23532         (FP_CMP_UNORD_S): Likewise.
23533         (FP_TO_INT_S): Likewise.
23534         (FP_FROM_INT_S): Likewise.
23536         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23538         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23539         (FP_EX_INVALID_IMZ): Likewise.
23540         (FP_EX_INVALID_IMZ_FMA): Likewise.
23541         (FP_EX_INVALID_ISI): Likewise.
23542         (FP_EX_INVALID_ZDZ): Likewise.
23543         (FP_EX_INVALID_IDI): Likewise.
23544         (FP_EX_INVALID_SQRT): Likewise.
23545         (FP_EX_INVALID_CVI): Likewise.
23546         (FP_EX_INVALID_VC): Likewise.
23547         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23548         "invalid" exceptions.
23549         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23550         (_FP_ADD_INTERNAL): Likewise.
23551         (_FP_MUL): Likewise.
23552         (_FP_FMA): Likewise.
23553         (_FP_DIV): Likewise.
23554         (_FP_CMP_CHECK_NAN): Likewise.
23555         (_FP_SQRT): Likewise.
23556         (_FP_TO_INT): Likewise.
23557         (FP_EXTEND): Likewise.
23559 2014-10-09  Allan McRae  <allan@archlinux.org>
23561         * po/fr.po: Update French translation from translation project.
23563 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23565         [BZ #14132]
23566         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23567         of INTDEF.
23568         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23569         (__cxa_atexit): Use libc_hidden_proto.
23570         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23572         [BZ #14132]
23573         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23574         declaration.
23575         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23576         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23577         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23578         [!_ISOMAC] (__iswctype_internal): Likewise.
23579         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23580         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23581         alias.
23582         (fcntl): Remove __fcntl_internal alias.
23583         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23584         __connect_internal alias.
23585         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23586         Likewise.
23588         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23589         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23590         FP_DENORM_ZERO.
23591         (_FP_CHECK_FLUSH_ZERO): New macro.
23592         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23593         (_FP_CMP): Likewise.
23594         (_FP_CMP_EQ): Likewise.
23595         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23596         FP_DENORM_ZERO.
23597         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23598         (FP_TRUNC): Likewise.
23600         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23601         treated as invalid conversion, not as normal exponent.
23603         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23604         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23605         (_FP_CMP_EQ): Likewise.
23606         (_FP_CMP_UNORD): Likewise.
23607         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23608         (FP_CMP_EQ_D): Likewise.
23609         (FP_CMP_UNORD_D): Likewise.
23610         * soft-fp/extended.h (FP_CMP_E): Likewise.
23611         (FP_CMP_EQ_E): Likewise.
23612         (FP_CMP_UNORD_E): Likewise.
23613         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23614         (FP_CMP_EQ_Q): Likewise.
23615         (FP_CMP_UNORD_Q): Likewise.
23616         * soft-fp/single.h (FP_CMP_S): Likewise.
23617         (FP_CMP_EQ_S): Likewise.
23618         (FP_CMP_UNORD_S): Likewise.
23619         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23620         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23621         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23622         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23623         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23624         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23625         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23626         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23627         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23628         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23629         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23630         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23631         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23632         to FP_CMP_Q.
23633         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23634         FP_CMP_Q.
23635         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23636         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23637         FP_CMP_EQ_Q.
23638         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23639         FP_CMP_Q.
23640         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23641         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23642         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23643         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23644         FP_CMP_EQ_Q.
23645         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23646         FP_CMP_Q.
23647         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23648         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23649         FP_CMP_EQ_Q.
23650         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23651         FP_CMP_Q.
23652         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23653         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23654         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23655         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23656         FP_CMP_EQ_Q.
23658         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23659         a subnormal result, set the underflow exception if trapping on
23660         underflow is enabled.
23661         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23662         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23663         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23664         redefine to 0.
23665         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23666         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23667         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23668         * soft-fp/extendxftf2.c (__extendxftf2): Use
23669         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23671         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23672         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23673         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23674         FP_HANDLE_EXCEPTIONS.
23675         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23676         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23677         FP_HANDLE_EXCEPTIONS.
23678         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23679         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23680         FP_HANDLE_EXCEPTIONS.
23681         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23682         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23683         FP_HANDLE_EXCEPTIONS.
23685 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23687         [BZ #14132]
23688         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23689         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23690         use INTUSE.
23691         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23692         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23693         Remove alias.
23694         (__adjtimex): Define using libc_hidden_ver.
23695         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23696         Remove declaration.
23697         (ntp_gettime): Call __adjtimex directly.
23698         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23699         Remove declaration.
23700         (ntp_gettimex): Call __adjtimex directly.
23701         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23702         __adjtimex_internal alias.
23704 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23706         [BZ #17460]
23707         * nscd/nscd.c (more_help): Rewrite list of tables collection
23708         using xstrdup and asprintf.
23710         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23712 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23713             Roland McGrath  <roland@hack.frob.com>
23715         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23716         (do_lookup_unique): ... local function 'enter' here; update callers.
23718 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23720         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23721         compat_symbol calls on [SHARED].
23722         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23723         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23724         Remove.
23725         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23726         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23727         (oldsetrlimit): Remove.
23728         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23730         (lchown): New syscall entry.
23731         (oldsetrlimit): Remove.
23732         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23733         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23734         (oldsetrlimit): Remove.
23735         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23737         [BZ #14138]
23738         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23739         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23740         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23741         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23742         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23743         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23744         (fchown): Likewise.
23745         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23746         (fchown): Likewise.
23747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23748         Likewise.
23750 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23752         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23753         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23754         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23755         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23756         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23757         Likewise.
23758         (__old_sem_post): Likewise.
23760 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23762         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23763         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23764         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23765         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23766         Use INLINE_VSYSCALL macro.
23767         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23768         __vdso_clock_gettime.
23769         * sysdeps/unix/sysv/linux/tile/init-first.c
23770         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23771         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23772         __vdso_clock_gettime.
23774         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23775         to set up frame more cleanly.
23777         * sysdeps/tile/memcmp.c: New file.
23779         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23781         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23782         * sysdeps/tile/tilegx/strcasestr.c: New file.
23783         * sysdeps/tile/tilegx/strnlen.c: New file.
23784         * sysdeps/tile/tilegx/strstr.c: New file.
23786         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23788 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23790         * nptl/tst-setuid3.c: Write errors to stdout.
23792 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23794         * elf/dl-deps.c
23795         (preload): New functions broken out of _dl_map_object_deps.
23796         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23798 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23800         [BZ #14138]
23801         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23802         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23804 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23806         * sysdeps/mips/strcmp.S: New.
23808 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23810         [BZ #14138]
23811         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23812         (linkat): Likewise.
23813         (mkdirat): Likewise.
23814         (readlinkat): Likewise.
23815         (renameat): Likewise.
23816         (symlinkat): Likewise.
23817         (unlinkat): Likewise.
23818         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23819         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23820         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23821         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23822         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23823         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23824         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23826 2014-09-30  Will Newton  <will.newton@linaro.org>
23828         * math/math.h: Define long double math functions if
23829         _LIBC_TEST is defined.
23830         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23832         * localedata/Makefile: Move assignment to tests-special
23833         into an ifdef testing run-built-tests.
23834         * timezone/Makefile: Likewise.
23836 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23838         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23839         with $(BASH) not $(SHELL).
23841 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23842             Matthew LeGendre  <legendre1@llnl.gov>
23844         [BZ #17411]
23845         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23846         l_reloc_result.
23848 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23850         * stdio-common/printf_fp.c
23851         (hack_digit): New function, broken out of ...
23852         (__printf_fp): ... local function here.  Update call sites.
23853         hack_digit now takes an additional parameter that is a pointer
23854         to a struct of the referenced locals.  Those locals moved inside
23855         the struct and references updated.
23857 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23859         * aclocal.m4: Require autoconf 2.69.
23860         * configure: Regenerated.
23861         * sysdeps/aarch64/configure: Likewise.
23862         * sysdeps/alpha/configure: Likewise.
23863         * sysdeps/arm/armv7/configure: Likewise.
23864         * sysdeps/arm/configure: Likewise.
23865         * sysdeps/ia64/configure: Likewise.
23866         * sysdeps/mach/configure: Likewise.
23867         * sysdeps/mips/configure: Likewise.
23868         * sysdeps/s390/configure: Likewise.
23869         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23872         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23873         file.
23874         * sysdeps/ia64/configure.ac: Likewise.
23876 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23879         specify symbol version for ld.so.  Do not include entry for
23880         libpthread.
23881         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23882         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23883         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23885         [BZ #14171]
23886         * Makeconfig [$(build-shared) = yes]
23887         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23888         makefiles.
23889         [$(build-shared) = yes && $(soversions.mk-done) = t]
23890         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23891         [$(build-shared) = yes && $(soversions.mk-done) = t]
23892         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23893         to Makerules.
23894         [$(build-shared) = yes && $(soversions.mk-done) = t]
23895         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23896         here.
23897         [$(build-shared) = yes && $(soversions.mk-done) = t]
23898         (common-generated): Don't append gnu/lib-names.h and
23899         gnu/lib-names.stmp here.
23900         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23901         (lib-names-h-abi): New variable.
23902         [$(build-shared) = yes && $(soversions.mk-done) = t]
23903         (lib-names-stmp-abi): Likewise.
23904         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23905         abi-variants] (before-compile): Append
23906         $(common-objpfx)$(lib-names-h-abi).
23907         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23908         abi-variants] (common-generated): Append gnu/lib-names.h.
23909         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23910         abi-variants] (install-others-nosubdir): Depend on
23911         $(inst_includedir)/$(lib-names-h-abi).
23912         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23913         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23914         [$(build-shared) = yes && $(soversions.mk-done) = t]
23915         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23916         [$(build-shared) = yes && $(soversions.mk-done) = t]
23917         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23918         [$(build-shared) = yes && $(soversions.mk-done) = t]
23919         (common-generated): Append $(lib-names-h-abi) and
23920         $(lib-names-stmp-abi).
23921         * scripts/lib-names.awk: Do not handle multi being set.
23922         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23923         Remove variable.
23924         (abi-lp64_be-ld-soname): Likewise.
23925         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23926         Likewise.
23927         (abi-hard-ld-soname): Likewise.
23928         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23929         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23930         Remove variable.
23931         (abi-o32_hard-ld-soname): Likewise.
23932         (abi-o32_soft_2008-ld-soname): Likewise.
23933         (abi-o32_hard_2008-ld-soname): Likewise.
23934         (abi-n32_soft-ld-soname): Likewise.
23935         (abi-n32_hard-ld-soname): Likewise.
23936         (abi-n32_soft_2008-ld-soname): Likewise.
23937         (abi-n32_hard_2008-ld-soname): Likewise.
23938         (abi-n64_soft-ld-soname): Likewise.
23939         (abi-n64_hard-ld-soname): Likewise.
23940         (abi-n64_soft_2008-ld-soname): Likewise.
23941         (abi-n64_hard_2008-ld-soname): Likewise.
23942         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23943         Likewise.
23944         (abi-64-v2-ld-soname): Likewise.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23946         ld.so entries.
23947         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23948         variable.
23949         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23950         entry.
23951         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23952         variable.
23953         (abi-64-ld-soname): Likewise.
23954         (abi-x32-ld-soname): Likewise.
23955         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23956         entry.
23957         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23959 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23961         [BZ #14138]
23962         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23963         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23964         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23965         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23966         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23967         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23969         syscall entry for GLIBC_2.2 symbol version.
23970         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23971         Likewise.
23972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23973         (setrlimit): Likewise.
23974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23975         Likewise.
23977 2014-09-23  Will Newton  <will.newton@linaro.org>
23979         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23980         _LINUX_ARM_SYSDEP_H include guard too.
23981         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23982         define.
23984 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23986         * sysdeps/unix/sysv/linux/eventfd.c:
23987         Make first argument unsigned.
23988         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23989         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23991 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23993         [BZ #16852]
23994         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23995         * socket/sys/socket.h: Likewise.
23996         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23998 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24000         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24002 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24004         * time/tst-ftime.c: New test.
24005         * time/Makefile (tests): Add tst-ftime.
24007 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24009         * soft-fp/extended.h: Fix comment formatting.
24010         * soft-fp/op-1.h: Likewise.
24011         * soft-fp/op-2.h: Likewise.
24012         * soft-fp/op-4.h: Likewise.
24013         * soft-fp/op-8.h: Likewise.
24014         * soft-fp/op-common.h: Likewise.
24015         * soft-fp/soft-fp.h: Likewise.
24017         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24019 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24021         [BZ #6652]
24022         * Makeconfig (soversions-default-setname): Remove variable.
24023         ($(common-objpfx)soversions.i): Don't pass default_setname to
24024         soversions.awk.
24025         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24026         oldest_abi to abi-versions.awk.
24027         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24028         * config.make.in (oldest-abi): Remove variable.
24029         * configure.ac (--enable-oldest-abi): Remove configure option.
24030         * configure: Regenerated.
24031         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24032         text.
24033         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24034         * scripts/soversions.awk: Do not handle default_setname variable.
24035         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24036         variable.
24037         * sysdeps/mach/hurd/configure: Regenerated.
24038         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24039         variable.
24040         * sysdeps/unix/sysv/linux/configure: Regenerated.
24042 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24044         * elf/Makefile (CFLAGS-interp.c): Remove.
24045         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24046         path string.
24047         * elf/interp.c: Include generated runtime-linker.h
24049         * Makerules (lib%.so): Don't include $(+interp) in
24050         prerequisites.
24051         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24052         * dlfcn/eval.c: Remove file.
24054         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24055         macros.
24057         [BZ #17266]
24058         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24059         4.2 and newer.
24061         [BZ #17370]
24062         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24064 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24065             Jakub Jelinek  <jakub@redhat.com>
24067         [BZ #17266]
24068         * libio/stdio.h: Check definition of __fortify_function
24069         instead of __extern_always_inline to include bits/stdio2.h.
24070         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24071         check if __extern_always_inline is defined.
24072         [__USE_MISC || __USE_XOPEN]: Likewise.
24073         [__USE_ISOC99] Likewise.
24074         * misc/sys/cdefs.h (__fortify_function): Define only if
24075         __extern_always_inline is defined.
24076         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24077         __extern_always_inline and __extern_inline only for g++-4.3
24078         and newer or a compatible gcc.
24080 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24082         [BZ #17371]
24083         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24084         last change to handle zero prefix length.
24086 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24088         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24089         _SC_REGEX_VERSION.
24091         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24092         _POSIX_RAW_SOCKETS.
24094 2014-09-13  Allan McRae  <allan@archlinux.org>
24096         * po/ru.po: Update Russian translation from translation project.
24098 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24100         * locale/programs/locale.c (show_locale_vars): Inline local function
24101         into its sole call site.  Clean up some style nits.
24102         (print_item): New function, broken out of ...
24103         (show_info): ... local function here.  Clean up style nits.
24105         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24106         out of ...
24107         (set_class_defaults): ... local function set_default here.
24108         Define set_default as a macro locally to pass constant parameters.
24109         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24110         rather than a shared local.
24112         * stdlib/rpmatch.c (try): New function, broken out of ...
24113         (rpmatch): ... local function here.  Also, prototypify definition.
24115 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24117         * scripts/soversions.awk: Do not handle configuration names.
24118         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24119         vendor and os variables to soversions.awk.
24120         * configure.ac: Do not modify gnu-* host_os.
24121         * configure: Regenerated
24122         * shlib-versions: Remove first column with configuration names.
24123         * nptl/shlib-versions: Likewise.
24124         * nptl_db/shlib-versions: Likewise.
24125         * sysdeps/hppa/shlib-versions: Likewise.
24126         * sysdeps/m68k/shlib-versions: Likewise.
24127         * sysdeps/mach/hurd/shlib-versions: Likewise.
24128         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24129         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24130         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24131         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24132         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24133         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24134         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24135         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24139         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24140         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24141         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24142         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24143         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24144         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24145         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24148         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24150         Regenerated.
24151         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24153         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24155         * shlib-versions: Remove OS-specific entries.  Moved to files in
24156         sysdeps.
24157         * sysdeps/mach/hurd/shlib-versions: New file.
24158         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24160         * nptl/shlib-versions: Remove architecture-specific entries.
24161         Moved to files in sysdeps.
24162         * shlib-versions: Likewise.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24164         file.
24165         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24166         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24167         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24168         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24170         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24171         (UDP_NO_CHECK6_RX): Likewise.
24173 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24175         * sysdeps/posix/sysconf.c (__sysconf): Spell
24176         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24178 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24180         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24181         loading.
24182         * iconv/Versions (__gconv_transliterate): Export for use from
24183         gconv modules.
24184         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24185         (struct __gconv_trans_data, __gconv_trans_fct,
24186         __gconv_trans_context_fct, __gconv_trans_query_fct,
24187         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24188         definitions.
24189         (struct __gconv_step_data): Remove __trans member.
24190         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24191         longer hidden.  Remove unused trans_data argument.
24192         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24193         (__gconv_translit_find): Remove declaration.
24194         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24195         prototype.
24196         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24197         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24198         trans_data argument.  Add hidden definition.
24199         (__gconv_translit_find): Remove.
24200         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24201         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24202         * iconv/skeleton.c: Remove transliteration initialization.
24203         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24204         __gconv_step_data initialization.
24205         * libio/iofwide.c (__libio_translit_): Remove.
24206         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24207         * wcsmbs/btowc.c (__btowc): Likewise.
24208         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24209         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24210         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24211         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24212         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24213         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24214         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24215         * wcsmbs/wctob.c (wctob): Likewise.
24217 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24219         [BZ #16194]
24220         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24221         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24222         register usage.
24223         * sysdeps/x86/Makefile: Adjust.
24225 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24226             Roland McGrath  <roland@hack.frob.com>
24228         * locale/weight.h: Add include guard.
24229         (findidx): Make static rather than auto; take new parameters
24230         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24231         * locale/weightwc.h: Likewise.
24232         * posix/fnmatch_loop.c
24233         (FCT): Change type of EXTRA from int32_t to wint_t.
24234         Don't include either header inside the function.
24235         Call FINDIDX rather than findidx, and pass new arguments.
24236         #undef FINDIDX at the end of the file.
24237         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24238         FINDIDX before including fnmatch_loop.c for the non-wide version.
24239         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24240         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24241         for the wide version.
24242         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24243         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24244         Pass new arguments to findidx.
24245         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24246         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24247         Don't #include it inside the function.  Pass new arguments to findidx.
24248         * posix/regex_internal.h
24249         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24250         (re_string_elem_size_at): Don't #include it inside the function.
24251         Pass new arguments to findidx.
24252         * string/strcoll_l.c: #include WEIGHT_H at top level.
24253         (get_next_seq): Don't #include it inside the function.
24254         Pass new arguments to findidx.
24255         (get_next_seq_nocache): Likewise.
24256         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24257         (STRXFRM): Don't #include it inside the function.
24258         Pass new arguments to findidx.
24260 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24262         [BZ #17344]
24263         * malloc/malloc.c (unlink): Turn asserts into a call to
24264         malloc_printerr.
24266 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24268         [BZ #17370]
24269         * libio/wfileops (do_ftell_wide): Free OUT.
24271 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24273         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24275 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24277         [BZ #17363]
24278         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24279         group if the current group is empty.
24281 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24283         * benchtests/bench-memset.c (test_main): Add more test from size
24284         from 32 to 512 bytes.
24285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24286         Add POWER8 memset object.
24287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24288         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24289         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24290         implementation.
24291         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24292         Likewise.
24293         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24294         multiarch POWER8 memset optimization.
24295         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24296         POWER8 memset optimization.
24298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24299         Remove bzero multiarch objects.
24300         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24301         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24302         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24303         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24304         Remove define.
24305         [__bzero]: Redefine to specific name.
24306         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24307         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24308         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24309         define.
24310         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24311         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24313 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24315         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24316         warnings into errors.
24318         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24319         __cxa_thread_atexit_impl prototype.
24321 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24323         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24324         Fix capitalization of error message.
24326 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24328         * sysdeps/mips/preconfigure: Modify ABI tests.
24330 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24332         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24334 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24335             Carlos O'Donell  <carlos@systemhalted.org>
24337         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24338         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24339         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24340         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24341         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24342         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24343         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24344         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24345         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24346         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24348         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24349         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24350         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24352         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24354         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24355         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24356         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24357         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24358         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24359         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24360         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24361         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24362         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24363         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24364         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24365         Deconditionalize the code that was previously under [RESET_PID].
24366         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24367         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24368         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24369         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24370         include sysdep.h.
24372 2014-09-08  Allan McRae  <allan@archlinux.org>
24374         * version.h (RELEASE): Set to "development".
24375         (VERSION): Set to "2.20.90"
24377 2014-09-07  Allan McRae  <allan@archlinux.org
24379         * version.h (RELEASE): Set to "stable".
24380         (VERSION): Set to "2.20"
24381         * include/features.h (__GLIBC_MINOR__): Set to 20.
24383         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24384         Liebler.
24386         * po/ko.po: Update Korean translation from translation project.
24388 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
24390         [BZ #17354]
24391         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24392         macro for handling signed relocations.
24394 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24396         [BZ #17325]
24397         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24398         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24399         assert.
24400         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24401         * iconvdata/ibm935.c (BODY): Likewise.
24402         * iconvdata/ibm937.c (BODY): Likewise.
24403         * iconvdata/ibm939.c (BODY): Likewise.
24404         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24405         assert.
24406         * iconvdata/Makefile (iconv-test.out): Pass module list to test
24407         script.
24408         * iconvdata/run-iconv-test.sh: New test loop for checking for
24409         decoder crashers.
24411 2014-09-02  Khem Raj  <raj.khem@gmail.com>
24413         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24414         libm_hidden_ver.
24416 2014-09-01  Allan McRae  <allan@archlinux.org>
24418         * po/eo.po: Update Esperanto translation from translation project.
24420         * po/ca.po: Update Catalan translation from translation project.
24422 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24424         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24425         __proc_dostop call.
24427 2014-08-27  Mark Wielaard  <mjw@redhat.com>
24429         [BZ #17319]
24430         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24431         to call set_thread_area instead of hand written asm.
24432         (__NR_set_thread_area): Removed define.
24433         (TLS_FLAG_WRITABLE): Likewise.
24434         (__ASSUME_SET_THREAD_AREA): Remove check.
24435         (TLS_EBX_ARG): Remove define.
24436         (TLS_LOAD_EBX): Likewise.
24438 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24440         Simplify atomicity of socket creation in bind.
24442         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24443         looking up the name after linking the file.
24445 2014-08-27  Allan McRae  <allan@archlinux.org>
24447         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24449 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24451         [BZ #17187]
24452         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24453         trans_compare, open_translit, __gconv_translit_find):
24454         Remove module loading code.
24456 2014-08-26  Allan McRae  <allan@archlinux.org>
24458         * po/vi.po: Update Vietnamese translation from translation project.
24460         * po/uk.po: Update Ukrainian translation from translation project.
24462         * po/fr.po: Update French translation from translation project.
24464         * po/ru.po: Update Russian translation from translation project.
24466         * po/pl.po: Update Polish translation from translation project.
24468         * po/cs.po: Update Czech translation from translation project.
24470         * po/de.po: Update German translation from translation project.
24472         * po/bg.po: Update Bulgarian translation from translation project.
24474         * po/sv.po: Update Sweedish translation from translation project.
24476         * po/nl.po: Update Dutch translation from translation project.
24478         * po/es.po: Update Spanish translation from translation project.
24480 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24482         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24484         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24485         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24486         (CPPFLAGS-iconvconfig): Likewise.
24487         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24489         * include/libc-symbols.h: Remove unnecessary check for
24490         NOT_IN_libc.
24491         * nptl/pthreadP.h: Likewise.
24492         * sysdeps/aarch64/setjmp.S: Likewise.
24493         * sysdeps/alpha/setjmp.S: Likewise.
24494         * sysdeps/arm/sysdep.h: Likewise.
24495         * sysdeps/i386/setjmp.S: Likewise.
24496         * sysdeps/m68k/setjmp.c: Likewise.
24497         * sysdeps/posix/getcwd.c: Likewise.
24498         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24499         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24500         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24501         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24502         * sysdeps/sh/sh3/setjmp.S: Likewise.
24503         * sysdeps/sh/sh4/setjmp.S: Likewise.
24504         * sysdeps/unix/alpha/sysdep.h: Likewise.
24505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24507         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24508         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24513         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24516         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24518         * sysdeps/x86_64/setjmp.S: Likewise.
24520 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24522         [BZ #17263]
24523         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24524         <stdint.h>.
24525         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24526         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24528 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24530         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24532         [BZ #17262]
24533         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24534         and __x86_64__ when disabling x87 inline functions.
24536 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24538         [BZ #17259]
24539         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24540         asm statement with __cpuid_count.
24542 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24544         * configure.ac: Change __ehdr_start code to dereference the struct.
24545         Run readelf on the output to look for relocations.
24546         * configure: Regenerated.
24548 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24550         [BZ #17261]
24551         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24552         value to 0.
24553         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24555 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24557         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24559 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24561         [BZ #16892]
24562         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24563         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24565 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24567         * malloc/malloc.c: Fix typo in comment.
24569 2014-08-09  Allan McRae  <allan@archlinux.org>
24571         * Regenerate libc.po.
24573 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24575         * intl/tst-gettext2.sh: Check every lang file for creation.
24577 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24579         * sysdeps/aarch64/fpu/math_private.h
24580         (libc_feholdsetround_noex_aarch64_ctx): New function.
24582 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24584         * sysdeps/arm/armv6/strcpy.S (strcpy):
24585         Fix performance issue in misaligned cases.
24587 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24589         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24590         Move definition from termios.h.
24591         (struct termio): Likewise.
24592         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24593         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24594         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24595         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24596         Likewise.
24597         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24598         Move definition to ioctl-types.h
24599         (struct termio): Likewise.
24600         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24601         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24602         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24603         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24604         Likewise.
24606 2014-08-05  Richard Henderson  <rth@redhat.com>
24608         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24609         exceptions.
24610         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24611         Add fraiseexcpt.
24612         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24613         Use __feraiseexcept.
24614         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24615         Protect libm symbols with IS_IN_libm.
24617         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24619 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24621         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24623 2014-08-04  Will Newton  <will.newton@linaro.org>
24625         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24626         file.
24628 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24630         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24631         variants for each function.
24633 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24635         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24636         appended ...
24637         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24638         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24639         appended ...
24640         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24641         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24642         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24643         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24644         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24645         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24646         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24647         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24648         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24649         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24650         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24651         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24652         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24653         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24654         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24656         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24657         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24658         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24659         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24660         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24661         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24664         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24665         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24666         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24667         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24668         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24669         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24670         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24671         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24672         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24673         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24674         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24675         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24676         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24677         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24678         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24679         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24680         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24682         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24684         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24685         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24686         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24687         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24688         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24689         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24690         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24691         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24692         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24693         Update #include.
24694         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24695         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24697 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24699         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24700         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24701         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24702         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24703         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24704         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24706 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24708         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24709         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24710         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24711         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24713 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24715         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24716         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24717         (__libc_vfork): Define function under this name.
24718         (__vfork): Define as an alias.
24719         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24720         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24722 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24724         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24725         that was previously under [RESET_PID].
24726         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24728 2014-08-04  Andreas Schwab  <schwab@suse.de>
24730         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24732 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24734         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24735         (main): Likewise.
24737 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24739         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24741 2014-08-01  Richard Henderon  <rth@redhat.com>
24743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24744         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24745         typo in exact zero test.
24746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24747         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24750 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24752         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24753         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24754         * sysdeps/arm/sysdep.h: ... here.
24755         [!__ASSEMBLER__]: Include <stdint.h>.
24757 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24759         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24760         (HAVE_WCTYPE_H): Likewise.
24761         (HAVE_ISWCTYPE): Likewise.
24762         (ENABLE_NLS): Likewise.
24763         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24764         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24766         * posix/regex_internal.c: Check if DEBUG is defined and is
24767         set.
24769         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24770         (HAVE_MBSRTOWCS): Likewise.
24771         * posix/fnmatch.c: Include string.h unconditionally.
24773 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24775         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24776         reversal.
24778 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24780         * sysdeps/generic/safe-fatal.h: New file.
24781         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24782         * nptl/forward.c: Include it.
24783         (__pthread_unwind): Use __safe_fatal as default action, rather
24784         than a bogus use of INTERNAL_SYSCALL that could never work.
24786         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24787         * configure.ac (libc_cv_builtin_trap): New test.
24788         * configure: Regenerated.
24789         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24790         (ABORT_INSTRUCTION): Define using __builtin_trap.
24792         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24793         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24794         * sysdeps/nptl/nptl-signals.h: New file.
24795         * nptl/pthreadP.h: Include <nptl-signals.h>.
24797 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24799         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24800         (ONE_DIRECTION): Define.
24801         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24802         (ONE_DIRECTION): Define.
24803         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24804         (ONE_DIRECTION): Define.
24806 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24808         * sysdeps/s390/Makefile: Delete file.
24809         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24810         * sysdeps/s390/__longjmp.c: Delete file.
24811         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24812         Remove fields __flags and __reserved.
24813         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24814         and add versioning.
24815         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24816         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24817         * sysdeps/s390/rtld-setjmp.S: Likewise.
24818         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24819         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24820         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24821         * sysdeps/s390/s390-32/setjmp.S: ... here.
24822         Add versioning.
24823         (__sigsetjmp): Remove setting __flags field.
24824         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24825         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24826         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24827         * sysdeps/s390/s390-64/setjmp.S: ... here.
24828         Add versioning.
24829         (__sigsetjmp): Remove setting __flags field.
24830         * sysdeps/s390/setjmp.S: Delete file.
24831         * sysdeps/s390/sigjmp.c: Likewise.
24832         * sysdeps/s390/v1-longjmp.c: Likewise.
24833         * sysdeps/s390/v1-setjmp.h: Likewise.
24834         * sysdeps/s390/v1-sigjmp.c: Likewise.
24835         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24836         Remove v1-longjmp_chk.
24837         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24838         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24839         Include debug/longjmp_chk.c and add versioning.
24840         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24841         Include nptl/pt-longjmp.c and add versioning.
24842         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24843         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24844         Include __longjmp.c.
24845         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24846         Move to ...
24847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24848         (__getcontext): Remove setting __flags field.
24849         Add versioning.
24850         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24851         Don't restore upper high grps.
24852         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24853         Likewise.
24854         (__swapcontext): Remove setting uc_flags field.
24855         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24856         Delete file.
24857         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24858         Include __longjmp.c.
24859         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24860         Move to ...
24861         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24862         (__getcontext): Remove setting __flags field.
24863         Add versioning.
24864         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24865         (__swapcontext): Remove setting uc_flags field.
24866         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24867         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24868         Remove fields uc_high_gprs and __reserved.
24869         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24870         New file with reverted content.
24871         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24872         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24873         Regenerated.
24874         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24875         Regenerated.
24877 2014-07-31  Andreas Schwab  <schwab@suse.de>
24879         * config.h.in (HAVE_IFUNC): Define to 0.
24880         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24881         definedness.
24883 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24886         memmove-avx-unaligned, memcpy-avx-unaligned and
24887         mempcpy-avx-unaligned.
24888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24889         Add tests for AVX memcpy functions.
24890         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24891         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24892         memcpy_chk.
24893         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24894         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24895         memmove_chk.
24896         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24897         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24898         mempcpy_chk.
24899         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24900         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24901         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24903 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24905         [BZ #17213]
24906         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24907         powerpc64le.
24909 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24911         [BZ #16839]
24912         * manual/llio.texi: Add section about open file description locks.
24913         * manual/examples/ofdlocks.c: Example of open file description
24914         lock usage.
24915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24916         F_OFD_SETLK, and F_OFD_SETLKW.
24918 2014-07-23  Allan McRae  <allan@archlinux.org>
24920         * po/es.po: Update Spanish translation from translation project.
24922 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24924         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24926 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24928         [BZ #17078]
24929         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24930         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24931         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24933 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24935         [BZ #17088]
24936         * math/fesetenv.c (__fesetenv)
24937         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24938         * math/feupdateenv.c (__feupdateenv)
24939         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24941         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24942         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24943         (__ASSUME_SOCKETCALL): Do not define.
24945         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24946         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24947         (__ASSUME_SOCKETCALL): Do not define.
24948         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24949         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24950         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24951         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24952         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24953         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24954         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24955         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24957         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24958         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24959         (__ASSUME_SOCKETCALL): Do not define.
24960         (__ASSUME_IPC64): Define unconditionally.
24961         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24962         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24963         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24964         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24965         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24966         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24967         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24968         Likewise.
24970         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24971         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24972         (__ASSUME_SOCKETCALL): Do not define.
24973         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24974         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24975         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24976         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24977         (__ASSUME_REQUEUE_PI): Define unconditionally.
24978         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24979         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24980         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24981         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24982         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24983         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24985         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24986         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24987         (__ASSUME_SOCKETCALL): Do not define.
24988         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24989         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24990         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24991         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24993         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24995         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24996         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24997         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24998         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24999         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25000         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25002         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25003         (__ASSUME_GETCPU_SYSCALL): Likewise.
25005         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25006         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25007         cases for individual architectures.
25008         * sysdeps/gnu/configure: Regenerated.
25009         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25010         LIBC_SLIBDIR_RTLDDIR.
25011         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25012         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25013         LIBC_SLIBDIR_RTLDDIR.
25014         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25016         LIBC_SLIBDIR_RTLDDIR.
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25018         Regenerated.
25019         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25020         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25021         file.
25022         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25023         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25024         file.
25025         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25026         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25027         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25028         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25030         * sysdeps/aarch64/shlib-versions: Move to ...
25031         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25032         * sysdeps/alpha/shlib-versions: Move to ...
25033         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25034         * sysdeps/arm/shlib-versions: Move to ...
25035         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25036         * sysdeps/hppa/shlib-versions: Move all contents except for
25037         libgcc_s entry to ...
25038         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25039         entry from ...
25040         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25041         * sysdeps/ia64/shlib-versions: Move to ...
25042         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25043         entry from ...
25044         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25045         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25046         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25047         * sysdeps/microblaze/shlib-versions: Move to ...
25048         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25049         * sysdeps/mips/shlib-versions: Move to ...
25050         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25051         entry from ...
25052         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25053         * sysdeps/tile/shlib-versions: Move to ...
25054         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25055         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25056         from ...
25057         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25058         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25059         entry from ...
25060         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25062 2014-07-17  Will Newton  <will.newton@linaro.org>
25064         * sysdeps/arm/bits/atomic.h
25065         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25066         (__arch_compare_and_exchange_bool_16_int): Likewise.
25067         (__arch_compare_and_exchange_bool_64_int): Likewise.
25069         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25070         into an #else block.
25072 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25074         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25075         just Linux configurations.  Test empirically that the compiler sets
25076         __ARM_EABI__, rather than using the tuple to decide.
25077         * sysdeps/arm/preconfigure: Regenerated.
25078         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25079         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25080         contents appended ...
25081         * sysdeps/arm/configure.ac: ... here.
25082         * sysdeps/arm/configure: Regenerated.
25084 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25086         * nptl/pthread_kill.c: New file.
25087         * nptl/pthread_sigmask.c: New file.
25088         * nptl/pthread_sigqueue.c: New file.
25090         * sysdeps/nptl/lowlevellock.h: New file.
25091         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25092         * sysdeps/nptl/lowlevellock-futex.h: New file.
25094         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25095         Remove dead declarations.
25097 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25099         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25100         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25101         config-cflags-avx2.
25102         * sysdeps/x86_64/configure.ac: Likewise.
25103         * sysdeps/i386/configure: Regenerated.
25104         * sysdeps/x86_64/configure: Likewise.
25105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25106         memset-avx2 only if config-cflags-avx2 is yes.
25107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25108         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25109         defined.
25110         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25111         only if HAVE_AVX2_SUPPORT is defined.
25112         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25114 2014-07-14  Alan Modra  <amodra@gmail.com>
25116         [BZ #17153]
25117         * elf/elf.h (DT_PPC64_NUM): Correct value.
25118         * NEWS: Add to fixed bug list.
25120 2014-07-13  Jim Meyering  <meyering@fb.com>
25122         [BZ 17150]
25123         regex: don't deref NULL upon heap allocation failure
25124         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25125         failure in one more place.
25126         To trigger the segfault, configure grep -with-included-regex,
25127         build it, and run these commands:
25128         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25130 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25132         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25134 2014-07-11  Richard Henderson  <rth@redhat.com>
25136         * sysdeps/aarch64/libm-test-ulps: Update.
25138 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25140         [BZ #17135]
25141         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25142         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25143         (__nptl_setxid): Initialize error member.  Call
25144         __nptl_setxid_error.
25145         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25146         * nptl/descr.h (struct xid_command): Add error member.
25147         * nptl/tst-setuid3.c: New file.
25148         * nptl/Makefile (tests): Add it.
25150 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25153         New define.
25154         (__lll_trylock): Use __lll_base_trylock.
25155         (__lll_cond_trylock): Likewise.
25157 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25159         * nptl/pthread_create.c (start_thread): Use atomic_or and
25160         lll_futex_wake directly rather than lll_robust_dead.
25161         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25162         (lll_robust_dead): Macro removed.
25163         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25164         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25165         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25166         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25167         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25168         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25169         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25170         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25171         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25173         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25174         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25175         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25176         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25179         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25180         Use atomic_compare_and_exchange_val_acq directly rather than
25181         lll_robust_trylock.
25182         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25183         (__lll_robust_trylock, lll_robust_trylock): Removed.
25184         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25185         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25186         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25187         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25188         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25189         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25190         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25191         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25192         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25193         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25194         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25195         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25196         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25197         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25199 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25201         * manual/locale.texi (Locale Names): New section documenting
25202         locale name syntax.  Adjust menu and node chaining accordingly.
25203         (Choosing Locale): Reference Locale Names, Locale Categories.
25204         Mention setting LC_ALL=C.  Reflect that name syntax is now
25205         documented.
25206         (Locale Categories): New section title.  Reference Locale Names.
25207         LC_ALL is an environment variable, but not a category.
25208         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25209         description, now in Locale Name.  Reference that section.  Locale
25210         name syntax is now documented.
25212 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25214         [BZ #17137]
25215         * locale/findlocale.c (name_present, valid_locale_name): New
25216         functions.
25217         (_nl_find_locale): Use the loc_name variable to store name
25218         candidates.  Call name_present and valid_locale_name to check and
25219         validate locale names.  Return an error if the locale is invalid.
25221 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25223         * locale/setlocale.c (setlocale): Use strdup for allocating
25224         composite name copy.
25226 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25228         Sync up with gnulib.
25229         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25230         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25231         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25232         and _GL_ARG_NONNULL.
25233         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25234         [!_LIBC]: Include code for Windows and Cygwin.
25235         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25236         Include prototype for int strerror_r.
25237         [!_LIBC] (is_open): New function.
25238         (flush_stdout): New function.
25239         (print_errno_message): Use it.
25240         (error): Likewise.
25241         (error_at_line): Likewise.
25242         (error_tail) Add function attribute macros.  Use
25243         __builtin_expect.
25245         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25247         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25249         * io/ftw.c: Include sys/param.h unconditionally.
25251         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25253         [BZ #17125]
25254         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25255         libc_freeres_ptr.
25256         (freecache): New function to free CACHE on exit.
25258         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25259         initialization.
25261 2014-07-09  David S. Miller  <davem@davemloft.net>
25263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25265         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25266         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25267         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25268         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25269         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25270         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25271         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25272         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25273         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25274         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25275         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25276         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25277         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25279 2014-07-09  Andreas Schwab  <schwab@suse.de>
25281         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25282         output.
25283         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25284         (do_test): Likewise.
25286         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25288 2014-07-09  Will Newton  <will.newton@linaro.org>
25290         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25291         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25292         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25293         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25294         * sysdeps/hppa/start.S (_start): Likewise.
25296 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25298         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25300         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25301         defined.
25303 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25305         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25306         after checking that it is non-NULL.
25308         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25310 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25312         * sysdeps/powerpc/memmove.c: Remove file.
25313         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25314         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25316         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25318         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25319         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25320         string memmove instead of removed powerpc one.
25322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25323         [weak_alias]: Fix compiler warning due trailing data.
25324         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25325         [weak_alias]: Likewise.
25326         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25327         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25330         (__libc_ifunc_impl_list): Add memmove functions.
25332 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25334         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25335         Remove code.
25336         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25337         Likewise.
25338         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25339         Likewise.
25340         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25341         Likewise.
25342         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25343         Likewise.
25344         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25345         Likewise.
25346         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25347         Likewise.
25348         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25349         Likewise.
25350         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25351         Likewise.
25352         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25353         Likewise.
25354         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25355         Likewise.
25356         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25357         Likewise.
25358         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25359         Likewise.
25360         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25361         Likewise.
25362         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25363         Likewise.
25364         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25365         Likewise.
25366         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25367         Likewise.
25369 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25371         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25372         to avoid alignment traps in non-cacheable memory.
25373         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25376         multiarch objects.
25377         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25378         file: multiarch power7 memmove.
25379         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25380         multiarch default memmove.
25381         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25382         multiarch memove for powerpc32/power4.
25384         * string/bcopy.c: Use full path to include memmove.c.
25385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25386         multiarch objects.
25387         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25388         bcopy for powerpc64.
25389         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25390         bcopy for powerpc64.
25391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25392         and memmove implementations.
25393         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25394         optimized multiarch memmove for POWER7/powerpc64.
25395         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25396         default multiarch memmove for powerpc64.
25397         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25398         multiarch for powerpc64.
25399         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25400         for POWER7/powerpc64.
25401         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25402         memmove for POWER7/powerpc64.
25404         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25405         glibc default one.
25407         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25408         __ELF_NATIVE_CLASS equal to 64.
25410 2014-07-07  Roland McGrath  <roland@hack.frob.com>
25412         * sysdeps/nptl/lowlevellock.h: File removed.
25414         * NEWS: NPTL is no longer an add-on!
25415         * nptl/internaltypes.h: Moved ...
25416         * sysdeps/nptl/internaltypes.h: ... here.
25417         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25418         * sysdeps/nptl/fork.c: Likewise.
25419         * sysdeps/nptl/gai_misc.h: Likewise.
25420         * sysdeps/nptl/librt-cancellation.c: Likewise.
25421         * sysdeps/nptl/jmp-unwind.c: Likewise.
25422         * sysdeps/nptl/setxid.h: Likewise.
25423         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25424         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25425         * sysdeps/unix/sysv/linux/arm/Implies: New file.
25426         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25427         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25428         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25429         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25430         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25431         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25432         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25433         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25434         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25435         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25436         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25437         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25438         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25439         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25440         * nptl/Makeconfig: Moved ...
25441         * sysdeps/nptl/Makeconfig: ... here.
25442         * nptl/configure: File removed.
25443         * nptl/ANNOUNCE: File removed.
25444         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25445         * sysdeps/unix/sysv/linux/configure: Regenerated.
25447         * nptl/Makefile (routines): Add libc_pthread_init,
25448         libc_multiple_threads, register-atfork and unregister-atfork.
25449         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25450         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25451         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25452         pthread-pi-defines.sym, structsem.sym.
25453         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25454         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25455         [$(subdir) = nptl] (tests): Add tst-setgetname.
25456         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25457         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25458         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25459         [!LIBC_SIGACTION]: Remove aliases.
25460         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25461         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25462         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25463         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25464         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25465         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25466         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25467         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25468         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25469         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25470         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25471         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25472         __libc_allocate_rtsig_private.
25473         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25474         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25475         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25476         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25477         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25478         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25479         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25480         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25481         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25482         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25483         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25484         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25485         * nptl/internaltypes.h: ... here.
25486         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25487         * sysdeps/nptl/jmp-unwind.c: ... here.
25488         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25489         * nptl/libc-lowlevellock.c: ... here.
25490         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25491         * nptl/libc_multiple_threads.c: ... here.
25492         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25493         * nptl/libc_pthread_init.c: ... here.
25494         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25495         * nptl/lowlevelbarrier.sym: ... here.
25496         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25497         * nptl/lowlevelcond.sym: ... here.
25498         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25499         * nptl/lowlevellock.c: ... here.
25500         * nptl/lowlevellock.h: Moved ...
25501         * sysdeps/nptl/lowlevellock.h: ... here.
25502         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25503         * nptl/lowlevelrobustlock.c: ... here.
25504         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25505         * nptl/lowlevelrobustlock.sym: ... here.
25506         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25507         * nptl/lowlevelrwlock.sym: ... here.
25508         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25509         * nptl/pt-fork.c: ... here.
25510         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25511         * nptl/pthread-pi-defines.sym: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25513         * nptl/pthread_attr_getaffinity.c: ... here.
25514         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25515         * nptl/pthread_attr_setaffinity.c: ... here.
25516         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25517         * nptl/pthread_mutex_cond_lock.c: ... here.
25518         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25519         Update #include.
25520         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25521         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25522         * nptl/pthread_once.c: ... here, replacing old file.
25523         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25524         * nptl/pthread_yield.c: ... here.
25525         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25526         * nptl/register-atfork.c: ... here.
25527         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25528         * nptl/sem_post.c: ... here.
25529         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25530         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25531         * nptl/sem_timedwait.c: ... here.
25532         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25533         * nptl/sem_trywait.c: ... here.
25534         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25535         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25536         * nptl/sem_wait.c: ... here.
25537         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25538         * nptl/structsem.sym: ... here.
25539         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25540         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25541         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25542         * nptl/unregister-atfork.c: ... here.
25543         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25544         * nptl/unwindbuf.sym: ... here.
25545         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25546         * sysdeps/nptl/fork.c: ... here.
25547         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25548         * sysdeps/nptl/fork.h: ... here.
25549         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25550         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25551         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25552         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25553         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25554         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25555         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25556         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25557         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25558         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25559         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25560         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25561         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25563         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25564         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25565         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25566         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25567         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25568         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25569         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25571         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25572         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25573         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25574         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25575         * sysdeps/unix/sysv/linux/raise.c: ... here.
25576         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25577         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25578         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25579         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25580         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25581         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25582         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25583         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25584         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25585         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25586         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25587         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25588         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25589         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25590         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25592 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25594         * sysdeps/generic/memcopy.h: Add comment for
25595         MEMCPY_OK_FOR_FWD_MEMMOVE.
25597 2014-07-04  Will Newton  <will.newton@linaro.org>
25599         * string/memchr.c: Merge from gnulib.
25600         [_LIBC]: Remove conditionals.
25601         (__ptr_t): Remove define.
25602         (LONG_MAX_32_BITS): Likewise.
25603         (LONG_MAX): Likewise.
25604         (MEMCHR): Use ANSI prototype and optimize algorithm.
25606         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25608 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25610         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25611         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25613         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25614         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25615         in a bare environment with no <stdlib.h> installed.
25616         * sysdeps/nptl/configure: Regenerated.
25618         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25620         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25621         AC_EGREP_CPP for kernel header checks, so they only succeed if
25622         including <linux/version.h> actually works right.
25623         * sysdeps/unix/sysv/linux/configure: Regenerated.
25625         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25626         value so it's not diagnosed as unused.
25628         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25629         thing) with "ifeq ($(subdir),rt)".
25631 2014-07-03  Richard Henderson  <rth@redhat.com>
25633         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25634         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25635         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25637         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25638         (math_force_eval): New.
25640         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25641         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25643         * sysdeps/alpha/fpu/s_round.c: Remove file.
25644         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25646         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25647         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25648         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25649         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25650         (_dl_start, print_statistics): Likewise.
25651         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25652         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25654         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25655         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25656         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25657         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25659         (HP_SMALL_TIMING_AVAIL): Define.
25660         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25661         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25662         (HP_SMALL_TIMING_AVAIL): Define.
25663         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25664         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25666         * sysdeps/aarch64/hp-timing.h: New file.
25668         * sysdeps/generic/hp-timing.h: Remove dead comment.
25669         * sysdeps/generic/hp-timing-common.h: New file.
25670         * sysdeps/alpha/hp-timing.h: Include it.
25671         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25672         * sysdeps/i386/i686/hp-timing.h: Likewise.
25673         * sysdeps/ia64/hp-timing.h: Likewise.
25674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25675         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25676         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25677         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25678         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25679         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25680         (hp_timing_t): New.
25682         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25683         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25684         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25685         * elf/rtld.c (_dl_start_final): Likewise.
25686         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25687         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25688         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25689         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25690         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25691         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25692         (HP_TIMING_DIFF_INIT): Remove.
25693         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25694         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25695         (HP_TIMING_DIFF_INIT): Remove.
25696         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25697         * sysdeps/i386/i686/hp-timing.c: Remove file.
25698         * sysdeps/x86_64/hp-timing.c: Remove file.
25699         * sysdeps/ia64/hp-timing.c: Remove file.
25700         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25701         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25702         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25703         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25705         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25706         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25707         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25708         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25710         (HP_TIMING_ACCUM): Remove.
25711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25713         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25715         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25716         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25717         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25718         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25719         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25720         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25721         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25722         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25724         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25726 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25728         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25730 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25732         Sync up with gettext.
25733         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25734         [_MSC_VER]: Include malloc.h
25735         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25736         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25737         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25738         TEMP_FAILURE_RETRY.  Cast return of alloca.
25739         [!_LIBC] Call gl_rwlock_init.
25740         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25742 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25744         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25745         before checking its value.
25747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25749         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25751         * debug/memcpy_chk.c: Don't include pagecopy.h.
25752         * debug/mempcpy_chk.c: Likewise.
25753         * string/memcpy.c: Likewise.
25754         * string/memmove.c: Likewise.
25755         * sysdeps/powerpc/memmove.c: Likewise.
25756         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25757         definition of PAGE_COPY_FWD_MAYBE here...
25758         * sysdeps/generic/pagecopy.h: ... from here.
25759         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25761 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25762             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25764         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25766         optimizations.
25767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25768         (__libc_ifunc_impl_list): Likewise.
25769         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25770         multiarch strcat for PPC64.
25771         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25772         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25774 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25776         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25778 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25780         * intl/loadmsgcat.c: Remove declaration of
25781         get_sysdep_segment_value.
25782         (get_sysdep_segment_value): Use ISO C style.
25783         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25784         semicolon.  Fix typo and formatting in comment.
25785         (_nl_unload_domain): Use ISO C style.
25787         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25789 2014-07-02  Will Newton  <will.newton@linaro.org>
25791         * malloc/obstack.c: Merge from gnulib master.
25792         [HAVE_CONFIG_H]: Remove conditional code.
25793         [!_LIBC]: Include config.h.
25794         [!ELIDE_CODE]: Don't include inttypes.h, include
25795         stdint.h unconditionally.
25796         (print_and_abort): Mark as _Noreturn.
25797         (_obstack_allocated_p): Mark as __attribute_pure__.
25798         (obstack_free): Rename to __obstack_free.
25799         [!__attribute__]: Remove conditional code.
25800         * malloc/obstack.h: Merge from gnulib master.
25801         [__cplusplus]: Move conditional down.
25802         [!__attribute_pure__]: Define __attribute_pure__ here
25803         if it is not already defined.
25804         (_obstack_memory_used): Mark as __attribute_pure__.
25805         [!__obstack_free]: Define as obstack_free.
25806         [__GNUC__]: Remove check for ancient NeXT gcc.
25808 2014-07-02  Will Newton  <will.newton@linaro.org>
25809             Paul Eggert  <eggert@cs.ucla.edu>
25811         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25813 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25815         * resolv/gethnamaddr.c: Add comment warning that the file is
25816         not maintained.
25818 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25820         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25821         entries.
25823         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25824         entry for aio_cancel and aio_cancel64.
25825         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25826         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25827         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25828         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25829         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25830         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25831         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25832         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25833         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25834         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25835         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25836         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25837         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25839 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25841         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25842         * nptl/pthread_mutex_lock.c: Likewise.
25843         * nptl/pthread_mutex_timedlock.c: Likewise.
25844         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25846 2014-07-01  Richard henderson  <rth@redhat.com>
25848         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25849         (__isnan, __isnanl): Remove.
25850         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25852         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25854 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25856         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25858 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25860         * resolv/nss_dns/dns-host.c (getanswer_r)
25861         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25863 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25866         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25867         undefine.
25868         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25869         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25871 2014-07-01  Roland McGrath <roland@hack.frob.com>
25873         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25874         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25876         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25877         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25879         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25880         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25881         ... here.
25882         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25883         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25885         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25886         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25887         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25888         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25890         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25891         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25892         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25893         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25894         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25895         Moved ...
25896         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25897         ... here.
25898         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25899         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25900         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25901         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25902         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25903         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25904         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25905         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25906         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25907         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25908         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25909         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25910         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25911         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25912         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25913         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25914         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25915         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25916         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25917         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25918         ... here.
25919         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25920         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25921         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25922         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25923         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25924         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25925         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25926         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25928 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25930         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25931         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25932         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25933         Add sysdep.
25935 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25939 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25941         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25942         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25944         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25946         * sysdeps/arm/libm-test-ulps: Regenerated.
25948 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25949             Roland McGrath <roland@hack.frob.com>
25951         * test-skeleton.c (signal_handler): Kill the whole process group
25952         before killing the child individually.
25953         (main): Report any failure on `setpgid'.
25955 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25957         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25958         from _TLS_H to _ARM_NPTL_TLS_H.
25959         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25960         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25962 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25964         [BZ #16539]
25965         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25966         (__expm1l): Return argument unchanged when small but not
25967         subnormal.
25969         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25970         include macro name.
25971         (_FP_UNPACK_RAW_1_P): Likewise.
25972         (_FP_PACK_RAW_1): Likewise.
25973         (_FP_PACK_RAW_1_P): Likewise.
25974         (_FP_MUL_MEAT_1_wide): Likewise.
25975         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25976         (_FP_MUL_MEAT_1_hard): Likewise.
25977         (_FP_DIV_MEAT_1_imm): Likewise.
25978         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25979         (_FP_DIV_MEAT_1_udiv): Likewise.
25980         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25981         (_FP_UNPACK_RAW_2): Likewise.
25982         (_FP_UNPACK_RAW_2_P): Likewise.
25983         (_FP_PACK_RAW_2): Likewise.
25984         (_FP_PACK_RAW_2_P): Likewise.
25985         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25986         (_FP_MUL_MEAT_2_wide): Likewise.
25987         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25988         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25989         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25990         (_FP_MUL_MEAT_2_gmp): Likewise.
25991         (_FP_DIV_MEAT_2_udiv): Likewise.
25992         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25993         (_FP_FRAC_SRL_4): Likewise.
25994         (_FP_FRAC_SRST_4): Likewise.
25995         (_FP_FRAC_SRS_4): Likewise.
25996         (_FP_UNPACK_RAW_4): Likewise.
25997         (_FP_UNPACK_RAW_4_P): Likewise.
25998         (_FP_PACK_RAW_4): Likewise.
25999         (_FP_PACK_RAW_4_P): Likewise.
26000         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26001         (_FP_MUL_MEAT_4_wide): Likewise.
26002         (_FP_MUL_MEAT_4_gmp): Likewise.
26003         (umul_ppppmnnn): Likewise.
26004         (_FP_DIV_MEAT_4_udiv): Likewise.
26005         (__FP_FRAC_ADD_4): Likewise.
26006         (__FP_FRAC_SUB_3): Likewise.
26007         (__FP_FRAC_SUB_4): Likewise.
26008         (__FP_FRAC_DEC_3): Likewise.
26009         (__FP_FRAC_DEC_4): Likewise.
26010         (__FP_FRAC_ADDI_4): Likewise.
26011         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26012         (_FP_FRAC_SRL_8): Likewise.
26013         (_FP_FRAC_SRS_8): Likewise.
26015         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26016         include macro name.
26017         (FP_UNPACK_RAW_EP): Likewise.
26018         (FP_PACK_RAW_E): Likewise.
26019         (FP_PACK_RAW_EP): Likewise.
26020         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26021         (_FP_ISSIGNAN): Likewise.
26022         (_FP_ADD_INTERNAL): Likewise.
26023         (_FP_FMA): Likewise.
26024         (_FP_CMP): Likewise.
26025         (_FP_SQRT): Likewise.
26026         (_FP_TO_INT): Likewise.
26027         (_FP_FROM_INT): Likewise.
26028         (FP_EXTEND): Likewise.
26029         (_FP_DIV_MEAT_N_loop): Likewise.
26031 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26033         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26034         throughout.
26036 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26038         [BZ #17097]
26039         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26040         result with correct sign in case of exponents that produce
26041         overflow except for X very close to 1.
26043 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26045         mktime: merge #if/#ifdef usage from glibc
26046         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26047         as that works with both Glibc's and Gnulib's style.
26048         See thread starting at Siddhesh Poyarekar's bug report at:
26049         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26051 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26053         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26054         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26055         * sysdeps/tile/tilegx/memmove.c: Remove file.
26057 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26059         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26060         abi-name definition.
26061         * scripts/soversions.awk: Do not handle or generate ABI lines.
26062         * shlib-versions: Remove ABI entries.
26063         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26064         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26066 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26069         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26070         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26071         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26073         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26075         Moved ...
26076         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26077         ... here.
26078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26079         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26081         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26083         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26085         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26089         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26091         Moved ...
26092         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26094         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26096         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26098         Moved ...
26099         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26101         Moved ...
26102         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26104         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26106         Moved ...
26107         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26111         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26113         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26115         Moved ...
26116         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26118         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26119         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26120         Moved ...
26121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26123         Moved ...
26124         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26125         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26126         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26128         Moved ...
26129         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26130         ... here.
26131         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26132         Identical file removed.
26133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26134         Moved ...
26135         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26137         Identical file removed.
26138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26139         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26141         Moved ...
26142         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26144         Identical file removed.
26145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26146         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26147         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26148         Identical file removed.
26149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26150         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26152         Identical file removed.
26153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26154         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26155         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26156         Identical file removed.
26157         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26158         Moved ...
26159         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26161         Identical file removed.
26162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26163         Moved ...
26164         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26165         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26166         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26168         Identical file removed.
26169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26170         Moved ...
26171         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26172         ... here.
26173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26174         Identical file removed.
26175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26176         Moved ...
26177         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26179         Identical file removed.
26180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26181         Moved ...
26182         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26184         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26186         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26188         Moved ...
26189         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26190         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26191         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26193         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26194         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26195         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26196         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26197         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26199 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26201         [BZ #17092]
26202         * nscd/nscd.c (monitor_child): Return exit status of child
26203         instead of return value from wait syscall.
26205 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26207         * configure.ac (libc_commonpagesize): Remove variable.
26208         (libc_relro_required): Likewise.
26209         (libc_cv_z_relro): Remove configure test.
26210         * configure: Regenerated.
26211         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26212         variable.
26213         (libc_relro_required): Likewise.
26214         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26215         (libc_relro_required): Likewise.
26216         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26217         (libc_relro_required): Likewise.
26218         * sysdeps/arm/preconfigure: Regenerated.
26219         * sysdeps/ia64/preconfigure: Remove file.
26220         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26221         variable.
26222         (libc_relro_required): Likewise.
26224         [BZ #16561]
26225         [BZ #16562]
26226         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26227         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26228         recompute overflowing results in original rounding mode.
26229         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26230         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26231         recompute overflowing results in original rounding mode.
26232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26233         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26234         recompute overflowing results in original rounding mode.
26235         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26236         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26237         recompute overflowing results in original rounding mode.
26238         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26239         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26240         recompute overflowing results in original rounding mode.
26241         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26242         (libc_feholdsetround_ctx): New macro.
26243         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26244         * sysdeps/i386/fpu/libm-test-ulps: Update.
26245         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26247 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26249         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26250         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26251         corresponding .cpsetup call.
26253 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26255         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26256         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26257         * sysdeps/arm/Makefile [$(subdir) = csu]
26258         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26259         (static-only-routines): Add aeabi_read_tp here.
26260         (shared-only-routines): Add libc-aeabi_read_tp here.
26261         (CFLAGS-libc-start.c): Add -fexceptions here.
26262         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26263         (sysdep_routines, static-only-routines, shared-only-routines):
26264         Don't add to these here.
26265         (CFLAGS-libc-start.c): Likewise.
26267         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26268         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26269         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26270         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26271         * sysdeps/arm/Makefile [$(subdir) = rt]
26272         (librt-sysdep_routines, librt-shared-only-routines):
26273         Append rt-aeabi_unwind_cpp_pr1 here.
26274         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26275         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26276         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26277         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26278         Append nptl-aeabi_unwind_cpp_pr1 here.
26279         (tests): Filter out tst-cleanupx4 here.
26280         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26281         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26282         Don't do those here.
26284 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26286         * scripts/list-sources.sh: Do not handle ports specially.
26288 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26290         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26291         * sysdeps/arm/feupdateenv.c: Likewise.
26293         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26295 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26297         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26298         trailing whitespace removed.
26299         * scripts/config.guess: Update to version 2014-03-23.
26300         * scripts/config.sub: Update to version 2014-05-01
26301         * scripts/install-sh: Update to version 2013-12-25.23.
26302         * scripts/move-if-change: Update from gnulib.
26304 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26306         * debug/memmove_chk.c: Remove pagecopy.h include.
26308 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26310         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26311         identical to gnulib mktime.
26313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26315         * configure.ac: Do not test for machine being rs6000.  Do not test
26316         for powerpc*-*soft.
26317         * configure: Regenerated.
26319         [BZ #11505]
26320         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26321         test.
26322         * configure: Regenerated.
26323         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26324         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26325         Remove configure test.
26326         * sysdeps/arm/configure: Regenerated.
26327         * sysdeps/nptl/configure.ac: Do not check
26328         libc_cv_asm_cfi_directives.
26329         * sysdeps/nptl/configure: Regenerated.
26330         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26331         * sysdeps/x86_64/nptl/configure: Remove generated file.
26332         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26333         unconditional.
26334         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26336 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26338         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26339         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26340         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26341         it is defined.
26343         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26344         instead of whether it is defined.
26345         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26346         * sysdeps/hppa/dl-machine.h: Likewise.
26347         * sysdeps/ia64/dl-machine.h: Likewise.
26348         * sysdeps/m68k/dl-machine.h: Likewise.
26349         * sysdeps/microblaze/dl-machine.h: Likewise.
26350         * sysdeps/mips/dl-machine.: Likewise.
26351         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26352         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26353         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26354         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26355         * sysdeps/sh/dl-machine.h: Likewise.
26356         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26357         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26358         * sysdeps/tile/dl-machine.h: Likewise.
26359         * sysdeps/x86_64/dl-machine.h: Likewise.
26361         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26362         code.
26363         (verify_persistent_db): Likewise.
26365 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26368         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26370         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26372         Moved ...
26373         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26374         ... here.
26375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26376         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26378         Identical file removed.
26379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26380         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26382         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26384         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26386         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26388         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26390         Moved ...
26391         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26393         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26395         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26397         Moved ...
26398         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26400         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26402         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26404         Identical file removed.
26405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26406         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26408         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26410         Moved ...
26411         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26412         ... here.
26413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26414         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26416         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26418         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26420         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26422         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26424         Moved ...
26425         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26427         Moved ...
26428         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26430         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26432         Moved ...
26433         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26435         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26437         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26438         folded into ...
26439         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26440         * sysdeps/unix/sysv/linux/s390/Versions
26441         (libpthread: GLIBC_2.19): New version set.
26442         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26443         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26444         (librt: GLIBC_2.3.3): New version set.
26445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26446         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26447         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26448         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26449         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26450         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26451         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26452         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26453         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26455         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26456         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26457         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26458         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26459         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26460         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26461         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26462         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26463         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26464         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26465         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26466         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26467         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26468         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26469         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26470         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26471         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26472         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26473         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26474         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26475         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26476         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26481         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26483         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26485         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26487         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26489         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26491         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26492         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26493         (__libc_vfork): Define the function under this name.
26494         [!NOT_IN_libc] (__vfork): Make this an alias.
26495         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26497         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26498         (__libc_vfork): Define the function under this name.
26499         [!NOT_IN_libc] (__vfork): Make this an alias.
26500         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26501         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26502         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26504         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26505         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26507         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26508         code that was previously under [RESET_PID].
26509         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26510         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26513         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26514         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26515         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26516         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26517         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26518         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26519         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26520         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26521         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26522         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26523         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26524         Moved ...
26525         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26526         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26527         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26528         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26529         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26530         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26531         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26532         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26533         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26534         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26535         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26537         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26539         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26540         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26541         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26542         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26543         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26544         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26545         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26546         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26547         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26548         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26549         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26550         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26551         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26552         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26553         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26555 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26557         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26558         that was previously under [RESET_PID].
26559         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26561 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26563         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26564         not undefine and redefine.
26565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26566         [O_CLOEXEC]: Make code unconditional.
26567         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26568         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26569         <kernel-features.h>.
26570         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26571         conditional variable definition.
26572         (shm_open) [O_CLOEXEC]: Make code unconditional.
26573         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26574         code.
26576         * configure.ac (USE_REGPARMS): Don't define here.
26577         * configure: Regenerated.
26578         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26579         * sysdeps/i386/configure: Regenerated.
26581         * nptl/createthread.c: Don't include kernel-features.h.
26582         * nptl/pthread_cancel.c: Likewise.
26583         * nptl/pthread_condattr_setclock.c: Likewise.
26584         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26585         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26586         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26587         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26588         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26589         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26590         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26593         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26594         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26595         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26596         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26597         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26598         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26599         * nscd/gai.c: Likewise.
26600         * nss/nss_db/db-open.c: Likewise.
26601         * sysdeps/generic/ldsodefs.h: Likewise.
26602         * sysdeps/sh/nptl/tls.h: Likewise.
26603         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26604         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26605         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26606         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26607         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26608         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26609         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26610         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26611         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26612         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26613         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26614         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26615         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26616         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26617         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26618         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26619         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26620         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26621         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26622         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26625         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26626         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26630         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26631         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26632         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26633         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26634         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26635         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26636         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26637         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26638         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26639         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26640         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26641         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26642         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26643         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26644         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26645         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26646         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26647         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26648         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26649         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26650         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26651         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26652         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26653         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26654         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26655         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26656         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26657         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26658         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26659         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26660         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26683         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26684         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26685         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26686         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26687         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26688         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26689         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26690         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26691         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26692         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26693         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26694         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26695         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26696         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26697         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26698         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26699         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26700         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26701         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26702         * sysdeps/unix/sysv/linux/system.c: Likewise.
26703         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26704         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26705         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26706         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26707         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26708         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26709         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26711         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26712         * configure: Regenerated.
26713         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26715         * configure.ac (base_machine): Do not set specially for particular
26716         machines here.
26717         * configure: Regenerated.
26718         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26719         settings from configure.ac.
26720         * sysdeps/i386/preconfigure: New file.
26721         * sysdeps/s390/preconfigure: Likewise.
26722         * sysdeps/sh/preconfigure: Likewise.
26723         * sysdeps/sparc/preconfigure: Likewise.
26725 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26727         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26728         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26729         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26730         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26731         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26732         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26733         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26734         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26735         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26736         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26737         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26738         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26739         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26741         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26742         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26743         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26744         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26745         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26747         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26748         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26749         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26750         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26751         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26752         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26753         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26754         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26755         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26756         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26757         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26758         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26759         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26760         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26761         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26762         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26763         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26764         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26765         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26766         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26767         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26768         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26769         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26770         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26771         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26772         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26773         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26774         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26775         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26776         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26777         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26778         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26779         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26780         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26781         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26782         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26783         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26784         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26787         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26789         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26791         Moved ...
26792         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26793         ... here.
26794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26795         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26797         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26799         Moved ...
26800         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26802         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26808         Moved ...
26809         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26811         Moved ...
26812         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26816         Moved ...
26817         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26819         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26821         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26823         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26825         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26827         Moved ...
26828         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26829         ... here.
26830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26831         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26833         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26835         Moved ...
26836         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26838         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26840         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26842         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26844         Moved ...
26845         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26847         Moved ...
26848         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26850         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26852         Moved ...
26853         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26855         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26857         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26859 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26861         * timezone/checktab.awk: Update from tzcode 2014e.
26862         * timezone/private.h: Likewise.
26863         * timezone/tzfile.h: Likewise.
26864         * timezone/zdump.c: Likewise.
26865         * timezone/zic.c: Likewise.
26867         * sysdeps/unix/sysv/linux/kernel-features.h
26868         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26869         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26870         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26871         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26872         Remove conditional code.
26874 2014-06-25  Will Newton  <will.newton@linaro.org>
26876         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26877         (_dl_arm_cap_flags): Add HWCAP2 values.
26878         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26879         (_DL_HWCAP_COUNT): Increase to 37.
26880         (_DL_HWCAP_LAST): New define.
26881         (_DL_HWCAP2_LAST): New define.
26882         (_dl_procinfo): Add support for printing
26883         AT_HWCAP2 entries.
26884         (_dl_string_hwcap): Use _dl_hwcap_string.
26886 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26890 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26892         * README: Do not mention ports directory.
26894         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26895         Remove macro.
26896         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26897         <kernel-features.h>.
26898         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26899         conditional variable definition.
26900         (__futimes): Update comment.
26901         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26902         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26904         [BZ #16560]
26905         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26906         arguments close to 0.
26907         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26908         Likewise.
26909         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26910         Likewise.
26911         * math/auto-libm-test-in: Add more tests of exp10.
26912         * math/auto-libm-test-out: Regenerated.
26913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26915         * sysdeps/unix/sysv/linux/kernel-features.h
26916         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26917         * sysdeps/unix/sysv/linux/readv.c: Do not include
26918         <kernel-features.h>.
26919         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26920         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26921         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26922         unconditional.
26923         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26924         conditional code.
26925         * sysdeps/unix/sysv/linux/writev.c: Do not include
26926         <kernel-features.h>.
26927         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26928         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26929         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26930         unconditional.
26931         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26932         conditional code.
26934 2014-06-25  Will Newton  <will.newton@linaro.org>
26936         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26937         comment changes throughout the file.  Remove checks
26938         for HAVE_*_H definitions that are not required.
26939         (__gen_tempname): Call abort if an unknown kind value is
26940         passed.
26942 2014-06-25  Andreas Schwab  <schwab@suse.de>
26944         [BZ #17086]
26945         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26946         scalbln, scalblnf, scalblnl in libc.
26948 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26950         [BZ #17086]
26951         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26952         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26953         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26955 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26957         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26958         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26959         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26960         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26961         Update #include.
26962         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26963         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26964         Update #include.
26965         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26966         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26967         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26968         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26969         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26970         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26971         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26972         * sysdeps/x86/bits/semaphore.h: ... here.
26973         * sysdeps/x86/nptl/elide.h: Moved ...
26974         * sysdeps/x86/elide.h: ... here.
26975         * sysdeps/x86_64/nptl/Implies: File removed.
26976         * sysdeps/i386/nptl/Implies: File removed.
26978 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26980         [BZ #16539]
26981         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26982         return the argument for normal arguments with exponent below -64.
26983         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26984         Likewise.
26985         * math/auto-libm-test-in: Add another test of expm1.
26986         * math/auto-libm-test-out: Regenerated.
26988         [BZ #16287]
26989         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26990         calling __erfcl for arguments at least 16.
26991         * math/auto-libm-test-in: Add more tests of erf.
26992         * math/auto-libm-test-out: Regenerated.
26994         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26995         individual architectures.
26996         * sysdeps/unix/sysv/linux/configure: Regenerated.
26997         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26998         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26999         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27000         (ldd_rewrite_script): Define variable.
27001         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27003         file.
27004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27005         generated file.
27006         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27007         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27008         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27009         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27010         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27011         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27012         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27013         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27015 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27017         [BZ #17084]
27018         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27019         Rename member __data.d to __data.__elision_data.
27021 2014-06-24  Wilco  <wdijkstr@arm.com>
27023         * NEWS: Add 16918 to fixed bug list.
27025 2014-06-24  Wilco  <wdijkstr@arm.com>
27027         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27029 2014-06-24  Wilco  <wdijkstr@arm.com>
27031         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27032         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27033         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27034         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27035         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27036         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27037         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27038         Use _FPU_MASK_RM.
27040 2014-06-24  Wilco  <wdijkstr@arm.com>
27042         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27044 2014-06-24  Wilco  <wdijkstr@arm.com>
27046         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27047         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27048         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27049         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27051 2014-06-24  Wilco  <wdijkstr@arm.com>
27053         [BZ #16918]
27054         * sysdeps/arm/feupdateenv.c (feupdateenv):
27055         Rewrite to reduce FPSCR accesses and fix return value.
27057 2014-06-24  Wilco  <wdijkstr@arm.com>
27059         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27060         Optimize to avoid unnecessary FPSCR writes.
27061         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27062         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27063         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27064         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27066 2014-06-24  Wilco  <wdijkstr@arm.com>
27068         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27069         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27070         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27071         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27072         Call libc_fetestexcept_vfp.
27073         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27074         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27075         __SOFTFP__ ifdef so that they can be built for softfp.
27077 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27079         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27080         argument type signed char.
27082         * Makerules (check-abi): Dump diff of symlist if the test
27083         fails.
27085 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27087         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27088         using abort.
27090         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27091         Remove unused variable ST.
27093 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27095         [BZ #16354]
27096         [BZ #17061]
27097         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27098         small arguments before calling __expm1.
27099         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27100         small arguments before calling __expm1f.
27101         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27102         small arguments before calling __expm1l.
27103         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27104         Likewise.
27105         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27106         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27107         spurious underflow for some cosh tests.
27108         * math/auto-libm-test-out: Regenerated.
27109         * sysdeps/i386/fpu/libm-test-ulps: Update.
27111         [BZ #17050]
27112         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27113         (__ieee754_y1): Set errno if return value overflows.
27114         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27115         (__ieee754_y1f): Set errno if return value overflows.
27116         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27117         (__ieee754_y1l): Set errno if return value overflows.
27118         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27119         (__ieee754_y1l): Set errno if return value overflows.
27120         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27121         * math/auto-libm-test-out: Regenerated.
27123         * math/gen-auto-libm-tests.c: Document use of
27124         ignore-zero-inf-sign.
27125         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27126         (input_flags): Add ignore-zero-inf-sign.
27127         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27128         * math/gen-libm-test.pl (generate_testfile): Handle
27129         ignore-zero-inf-sign.
27130         * math/auto-libm-test-in: Mark some cpow tests with
27131         ignore-zero-inf-sign and some with xfail-rounding.
27132         * math/auto-libm-test-out: Regenerated.
27133         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27134         * sysdeps/i386/fpu/libm-test-ulps: Update.
27135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27137         [BZ #16315]
27138         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27139         overflowing or underflowing operations take place with sign of
27140         result.
27141         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27142         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27143         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27144         (__ieee754_pow): Recompute overflowing and underflowing results in
27145         original rounding mode.
27146         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27147         (__powl_helper): Allow negative argument X and scale negated value
27148         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27149         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27150         overflowing or underflowing operations take place with sign of
27151         result.
27152         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27153         Include <math.h>.
27154         * math/auto-libm-test-in: Add more tests of pow.
27155         * math/auto-libm-test-out: Regenerated.
27156         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27157         (pow_tonearest_test_data): Remove.
27158         (pow_test_tonearest): Likewise.
27159         (pow_towardzero_test_data): Likewise.
27160         (pow_test_towardzero): Likewise.
27161         (pow_downward_test_data): Likewise.
27162         (pow_test_downward): Likewise.
27163         (pow_upward_test_data): Likewise.
27164         (pow_test_upward): Likewise.
27165         (main): Don't call removed functions.
27166         * sysdeps/i386/fpu/libm-test-ulps: Update.
27167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27169 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27172         Moved ...
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27175         Moved ...
27176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27178         Moved ...
27179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27181         Moved ...
27182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27184         File removed.
27185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27186         File removed.
27187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27188         File removed.
27189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27190         File removed.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27192         File removed.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27194         File removed.
27195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27196         File removed.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27198         File removed.
27199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27200         File removed.
27201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27202         File removed.
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27204         File removed.
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27206         File removed.
27207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27208         Moved ...
27209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27211         Moved ...
27212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27213         ... here.
27214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27215         Moved ...
27216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27218         Moved ...
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27221         Moved ...
27222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27224         Moved ...
27225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27227         Moved ...
27228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27230         Moved ...
27231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27233         Moved ...
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27237         ... here.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27239         Moved ...
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27242         Moved ...
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27244         ... here.
27245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27246         Moved ...
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27248         ... here.
27249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27250         Moved ...
27251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27252         ... here.
27253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27254         Moved ...
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27257         Moved ...
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27262         Moved ...
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27264         ... here.
27265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27266         Moved ...
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27268         ... here.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27270         Moved ...
27271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27273         Moved ...
27274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27276         Moved ...
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27279         Moved ...
27280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27282         Moved ...
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27284         ... here.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27286         Moved ...
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27289         Moved ...
27290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27292         Moved ...
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27295         Moved ...
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27300         Moved ...
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27303         Moved ...
27304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27306         Moved ...
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27308         ... here.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27310         Moved ...
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27312         ... here.
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27314         Moved ...
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27316         ... here.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27318         Moved ...
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27321         Moved ...
27322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27324         Moved ...
27325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27327         Moved ...
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27329         ... here.
27330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27331         Moved ...
27332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27333         ... here.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27335         Moved ...
27336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27337         ... here.
27338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27339         Moved ...
27340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27342         Moved ...
27343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27345 2014-06-23  Will Newton  <will.newton@linaro.org>
27346             Wilco  <wdijkstr@arm.com>
27348         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27349         implementation.  Include get-rounding-mode.h.
27350         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27351         [!libc_feholdsetround_noex_ctx]: Define
27352         libc_feholdsetround_noex_ctx.
27353         [!libc_feholdsetround_noexf_ctx]: Define
27354         libc_feholdsetround_noexf_ctx.
27355         [!libc_feholdsetround_noexl_ctx]: Define
27356         libc_feholdsetround_noexl_ctx.
27357         (libc_feholdsetround_ctx): New function.
27358         (libc_feresetround_ctx): New function.
27359         (libc_feholdsetround_noex_ctx): New function.
27360         (libc_feresetround_noex_ctx): New function.
27362 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27364         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27365         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27366         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27367         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27368         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27369         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27372         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27373         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27374         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27375         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27376         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27378         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27380         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27382         Moved ...
27383         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27384         ... here.
27385         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27390         Moved ...
27391         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27393         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27395         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27397         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27398         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27399         Moved ...
27400         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27402         Moved ...
27403         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27405         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27407         Moved ...
27408         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27409         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27410         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27411         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27412         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27413         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27414         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27416         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27417         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27418         Moved ...
27419         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27420         ... here.
27421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27422         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27424         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27425         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27426         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27427         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27428         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27429         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27432         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27434         Moved ...
27435         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27436         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27437         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27439         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27440         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27441         Moved ...
27442         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27446         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27448         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27449         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27450         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27451         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27452         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27453         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27454         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27455         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27457         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27458         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27459         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27460         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27461         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27462         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27463         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27464         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27465         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27466         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27467         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27468         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27469         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27470         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27471         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27473         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27475         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27477 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27480         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27481         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27482         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27483         (IPV6_PMTUDISC_INTERFACE): Likewise.
27484         (IPV6_PMTUDISC_OMIT): Likewise.
27486 2014-06-23  Andreas Schwab  <schwab@suse.de>
27488         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27489         Remove unused errout label.
27491 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27493         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27494         macro: hardware supports Vector Crypto instructions.
27496 2014-06-23  Will Newton  <will.newton@linaro.org>
27498         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27499         rather than __builtin_expect.
27501         * elf/dl-lookup.c (undefined_msg): Remove variable.
27502         (_dl_lookup_symbol_x): Replace undefined_msg with string
27503         literal.
27505         * elf/dl-lookup.c (do_lookup_unique): New function.
27506         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27507         to a separate function.
27509 2014-06-23  Andreas Schwab  <schwab@suse.de>
27511         [BZ #17079]
27512         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27513         before reading the next line.
27515 2014-06-23  Will Newton  <will.newton@linaro.org>
27517         * test-skeleton.c (signal_handler): Use printf and %m
27518         rather than perror.  Use printf rather than fprintf to
27519         stderr.  Use puts rather than fputs to stderr.
27520         (main): Likewise.
27522 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27524         * nscd/nscd.c (thread_info_t): Remove typedef.
27525         (thread_info): Remove variable.
27527 2014-06-21  Allan McRae  <allan@archlinux.org>
27529         * NEWS: Mention CVE-2014-4043.
27531 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27533         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27534         * nptl/smp.h: ... here.
27536         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27538         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27539         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27540         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27541         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27543         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27544         * nptl/stack-aliasing.h: New file.
27545         * sysdeps/i386/i686/stack-aliasing.h: New file.
27546         * sysdeps/i386/i686/nptl/Makefile: File removed.
27547         * sysdeps/x86_64/stack-aliasing.h: New file.
27548         * sysdeps/x86_64/nptl/Makefile
27549         (CFLAGS-pthread_create.c): Variable removed.
27551         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27552         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27553         old file.
27554         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27555         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27556         old file.
27558 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27560         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27561         (__ASSUME_SIGFRAME_V2): Remove macro.
27562         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27563         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27564         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27565         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27566         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27567         Declare as function.  Remove conditional macro definitions.
27568         (__default_rt_sa_restorer): Likewise.
27569         (__default_sa_restorer_v1): Remove declaration.
27570         (__default_sa_restorer_v2): Likewise.
27571         (__default_rt_sa_restorer_v1): Likewise.
27572         (__default_rt_sa_restorer_v2): Likewise.
27573         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27574         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27575         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27577 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27579         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27580         (libpthread-routines): Add sysdep.
27581         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27582         * sysdeps/unix/sysv/linux/sparc/Versions
27583         (libpthread: GLIBC_2.3.3): New version set.
27584         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27585         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27586         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27587         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27588         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27589         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27590         Moved ...
27591         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27592         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27593         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27594         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27595         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27596         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27597         * sysdeps/sparc/nptl/sem_init.c: ... here.
27598         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27599         * sysdeps/sparc/nptl/sem_post.c: ... here.
27600         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27601         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27602         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27603         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27604         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27605         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27606         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27607         (libpthread-routines): Add cpu_relax.
27608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27609         File removed.
27610         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27611         (librt: GLIBC_2.3.3): New version set.
27612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27613         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27614         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27615         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27618         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27620         Moved ...
27621         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27623         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27625         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27627         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27629         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27631         Moved ...
27632         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27633         Update #include.
27634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27635         Moved ...
27636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27637         Update #include.
27638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27639         Moved ...
27640         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27641         Update #include.
27642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27643         Moved ...
27644         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27645         Update #include.
27646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27647         Moved ...
27648         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27649         Update #include.
27650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27651         Moved ...
27652         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27653         Update #include.
27654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27655         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27661         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27663         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27665         Moved ...
27666         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27668         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27670         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27672 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27674         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27675         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27676         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27677         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27678         * nscd/nscd.c: Likewise.
27679         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27680         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27681         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27682         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27684         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27685         <kernel-features.h>.
27686         (init_mq_netlink): Remove conditional have_sock_cloexec
27687         definitions.  Remove code conditional on have_sock_cloexec < 0.
27688         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27689         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27690         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27691         <kernel-features.h>.
27692         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27693         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27695 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27698         Add tests for memset_chk and memset.
27700         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27701         with AVX2_Usable.
27703 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27705         [BZ #16046]
27706         * elf/tst-dl-iter-static.c: New file.
27707         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27709         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27710         error.
27712 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27714         * sysdeps/unix/sysv/linux/kernel-features.h
27715         (__ASSUME_F_GETOWN_EX): Remove macro.
27716         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27717         <kernel-features.h>.
27718         (miss_F_GETOWN_EX): Remove variable or macro.
27719         (do_fcntl): Do not check miss_F_GETOWN_EX.
27720         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27723         Remove macro.
27724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27725         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27726         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27728         * sysdeps/unix/sysv/linux/kernel-features.h
27729         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27730         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27731         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27732         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27734 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27736         [BZ #17075]
27737         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27738         Fix calculation of the symbol's value.
27739         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27740         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27741         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27742         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27743         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27744         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27745         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27746         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27747         (modules-names): Add `tst-armtlsdescmod',
27748         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27749         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27750         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27751         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27752         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27753         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27754         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27755         ($(objpfx)tst-armtlsdescloc): New dependency.
27756         ($(objpfx)tst-armtlsdescextnow): Likewise.
27757         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27758         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27759         TLS scheme support.
27760         * sysdeps/arm/configure: Regenerate.
27762 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27764         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27765         (__atfct_seterrno_2): Likewise.
27766         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27767         <kernel-features.h>.
27768         (__ASSUME_ATFCTS): Do not undefine and redefine.
27769         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27770         (__have_atfcts): Remove conditional definition.
27771         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27772         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27773         unreachable if [__ASSUME_ATFCTS].
27774         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27775         not undefine and redefine.
27776         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27777         <kernel-features.h>.
27778         (faccessat) [__NR_faccessat]: Make code unconditional.
27779         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27780         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27781         <kernel-features.h>.
27782         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27783         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27784         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27785         <kernel-features.h>.
27786         (fchownat) [__NR_fchownat]: Make code unconditional.
27787         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27788         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27789         <kernel-features.h>.
27790         (futimesat) [__NR_futimesat]: Make code unconditional.
27791         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27792         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27793         <kernel-features.h>.
27794         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27795         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27796         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27797         <kernel-features.h>.
27798         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27799         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27800         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27801         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27802         <kernel-features.h>.
27803         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27804         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27805         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27806         <kernel-features.h>.
27807         (linkat) [__NR_linkat]: Make code unconditional.
27808         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27809         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27810         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27811         <kernel-features.h>.
27812         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27813         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27814         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27815         <kernel-features.h>.
27816         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27817         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27818         * sysdeps/unix/sysv/linux/openat.c: Do not include
27819         <kernel-features.h>.
27820         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27821         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27822         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27823         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27824         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27825         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27826         <kernel-features.h>.
27827         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27828         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27829         result of INLINE_SYSCALL directly, not via int variable.
27830         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27831         <kernel-features.h>.
27832         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27833         (renameat) [__NR_renameat]: Make code unconditional.
27834         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27835         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27836         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27837         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27838         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27839         (__ASSUME_ATFCTS): Do not undefine and redefine.
27840         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27841         <kernel-features.h>.
27842         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27843         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27844         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27845         <kernel-features.h>.
27846         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27847         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27848         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27849         (__ASSUME_ATFCTS): Do not undefine and redefine.
27850         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27851         <kernel-features.h>.
27852         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27853         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27854         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27855         <kernel-features.h>.
27856         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27857         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27859 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27861         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27863 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27865         [BZ #17069]
27866         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27867         constructed tree before returning error.
27868         * posix/bug-regexp36.c: Expand test case.
27870 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27872         [BZ #6803]
27873         * math/libm-test.inc (scalbln_test_date):
27874         Add errno expectations.
27875         * math/w_scalblnf.c: New File.
27876         Add wrapper which checks for setting errno to ERANGE.
27877         Add weak_alias for corresponding scalbln function.
27878         * math/w_scalbln.c: Likewise.
27879         * math/w_scalblnl.c: Likewise.
27880         * math/Makefile (libm-calls): Add w_scalbln.
27881         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27882         Remove weak_alias for corresponding scalbln function.
27883         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27885         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27886         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27887         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27888         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27889         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27890         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27891         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27892         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27893         Remove long_double_symbol for scalblnl function in libm, libc.
27894         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27895         Add wrapper which checks for setting errno to ERANGE.
27896         Add long_double_symbol for scalblnl function in libm, libc.
27897         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27898         Remove long_double_symbol for scalblnl in libm.
27899         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27900         Add wrapper which checks for setting errno to ERANGE.
27901         Add long_double_symbol for scalblnl function in libm.
27902         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27903         Do not use wrapper because of own implementation.
27905 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27907         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27908         3 bytes for __pad1 for x32.
27909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27911 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27912             H.J. Lu  <hongjiu.lu@intel.com>
27914         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27915         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27916         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27917         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27918         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27920 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27922         [BZ #17069]
27923         * posix/regcomp.c (parse_expression): Deallocate partially
27924         constructed tree before returning error.
27925         * posix/Makefile.c (tests): Add bug-regex36.
27926         (generated): Add bug-regex36.mtrace.
27927         (tests-special): Add $(objpfx)bug-regex36-mem.out
27928         (bug-regex36-ENV): New variable.
27929         ($(objpfx)bug-regex36-mem.out): New rule.
27930         * posix/bug-regex36.c: New file.
27932 2014-06-19  Will Newton  <will.newton@linaro.org>
27934         * malloc/malloc.c (systrim): If extra is zero then return
27935         early.
27937 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27939         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27941 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27943         * sysdeps/aarch64/strchr.S: New file.
27945 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27947         [BZ #17022]
27948         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27949         from arguments -2 or below.
27950         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27951         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27953 2014-06-18  Andreas Schwab  <schwab@suse.de>
27955         [BZ #17062]
27956         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27957         of a bracket expr not to run off the end of the string.
27958         * posix/Makefile (tests): Add tst-fnmatch3.
27959         * posix/tst-fnmatch3.c: New file.
27961 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27963         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27964         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27965         [$(cross-compiling) = no]: Likewise.
27966         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27967         [$(cross-compiling) = no]: Likewise.
27969 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27971         [BZ #17031]
27972         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27973         double, adjusted for any remainder from the high double.
27974         * math/libm-test.inc (nearbyint): Add tests.
27975         (rint): Likewise.
27977 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27979         * nptl/sysdeps/powerpc/Makefile: Moved ...
27980         * sysdeps/powerpc/nptl/Makefile: ... here.
27981         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27982         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27983         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27984         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27985         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27986         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27987         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27988         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27989         * nptl/sysdeps/powerpc/tls.h: Moved ...
27990         * sysdeps/powerpc/nptl/tls.h: ... here.
27992 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27994         [BZ #16681]
27995         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27996         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27997         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27998         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27999         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28000         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28001         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28002         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28003         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28005 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28007         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28009 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28011         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28012         defined operator.
28014         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28015         $TIMEOUTFACTOR.
28017 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28019         [BZ #17058]
28020         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28021         non-executed part of the test.
28023 2014-06-16  Andreas Schwab  <schwab@suse.de>
28025         * string/bits/string2.h (strdup, strndup): Update feature guard.
28027 2014-06-14  David S. Miller  <davem@davemloft.net>
28029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28031 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28033         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28034         that was previously under [RESET_PID].
28035         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28037         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28038         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28039         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28040         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28041         (__libc_vfork): New strong alias.
28042         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28044 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28046         * sysdeps/generic/elide.h: New file.
28048 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28050         * Makefile (installed-headers): Adjust path of pthread.h header.
28052 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28054         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28055         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28056         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28057         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28059         * nptl/sysdeps/s390/Makefile: Moved ...
28060         * sysdeps/s390/nptl/Makefile: ... here.
28061         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28062         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28063         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28064         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28065         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28066         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28067         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28068         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28069         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28070         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28071         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28072         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28073         * nptl/sysdeps/s390/tls.h: Moved ...
28074         * sysdeps/s390/nptl/tls.h: ... here.
28076         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28077         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28079 2014-06-13  David S. Miller  <davem@davemloft.net>
28081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28084         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28088         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28089         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28090         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28091         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28092         Remove RESET_PID cpp guards.
28093         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28094         Remove RESET_PID cpp guards.
28095         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28097 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28099         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28100         __sp to uintptr_t.
28102 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28106         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28108         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28112         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28114         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28115         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28117         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28118         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28119         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28121         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28122         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28123         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28125         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28126         (pthread_rwlock_rdlock): Add elision.
28127         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28128         (pthread_rwlock_wrlock): Add elision.
28129         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28130         (pthread_rwlock_trywrlock): Add elision.
28131         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28132         (pthread_rwlock_tryrdlock): Add elision.
28133         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28134         (pthread_rwlock_tryrdlock): Add elision unlock.
28135         * nptl/sysdeps/pthread/pthread.h:
28136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28137         (PTHREAD_RWLOCK_INITIALIZER,
28138         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28139         Handle new elision field.
28140         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28141         * sysdeps/arm/nptl/bits/pthreadtypes.h
28142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28143         * sysdeps/sh/nptl/bits/pthreadtypes.h
28144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28145         * sysdeps/tile/nptl/bits/pthreadtypes.h
28146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28147         * sysdeps/a/nptl/bits/pthreadtypes.h
28148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28149         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28151         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28153         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28155         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28156         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28157         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28158         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28159         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28161         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28163         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28165         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28166         (elision_init): Set try_xbegin to zero when no RTM.
28167         * sysdeps/x86/nptl/bits/pthreadtypes.h
28168         (pthread_rwlock_t): Change __pad1 to __rwelision.
28169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28171 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28173         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28174         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28175         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28176         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28178 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28180         [BZ #16996]
28181         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28182         that the cached result has been set before returning it.
28184 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28186         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28187         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28188         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28189         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28190         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28191         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28193         * nptl/sysdeps/sparc/Makefile: Moved ...
28194         * sysdeps/sparc/nptl/Makefile: ... here.
28195         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28196         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28197         * nptl/sysdeps/sparc/tls.h: Moved ...
28198         * sysdeps/sparc/nptl/tls.h: ... here.
28199         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28200         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28201         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28202         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28203         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28204         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28205         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28206         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28207         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28208         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28209         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28210         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28211         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28212         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28213         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28214         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28215         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28217         Update #include.
28218         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28219         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28220         Update #include.
28221         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28223         Update #include.
28224         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28225         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28226         Update #include.
28228         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28230         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28231         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28233         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28234         (struct list_links): Type removed.
28235         (struct thread_node, struct timer_node): Replace struct list_links
28236         with struct list_head.
28237         (list_unlink_ip): Likewise.
28238         * sysdeps/pthread/timer_routines.c
28239         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28240         (list_append, list_insbefore): Likewise.
28241         (list_init): Function removed.
28242         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28243         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28244         * sysdeps/pthread/Makefile: ... here, new file.
28246         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28247         * sysdeps/nptl/Implies: ... here.
28248         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28249         * nptl/sysdeps/pthread/list.h: Moved ...
28250         * include/list.h: ... here.
28251         * nptl/sysdeps/pthread/createthread.c: Moved ...
28252         * nptl/createthread.c: ... here.
28253         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28254         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28255         * nptl/pt-longjmp.c: ... here.
28256         * nptl/sysdeps/pthread/Makefile: Moved ...
28257         * sysdeps/nptl/Makefile: ... here.
28258         * nptl/sysdeps/pthread/Subdirs: Moved ...
28259         * sysdeps/nptl/Subdirs: ... here.
28260         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28261         * sysdeps/nptl/aio_misc.h: ... here.
28262         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28263         * sysdeps/nptl/bits/libc-lock.h: ... here.
28264         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28265         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28266         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28267         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28268         * nptl/sysdeps/pthread/configure: Moved ...
28269         * sysdeps/nptl/configure: ... here.
28270         * nptl/sysdeps/pthread/configure.ac: Moved ...
28271         * sysdeps/nptl/configure.ac: ... here.
28272         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28273         * sysdeps/nptl/gai_misc.h: ... here.
28274         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28275         * sysdeps/nptl/librt-cancellation.c: ... here.
28276         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28277         * sysdeps/nptl/malloc-machine.h: ... here.
28278         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28279         * sysdeps/nptl/pthread-functions.h: ... here.
28280         * nptl/sysdeps/pthread/pthread.h: Moved ...
28281         * sysdeps/nptl/pthread.h: ... here.
28282         * nptl/sysdeps/pthread/setxid.h: Moved ...
28283         * sysdeps/nptl/setxid.h: ... here.
28284         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28285         * sysdeps/nptl/sigfillset.c: ... here.
28286         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28287         * sysdeps/nptl/tcb-offsets.h: ... here.
28288         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28289         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28290         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28291         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28292         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28293         * sysdeps/pthread/allocalim.h: ... here.
28294         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28295         * sysdeps/pthread/bits/sigthread.h: ... here.
28296         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28297         * sysdeps/pthread/flockfile.c: ... here.
28298         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28299         * sysdeps/pthread/ftrylockfile.c: ... here.
28300         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28301         * sysdeps/pthread/funlockfile.c: ... here.
28302         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28303         * sysdeps/pthread/posix-timer.h: ... here.
28304         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28305         * sysdeps/pthread/timer_create.c: ... here.
28306         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28307         * sysdeps/pthread/timer_delete.c: ... here.
28308         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28309         * sysdeps/pthread/timer_getoverr.c: ... here.
28310         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28311         * sysdeps/pthread/timer_gettime.c: ... here.
28312         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28313         * sysdeps/pthread/timer_routines.c: ... here.
28314         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28315         * sysdeps/pthread/timer_settime.c: ... here.
28316         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28317         * sysdeps/pthread/tst-timer.c: ... here.
28318         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28319         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28321         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28322         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28324         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28325         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28326         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28327         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28328         Update #include target.
28329         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28330         * sysdeps/i386/i686/nptl/Makefile: ... here.
28331         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28332         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28333         Update #include target.
28334         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28335         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28336         * nptl/sysdeps/i386/Makefile: Moved ...
28337         * sysdeps/i386/nptl/Makefile: ... here.
28338         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28339         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28340         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28341         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28342         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28343         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28344         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28345         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28346         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28347         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28348         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28349         * nptl/sysdeps/i386/tls.h: Moved ...
28350         * sysdeps/i386/nptl/tls.h: ... here.
28352         * sysdeps/sh/Makefile [$(subdir) = csu]
28353         (gen-as-const-headers): Add tcb-offsets.sym.
28354         * nptl/sysdeps/sh/Makefile: File removed.
28355         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28356         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28357         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28358         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28359         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28360         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28361         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28362         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28363         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28364         * sysdeps/sh/nptl/pthreaddef.h: ... here.
28365         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28366         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28367         * nptl/sysdeps/sh/tls.h: Moved ...
28368         * sysdeps/sh/nptl/tls.h: ... here.
28369         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28370         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28372         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28373         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28374         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28376         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28378         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28380         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28382         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28383         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28384         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28385         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28386         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28388         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28389         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28390         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28391         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28393         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28394         Moved ...
28395         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28397         Moved ...
28398         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28400         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28401         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28402         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28403         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28404         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28405         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28406         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28407         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28408         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28409         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28410         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28411         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28412         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28413         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28414         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28415         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28416         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28418 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28420         * posix/spawn_faction_addopen.c: Include string.h.
28422 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28424         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28425         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28426         * nptl/sysdeps/x86_64/Makefile: Moved ...
28427         * sysdeps/x86_64/nptl/Makefile: ... here.
28428         * nptl/sysdeps/x86_64/configure: Moved ...
28429         * sysdeps/x86_64/nptl/configure: ... here.
28430         * nptl/sysdeps/x86_64/configure.ac: Moved ...
28431         * sysdeps/x86_64/nptl/configure.ac: ... here.
28432         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28433         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28434         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28435         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28436         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28437         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28438         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28439         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28440         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28441         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28442         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28443         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28444         * nptl/sysdeps/x86_64/tls.h: Moved ...
28445         * sysdeps/x86_64/nptl/tls.h: ... here.
28446         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28447         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28448         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28449         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28451         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28453 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28457 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28459         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28460         type.
28461         [POSIX] (off_t): Likewise.
28462         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28463         [POSIX] (S_ISBLK): Require macro.
28464         [POSIX] (S_ISCHR): Likewise.
28465         [POSIX] (S_ISDIR): Likewise.
28466         [POSIX] (S_ISFIFO): Likewise.
28467         [POSIX] (S_ISREG): Likewise.
28468         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28469         optional-macro.
28470         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28471         type.
28472         [POSIX] (time_t): Likewise.
28473         [POSIX] (timer_t): Likewise.
28475 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28477         [BZ #17048]
28478         * posix/spawn_int.h (struct __spawn_action): Make the path string
28479         non-const to support deallocation.
28480         * posix/spawn_faction_addopen.c
28481         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28482         * posix/spawn_faction_destroy.c
28483         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28484         path in all spawn_do_open actions.
28485         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28486         posix_spawn_file_actions_addopen.
28488 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28490         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28491         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28492         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28493         conditional code always true.
28494         (__libc_vfork): New alias.
28496 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28498         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28499         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28501         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28503         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28504         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28506         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28507         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28509         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28510         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28512 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28514         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28515         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28516         multiarch strcmp for PPC64.
28517         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28518         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28520         multiarch optimizations.
28521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28522         (__libc_ifunc_impl_list): Likewise.
28524 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28526         * benchtests/scripts/validate_benchout.py: New script.
28527         * benchtests/Makefile (bench-func): Call it.
28528         * benchtests/scripts/benchout.schema.json: New file.
28530 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28532         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28533         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28534         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28535         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28536         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28537         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28538         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28539         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28540         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28541         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28542         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28543         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28544         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28545         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28546         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28549         Moved ...
28550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28551         ... here.
28552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28553         Moved ...
28554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28556         Moved ...
28557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28558         ... here.
28559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28560         Moved ...
28561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28562         ... here.
28563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28564         Moved ...
28565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28567         Moved ...
28568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28569         ... here.
28570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28571         Moved ...
28572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28573         ... here.
28574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28575         Moved ...
28576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28578         Moved ...
28579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28580         ... here.
28581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28582         Moved ...
28583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28584         ... here.
28585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28586         Moved ...
28587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28588         ... here.
28589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28590         Moved ...
28591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28593         Moved ...
28594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28595         ... here.
28596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28599         ... here.
28600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28601         Moved ...
28602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28603         ... here.
28604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28605         Moved ...
28606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28608         Moved ...
28609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28610         ... here.
28611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28612         Moved ...
28613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28614         ... here.
28615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28616         Moved ...
28617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28619         Moved ...
28620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28621         ... here.
28622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28623         Moved ...
28624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28626         Moved ...
28627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28629         Moved ...
28630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28631         ... here.
28632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28633         Moved ...
28634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28635         ... here.
28636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28637         Moved ...
28638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28639         ... here.
28640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28641         Moved ...
28642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28644         Moved ...
28645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28646         ... here.
28647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28648         Moved ...
28649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28650         ... here.
28651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28652         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28654         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28656         Moved ...
28657         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28658         ... here.
28659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28660         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28661         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28662         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28663         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28664         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28666         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28670         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28672         Moved ...
28673         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28675         Moved ...
28676         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28678         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28680         Moved ...
28681         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28683         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28684         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28685         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28686         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28687         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28689 2014-06-10  Wilco  <wdijkstr@arm.com>
28691         * math/test-fenv-return.c: New file.
28692         * math/Makefile: Add new test test-fenv-return.
28694 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28696         [BZ #17042]
28697         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28698         when x - 1 is zero.
28699         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28700         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28701         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28702         0.0L for an argument of 1.0L.
28703         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28704         Likewise.
28705         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28706         value when x - 1 is zero.
28707         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28708         * sysdeps/i386/fpu/libm-test-ulps: Update.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28713         [BZ #15119]
28714         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28716 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28718         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28719         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28721 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28723         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28724         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28726         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28727         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28729         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28730         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28732         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28733         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28735         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28736         if not already defined.
28737         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28738         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28739         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28740         (TLS_INIT_TP): Use it.
28741         (TLS_DEFINE_INIT_TP): New macro.
28742         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28744 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28746         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28747         constant.
28748         [POSIX] (IXANY): Likewise.
28749         [POSIX] (OLCUC): Likewise.
28750         [POSIX || POSIX2008] (CBAUD): Do not allow.
28751         [POSIX || POSIX2008] (DEFECHO): Likewise.
28752         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28753         [POSIX || POSIX2008] (ECHOKE): Likewise.
28754         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28755         [POSIX || POSIX2008] (EXTA): Likewise.
28756         [POSIX || POSIX2008] (EXTB): Likewise.
28757         [POSIX || POSIX2008] (FLUSHO): Likewise.
28758         [POSIX || POSIX2008] (LOBLK): Likewise.
28759         [POSIX || POSIX2008] (PENDIN): Likewise.
28760         [POSIX || POSIX2008] (SWTCH): Likewise.
28761         [POSIX || POSIX2008] (VDISCARD): Likewise.
28762         [POSIX || POSIX2008] (VDSUSP): Likewise.
28763         [POSIX || POSIX2008] (VLNEXT): Likewise.
28764         [POSIX || POSIX2008] (VREPRINT): Likewise.
28765         [POSIX || POSIX2008] (VSTATUS): Likewise.
28766         [POSIX || POSIX2008] (VWERASE): Likewise.
28767         (B*): Change to B[0123456789]*.
28768         * conform/data/time.h-data [POSIX || UNIX98]
28769         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28770         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28771         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28772         [POSIX] (tm_*): Do not allow.
28774 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28776         * Makefile (install): Don't set LANGUAGE.
28777         * Makefile.in (install): Likewise.
28778         * assert/Makefile (test-assert-ENV): Remove variable.
28779         (test-assert-perr-ENV): Likewise.
28780         * elf/Makefile (neededtest4-ENV): Likewise.
28781         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28782         [$(cross-compiling) = no]: Don't set LANGUAGE.
28783         * io/ftwtest-sh (LANG): Remove variable.
28784         * libio/Makefile (tst-widetext-ENV): Likewise.
28785         * manual/install.texi (Running make install): Don't refer to
28786         environment settings for make install.
28787         * INSTALL: Regenerated.
28788         * nptl/tst-tls6.sh: Don't set LANG.
28789         * posix/globtest.sh (LANG): Remove variable.
28790         * string/Makefile (tester-ENV): Likewise.
28791         (inl-tester-ENV): Likewise.
28792         (noinl-tester-ENV): Likewise.
28793         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28794         [$(cross-compiling) = no]: Don't set LANGUAGE.
28795         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28796         without explicit environment settings.
28798 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28800         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28801         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28802         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28803         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28805 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28807         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28808         other files in the crypt directory.
28809         * crypt/crypt.c: Remove duplicate includes.
28810         * crypt/crypt-entry.c: Likewise.
28811         * crypt/crypt_util.c: Likewise.
28813 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28815         * Makeconfig (run-program-env): New variable.
28816         (run-program-prefix-before-env): Likewise.
28817         (run-program-prefix-after-env): Likewise.
28818         (run-program-prefix): Define in terms of new variables.
28819         (built-program-cmd-before-env): New variable.
28820         (built-program-cmd-after-env): Likewise.
28821         (built-program-cmd): Define in terms of new variables.
28822         (test-program-prefix-before-env): New variable.
28823         (test-program-prefix-after-env): Likewise.
28824         (test-program-prefix): Define in terms of new variables.
28825         (test-program-cmd-before-env): New variable.
28826         (test-program-cmd-after-env): Likewise.
28827         (test-program-cmd): Define in terms of new variables.
28828         * Rules (make-test-out): Use $(run-program-env).
28829         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28830         (help): Do not mention environment variables.  Mention
28831         --timeoutfactor option.
28832         (timeoutfactor): New variable.
28833         (blacklist_exports): Remove function.
28834         (exports): Remove variable.
28835         (command): Do not include ${exports}.
28836         * manual/install.texi (Configuring and compiling): Do not mention
28837         test wrappers preserving environment variables.  Mention that last
28838         assignment to a variable must take precedence.
28839         * INSTALL: Regenerated.
28840         * benchtests/Makefile (run-bench): Use $(run-program-env).
28841         * catgets/Makefile ($(objpfx)test1.cat): Use
28842         $(built-program-cmd-before-env), $(run-program-env) and
28843         $(built-program-cmd-after-env).
28844         ($(objpfx)test2.cat): Do not specify environment variables
28845         explicitly.
28846         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28847         $(run-program-env) and $(built-program-cmd-after-env).
28848         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28849         $(run-program-env) and $(test-program-cmd-after-env).
28850         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28851         explicitly.
28852         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28853         run_program_env and test_program_cmd_after_env arguments.
28854         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28855         * elf/tst-pathopt.sh: Use run_program_env argument.
28856         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28857         $(test-wrapper-env) and $(run-program-env).
28858         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28859         run_program_env arguments.
28860         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28861         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28862         $(test-program-prefix-before-env), $(run-program-env) and
28863         $(test-program-prefix-after-env).
28864         ($(objpfx)tst-gettext2.out): Likewise.
28865         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28866         run_program_env and test_program_prefix_after_env arguments.
28867         * intl/tst-gettext2.sh: Likewise.
28868         * intl/tst-gettext4.sh: Do not set environment variables
28869         explicitly.
28870         * intl/tst-gettext6.sh: Likewise.
28871         * intl/tst-translit.sh: Likewise.
28872         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28873         $(test-program-prefix-before-env), $(run-program-env) and
28874         $(test-program-prefix-after-env).
28875         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28876         run_program_env and test_program_prefix_after_env arguments.
28877         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28878         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28879         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28880         explicitly with each use of ${test_wrapper_env}.
28881         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28882         $(test-program-prefix-before-env), $(run-program-env) and
28883         $(test-program-prefix-after-env).
28884         * posix/tst-getconf.sh: Do not set environment variables
28885         explicitly.
28886         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28887         run_program_env and test_program_prefix_after_env arguments.
28888         * stdio-common/tst-printf.sh: Do not set environment variables
28889         explicitly.
28890         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28891         $(test-program-prefix-before-env), $(run-program-env) and
28892         $(test-program-prefix-after-env).
28893         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28894         run_program_env and test_program_prefix_after_env arguments.
28895         Split $test calls into $test_pre and $test.
28896         * timezone/Makefile (build-testdata): Use
28897         $(built-program-cmd-before-env), $(run-program-env) and
28898         $(built-program-cmd-after-env).
28900 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28902         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28903         strlen for non SHARED builds.
28905 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28907         * nptl/allocatestack.c (check_list): Inlined function...
28908         (__reclaim_stacks): ... here.
28910 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28912         [BZ #15698]
28913         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28914         memory overrun.
28916 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28918         * Rules (make-test-out): Include
28919         LOCPATH=$(common-objpfx)localedata in default environment.
28920         * debug/Makefile (tst-chk1-ENV): Remove variable.
28921         (tst-chk2-ENV): Likewise.
28922         (tst-chk3-ENV): Likewise.
28923         (tst-chk4-ENV): Likewise.
28924         (tst-chk5-ENV): Likewise.
28925         (tst-chk6-ENV): Likewise.
28926         (tst-lfschk1-ENV): Likewise.
28927         (tst-lfschk2-ENV): Likewise.
28928         (tst-lfschk3-ENV): Likewise.
28929         (tst-lfschk4-ENV): Likewise.
28930         (tst-lfschk5-ENV): Likewise.
28931         (tst-lfschk6-ENV): Likewise.
28932         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28933         (tst-iconv7-ENV): Likewise.
28934         * intl/Makefile (LOCPATH-ENV): Likewise.
28935         (tst-codeset-ENV): Likewise.
28936         (tst-gettext3-ENV): Likewise.
28937         (tst-gettext5-ENV): Likewise.
28938         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28939         (tst-fopenloc-ENV): Likewise.
28940         (tst-fgetws-ENV): Remove variable.
28941         (tst-ungetwc1-ENV): Likewise.
28942         (tst-ungetwc2-ENV): Likewise.
28943         (bug-ungetwc2-ENV): Likewise.
28944         (tst-swscanf-ENV): Likewise.
28945         (bug-ftell-ENV): Likewise.
28946         (tst-fgetwc-ENV): Likewise.
28947         (tst-fseek-ENV): Likewise.
28948         (tst-ftell-partial-wide-ENV): Likewise.
28949         (tst-ftell-active-handler-ENV): Likewise.
28950         (tst-ftell-append-ENV): Likewise.
28951         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28952         (tst-regexloc-ENV): Likewise.
28953         (bug-regex1-ENV): Likewise.
28954         (tst-regex-ENV): Likewise.
28955         (tst-regex2-ENV): Likewise.
28956         (bug-regex5-ENV): Likewise.
28957         (bug-regex6-ENV): Likewise.
28958         (bug-regex17-ENV): Likewise.
28959         (bug-regex18-ENV): Likewise.
28960         (bug-regex19-ENV): Likewise.
28961         (bug-regex20-ENV): Likewise.
28962         (bug-regex22-ENV): Likewise.
28963         (bug-regex23-ENV): Likewise.
28964         (bug-regex25-ENV): Likewise.
28965         (bug-regex26-ENV): Likewise.
28966         (bug-regex30-ENV): Likewise.
28967         (bug-regex32-ENV): Likewise.
28968         (bug-regex33-ENV): Likewise.
28969         (bug-regex34-ENV): Likewise.
28970         (bug-regex35-ENV): Likewise.
28971         (tst-rxspencer-ENV): Likewise.
28972         (tst-rxspencer-no-utf8-ENV): Likewise.
28973         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28974         (tst-sscanf-ENV): Likewise.
28975         (tst-swprintf-ENV): Likewise.
28976         (tst-swscanf-ENV): Likewise.
28977         (test-vfprintf-ENV): Likewise.
28978         (scanf13-ENV): Likewise.
28979         (bug14-ENV): Likewise.
28980         (tst-grouping-ENV): Likewise.
28981         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28982         (tst-strtod3-ENV): Likewise.
28983         (tst-strtod4-ENV): Likewise.
28984         (tst-strtod5-ENV): Likewise.
28985         (testmb2-ENV): Likewise./
28986         * string/Makefile (tst-strxfrm-ENV): Likewise.
28987         (tst-strxfrm2-ENV): Likewise.
28988         (bug-strcoll1-ENV): Likewise.
28989         (test-strcasecmp-ENV): Likewise.
28990         (test-strncasecmp-ENV): Likewise.
28991         * time/Makefile (tst-strptime-ENV): Likewise.
28992         (tst-ftime_l-ENV): Likewise.
28993         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28994         (tst-mbrtowc-ENV): Likewise.
28995         (tst-wcrtomb-ENV): Likewise.
28996         (tst-mbrtowc2-ENV): Likewise.
28997         (tst-c16c32-1-ENV): Likewise.
28998         (tst-mbsnrtowcs-ENV): Likewise.
29000 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29002         * manual/resource.texi (How to get information about the memory
29003         subsystem?): Fix typo.
29004         Reported by Peon de la Parra Ivan <peon@keba.com>
29006 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29008         [BZ #16882]
29009         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29010         (pthread_spin_lock): Branch out of spin loop to proper location.
29011         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29012         (pthread_spin_lock): Likewise.
29014         * nptl/tst-spin4.c: New test.
29015         * nptl/Makefile (tests): Add tst-spin4.
29017 2014-06-03  Andreas Schwab  <schwab@suse.de>
29019         [BZ #15946]
29020         * resolv/res_send.c (send_dg): Reload file descriptor after
29021         calling reopen.
29023 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29025         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29027 2014-06-03  Richard Henderson  <rth@redhat.com>
29029         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29030         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29031         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29032         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29033         in the SAVE_PID block.
29034         (__libc_vfork): New alias.
29035         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29037         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29038         child in registers, not on the stack.  Remove RESET_PID conditionals.
29039         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29041 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29043         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29045 2014-06-03  Wilco  <wdijkstr@arm.com>
29047         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29048         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29049         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29050         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29051         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29052         Likewise.
29054 2014-06-03  Wilco  <wdijkstr@arm.com>
29056         * sysdeps/aarch64/fpu/math_private.h
29057         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29058         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29059         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29060         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29061         Fix declarations.
29063 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29065         * crypt/crypt-private.h: Include ufc-crypt.h.
29066         (__b64_from_24bit): Declare extern.
29067         * crypt/crypt_util.c(__b64_from_24bit): New function.
29068         (b64t): New static const variable.
29069         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29070         (b64t): Remove variable.
29071         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29072         * crypt/sha256-crypt.c: Include crypt-private.h.
29073         (b64t): Remove variable.
29074         (__sha256_crypt_r): Remove b64_from_24bit and replace
29075         with __b64_from_24bit.
29076         * crypt/sha512-crypt.c: Likewise.
29078 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29080         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29081         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29082         Label the code __libc_vfork rather than __vfork.
29083         [!NOT_IN_libc] (vfork): Define as weak alias.
29084         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29085         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29086         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29088 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29090         * malloc/malloc.c (malloc_info): Fix format specifier for
29091         n_mmaps.
29093 2014-06-02  Wilco  <wdijkstr@arm.com>
29095         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29096         FPCR write.
29098 2014-06-02  Wilco  <wdijkstr@arm.com>
29100         [BZ #17009]
29101         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29102         Rewrite to reduce FPCR/FPSR accesses.
29104 2014-06-01  David S. Miller  <davem@davemloft.net>
29106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29108 2014-05-31  David S. Miller  <davem@davemloft.net>
29110         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29111         to occur in round to nearest mode when |x| >= 2.0
29113 2014-05-30  Richard Henderson  <rth@twiddle.net>
29115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29116         (PSEUDO_RET_NOERRNO): Remove.
29117         (ret): Don't redefine.
29118         (ret_NOERRNO): Define in terms of ret.
29119         (ret_ERRVAL): Likewise.
29121         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29122         use of PSEUDO_RET; perform the error check directly.
29124 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29126         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29127         with __int128_t.
29129 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29131         * malloc/malloc (malloc_info): Fix formatting.
29133 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29134             Roland McGrath  <roland@hack.frob.com>
29136         * malloc/malloc (malloc_info): Also print mmapped statistics.
29138 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29140         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29141         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29143 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29145         * malloc/malloc.c (malloc_info): Inline mi_arena.
29147 2014-05-29  Richard Henderson  <rth@twiddle.net>
29149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29150         Remove comma before expanding ASM_ARGS_##nr.
29151         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29152         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29153         of ASM_ARGS_##nr.
29154         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29155         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29156         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29157         (ASM_ARGS_1): Add leading comma.
29159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29160         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29161         to __errno_location.
29162         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29163         Remove the expected plt for __errno_location.
29165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29166         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29167         call to __read_tp.
29169         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29170         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29171         it and break it down.
29172         (DOCARGS_0, DOCARGS_1): Do nothing.
29173         (DOCARGS_2): Update to store into the new stack frame.
29174         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29175         (UNDOCARGS_1): Update to restore from the new stack frame.
29176         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29177         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29180         (SINGLE_THREAD_P): New parameter for result regno.
29181         (PSEUDO): Update to match; use cbz instead of beq.
29183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29184         Use ENTRY to define the _nocancel entry point.  Share the syscall
29185         and syscall error check paths with the cancel path.
29186         (PSEUDO_END): New.
29188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29189         whitespace; tabs before and after asm mnemonics.
29191 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29193         [BZ #15132]
29194         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29195         Call fstat64 or stat64 internally, depending on arguments passed.
29196         Replace stat buffer argument with file descriptor argument.
29197         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29198         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29199         Pass fd to __internal_statvfs instead of calling fstat64.
29200         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29201         Pass fd to __internal_statvfs64 instead of calling fstat64.
29202         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29203         Pass -1 to __internal_statvfs instead of calling stat64.
29204         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29205         Pass -1 to __internal_statvfs64 instead of calling stat64.
29207 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29209         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29210         that was previously under [RESET_PID].
29211         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29213         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29214         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29216 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29218         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29220         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29221         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29223 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29225         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29227 2014-05-27  Andreas Schwab  <schwab@suse.de>
29229         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29230         TLS_INIT_TP macro.
29231         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29232         * elf/rtld.c (init_tls, dl_main): Likewise.
29233         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29234         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29235         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29236         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29237         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29238         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29239         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29240         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29241         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29242         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29243         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29244         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29245         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29246         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29247         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29248         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29249         * sysdeps/generic/tls.h: Update description.
29251 2014-05-27  Will Newton  <will.newton@linaro.org>
29253         [BZ #16990]
29254         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29255         and restore r2 rather than just restoring.
29257 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29259         [BZ #16724]
29260         * libio/tst-ftell-append.c: New test case.
29261         * libio/Makefile (tests): Add test case.
29262         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29263         append mode.
29264         * libio/wfileops.c (do_ftell_wide): Likewise.
29266 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29270         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29271         ...
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29274         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29275         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29276         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29277         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29278         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29279         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29281         Moved ...
29282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29284         Moved ...
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29286         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29287         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29288         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29289         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29290         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29291         ...
29292         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29293         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29294         Moved ...
29295         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29296         here.
29297         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29298         ...
29299         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29300         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29301         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29303         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29304         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29305         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29306         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29309         merge into ...
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29312         ...
29313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29315         ...
29316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29318         Moved ...
29319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29320         here.
29321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29322         Moved ...
29323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29325         Moved ...
29326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29329         conditional [RESET_PID].
29330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29332         removed.
29333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29334         removed.
29336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29337         <tcb-offsets.h>.
29338         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29339         (__libc_vfork): New strong alias.
29340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29341         removed.
29342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29343         Removed.
29345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29346         <tcb-offsets.h>.
29347         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29348         (__libc_vfork): New strong alias.
29349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29350         removed.
29351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29352         removed.
29354 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29356         * malloc/malloc.c (mi_arena): New function.
29357         (malloc_info): Remove nested function mi_arena. Call non-nosted
29358         function mi_arena.
29360 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29362         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29363         by insrwi.
29364         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29365         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29366         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29367         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29368         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29369         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29370         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29372 2014-05-26  Andreas Schwab  <schwab@suse.de>
29374         [BZ #16984]
29375         * locale/programs/repertoire.c (repertoire_read): Add slash
29376         between I18NPATH element and file name.
29377         * locale/programs/locfile.c (locfile_read): Likewise.
29379 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29381         * nptl/pthread_mutexattr_settype.c
29382         (__pthread_mutexattr_settype):
29383         Disable lock elision for PTHREAD_MUTEX_NORMAL.
29385 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29387         * nptl/tst-mutex5 (do_test):
29388         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29390 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29392         * benchtests/README: Document 'init' directive.
29393         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29394         BENCH_INIT.
29395         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29396         (parse_file): Recognize 'init' directive.
29398 2014-05-26  Kyle McMartin  <kyle@redhat.com>
29400         [BZ #16796]
29401         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29402         alignment of struct pthread.
29404 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29406         [BZ #16878]
29407         * nscd/netgroupcache.c (addgetnetgrentX): Look for
29408         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29409         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29410         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29412 2014-05-25  Richard Henderson  <rth@twiddle.net>
29414         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29415         (SINGLE_THREAD_P_PIC): Remove.
29416         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29417         (SINGLE_THREAD_P_PIC): Remove.
29419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29420         branch to syscall error ...
29421         (PSEUDO): ... here.
29422         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29423         from __local_syscall_error to .Lsyscall_error.
29424         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29425         (SYSCALL_ERROR): Update label name.
29427         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29428         Do not use DOARGS/UNDOARGS.
29429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29430         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29431         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29432         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29433         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29435         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29436         block comment.
29438         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29439         define if !NOT_IN_libc.
29440         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29441         define with non-default symbol versions.
29443 2014-05-23  Richard Henderson  <rth@twiddle.net>
29445         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29446         (vfork, __vfork): Define via compat_symbol.
29448         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29449         [!HAVE_IFUNC] (vfork_compat): Remove.
29450         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29452 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29454         [BZ #16978]
29455         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29456         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29457         variable.
29459 2014-05-23  Richard Henderson  <rth@twiddle.net>
29461         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29462         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29463         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29464         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29466         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29467         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29468         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29469         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29470         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29471         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29472         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29473         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29474         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29475         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29476         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29477         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29478         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29479         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29480         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29481         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29483         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29484         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29485         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29486         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29487         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29488         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29489         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29490         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29491         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29492         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29493         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29494         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29495         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29496         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29497         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29498         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29499         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29500         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29501         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29502         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29503         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29504         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29505         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29506         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29507         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29508         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29509         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29510         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29511         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29512         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29513         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29514         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29515         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29516         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29517         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29518         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29519         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29520         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29521         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29523         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29524         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29525         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29526         before exiting on error.
29527         (__libc_vfork): New strong alias.
29528         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29529         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29531         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29532         that was previously under [RESET_PID].
29533         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29535         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29537 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29539         [BZ #16977]
29540         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29541         value when x - 1 is zero.
29542         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29543         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29544         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29545         0.0L for an argument of 1.0L.
29546         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29547         Likewise.
29548         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29549         value when x - 1 is zero.
29550         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29551         * sysdeps/i386/fpu/libm-test-ulps: Update.
29552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29556         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29557         alphasort and versionsort.
29559 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29561         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29562         macro.
29563         [copysignf]: Likewise.
29565 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29567         * crypt/md5-crypt.c: Fix formatting.
29569 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29571         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29572         (b64_from_24bit): New function.
29574 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29576         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29577         libc_hidden_builtin_def to ifunc.
29578         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29579         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29581 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29583         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29584         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29586 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29588         * nscd/Depend (linuxthreads): Remove.
29589         (nptl): Add.
29590         * resolv/Depend (linuxthreads): Remove.
29591         * rt/Depend (linuxthreads): Remove.
29593         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29594         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29595         $(common-objpfx)elf/.
29596         (link-libc-before-gnulib): Likewise.
29597         (elfobjdir): Remove variable.
29598         * Makefile (install): Use $(elf-objpfx) instead of
29599         $(common-objpfx)elf/.
29600         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29601         $(elfobjdir)/.
29602         (link-libc-deps): Likewise.
29603         ($(common-objpfx)libc.so): Likewise.
29604         ($(common-objpfx)linkobj/libc.so): Likewise.
29605         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29606         instead of $(common-objpfx)elf/.
29607         (symbolic-link-list): Likewise.
29608         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29609         [$(cross-compiling) = no]: Likewise.
29610         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29611         $(elfobjdir)/.
29612         (static-gnulib-arch): Likewise.
29613         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29614         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29615         $(common-objpfx)elf/.
29617 2014-05-21  Richard Henderson  <rth@redhat.com>
29619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29620         (SINGLE_THREAD_P): Use the correct width load.  Fold
29621         into the ldr offset.
29623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29624         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29626 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29628         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29629         (libgcc_s_resume): Use __attribute_used__.
29630         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29631         Likewise.
29633 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29635         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29636         optimization when used with float constants.
29638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29640 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29642         [BZ #16915]
29643         * locale/nl_langinfo_l.c: Make direct reference to every
29644         _nl_current_CATEGORY symbol.
29645         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29646         (tests-static): Add tst-langinfo-static.
29647         (tests-special): Add tst-langinfo-static.out.
29648         ($(objpfx)tst-langinfo.out): Redirect output.
29649         ($(objpfx)tst-langinfo-static.out): New.
29650         * localedata/tst-langinfo.sh: Send output to stdout.
29651         * localedata/tst-langinfo-static.c: New file.
29653         [BZ #16965]
29654         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29655         when the shift amount is modulo the limb size.
29657 2014-05-20  Richard Henderson  <rth@redhat.com>
29659         [BZ #16967]
29660         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29661         Change type of sa_flags from unsigned int to int.
29663         [BZ #16966]
29664         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29666         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29668 2014-05-20  Will Newton  <will.newton@linaro.org>
29670         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29671         Test the return value of the system call in the nocancel case.
29673 2014-05-20  Will Newton  <will.newton@linaro.org>
29674             Yvan Roux  <yvan.roux@linaro.org>
29676         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29677         #include of asm/ptrace.h.
29678         (PTRACE_GET_THREAD_AREA): Remove #undef.
29679         (PTRACE_GETHBPREGS): Likewise.
29680         (PTRACE_SETHBPREGS): Likewise.
29681         (struct user_regs_struct): New structure.
29682         (struct user_fpsimd_struct): New structure.
29683         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29684         #include of asm/ptrace.h and second #include of sys/user.h.
29685         (PTRACE_GET_THREAD_AREA): Remove #undef.
29686         (PTRACE_GETHBPREGS): Likewise.
29687         (PTRACE_SETHBPREGS): Likewise.
29688         (ELF_NGREG): Use new struct user_regs_struct.
29689         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29691 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29693         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29694         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29696 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29698         [BZ #16958]
29699         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29700         membar to avoid block loads/stores to overlap previous stores.
29702 2014-05-17  Richard Henderson  <rth@redhat.com>
29704         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29705         Create the __##syscall_name##_nocancel entry point.
29706         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29707         Remove; let the sysdep-cancel.h code create it.
29709 2014-05-17  David S. Miller  <davem@davemloft.net>
29711         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29712         Protect with __USE_GNU.
29713         (TIOCSET_TEMPT): Likewise.
29714         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29715         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29716         these are already provided in bits/ioctl-types.h
29718 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29720         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29721         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29723         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29724         Use wait4 regardless of [__NR_waitpid].
29726 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29728         PR libgcc/60166
29729         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29730         (_FP_NANSIGN_Q): Set the quiet bit.
29732 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29734         * benchtests/Makefile
29735         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29736         not $(common-objpfx)math/libm.so.
29737         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29738         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29739         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29740         $(common-objpfx)dlfcn/libdl.so.
29741         ($(objpfx)tst-audit8): Depend on $(libm), not
29742         $(common-objpfx)math/libm.so.
29743         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29744         not $(common-objpfx)dlfcn/libdl.so.
29745         * math/Makefile
29746         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29747         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29748         [$(build-shared) = yes].
29749         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29750         $(common-objpfx)nptl/libpthread.so.
29751         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29752         $(common-objpfx)math/libm.so$(libm.so-version) or
29753         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29754         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29755         $(common-objpfx)dlfcn/libdl.so.
29756         * setjmp/Makefile (link-libm): Remove variable.
29757         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29758         * stdio-common/Makefile (link-libm): Remove variable.
29759         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29760         * stdlib/Makefile (link-libm): Remove variable.
29761         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29762         ($(objpfx)tst-strtod-round): Likewise.
29763         ($(objpfx)tst-tininess): Likewise.
29764         ($(objpfx)tst-strtod-underflow): Likewise.
29765         ($(objpfx)tst-strtod6): Likewise.
29766         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29767         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29768         $(common-objpfx)dlfcn/libdl.so.
29770 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29772         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29773         BSD terminal modes definitions.
29775 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29777         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29778         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29780         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29781         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29782         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29783         Don't do #include_next.
29784         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29785         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29786         Don't do #include_next.
29787         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29788         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29789         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29790         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29792 2014-05-16  Allan McRae  <allan@archlinux.org>
29794         * po/sv.po: Update Swedish translation from translation project.
29796         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29797         in sed expression.
29799 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29801         [BZ #16917]
29802         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29803         errno if the TIOCGPTN ioctl fails with an error different than
29804         EINVAL.
29805         * login/tst-ptsname.c: New file.
29806         * login/Makefile (tests): Add tst-ptsname.
29808         [BZ #16943]
29809         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29810         and prlimit64.
29812 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814         [BZ #16849]
29815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29816         herrno to return EAI_AGAIN.
29818 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29820         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29821         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29822         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29823         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29824         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29825         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29826         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29827         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29828         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29829         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29830         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29831         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29832         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29833         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29834         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29835         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29836         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29837         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29838         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29839         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29840         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29841         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29842         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29843         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29844         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29845         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29846         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29847         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29848         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29849         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29851         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29855         Moved ...
29856         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29858         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29860         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29862         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29864         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29866         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29868         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29872         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29874         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29876         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29878         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29880         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29882         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29884         Moved ...
29885         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29887         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29889         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29891         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29893         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29895         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29897         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29899         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29901         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29903         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29905         Moved ...
29906         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29908         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29910         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29911         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29912         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29913         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29914         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29915         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29916         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29917         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29918         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29919         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29920         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29921         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29922         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29923         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29924         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29925         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29926         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29927         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29928         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29929         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29930         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29931         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29932         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29933         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29934         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29935         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29936         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29937         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29938         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29939         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29940         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29942         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29943         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29945         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29946         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29947         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29948         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29949         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29951         Moved ...
29952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29953         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29954         Moved ...
29955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29957         Moved ...
29958         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29960         Moved ...
29961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29962         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29963         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29965         Moved ...
29966         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29967         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29968         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29969         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29970         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29971         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29972         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29973         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29974         Moved ...
29975         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29976         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29977         Moved ...
29978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29979         ... here.
29980         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29981         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29982         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29983         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29984         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29985         Moved ...
29986         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29987         ... here.
29988         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29989         Moved ...
29990         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29991         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29992         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29993         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29994         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29996         Moved ...
29997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29998         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29999         Moved ...
30000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30002         Moved ...
30003         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30005         Moved ...
30006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30007         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30008         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30010         Moved ...
30011         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30012         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30013         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30014         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30015         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30016         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30017         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30018         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30019         Moved ...
30020         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30021         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30022         Moved ...
30023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30024         ... here.
30025         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30026         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30027         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30028         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30029         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30030         Moved ...
30031         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30032         ... here.
30033         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30034         Moved ...
30035         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30036         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30037         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30038         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30039         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30040         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30041         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30042         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30043         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30045         Moved ...
30046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30047         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30048         Moved ...
30049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30050         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30051         Moved ...
30052         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30053         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30054         Moved ...
30055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30056         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30057         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30058         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30059         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30061         Moved ...
30062         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30063         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30064         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30066         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30067         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30068         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30069         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30070         Moved ...
30071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30072         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30073         Moved ...
30074         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30075         ... here.
30076         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30077         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30078         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30079         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30081         Moved ...
30082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30083         ... here.
30084         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30085         Moved ...
30086         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30087         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30088         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30089         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30090         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30091         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30092         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30093         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30094         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30095         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30096         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30098         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30099         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30101         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30102         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30104         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30105         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30106         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30107         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30108         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30109         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30110         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30111         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30112         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30113         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30115         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30116         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30117         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30118         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30120         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30122         Moved ...
30123         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30125         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30127         Moved ...
30128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30130         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30132         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30134         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30135         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30136         Moved ...
30137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30139         Moved ...
30140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30141         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30142         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30144         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30145         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30146         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30147         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30148         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30149         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30150         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30151         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30152         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30153         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30154         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30155         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30156         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30158         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30159         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30160         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30161         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30162         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30164         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30165         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30166         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30167         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30168         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30169         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30170         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30171         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30172         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30173         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30176         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30178         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30179         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30180         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30181         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30182         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30183         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30184         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30185         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30186         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30187         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30188         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30189         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30190         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30191         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30193         Update #include.
30194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30195         Likewise.
30196         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30197         Likewise.
30198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30199         Likewise.
30200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30201         Likewise.
30202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30203         Likewise.
30204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30205         Likewise.
30206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30207         Likewise.
30208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30209         Likewise.
30210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30211         Likewise.
30212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30219         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30220         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30221         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30223         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30225         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30228         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30229         that was previously under [RESET_PID].
30230         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30231         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30232         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30234         * sysdeps/i386/nptl/Implies: New file.
30235         * sysdeps/x86_64/nptl/Implies: New file.
30236         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30237         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30238         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30239         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30241         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30242         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30243         (__libc_vfork): New strong alias.
30244         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30245         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30247         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30248         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30249         (__libc_vfork): New strong alias.
30250         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30251         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30253         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30254         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30255         (__libc_vfork): New strong alias.
30256         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30257         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30258         * nptl/pt-vfork.c: New file.
30259         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30260         (libpthread: GLIBC_2.20): New version set (empty).
30262 2014-05-14  Will Newton  <will.newton@linaro.org>
30264         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30265         rather than #if.
30267 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30269         [BZ #16564]
30270         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30271         arguments with exponent 65 or above.
30272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30273         arguments 0x1p113L or above.
30274         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30275         to arguments 0x1p107L or above.
30276         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30277         positive arguments with exponent 65 or above.
30278         * math/auto-libm-test-in: Add more tests of log1p.
30279         * math/auto-libm-test-out: Regenerated.
30281         [BZ #16928]
30282         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30283         non-finite arguments is +0.
30284         * math/s_cacosf.c (__cacosf): Likewise.
30285         * math/s_cacosl.c (__cacosl): Likewise.
30286         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30287         * sysdeps/i386/fpu/libm-test-ulps: Update.
30288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30290         [BZ #16927]
30291         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30292         value.
30293         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30294         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30295         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30296         for explicit high bit of mantissa when testing for argument equal
30297         to 1.
30298         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30299         * sysdeps/i386/fpu/libm-test-ulps: Update.
30300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30302         [BZ #16516]
30303         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30304         (__erf): Scale by 16 instead of 8 in potentially underflowing
30305         case.  Ensure exception if result actually underflows.
30306         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30307         (__erff): Scale by 16 instead of 8 in potentially underflowing
30308         case.  Ensure exception if result actually underflows.
30309         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30310         (efx8): Remove variable.
30311         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30312         case.  Ensure exception if result actually underflows.
30313         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30314         (efx8): Remove variable.
30315         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30316         case.  Ensure exception if result actually underflows.
30317         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30318         (efx8): Remove variable.
30319         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30320         case.  Ensure exception if result actually underflows.
30321         * math/auto-libm-test-in: Add more tests of erf.
30322         * math/auto-libm-test-out: Regenerated.
30324 2014-05-14  Andreas Schwab  <schwab@suse.de>
30326         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30327         Remove code conditionalized on USE___THREAD.
30329         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30330         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30331         not definedness.
30333 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30335         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30336         Define unconditionally.
30337         (__ASSUME_O_CLOEXEC): Likewise.
30338         (__ASSUME_SOCK_CLOEXEC): Likewise.
30339         (__ASSUME_IN_NONBLOCK): Likewise.
30340         (__ASSUME_PIPE2): Likewise.
30341         (__ASSUME_EVENTFD2): Likewise.
30342         (__ASSUME_SIGNALFD4): Likewise.
30343         (__ASSUME_DUP3): Likewise.
30344         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30345         (__ASSUME_DUP3): Do not define.
30346         (__ASSUME_EVENTFD2): Likewise.
30347         (__ASSUME_IN_NONBLOCK): Likewise.
30348         (__ASSUME_O_CLOEXEC): Likewise.
30349         (__ASSUME_PIPE2): Likewise.
30350         (__ASSUME_SIGNALFD4): Likewise.
30351         (__ASSUME_SOCK_CLOEXEC): Likewise.
30352         (__ASSUME_UTIMES): Undefine.
30353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30354         (__ASSUME_UTIMES): Do not define.
30355         (__ASSUME_O_CLOEXEC): Likewise.
30356         (__ASSUME_SOCK_CLOEXEC): Likewise.
30357         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30358         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30359         0x020621].
30360         (__ASSUME_PIPE2): Likewise.
30361         (__ASSUME_EVENTFD2): Likewise.
30362         (__ASSUME_SIGNALFD4): Likewise.
30363         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30364         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30365         Do not define.
30366         (__ASSUME_EVENTFD2): Likewise.
30367         (__ASSUME_SIGNALFD4): Likewise.
30368         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30369         (__ASSUME_32BITUIDS): Likewise.
30370         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30371         (__ASSUME_IPC64): Likewise.
30372         (__ASSUME_ST_INO_64_BIT): Likewise.
30373         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30374         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30375         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30376         (__ASSUME_UTIMES): Do not define.
30377         (__ASSUME_PSELECT): Likewise.
30378         (__ASSUME_PPOLL): Likewise.
30379         (__ASSUME_O_CLOEXEC): Likewise.
30380         (__ASSUME_SOCK_CLOEXEC): Likewise.
30381         (__ASSUME_IN_NONBLOCK): Likewise.
30382         (__ASSUME_PIPE2): Likewise.
30383         (__ASSUME_EVENTFD2): Likewise.
30384         (__ASSUME_SIGNALFD4): Likewise.
30385         (__ASSUME_DUP3): Likewise.
30386         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30387         (__ASSUME_UTIMES): Likewise.
30388         (__ASSUME_O_CLOEXEC): Likewise.
30389         (__ASSUME_SOCK_CLOEXEC): Likewise.
30390         (__ASSUME_IN_NONBLOCK): Likewise.
30391         (__ASSUME_PIPE2): Likewise.
30392         (__ASSUME_EVENTFD2): Likewise.
30393         (__ASSUME_SIGNALFD4): Likewise.
30394         (__ASSUME_DUP3): Likewise.
30395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30396         (__ASSUME_UTIMES): Likewise.
30397         (__ASSUME_O_CLOEXEC): Likewise.
30398         (__ASSUME_SOCK_CLOEXEC): Likewise.
30399         (__ASSUME_IN_NONBLOCK): Likewise.
30400         (__ASSUME_PIPE2): Likewise.
30401         (__ASSUME_EVENTFD2): Likewise.
30402         (__ASSUME_SIGNALFD4): Likewise.
30403         (__ASSUME_DUP3): Likewise.
30404         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30405         Likewise.
30406         (__ASSUME_UTIMES): Likewise.
30407         (__ASSUME_EVENTFD2): Likewise.
30408         (__ASSUME_SIGNALFD4): Likewise.
30409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30410         (__ASSUME_O_CLOEXEC): Likewise.
30411         (__ASSUME_SOCK_CLOEXEC): Likewise.
30412         (__ASSUME_IN_NONBLOCK): Likewise.
30413         (__ASSUME_PIPE2): Likewise.
30414         (__ASSUME_EVENTFD2): Likewise.
30415         (__ASSUME_SIGNALFD4): Likewise.
30416         (__ASSUME_DUP3): Likewise.
30417         (__ASSUME_UTIMES): Undefine.
30419         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30420         feclearexcept.  Remove symbol versioning code.
30421         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
30422         symbol versioning code.
30423         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
30424         symbol versioning code.
30425         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30426         feupdateenv.  Remove symbol versioning code.
30427         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30428         fegetexceptflag.  Remove symbol versioning code.
30429         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30430         fesetexceptflag.  Remove symbol versioning code.
30431         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30432         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30433         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30434         (__posix_fadvise64_l32): Remove prototype.
30435         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30436         code.
30438 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30440         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30441         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30442         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30443         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30445 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30447         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30448         current working directory
30450 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30452         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30453         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30454         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30455         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30456         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30457         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30458         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30459         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30460         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30461         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30462         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30463         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30464         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30465         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30467         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30468         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30469         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30470         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30471         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30473         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30474         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30475         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30477         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30479         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30480         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30481         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30483         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30485         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30486         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30487         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30488         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30489         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30490         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30491         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30492         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30493         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30495         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30496         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30498         * sysdeps/unix/sysv/linux/arm/Makefile
30499         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30500         Add rt-aeabi_unwind_cpp_pr1.
30501         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30502         Add nptl-aeabi_unwind_cpp_pr1.
30503         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30504         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30505         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30506         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30507         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30508         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30510         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30511         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30512         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30513         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30515         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30516         Deconditionalize the code that was previously under [RESET_PID].
30517         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30519         * sysdeps/generic/exit-thread.h: New file.
30520         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30521         * include/unistd.h (__exit_thread): Remove declaration.
30522         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30523         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30524         * csu/libc-start.c: Include <exit-thread.h>.
30525         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30526         * nptl/pthread_create.c: Include <exit-thread.h>.
30527         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30528         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30529         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30530         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30531         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30532         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30533         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30534         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30535         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30536         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30537         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30538         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30539         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30540         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30541         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30542         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30543         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30545 2014-05-13  Andreas Schwab  <schwab@suse.de>
30547         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30549 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30551         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30552         (__ASSUME_UTIMES): Do not condition on kernel version.
30553         (__ASSUME_PSELECT): Define unconditionally.
30554         (__ASSUME_PPOLL): Likewise.
30555         (__ASSUME_ATFCTS): Likewise.
30556         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30557         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30558         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30559         (__ASSUME_UTIMENSAT): Define unconditionally.
30560         (__ASSUME_PRIVATE_FUTEX): Likewise.
30561         (__ASSUME_FALLOCATE): Likewise.
30562         (__ASSUME_O_CLOEXEC): Likewise.
30563         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30564         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30565         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30566         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30567         (__ASSUME_IN_NONBLOCK): Likewise.
30568         (__ASSUME_PIPE2): Likewise.
30569         (__ASSUME_EVENTFD2): Likewise.
30570         (__ASSUME_SIGNALFD4): Likewise.
30571         (__ASSUME_DUP3): Likewise.
30572         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30573         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30574         (__ASSUME_AT_RANDOM): Likewise.
30575         (__ASSUME_PREADV): Likewise.
30576         (__ASSUME_PWRITEV): Likewise.
30577         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30578         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30579         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30580         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30581         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30582         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30583         (__ASSUME_O_CLOEXEC): Define unconditionally.
30584         (__ASSUME_PSELECT): Do not undefine conditionally.
30585         (__ASSUME_PPOLL): Likewise.
30586         (__ASSUME_ATFCTS): Likewise.
30587         (__ASSUME_SET_ROBUST_LIST): Likewise.
30588         (__ASSUME_UTIMENSAT): Likewise.
30589         (__ASSUME_FDATASYNC): Define unconditionally.
30590         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30591         (__ASSUME_SIGFRAME_V2): Likewise.
30592         )__ASSUME_EVENTFD2): Likewise.
30593         (__ASSUME_SIGNALFD4): Likewise.
30594         (__ASSUME_PSELECT): Do not undefine conditionally.
30595         (__ASSUME_PPOLL): Likewise.
30596         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30597         (__ASSUME_PSELECT): Define unconditionally.
30598         (__ASSUME_PPOLL): Likewise.
30599         (__ASSUME_O_CLOEXEC): Likewise.
30600         (__ASSUME_SOCK_CLOEXEC): Likewise.
30601         (__ASSUME_IN_NONBLOCK): Likewise.
30602         (__ASSUME_PIPE2): Likewise.
30603         (__ASSUME_EVENTFD2): Likewise.
30604         (__ASSUME_SIGNALFD4): Likewise.
30605         (__ASSUME_DUP3): Likewise.
30606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30607         (__ASSUME_O_CLOEXEC): Likewise.
30608         (__ASSUME_SOCK_CLOEXEC): Likewise.
30609         (__ASSUME_IN_NONBLOCK): Likewise.
30610         (__ASSUME_PIPE2): Likewise.
30611         (__ASSUME_EVENTFD2): Likewise.
30612         (__ASSUME_SIGNALFD4): Likewise.
30613         (__ASSUME_DUP3): Likewise.
30614         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30615         (__ASSUME_EVENTFD2): Likewise.
30616         (__ASSUME_SIGNALFD4): Likewise.
30617         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30619 2014-05-12  Andreas Schwab  <schwab@suse.de>
30621         [BZ #16932]
30622         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30623         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30624         than maximum RPC packet size.
30625         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30626         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30627         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30628         (_nss_nis_getservbyport_r): Likewise.
30630 2014-05-12  Will Newton  <will.newton@linaro.org>
30632         * malloc/Makefile (tests): Add tst-mallopt.
30633         * malloc/tst-mallopt.c: New file.
30635 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30637         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30638         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30640 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30642         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30643         (tst-tlsmod6.so): Likewise.
30645 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30647         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30649 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
30651         [BZ #16064]
30652         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30653         and <dl-procinfo.h>.
30654         (__fegetenv): Save SSE state in envp->__eip if supported.
30655         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30656         envp->__eip if supported.
30657         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30658         and <dl-procinfo.h>.
30659         (__fesetenv): Always set __eip, __cs_selector, __opcode,
30660         __data_offset and __data_selector in environment to 0.  Set SSE
30661         state if supported.
30662         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30663         test-fenv-sse.
30664         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30665         -mfpmath=sse.
30666         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30668 2014-05-09  Will Newton  <will.newton@linaro.org>
30670         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30671         and libc_relro_required for ARM.
30672         * sysdeps/arm/preconfigure: Regenerate.
30674 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30675             Stefan Liebler  <stli@linux.vnet.ibm.com>
30677         * config.make.in (enable-lock-elision): New Makefile variable.
30678         * configure.ac: Likewise.
30679         * configure: Regenerate.
30680         * sysdeps/s390/configure.ac:
30681         Add check for gcc transactions support.
30682         * sysdeps/s390/configure: Regenerate.
30683         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30684         Build elision files if enabled.
30685         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30686         Add lock elision support for s390.
30687         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30688         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30689         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30690         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30691         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30692         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30693         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30694         Likewise.
30695         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30696         Likewise.
30697         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30698         Likewise.
30699         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30700         Likewise.
30701         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30702         (__lll_timedlock_elision, __lll_lock_elision)
30703         (__lll_unlock_elision, __lll_trylock_elision)
30704         (lll_timedlock_elision, lll_lock_elision)
30705         (lll_unlock_elision, lll_trylock_elision): Add.
30706         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30707         (pthread_mutex_t): Add lock elision support for s390.
30709 2014-05-14  Wilco  <wdijkstr@arm.com>
30711         * sysdeps/arm/fclrexcpt.c: Cleanup.
30712         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30713         * sysdeps/arm/feenablxcpt.c: Cleanup.
30714         * sysdeps/arm/fegetenv.c: Cleanup.
30715         * sysdeps/arm/fegetexcept.c: Cleanup.
30716         * sysdeps/arm/fegetround.c: Cleanup.
30717         * sysdeps/arm/feholdexcpt.c: Cleanup.
30718         * sysdeps/arm/fesetenv.c: Cleanup.
30719         * sysdeps/arm/fesetround.c: Cleanup.
30720         * sysdeps/arm/feupdateenv.c: Cleanup.
30721         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30722         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30723         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30724         * sysdeps/arm/ftestexcept.c: Cleanup.
30725         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30726         * sysdeps/arm/setfpucw.c: Cleanup.
30728 2014-05-09  Will Newton  <will.newton@linaro.org>
30730         * sysdeps/arm/armv7/strcmp.S: New file.
30731         * NEWS: Mention addition of ARMv7 optimized strcmp.
30733 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30735         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30736         look for %.ac rather than %.in.
30738         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30739         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30740         * sysdeps/mach/hurd/configure: Regenerated.
30741         * sysdeps/unix/sysv/linux/configure: Regenerated.
30743         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30745 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30747         [BZ# 16922]
30748         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30749         (LONG_SUB): Ditto.
30750         (PTR_SUB): Ditto.
30752 2014-05-07  Andreas Schwab  <schwab@suse.de>
30754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30755         when skipping over non-matching result from nscd.
30757 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30759         [BZ #16876]
30760         * nptl/sockperf.c (client): Check socket return value.
30762         [BZ #16877]
30763         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30764         nscd security class.
30766 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30768         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30769         * sysdeps/arm/unwind.h: ... here.
30771 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30773         [BZ# 16916]
30774         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30775         Define.
30777 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30779         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30780         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30781         multiarch strncpy for PPC64.
30782         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30783         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30785         multiarch optimizations.
30786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30787         (__libc_ifunc_impl_list): Likewise.
30788         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30789         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30790         multiarch stpncpy for PPC64.
30791         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30792         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30794 2014-05-06  Andreas Schwab  <schwab@suse.de>
30796         [BZ #16912]
30797         * gmon/mcount.c (_MCOUNT_DECL): Use
30798         atomic_compare_and_exchange_bool_acq instead of
30799         catomic_compare_and_exchange_bool_acq.
30801 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30803         * elf/Makefile (others, install-bin): Remove pldd.
30804         (pldd-modules): Variable removed.
30805         ($(objpfx)pldd): Target removed.
30806         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30807         (others, install-bin): Append pldd here.
30808         ($(objpfx)pldd): New target.
30810         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30811         to 0, so the first #if test emitted later doesn't see it undefined.
30812         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30813         * sysdeps/gnu/errlist.c: Regenerated.
30815 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30817         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30818         [libc_hidden_builtin_def]: Define to empty value.
30819         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30820         [libc_hidden_builtin_def]: Likewise.
30821         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30822         [libc_hidden_builtin_def]: Likewise.
30823         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30824         [libc_hidden_builtin_def]: Likewise.
30825         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30826         __redirect_memcpy and define ifunc as default hidden symbol.
30827         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30828         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30830 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30832         * locale/iso-4217.def: Reintroduce XDR currency.
30834 2014-05-04  Allan McRae  <allan@archlinux.org>
30836         * po/eo.po: Update Esperanto translation from translation project.
30838 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30840         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30841         and FEATURE_INDEX_MAX to 1.
30842         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30844 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30846         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30847         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30848         * iconvdata/big5.c (ONE_DIRECTION): Define.
30849         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30850         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30851         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30852         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30853         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30854         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30855         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30856         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30857         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30858         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30859         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30860         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30861         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30862         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30863         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30864         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30865         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30866         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30867         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30868         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30869         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30870         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30871         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30872         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30873         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30874         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30875         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30876         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30877         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30878         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30879         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30880         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30881         * iconvdata/johab.c (ONE_DIRECTION): Define.
30882         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30883         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30884         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30885         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30886         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30887         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30888         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30889         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30890         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30891         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30893 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30895         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30896         (_IO_JUMPS_OFFSET): Define to 0.
30898         * nptl/sysdeps/pthread/bits/libc-lock.h
30899         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30900         (__libc_lock_define_initialized_recursive): Always define using
30901         initializer.  Modern compilers treat uninitialized (implicit zero) and
30902         explicit zero initializers the same (i.e. put the datum in bss).
30904 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30906         * nscd/nscd-client.h: Include <string.h>.
30908 2014-05-01  David S. Miller  <davem@davemloft.net>
30910         [BZ #16885]
30911         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30912         multiple zero bytes exist at the end of a string.
30913         Reported by Aurelien Jarno <aurelien@aurel32.net>
30915         * string/test-strcmp.c (check): Add explicit test for situations where
30916         there are multiple zero bytes after the first.
30918 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30920         [BZ #16890]
30921         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30922         when compiling wprintf.
30923         * stdio-common/tstdiomisc.c (t3): New function.
30924         (main): Call it.
30926 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30928         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30929         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30930         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30931         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30933 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30935         * stdlib/longlong.h: Updated from GCC.
30937 2014-05-01  Will Newton  <will.newton@linaro.org>
30938             Bernard Ogden  <bernie.ogden@linaro.org>
30940         * NEWS: Update fixed bug list.
30942         [BZ #15119]
30943         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30945 2014-04-30  David S. Miller  <davem@davemloft.net>
30947         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30948         (libc_feholdexcept_setround_sparc_ctx): New function.
30949         (libc_fesetenv_sparc_ctx): Likewise.
30950         (libc_feupdateenv_sparc_ctx): Likewise.
30951         (libc_feholdsetround_sparc_ctx): Likewise.
30952         (libc_feholdexcept_setround_ctx): Define.
30953         (libc_feholdexcept_setroundf_ctx): Likewise.
30954         (libc_feholdexcept_setroundl_ctx): Likewise.
30955         (libc_fesetenv_ctx): Likewise.
30956         (libc_fesetenvf_ctx): Likewise.
30957         (libc_fesetenvl_ctx): Likewise.
30958         (libc_feupdateenv_ctx): Likewise.
30959         (libc_feupdateenvf_ctx): Likewise.
30960         (libc_feupdateenvl_ctx): Likewise.
30961         (libc_feresetround_ctx): Likewise.
30962         (libc_feresetroundf_ctx): Likewise.
30963         (libc_feresetroundl_ctx): Likewise.
30964         (libc_feholdsetround_ctx): Likewise.
30965         (libc_feholdsetroundf_ctx): Likewise.
30966         (libc_feholdsetroundl_ctx): Likewise.
30968         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30969         with __USE_GNU instead of XOPEN cpp guards.
30971         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30972         0.
30974         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30975         with XOPEN cpp guards.
30977 2014-04-30  Julian Brown  <julian@codesourcery.com>
30979         [BZ #16888]
30980         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30981         handling.
30983 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30985         [BZ #9894]
30986         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30987         Change to 2.6.32.
30988         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30989         * sysdeps/unix/sysv/linux/configure: Regenerated.
30990         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30991         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30992         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30993         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30994         * README: Update reference to required Linux kernel version.
30995         * manual/install.texi (Linux): Update reference to required Linux
30996         kernel headers version.
30997         * INSTALL: Regenerated.
30999         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31000         header inclusion.
31001         [POSIX] (limits.h): Likewise.
31002         [POSIX] (math.h): Likewise.
31003         [POSIX] (sys/wait.h): Likewise.
31004         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31005         function.
31006         [POSIX] (stddef.h): Do not allow header inclusion.
31008 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31010         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31012 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31014         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31015         Return immediately after lll_futex_wake.
31017 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31019         [BZ #16791]
31020         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31021         structure.
31022         (datahead_init_pos): Call datahead_init_common early.
31023         (datahead_init_neg): Likewise.
31025         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31026         datahead_init_neg): New functions.
31027         * nscd/aicache.c (addhstaiX): Use them.
31028         * nscd/grpcache.c (cache_addgr): Likewise.
31029         * nscd/hstcache.c (cache_addhst): Likewise.
31030         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31031         * nscd/netgroupcache.c (do_notfound): Likewise.
31032         (addgetnetgrentX): Likewise.
31033         (addinnetgrX): Likewise.
31034         * nscd/pwdcache.c (cache_addpw): Likewise.
31035         * nscd/servicescache.c (cache_addserv): Likewise.
31037 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31038             Atsushi Onoe  <atsushi@onoe.org>
31040         [BZ #14308]
31041         [BZ #12994]
31042         [BZ #13651]
31043         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31044         one response is valid.
31045         * resolv/res_send.c (send_dg): Check for validity of other
31046         response if the current response is a referral.
31048 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31050         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31052 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31054         [BZ #16823]
31055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31056         Always divide by positive zero when computing -Inf result.
31057         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31058         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31060 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31062         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31063         FPSCR if value do not change.
31064         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31065         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31066         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31068         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31069         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31070         function.
31072 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31074         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31075         * sysdeps/unix/sysv/linux/hppa: Move directory from
31076         ports/systeps/unix/sysv/linux/hppa.
31077         * README: Update listing for hppa-*-linux-gnu.
31079 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31081         [BZ #16754]
31082         * manual/stdio.texi (Hook functions): Fix types of stream hook
31083         functions.
31084         [BZ #16854]
31085         * socket/sys/socket.h: Fix typo in comment.
31087 2014-04-28  Wilco  <wdijkstr@arm.com>
31089         * sysdeps/arm/fenv_private.h: New file.
31090         * sysdeps/arm/math_private.h: New file.
31091         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31093 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31095         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31096         with __int128_t.
31097         (La_x86_64_retval): Likewise.
31099 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31101         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31102         fpsr if value didn't change.
31103         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31104         to fpcr if value didn't change.
31105         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31106         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31107         fpsr or fpcr if value didn't change.
31108         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31109         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31110         fpcr if value didn't change.
31111         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31112         to fpsr if value didn't change.
31114 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31116         * nptl/tst-sem3.c: Use test-skeleton.c
31117         (main): Rename to do_test.  Use return instead of
31118         exit.
31119         * nptl/tst-sem4.c: Use test-skeleton.c
31120         (main): Rename to do_test.
31122 2014-04-22  David S. Miller  <davem@davemloft.net>
31124         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31125         (struct sigaction): New struct member __glibc_reserved0, change
31126         type of sa_flags to int.
31128 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31130         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31131         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31133 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31135         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31136         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31138 2014-04-22  Will Newton  <will.newton@linaro.org>
31139             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31141         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31142         (__longjmp): Add longjmp and longjmp_target SystemTap
31143         probes.
31144         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31145         (__sigsetjmp): Add setjmp SystemTap probe.
31147 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31149         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31150         match manual order.
31152 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31154         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31156         * sysdeps/powerpc/fpu/fenv_private.h
31157         (libc_feholdexcept_setroundl_ctx): Define to
31158         libc_feholdexcept_setround_ppc_ctx.
31159         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31160         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31161         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31162         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31164 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31166         * sysdeps/aarch64/math-tests.h: New file.
31168 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31170         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31171         New.
31172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31173         Check and set bit_AVX2_Usable.
31174         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31175         macro.
31176         (bit_AVX2): Likewise.
31177         (index_AVX2_Usable): Likewise.
31178         (CPUID_AVX2): Likewise.
31179         (HAS_AVX2): Likewise.
31181 2014-04-17  Will Newton  <will.newton@linaro.org>
31183         * manual/setjmp.texi (System V contexts): Add note that
31184         calling setcontext on a context created by a call to a
31185         signal handler is undefined.  Update text to note that
31186         setcontext from a signal handler is possible but not
31187         recommended.
31189         [BZ #16629]
31190         * stdlib/tst-setcontext.c: Include signal.h.
31191         (main): Check that the signal stack before and
31192         after swapcontext is the same.
31194         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31195         Re-implement to restore registers in user code and avoid
31196         rt_sigreturn system call.
31198 2014-04-17  Wilco  <wdijkstr@arm.com>
31200         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31201         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31202         * math/test-fenv.c: Skip exception trap tests on targets which only
31203         support non-stop mode.
31205 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31206             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31208         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31209         (libc_feholdsetround_aarch64_ctx)
31210         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31211         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31212         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31213         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31214         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31215         (libc_feresetround_noexl_ctx): Define.
31217 2014-04-16  Richard Henderson  <rth@redhat.com>
31219         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31221         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31222         unwind tables.
31224         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31225         const from the non-libc, non-ldso copy.
31227         * sysdeps/alpha/libm-test-ulps: Regenerate.
31229 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31230             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31232         * sysdeps/aarch64/fpu/math_private.h: New file.
31234 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31236         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31238 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31240         [BZ #16275]
31241         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31242         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31244         Intel MPX bound registers before _dl_profile_fixup.
31245         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31246         registers after _dl_profile_fixup.  Save and restore bound
31247         registers bnd0/bnd1 when calling _dl_call_pltexit.
31248         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31249         (LR_BND_OFFSET): Likewise.
31250         (LRV_BND0_OFFSET): Likewise.
31251         (LRV_BND1_OFFSET): Likewise.
31253 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31255         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31256         to...
31257         * sysdeps/mach/hurd/i386/tls.h: ... here.
31258         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31259         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31260         fields.
31262 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31264         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31266 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31268         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31270 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31272         [BZ #14770]
31273         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31274         * sysdeps/s390/configure: Regenerate.
31276         [BZ #16824]
31277         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31278         Set round-to-nearest internally to reduce error accumulation.
31280 2014-04-16  Alan Modra  <amodra@gmail.com>
31282         [BZ #16740]
31283         [BZ #16619]
31284         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31285         * math/libm-test.inc (frexp_test_data): Add tests.
31286         * NEWS: Update fixed bug list.
31288 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31290         * benchtests/Makefile: Depend on libraries in build directory.
31291         (bench-math): Separate out math tests.
31292         (bench-pthread): Separate out pthread tests.
31293         (bench): Include math and pthread tests.
31295 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31297         [BZ #16831]
31298         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31299         _dl_debug_initialize.
31301         * configure.ac: Remove SELinux header check.
31302         * configure: Regenerate.
31303         * nscd/selinux.c (perms): Array of const char* to permission names.
31304         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31305         default policy. Call string_to_security_class and string_to_av_perm to
31306         translate strings. Enforce default policy and call avs_has_perm with
31307         results of translated strings.
31309 2014-04-13  David S. Miller  <davem@davemloft.net>
31311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31313 2014-04-12  Allan McRae  <allan@archlinux.org>
31315         [BZ #16838]
31316         * manual/string.texi (Collation Functions): Fix qsort argument
31317         order in example.
31318         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31320 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31322         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31323         Make the test a no-op if there are no exceptions defined.
31325 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31327         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31328         enable-hardcoded-path-in-tests
31330 2014-04-11  Will Newton  <will.newton@linaro.org>
31332         * benchtests/Makefile (extra-objs): Add json-lib.o.
31333         (bench-func): Tidy up JSON output.
31334         * benchtests/bench-skeleton.c: Include json-lib.h.
31335         (main): Use JSON library functions to do output of
31336         benchmark results.
31337         * benchtests/bench-timing-type.c (main): Output the
31338         timing type simply, leaving formatting to the user.
31339         * benchtests/json-lib.c: New file.
31340         * benchtests/json-lib.h: Likewise.
31342 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31344         [BZ #15215]
31345         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31346         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31347         memory barriers.  Add comments.
31348         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31349         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31350         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31351         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31352         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31353         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31355 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31357         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31358         * sysdeps/s390/s390-64/configure.ac: ... this ...
31359         * sysdeps/s390/configure.ac: ... to here.
31360         * sysdeps/s390/s390-32/configure: Delete file.
31361         * sysdeps/s390/s390-64/configure: Delete file.
31362         * sysdeps/s390/configure: Regenerate.
31364 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
31366         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31368 2014-04-11  Will Newton  <will.newton@linaro.org>
31370         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31371         to zero if it is not defined elsewhere.  (mtrim): Test
31372         the value of MALLOC_DEBUG with #if rather than #ifdef.
31374 2014-04-10 Torvald Riegel  <triegel@redhat.com>
31376         * benchtests/pthread_once-inputs: New file.
31377         * benchtests/pthread_once-source.c: New file.
31378         * benchtests/README: Update documentation.
31380 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31381             H.J. Lu  <hongjiu.lu@intel.com>
31383         [BZ #16275]
31384         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31385         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31386         * sysdeps/x86_64/configure: Regenerated.
31387         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31388         macro.
31389         (REGISTER_SAVE_RAX): Likewise.
31390         (REGISTER_SAVE_RCX): Likewise.
31391         (REGISTER_SAVE_RDX): Likewise.
31392         (REGISTER_SAVE_RSI): Likewise.
31393         (REGISTER_SAVE_RDI): Likewise.
31394         (REGISTER_SAVE_R8): Likewise.
31395         (REGISTER_SAVE_R9): Likewise.
31396         (REGISTER_SAVE_BND0): Likewise.
31397         (REGISTER_SAVE_BND1): Likewise.
31398         (REGISTER_SAVE_BND2): Likewise.
31399         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
31400         bound registers when calling _dl_fixup.
31402 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31404         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31405         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31406         of its definition.
31407         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31408         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31409         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31410         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31411         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31412         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31413         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31415 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
31417         [BZ #15514]
31418         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31419         pathconf(_PC_NAME_MAX).
31421 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31423         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31424         Remove macro usage.
31425         (__PTHREAD_SPINS): Move definition to ...
31426         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31427         (__PTHREAD_SPINS): ... here.
31428         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31429         (__PTHREAD_SPIN): Likewise.
31430         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31431         (__PTHREAD_SPIN): Likewise.
31432         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31433         (__PTHREAD_SPIN): Likewise.
31434         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31435         (__PTHREAD_SPIN): Likewise.
31436         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31437         (__PTHREAD_SPIN): Likewise.
31438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31439         (__PTHREAD_SPIN): Likewise.
31440         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31441         (__PTHREAD_SPIN): Likewise.
31442         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31443         (__PTHREAD_SPIN): Likewise.
31444         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31445         (__PTHREAD_SPIN): Likewise.
31446         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31447         (__PTHREAD_SPIN): Likewise.
31448         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31449         (__PTHREAD_SPIN): Likewise.
31450         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31451         (__PTHREAD_SPIN): Likewise.
31453         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31454         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31455         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31456         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31457         imply folder.
31458         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31459         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31460         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31461         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31462         correct imply path.
31463         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31464         strlen symbol for non multi-arch builds.
31465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31466         missing hidden_def and weak_alias.
31468 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31470         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31472 2014-04-07  Will Newton  <will.newton@linaro.org>
31474         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31475         and contents.  [!_LIBC] Remove #ifndef and contents.
31476         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31477         * string/memccpy.c (__memccpy): Use ANSI prototype.
31478         * string/memfrob.c (memfrob): Likewise.
31479         * string/strcoll.c (STRCOLL): Likewise.
31480         * string/strlen.c (strlen): Likewise.
31481         * string/strtok.c (STRTOK): Likewise.
31482         * string/strcat.c: Remove unused #include of memcopy.h.
31483         (strcat): Use ANSI prototype.
31484         * string/strchr.c: Remove unused #include of memcopy.h.
31485         (strchr): Use ANSI prototype.
31486         * string/strcmp.c: Remove unused #include of memcopy.h.
31487         (strcmp): Use ANSI prototype.
31488         * string/strcpy.c: Remove unused #include of memcopy.h.
31489         (strcpy): Use ANSI prototype.
31491 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31493         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31494         * config.make.in (config-extra-cppflags): Set it from
31495         libc_extra_cppflags.
31496         * configure.ac (libc_extra_cflags): Make it accumulate over
31497         configure fragments.
31498         (libc_extra_cppflags): New flag.
31499         * configure. Regenerate.
31500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31501         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31502         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31505         [BZ #16815]
31506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31507         result for FE_DOWNWARD rounding mode.
31508         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31509         Likewise.
31510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31512 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31514         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31515         in function argument name.
31517 2014-04-03  David Svoboda  <svoboda@cert.org>
31519         [BZ #5666]
31520         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31521         explicitly.
31523 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31525         * elf/dl-unmap-segments.h: New file.
31526         * sysdeps/generic/ldsodefs.h
31527         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31528         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31529         * elf/dl-fptr.c: Likewise.
31530         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31531         * sysdeps/aarch64/tlsdesc.c: Likewise.
31532         * sysdeps/arm/tlsdesc.c: Likewise.
31533         * sysdeps/i386/tlsdesc.c: Likewise.
31534         * sysdeps/tile/dl-runtime.c: Likewise.
31535         * sysdeps/x86_64/tlsdesc.c: Likewise.
31536         * elf/dl-load.h: New file.
31537         * elf/dl-load.c: Include it.
31538         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31539         Macros moved to dl-load.h.
31540         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31541         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31542         Use _dl_unmap_segments in place of __munmap.
31543         Break out segment-mapping loop into ...
31544         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31546 2014-04-03  Will Newton  <will.newton@linaro.org>
31548         * elf/dl-lookup.c (do_lookup_x): Remove comment
31549         referring to nested function and move variable
31550         declarations down to before first use.
31552 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31554         [BZ #16799]
31555         [BZ #16800]
31556         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31557         with 0 numerator.
31558         * math/s_catanf.c (__catanf): Likewise.
31559         * math/s_catanh.c (__catanh): Likewise.
31560         * math/s_catanhf.c (__catanhf): Likewise.
31561         * math/s_catanhl.c (__catanhl): Likewise.
31562         * math/s_catanl.c (__catanl): Likewise.
31563         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31564         by positive zero when computing -Inf result.
31565         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31566         (catanh_test): Likewise.
31567         * sysdeps/i386/fpu/libm-test-ulps: Update.
31568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31570         [BZ #16789]
31571         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31572         instead of using underflowing value in computing result.
31573         * math/s_clog10.c (__clog10): Likewise.
31574         * math/s_clog10f.c (__clog10f): Likewise.
31575         * math/s_clog10l.c (__clog10l): Likewise.
31576         * math/s_clogf.c (__clogf): Likewise.
31577         * math/s_clogl.c (__clogl): Likewise.
31578         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31579         (clog10_test): Likewise.
31580         * sysdeps/i386/fpu/libm-test-ulps: Update.
31581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31583 2014-04-02  Alan Modra  <amodra@gmail.com>
31585         [BZ #16739]
31586         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31587         output when value is near a power of two.  Use int64_t for lx and
31588         remove casts.  Use decimal rather than hex exponent constants.
31589         Don't use long double multiplication when double will suffice.
31590         * math/libm-test.inc (nextafter_test_data): Add tests.
31591         * NEWS: Add 16739 and 16786 to bug list.
31593         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31595         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31597 2014-04-01  Will Newton  <will.newton@linaro.org>
31599         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31600         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31602 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31604         [BZ #13347]
31605         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31606         * nptl/tst-setuid2.c: New file.
31607         * nptl/Makefile (xtests): Add tst-setuid2.
31609 2014-04-01  Alan Modra  <amodra@gmail.com>
31611         [BZ #16786]
31612         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31614 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31616         [BZ #6803]
31617         [BZ #6804]
31618         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31619         set errno as appropriate.
31620         * math/w_scalbf.c (__scalbf): Likewise.
31621         * math/w_scalbl.c (__scalbl): Likewise.
31622         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31623         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31624         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31625         Add more NaN tests.
31627         [BZ #16349]
31628         * math/w_atan2.c: Include <errno.h>.
31629         (__atan2): Set errno for result underflowing to zero.
31630         * math/w_atan2f.c: Include <errno.h>.
31631         (__atan2f): Set errno for result underflowing to zero.
31632         * math/w_atan2l.c: Include <errno.h>.
31633         (__atan2l): Set errno for result underflowing to zero.
31634         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31635         tests.
31636         * math/auto-libm-test-out: Regenerated.
31638 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31640         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31641         Encode instruction correctly in little endian.
31642         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31643         Likewise.
31644         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31645         Likewise.
31646         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31647         Likewise.
31648         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31649         Likewise.
31651 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31653         [BZ #9894]
31654         * sysdeps/unix/sysv/linux/kernel-features.h
31655         [__sparc__ && !__arch64__ && !__sparc_v9__]
31656         (__ASSUME_SET_ROBUST_LIST): Do not define.
31657         [__sparc__ && !__arch64__ && !__sparc_v9__]
31658         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31659         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31660         Likewise.
31661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31662         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31663         (__ASSUME_REQUEUE_PI): Likewise.
31664         (__ASSUME_SET_ROBUST_LIST): Likewise.
31665         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31666         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31667         Undefine.
31668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31669         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31670         Likewise.
31671         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31672         Likewise.
31673         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31674         Likewise.
31675         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31676         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31677         Undefine.
31678         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31679         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31680         Likewise.
31682         [BZ #16648]
31683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31685         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31687 2014-03-31  Will Newton  <will.newton@linaro.org>
31689         * benchtests/Makefile (bench): Add ffs and ffsll to list
31690         of tests.
31691         * benchtests/ffs-inputs: New file.
31692         * benchtests/ffsll-inputs: Likewise.
31694 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31696         [BZ #16770]
31697         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31698         too large before casting to int.
31699         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31700         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31701         * math/libm-test.inc (scalb_test_data): Add more tests.
31703 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31705         * benchtests/Makefile (DETAILED_OPT): New make option.
31706         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31707         set.
31708         * benchtests/bench-skeleton.c: Include stdbool.h.
31709         (main): Store and print timings per input.
31710         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31711         member to each argument value.
31712         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31713         (_print_arg_data): Initialize per-input timing to 0.
31715         * benchtests/Makefile (timing-type): New binary.
31716         (bench-clean): Also remove bench-timing-type.
31717         (bench): New target for timing-type.
31718         (bench-func): Print output in JSON format.
31719         * benchtests/bench-skeleton.c (main): Print output in JSON
31720         format.
31721         * benchtests/bench-timing-type.c: New file.
31722         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31723         (TIMING_PRINT_STATS): Remove.
31724         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31725         name separately.
31727         * benchtests/bench-modf.c: Remove.
31728         * benchtests/modf-inputs: New inputs file.
31730 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31732         [BZ #16362]
31733         * math/s_clog10.c (M_PI_LOG10E): New macro.
31734         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31735         imaginary parts are 0.
31736         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31737         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31738         imaginary parts are 0.
31739         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31740         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31741         imaginary parts are 0.
31742         * math/libm-test.inc (clog10_test_data): Update expected results
31743         for when real and imaginary parts are 0.
31745 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31747         * elf/dl-load.c: Finish conversion of __builtin_expect into
31748         __glibc_{un}likely.
31750 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31752         [BZ #16348]
31753         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31754         1+x for argument with exponent below -67.
31755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31756         Likewise.
31757         * math/auto-libm-test-in: Add more tests of exp.
31758         * math/auto-libm-test-out: Regenerated.
31760 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31762         [BZ #16759]
31763         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31764         (nscd_getnetgrent): Use it.
31766         [BZ #16760]
31767         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31768         of stpcpy.
31770 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31772         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31773         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31774         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31775         (lll_robust_unlock): Remove out of line section. Use cfi
31776         intrinsics.
31777         (LLL_STUB_UNWIND_INFO*): Remove.
31778         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31779         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31780         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31781         (lll_robust_unlock): Remove out of line section. Use cfi
31782         intrinsics.
31783         (LLL_STUB_UNWIND_INFO*): Remove.
31785 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31787         [BZ #16758]
31788         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31789         blank values.
31791 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31793         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31795 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31797         [BZ #16198]
31798         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31799         fnstenv.
31800         * math/test-fenv-preserve.c: New file.
31801         * math/Makefile (tests): Add test-fenv-preserve.
31803 2014-03-26  Will Newton <will.newton@linaro.org>
31805         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31807 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31809         * scripts/versionlist.awk: Partition the version sets and emit all
31810         GLIBC_* (sorted) before all others (sorted).
31812 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31814         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31815         GLIBC_2.2.5 version.
31817 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31819         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31820         calls.
31822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31823         previous change.
31825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31827 2014-03-25  Andreas Schwab  <schwab@suse.de>
31829         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31830         label to be used after in6ailist is initialized.
31832 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31834         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31835         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31837 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31839         [BZ #16357]
31840         [BZ #16599]
31841         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31842         min_plus_half.
31843         (fp_formats): Update initializers.
31844         (init_fp_formats): Initialize new field.
31845         (output_for_one_input_case): Allow underflow for results up to
31846         min_plus_half.
31847         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31848         * math/auto-libm-test-in: Don't mark some underflows from asin and
31849         atanh as spurious.
31850         * math/auto-libm-test-out: Regenerated.
31851         * sysdeps/i386/fpu/libm-test-ulps: Update.
31852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31854 2014-03-25  Andreas Schwab  <schwab@suse.de>
31856         * libio/Makefile (tst-ftell-partial-wide-ENV)
31857         (tst-ftell-active-handler-ENV): Define.
31859 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31861         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31863 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31865         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31867 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31869         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31870         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31871         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31873 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31875         [BZ #16634]
31876         * elf/dl-load.c (open_verify): Add mode parameter.
31877         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31878         (open_path): Change from boolean 'secure' to complete flag 'mode'
31879         (_dl_map_object): Adjust.
31880         * elf/Makefile (tests): Add tst-dlopen-aout.
31881         * elf/tst-dlopen-aout.c: New test.
31883 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31885         [BZ #16714]
31886         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31887         (struct stat): Rename member pad0 to __glibc_reserved0.
31889         [BZ #16712]
31890         * sysdeps/s390/s390-32/bits/wordsize.h
31891         (__WORDSIZE32_SIZE_ULONG): New define.
31892         * sysdeps/s390/s390-64/bits/wordsize.h
31893         (__WORDSIZE32_SIZE_ULONG): Likewise.
31894         * sysdeps/generic/stdint.h (SIZE_MAX):
31895         Define as UL if __WORDSIZE32_SIZE_ULONG.
31897         [BZ #16713]
31898         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31899         (__glibc_reserved0): New variable.
31900         (sa_flags): Change type to int.
31902         * posix/Makefile (before-compile): Use += before-compile instead
31903         of a :=.
31905         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31906         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31908 2014-03-20  Andreas Schwab  <schwab@suse.de>
31910         [BZ #16743]
31911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31912         non-matching result from nscd.
31914 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31916         * scripts/bench.py: Moved to ...
31917         * benchtests/scripts/bench.py: ... here.
31918         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31920 2014-03-24  Andreas Schwab  <schwab@suse.de>
31922         [BZ #16002]
31923         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31924         alloca_account and account alloca use for struct in6ailist.
31926 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31928         [BZ #16284]
31929         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31930         rounding mode to recompute results that overflow to infinity or
31931         underflow to zero.
31932         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31933         bug 16284.
31934         * math/auto-libm-test-out: Regenerated.
31935         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31936         (ccosh_test): Likewise.
31937         (csin_test_data): Use plus_oflow.
31938         (csin_test): Use ALL_RM_TEST.
31939         (csinh_test_data): Use plus_oflow.
31940         (csinh_test): Use ALL_RM_TEST.
31941         * sysdeps/i386/fpu/libm-test-ulps: Update.
31942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31944 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31946         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31947         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31948         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31950         [BZ #16731]
31951         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31952         when x - 1 is zero.
31953         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31954         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31955         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31956         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31957         argument is 1.
31958         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31959         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31960         zero.
31961         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31962         * sysdeps/i386/fpu/libm-test-ulps: Update.
31963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31965 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31967         * scripts/bench.pl: Remove file.
31968         * scripts/bench.py: New benchmark script.
31969         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31970         * benchtests/README: Mention python dependency.
31971         * scripts/pylintrc: New file.
31972         * scripts/pylint: New file.
31974         * bits/mathdef.h: Use #ifdef instead of #if.
31975         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31976         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31977         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31978         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31979         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31980         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31982 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31983             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31985         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31987         and strpbrk-ppc64 objects.
31988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31989         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31990         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31991         multiarch strpbrk for POWER7.
31992         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31993         multiarch strpbrk for PPC64.
31994         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31995         ifunc selector.
31996         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31997         strpbrk for POWER7.
31999 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32001         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32002         (atan_test): Likewise.
32003         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32004         (atanh_test): Use ALL_RM_TEST.
32005         (atan2_test_data): Likewise.
32006         (cabs_test): Likewise.
32007         (cacosh_test): Likewise.
32008         (carg_test): Likewise.
32009         (casin_test): Likewise.
32010         (casinh_test): Likewise.
32011         (cbrt_test): Likewise.
32012         (csqrt_test): Likewise.
32013         (erf_test): Likewise.
32014         (erfc_test): Likewise.
32015         (pow10_test): Likewise.
32016         (exp2_test): Likewise.
32017         (hypot_test): Likewise.
32018         (j0_test): Likewise.
32019         (j1_test): Likewise.
32020         (lgamma_test): Likewise.
32021         (gamma_test): Likewise.
32022         (sincos_test): Likewise.
32023         (tanh_test): Likewise.
32024         (y0_test): Likewise.
32025         (y1_test): Likewise.
32026         * sysdeps/i386/fpu/libm-test-ulps: Update.
32027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32029 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32031         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32033         and strcspn-ppc64 objects.
32034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32035         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32036         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32037         multiarch strcspn for POWER7.
32038         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32039         multiarch strcspn for PPC64.
32040         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32041         ifunc selector.
32042         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32043         strcspn for POWER7.
32045 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32047         * math/gen-libm-test.pl (generate_testfile): Expect only function
32048         name as argument to AUTO_TESTS_* and pass results for all rounding
32049         modes to parse_args.
32050         (parse_auto_input): Separate inputs of automatic tests from
32051         outputs before storing in %auto_tests.
32052         * math/libm-test.inc (acos_test_data): Update call to
32053         AUTO_TESTS_f_f.
32054         (acos_test): Use ALL_RM_TEST.
32055         (acos_tonearest_test_data): Remove.
32056         (acos_test_tonearest): Likewise.
32057         (acos_towardzero_test_data): Likewise.
32058         (acos_test_towardzero): Likewise.
32059         (acos_downward_test_data): Likewise.
32060         (acos_test_downward): Likewise.
32061         (acos_upward_test_data): Likewise.
32062         (acos_test_upward): Likewise.
32063         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32064         (asin_test_data): Likewise.
32065         (asin_test): Use ALL_RM_TEST.
32066         (asin_tonearest_test_data): Remove.
32067         (asin_test_tonearest): Likewise.
32068         (asin_towardzero_test_data): Likewise.
32069         (asin_test_towardzero): Likewise.
32070         (asin_downward_test_data): Likewise.
32071         (asin_test_downward): Likewise.
32072         (asin_upward_test_data): Likewise.
32073         (asin_test_upward): Likewise.
32074         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32075         (atan_test_data): Likewise.
32076         (atanh_test_data): Likewise.
32077         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32078         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32079         (carg_test_data): Likewise.
32080         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32081         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32082         (ccosh_test_data): Likewise.
32083         (cexp_test_data): Likewise.
32084         (clog_test_data): Likewise.
32085         (clog10_test_data): Likewise.
32086         (cos_test_data): Update call to AUTO_TESTS_f_f.
32087         (cos_test): Use ALL_RM_TEST.
32088         (cos_tonearest_test_data): Remove.
32089         (cos_test_tonearest): Likewise.
32090         (cos_towardzero_test_data): Likewise.
32091         (cos_test_towardzero): Likewise.
32092         (cos_downward_test_data): Likewise.
32093         (cos_test_downward): Likewise.
32094         (cos_upward_test_data): Likewise.
32095         (cos_test_upward): Likewise.
32096         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32097         (cosh_test): Use ALL_RM_TEST.
32098         (cosh_tonearest_test_data): Remove.
32099         (cosh_test_tonearest): Likewise.
32100         (cosh_towardzero_test_data): Likewise.
32101         (cosh_test_towardzero): Likewise.
32102         (cosh_downward_test_data): Likewise.
32103         (cosh_test_downward): Likewise.
32104         (cosh_upward_test_data): Likewise.
32105         (cosh_test_upward): Likewise.
32106         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32107         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32108         (ctan_test_data): Likewise.
32109         (ctan_test): Use ALL_RM_TEST.
32110         (ctan_tonearest_test_data): Remove.
32111         (ctan_test_tonearest): Likewise.
32112         (ctan_towardzero_test_data): Likewise.
32113         (ctan_test_towardzero): Likewise.
32114         (ctan_downward_test_data): Likewise.
32115         (ctan_test_downward): Likewise.
32116         (ctan_upward_test_data): Likewise.
32117         (ctan_test_upward): Likewise.
32118         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32119         (ctanh_test): Use ALL_RM_TEST.
32120         (ctanh_tonearest_test_data): Remove.
32121         (ctanh_test_tonearest): Likewise.
32122         (ctanh_towardzero_test_data): Likewise.
32123         (ctanh_test_towardzero): Likewise.
32124         (ctanh_downward_test_data): Likewise.
32125         (ctanh_test_downward): Likewise.
32126         (ctanh_upward_test_data): Likewise.
32127         (ctanh_test_upward): Likewise.
32128         (erf_test_data): Update call to AUTO_TESTS_f_f.
32129         (erfc_test_data): Likewise.
32130         (exp_test_data): Likewise.
32131         (exp_test): Use ALL_RM_TEST.
32132         (exp_tonearest_test_data): Remove.
32133         (exp_test_tonearest): Likewise.
32134         (exp_towardzero_test_data): Likewise.
32135         (exp_test_towardzero): Likewise.
32136         (exp_downward_test_data): Likewise.
32137         (exp_test_downward): Likewise.
32138         (exp_upward_test_data): Likewise.
32139         (exp_test_upward): Likewise.
32140         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32141         (exp10_test): Use ALL_RM_TEST.
32142         (exp10_tonearest_test_data): Remove.
32143         (exp10_test_tonearest): Likewise.
32144         (exp10_towardzero_test_data): Likewise.
32145         (exp10_test_towardzero): Likewise.
32146         (exp10_downward_test_data): Likewise.
32147         (exp10_test_downward): Likewise.
32148         (exp10_upward_test_data): Likewise.
32149         (exp10_test_upward): Likewise.
32150         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32151         (expm1_test_data): Likewise.
32152         (expm1_test): Use ALL_RM_TEST.
32153         (expm1_tonearest_test_data): Remove.
32154         (expm1_test_tonearest): Likewise.
32155         (expm1_towardzero_test_data): Likewise.
32156         (expm1_test_towardzero): Likewise.
32157         (expm1_downward_test_data): Likewise.
32158         (expm1_test_downward): Likewise.
32159         (expm1_upward_test_data): Likewise.
32160         (expm1_test_upward): Likewise.
32161         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32162         (fma_test): Use ALL_RM_TEST.
32163         (fma_towardzero_test_data): Remove.
32164         (fma_test_towardzero): Likewise.
32165         (fma_downward_test_data): Likewise.
32166         (fma_test_downward): Likewise.
32167         (fma_upward_test_data): Likewise.
32168         (fma_test_upward): Likewise.
32169         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32170         (j0_test_data): Update call to AUTO_TESTS_f_f.
32171         (j1_test_data): Likewise.
32172         (jn_test_data): Update call to AUTO_TESTS_if_f.
32173         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32174         (log_test_data): Update call to AUTO_TESTS_f_f.
32175         (log10_test_data): Likewise.
32176         (log1p_test_data): Likewise.
32177         (log2_test_data): Likewise.
32178         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32179         (pow_tonearest_test_data): Likewise.
32180         (sin_test_data): Update call to AUTO_TESTS_f_f.
32181         (sin_test): Use ALL_RM_TEST.
32182         (sin_tonearest_test_data): Remove.
32183         (sin_test_tonearest): Likewise.
32184         (sin_towardzero_test_data): Likewise.
32185         (sin_test_towardzero): Likewise.
32186         (sin_downward_test_data): Likewise.
32187         (sin_test_downward): Likewise.
32188         (sin_upward_test_data): Likewise.
32189         (sin_test_upward): Likewise.
32190         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32191         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32192         (sinh_test): Use ALL_RM_TEST.
32193         (sinh_tonearest_test_data): Remove.
32194         (sinh_test_tonearest): Likewise.
32195         (sinh_towardzero_test_data): Likewise.
32196         (sinh_test_towardzero): Likewise.
32197         (sinh_downward_test_data): Likewise.
32198         (sinh_test_downward): Likewise.
32199         (sinh_upward_test_data): Likewise.
32200         (sinh_test_upward): Likewise.
32201         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32202         (sqrt_test): Use ALL_RM_TEST.
32203         (sqrt_tonearest_test_data): Remove.
32204         (sqrt_test_tonearest): Likewise.
32205         (sqrt_towardzero_test_data): Likewise.
32206         (sqrt_test_towardzero): Likewise.
32207         (sqrt_downward_test_data): Likewise.
32208         (sqrt_test_downward): Likewise.
32209         (sqrt_upward_test_data): Likewise.
32210         (sqrt_test_upward): Likewise.
32211         (tan_test_data): Update call to AUTO_TESTS_f_f.
32212         (tan_test): Use ALL_RM_TEST.
32213         (tan_tonearest_test_data): Remove.
32214         (tan_test_tonearest): Likewise.
32215         (tan_towardzero_test_data): Likewise.
32216         (tan_test_towardzero): Likewise.
32217         (tan_downward_test_data): Likewise.
32218         (tan_test_downward): Likewise.
32219         (tan_upward_test_data): Likewise.
32220         (tan_test_upward): Likewise.
32221         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32222         (tgamma_test_data): Likewise.
32223         (y0_test_data): Likewise.
32224         (y1_test_data): Likewise.
32225         (yn_test_data): Update call to AUTO_TESTS_if_f.
32226         (main): Do not call removed functions.
32228 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32230         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32231         (ldexp_test_data): Remove.
32232         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32233         scalbn_test_data.
32234         (scalb_test): Use ALL_RM_TEST.
32236 2014-03-19  Andreas Schwab  <schwab@suse.de>
32238         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32240 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32242         [BZ #16649]
32243         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32244         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32245         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32247         (__ASSUME_PREADV): Undefine.
32248         (__ASSUME_PWRITEV): Likewise.
32250 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32252         * bits/mman-linux.h: Add comment about non-Linux use.
32253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32254         bits/mman-linux.h resting place.
32256         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32257         * bits/mman-linux.h: ... here.
32259 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32261         * conform/conformtest.pl: Add standard definition when calling C
32262         preprocessor on data files.
32263         (checknamespace): Remove unused variable.
32265 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32267         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32268         minus_oflow, plus_uflow and minus_uflow in expected results.
32269         * math/libm-test.inc (scalbn_test_data): Add more tests of
32270         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32271         minus_uflow.
32272         (scalbn_test): Use ALL_RM_TEST.
32273         (scalbln_test_data): Add more tests of negative arguments.  Use
32274         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32275         (scalbln_test): Use ALL_RM_TEST.
32277 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32279         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32281 2014-03-18  Will Newton  <will.newton@linaro.org>
32283         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32284         inaccurate comment.
32286 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32288         * Makerules [!subdir] (check-abi): Exit with error status if a
32289         test failed.
32291 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32293         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32294         for rint.  Include results for all rounding modes.
32295         (nearbyint_test): Use ALL_RM_TEST.
32296         (rint_test_data): Include all tests used for nearbyint.
32298 2014-03-17  Will Newton  <will.newton@linaro.org>
32300         * nptl/sysdeps/pthread/pthread.h: Revert previous
32301         change.
32303         * sysdeps/generic/ldsodefs.h: Revert previous
32304         change.
32306         * libio/genops.c: Revert previous change.
32307         * libio/libioP.h: Likewise.
32308         * stdio-common/vfprintf.c: Likewise.
32310         * sysdeps/generic/math_private.h: Revert previous
32311         change.
32313         * sysdeps/generic/math_private.h: Check whether
32314         HAVE_RM_CTX is defined with #ifdef rather
32315         than #if.
32317         * argp/argp-fmtstream.h: Check whether
32318         __STRICT_ANSI__ is defined with #ifdef rather
32319         than #if.
32320         * argp/argp.h: Likewise.
32322         * libio/genops.c: Check whether
32323         _IO_JUMPS_OFFSET is defined with #ifdef rather
32324         than #if.
32325         * libio/libioP.h: Likewise.
32326         * stdio-common/vfprintf.c: Likewise.
32328         * sysdeps/generic/ldsodefs.h: Check whether
32329         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32330         than #if.
32332         * nptl/sysdeps/pthread/pthread.h: Check
32333         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32334         its value.
32336 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32339         setting O_APPEND.
32340         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32341         test case.
32343         [BZ #16680]
32344         * libio/fileops.c (_IO_file_open): Seek to end of file but
32345         don't cache the offset.
32346         (get_file_offset): Remove function.
32347         (do_ftell): Use cached offset when available.
32348         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32349         don't cache the offset.
32350         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32351         case.
32352         (do_one_test): Call it.
32353         (do_ftell_test): Fix up expected old offset for a+ mode.
32354         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32355         available.
32357         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32358         up test status with function return status.
32359         (do_write_test): Likewise.
32360         (do_append_test): Likewise.
32362         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32363         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32364         Remove.
32366 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32368         * math/gen-libm-test.pl (parse_args): Handle results specified for
32369         each rounding mode separately.
32370         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32371         tests and results from lrint_tonearest_test_data,
32372         lrint_towardzero_test_data, lrint_downward_test_data and
32373         lrint_upward_test_data.
32374         (lrint_test): Use ALL_RM_TEST.
32375         (lrint_tonearest_test_data): Remove.
32376         (lrint_test_tonearest): Likewise.
32377         (lrint_towardzero_test_data): Likewise.
32378         (lrint_test_towardzero): Likewise.
32379         (lrint_downward_test_data): Likewise.
32380         (lrint_test_downward): Likewise.
32381         (lrint_upward_test_data): Likewise.
32382         (lrint_test_upward): Likewise.
32383         (llrint_test_data): Merge in per-rounding-mode tests and results
32384         from llrint_tonearest_test_data, llrint_towardzero_test_data,
32385         llrint_downward_test_data and llrint_upward_test_data.
32386         (llrint_test): Use ALL_RM_TEST.
32387         (llrint_tonearest_test_data): Remove.
32388         (llrint_test_tonearest): Likewise.
32389         (llrint_towardzero_test_data): Likewise.
32390         (llrint_test_towardzero): Likewise.
32391         (llrint_downward_test_data): Likewise.
32392         (llrint_test_downward): Likewise.
32393         (llrint_upward_test_data): Likewise.
32394         (llrint_test_upward): Likewise.
32395         (rint_test_data): Merge in per-rounding-mode tests and results
32396         from rint_tonearest_test_data, rint_towardzero_test_data,
32397         rint_downward_test_data and rint_upward_test_data.  Add
32398         per-rounding-mode results for tests not in those arrays.
32399         (rint_test): Use ALL_RM_TEST.
32400         (rint_tonearest_test_data): Remove.
32401         (rint_test_tonearest): Likewise.
32402         (rint_towardzero_test_data): Likewise.
32403         (rint_test_towardzero): Likewise.
32404         (rint_downward_test_data): Likewise.
32405         (rint_test_downward): Likewise.
32406         (rint_upward_test_data): Likewise.
32407         (rint_test_upward): Likewise.
32408         (main): Don't call removed functions.
32410 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32412         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32413         "Compiled on ..." crapola.  It is anti-useful.
32415 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
32417         * scripts/evaluate-test.sh: Handle fourth argument to determine
32418         whether test run should stop on failure.
32419         * Makeconfig (stop-on-test-failure): New variable.
32420         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32421         $(stop-on-test-failure).
32422         * Makefile (tests): Give a summary of results from testing and
32423         exit with failure status if they include an ERROR or FAIL.
32424         (xtests): Likewise.
32425         * manual/install.texi (Configuring and compiling): Mention
32426         stop-on-test-failure=y.
32427         * INSTALL: Regenerated.
32429 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32431         * scripts/versionlist.awk: New file.
32432         * Makerules [$(build-shared) = yes]
32433         (postclean-generated): Add Versions.def, not Versions.def.v and
32434         Versions.def.v.i.
32435         ($(common-objpfx)Versions.def.v.i): Target removed.
32436         ($(common-objpfx)Versions.def): New target.
32437         ($(common-objpfx)Versions.all): Depend on that rather that
32438         $(common-objpfx)Versions.def.v.
32439         * Versions.def: File removed.
32441         * Makeconfig (+gccwarn): Add -Wundef.
32442         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32443         a dl-sysdep.h breaking its contract.
32444         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32445         * include/stackinfo.h: New file.
32446         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32447         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32448         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32449         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32450         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32451         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32452         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32453         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32454         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32455         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32456         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32457         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32458         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32459         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32460         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32462 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32464         [BZ #16707]
32465         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32466         implementation.
32467         * math/libm-test.inc (round_test_data): Add more tests.
32469         [BZ #16706]
32470         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32471         implementation.
32472         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32474         [BZ #16701]
32475         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32476         implementation.
32477         * math/libm-test.inc (ceil_test_data): Add more tests.
32479         * math/libm-test.inc (trunc_test_data): Add more tests related to
32480         BZ#16414.
32482 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32484         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32485         with #if rather than #ifdef.
32486         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32488 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32490         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32491         first.  Disable AVX-512 GCC support if assembler doesn't support
32492         it.
32493         * sysdeps/x86_64/configure: Regenerated.
32495 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32497         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32498         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32499         (__old_pthread_attr_setstack): Likewise.
32500         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32501         [!_STACK_GROWS_DOWN]: Likewise.
32503 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32505         * config.make.in (have-bash2): Delete.
32506         * configure.ac (libc_cv_have_bash2): Delete.
32507         * configure: Regenerate.
32508         * elf/Makefile (common-ldd-rewrite): Rename to ...
32509         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32510         (sh-ldd-rewrite): Delete.
32511         (bash-ldd-rewrite): Delete.
32512         (have-bash2): Delete checks.
32513         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32514         ldd-rewrite.
32516         * config.make.in (have-ksh): Delete.
32517         (KSH): Delete.
32518         * configure.ac (libc_cv_have_ksh): Delete.
32519         * configure: Regenerate.
32521         * elf/Makefile: Delete $(have-ksh) check.
32522         ($(objpfx)sotruss): Change KSH to BASH.
32523         * elf/sotruss.ksh: Rename to ...
32524         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32525         function style to match POSIX.  Drop ksh vim mode setting.
32527         * manual/time.texi (Specifying the Time Zone with TZ): Change
32528         Tuesday to Thursday.
32530         * debug/tst-longjmp_chk2.c: Update header comment.
32531         (stackoverflow_handler): Add comment.  Call assert on pass value.
32533 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32535         [BZ #16194]
32536         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32537         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32538         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32539         (La_x86_64_vector): Add zmm.
32540         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32541         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32542         ($(objpfx)tst-audit10): New target.
32543         ($(objpfx)tst-audit10.out): Likewise.
32544         (tst-audit10-ENV): New.
32545         (AVX512-CFLAGS): Likewise.
32546         (CFLAGS-tst-audit10.c): Likewise.
32547         (CFLAGS-tst-auditmod10a.c): Likewise.
32548         (CFLAGS-tst-auditmod10b.c): Likewise.
32549         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32550         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32551         * sysdeps/x86_64/configure: Regenerated.
32552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32553         AVX-512 zmm register support.
32554         (_dl_x86_64_save_sse): Likewise.
32555         (_dl_x86_64_restore_sse): Likewise.
32556         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32557         size vector registers.
32558         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32559         (ZMM_SIZE): Likewise.
32560         * sysdeps/x86_64/tst-audit10.c: New file.
32561         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32562         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32564 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32566         * configure.ac (HAVE_EHDR_START): New check.
32567         * configure: Regenerated.
32568         * config.h.in (HAVE_EHDR_START): New #undef.
32569         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32570         assuming the lowest-addressed segment maps the start of the file.
32572 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32574         * INSTALL: Regenerated.
32576 2014-03-13  Will Newton  <will.newton@linaro.org>
32578         * manual/setjmp.texi (System V contexts): Improve
32579         clarity and grammar of documentation.
32581 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32583         [BZ #16381]
32584         * elf/Makefile (tests): Add tst-pie2.
32585         (tests-pie): Add tst-pie2.
32586         * elf/tst-pie2.c: New file.
32587         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32588         for ET_EXEC.
32589         * elf/rtld.c (map_doit): Load executable as lt_executable.
32590         (dl_main): Likewise.
32592 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32594         [BZ #16642]
32595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32596         (__ASSUME_PSELECT): Undefine.
32598 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32600         [BZ #16689]
32601         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32602         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32603         static build.
32604         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32605         selector for static builds.
32607 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32609         [BZ #16695]
32610         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32611         key in the buffer.
32613 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32615         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32616         IFUNC selector for static builds.
32618 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32620         * sysdeps/mips/math_private.h [__mips_hard_float]
32621         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32622         libc_feresetround_mips_ctx.
32623         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32624         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32625         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32627         [BZ #16677]
32628         * math/s_nextafter.c (__nextafter): Do not return value from
32629         overflowing computation.
32630         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32631         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32632         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32633         Likewise.
32634         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32635         Likewise.
32636         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32637         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32639 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32641         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32642         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32643         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32644         the new mov targetting sp.
32646 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32648         [BZ #16683]
32649         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32650         Define it for static builds as well.
32651         (NO_BZERO_IMPL): Likewise.
32653 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32655         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32656         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32657         multiarch strspn for PPC64.
32658         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32659         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32661         (__libc_ifunc_impl_list): Likewise.
32662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32663         multiarch optimizations
32664         * string/strspn.c (strspn): Using macro to redefine symbol name.
32666 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32667             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32669         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32670         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32671         multiarch strncat for PPC64.
32672         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32673         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32675         (__libc_ifunc_impl_list): Likewise.
32676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32677         multiarch optimizations
32679 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32681         [BZ #16639]
32682         * nscd/nscd.service: Make service type forking.
32684 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32686         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32687         sign in non default rounding modes.
32688         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32690 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32692         * math/libm-test.inc (ALL_RM_TEST): New macro.
32693         (ceil_test): Use ALL_RM_TEST.
32694         (cimag_test): Likewise.
32695         (conj_test): Likewise.
32696         (copysign_test): Likewise.
32697         (cproj_test): Likewise.
32698         (creal_test): Likewise.
32699         (fabs_test): Likewise.
32700         (floor_test): Likewise.
32701         (fmax_test): Likewise.
32702         (fmin_test): Likewise.
32703         (fmod_test): Likewise.
32704         (fpclassify_test): Likewise.
32705         (frexp_test): Likewise.
32706         (ilogb_test): Likewise.
32707         (isfinite_test): Likewise.
32708         (finite_test): Likewise.
32709         (isgreater_test): Likewise.
32710         (isgreaterequal_test): Likewise.
32711         (isinf_test): Likewise.
32712         (isless_test): Likewise.
32713         (islessequal_test): Likewise.
32714         (islessgreater_test): Likewise.
32715         (isnan_test): Likewise.
32716         (isnormal_test): Likewise.
32717         (issignaling_test): Likewise.
32718         (isunordered_test): Likewise.
32719         (logb_test): Likewise.
32720         (logb_downward_test_data): Remove.
32721         (logb_test_downward): Likewise.
32722         (lround_test): Use ALL_RM_TEST.
32723         (llround_test): Likewise.
32724         (modf_test): Likewise.
32725         (nexttoward_test): Likewise.
32726         (remainder_test): Likewise.
32727         (drem_test): Likewise.
32728         (remainder_tonearest_test_data): Likewise.
32729         (remainder_test_tonearest): Likewise.
32730         (drem_test_tonearest): Likewise.
32731         (remainder_towardzero_test_data): Likewise.
32732         (remainder_test_towardzero): Likewise.
32733         (drem_test_towardzero): Likewise.
32734         (remainder_downward_test_data): Likewise.
32735         (remainder_test_downward): Likewise.
32736         (drem_test_downward): Likewise.
32737         (remainder_upward_test_data): Likewise.
32738         (remainder_test_upward): Likewise.
32739         (drem_test_upward): Likewise.
32740         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32741         (round_test): Use ALL_RM_TEST.
32742         (signbit_test): Likewise.
32743         (trunc_test): Likewise.
32744         (significand_test): Likewise.
32745         (main): Don't call removed functions.
32747 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32749         [BZ #16674]
32750         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32751         || __USE_XOPEN2K8].
32752         (ILL_ILLOPN): Likewise.
32753         (ILL_ILLADR): Likewise.
32754         (ILL_ILLTRP): Likewise.
32755         (ILL_PRVOPC): Likewise.
32756         (ILL_PRVREG): Likewise.
32757         (ILL_COPROC): Likewise.
32758         (ILL_BADSTK): Likewise.
32759         (FPE_INTDIV): Likewise.
32760         (FPE_INTOVF): Likewise.
32761         (FPE_FLTDIV): Likewise.
32762         (FPE_FLTOVF): Likewise.
32763         (FPE_FLTUND): Likewise.
32764         (FPE_FLTRES): Likewise.
32765         (FPE_FLTINV): Likewise.
32766         (FPE_FLTSUB): Likewise.
32767         (SEGV_MAPERR): Likewise.
32768         (SEGV_ACCERR): Likewise.
32769         (BUS_ADRALN): Likewise.
32770         (BUS_ADRERR): Likewise.
32771         (BUS_OBJERR): Likewise.
32772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32773         (TRAP_TRACE): Likewise.
32774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32775         __USE_XOPEN2K8].
32776         (CLD_KILLED): Likewise.
32777         (CLD_DUMPED): Likewise.
32778         (CLD_TRAPPED): Likewise.
32779         (CLD_STOPPED): Likewise.
32780         (CLD_CONTINUED): Likewise.
32781         (POLL_IN): Likewise.
32782         (POLL_OUT): Likewise.
32783         (POLL_MSG): Likewise.
32784         (POLL_ERR): Likewise.
32785         (POLL_PRI): Likewise.
32786         (POLL_HUP): Likewise.
32787         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32788         Likewise.
32789         (ILL_ILLOPN): Likewise.
32790         (ILL_ILLADR): Likewise.
32791         (ILL_ILLTRP): Likewise.
32792         (ILL_PRVOPC): Likewise.
32793         (ILL_PRVREG): Likewise.
32794         (ILL_COPROC): Likewise.
32795         (ILL_BADSTK): Likewise.
32796         (FPE_INTDIV): Likewise.
32797         (FPE_INTOVF): Likewise.
32798         (FPE_FLTDIV): Likewise.
32799         (FPE_FLTOVF): Likewise.
32800         (FPE_FLTUND): Likewise.
32801         (FPE_FLTRES): Likewise.
32802         (FPE_FLTINV): Likewise.
32803         (FPE_FLTSUB): Likewise.
32804         (SEGV_MAPERR): Likewise.
32805         (SEGV_ACCERR): Likewise.
32806         (BUS_ADRALN): Likewise.
32807         (BUS_ADRERR): Likewise.
32808         (BUS_OBJERR): Likewise.
32809         (BUS_MCEERR_AR): Likewise.
32810         (BUS_MCEERR_AO): Likewise.
32811         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32812         (TRAP_TRACE): Likewise.
32813         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32814         __USE_XOPEN2K8].
32815         (CLD_KILLED): Likewise.
32816         (CLD_DUMPED): Likewise.
32817         (CLD_TRAPPED): Likewise.
32818         (CLD_STOPPED): Likewise.
32819         (CLD_CONTINUED): Likewise.
32820         (POLL_IN): Likewise.
32821         (POLL_OUT): Likewise.
32822         (POLL_MSG): Likewise.
32823         (POLL_ERR): Likewise.
32824         (POLL_PRI): Likewise.
32825         (POLL_HUP): Likewise.
32826         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32827         (ILL_ILLOPN): Likewise.
32828         (ILL_ILLADR): Likewise.
32829         (ILL_ILLTRP): Likewise.
32830         (ILL_PRVOPC): Likewise.
32831         (ILL_PRVREG): Likewise.
32832         (ILL_COPROC): Likewise.
32833         (ILL_BADSTK): Likewise.
32834         (FPE_INTDIV): Likewise.
32835         (FPE_INTOVF): Likewise.
32836         (FPE_FLTDIV): Likewise.
32837         (FPE_FLTOVF): Likewise.
32838         (FPE_FLTUND): Likewise.
32839         (FPE_FLTRES): Likewise.
32840         (FPE_FLTINV): Likewise.
32841         (FPE_FLTSUB): Likewise.
32842         (SEGV_MAPERR): Likewise.
32843         (SEGV_ACCERR): Likewise.
32844         (BUS_ADRALN): Likewise.
32845         (BUS_ADRERR): Likewise.
32846         (BUS_OBJERR): Likewise.
32847         (BUS_MCEERR_AR): Likewise.
32848         (BUS_MCEERR_AO): Likewise.
32849         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32850         (TRAP_TRACE): Likewise.
32851         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32852         __USE_XOPEN2K8].
32853         (CLD_KILLED): Likewise.
32854         (CLD_DUMPED): Likewise.
32855         (CLD_TRAPPED): Likewise.
32856         (CLD_STOPPED): Likewise.
32857         (CLD_CONTINUED): Likewise.
32858         (POLL_IN): Likewise.
32859         (POLL_OUT): Likewise.
32860         (POLL_MSG): Likewise.
32861         (POLL_ERR): Likewise.
32862         (POLL_PRI): Likewise.
32863         (POLL_HUP): Likewise.
32864         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32865         Likewise.
32866         (ILL_ILLOPN): Likewise.
32867         (ILL_ILLADR): Likewise.
32868         (ILL_ILLTRP): Likewise.
32869         (ILL_PRVOPC): Likewise.
32870         (ILL_PRVREG): Likewise.
32871         (ILL_COPROC): Likewise.
32872         (ILL_BADSTK): Likewise.
32873         (ILL_BADIADDR): Likewise.
32874         (ILL_BREAK): Likewise.
32875         (FPE_INTDIV): Likewise.
32876         (FPE_INTOVF): Likewise.
32877         (FPE_FLTDIV): Likewise.
32878         (FPE_FLTOVF): Likewise.
32879         (FPE_FLTUND): Likewise.
32880         (FPE_FLTRES): Likewise.
32881         (FPE_FLTINV): Likewise.
32882         (FPE_FLTSUB): Likewise.
32883         (FPE_DECOVF): Likewise.
32884         (FPE_DECDIV): Likewise.
32885         (FPE_DECERR): Likewise.
32886         (FPE_INVASC): Likewise.
32887         (FPE_INVDEC): Likewise.
32888         (SEGV_MAPERR): Likewise.
32889         (SEGV_ACCERR): Likewise.
32890         (SEGV_PSTKOVF): Likewise.
32891         (BUS_ADRALN): Likewise.
32892         (BUS_ADRERR): Likewise.
32893         (BUS_OBJERR): Likewise.
32894         (BUS_MCEERR_AR): Likewise.
32895         (BUS_MCEERR_AO): Likewise.
32896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32897         (TRAP_TRACE): Likewise.
32898         (TRAP_BRANCH): Likewise.
32899         (TRAP_HWBKPT): Likewise.
32900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32901         __USE_XOPEN2K8].
32902         (CLD_KILLED): Likewise.
32903         (CLD_DUMPED): Likewise.
32904         (CLD_TRAPPED): Likewise.
32905         (CLD_STOPPED): Likewise.
32906         (CLD_CONTINUED): Likewise.
32907         (POLL_IN): Likewise.
32908         (POLL_OUT): Likewise.
32909         (POLL_MSG): Likewise.
32910         (POLL_ERR): Likewise.
32911         (POLL_PRI): Likewise.
32912         (POLL_HUP): Likewise.
32913         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32914         (ILL_ILLOPN): Likewise.
32915         (ILL_ILLADR): Likewise.
32916         (ILL_ILLTRP): Likewise.
32917         (ILL_PRVOPC): Likewise.
32918         (ILL_PRVREG): Likewise.
32919         (ILL_COPROC): Likewise.
32920         (ILL_BADSTK): Likewise.
32921         (FPE_INTDIV): Likewise.
32922         (FPE_INTOVF): Likewise.
32923         (FPE_FLTDIV): Likewise.
32924         (FPE_FLTOVF): Likewise.
32925         (FPE_FLTUND): Likewise.
32926         (FPE_FLTRES): Likewise.
32927         (FPE_FLTINV): Likewise.
32928         (FPE_FLTSUB): Likewise.
32929         (SEGV_MAPERR): Likewise.
32930         (SEGV_ACCERR): Likewise.
32931         (BUS_ADRALN): Likewise.
32932         (BUS_ADRERR): Likewise.
32933         (BUS_OBJERR): Likewise.
32934         (BUS_MCEERR_AR): Likewise.
32935         (BUS_MCEERR_AO): Likewise.
32936         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32937         (TRAP_TRACE): Likewise.
32938         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32939         __USE_XOPEN2K8].
32940         (CLD_KILLED): Likewise.
32941         (CLD_DUMPED): Likewise.
32942         (CLD_TRAPPED): Likewise.
32943         (CLD_STOPPED): Likewise.
32944         (CLD_CONTINUED): Likewise.
32945         (POLL_IN): Likewise.
32946         (POLL_OUT): Likewise.
32947         (POLL_MSG): Likewise.
32948         (POLL_ERR): Likewise.
32949         (POLL_PRI): Likewise.
32950         (POLL_HUP): Likewise.
32951         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32952         (ILL_ILLOPN): Likewise.
32953         (ILL_ILLADR): Likewise.
32954         (ILL_ILLTRP): Likewise.
32955         (ILL_PRVOPC): Likewise.
32956         (ILL_PRVREG): Likewise.
32957         (ILL_COPROC): Likewise.
32958         (ILL_BADSTK): Likewise.
32959         (FPE_INTDIV): Likewise.
32960         (FPE_INTOVF): Likewise.
32961         (FPE_FLTDIV): Likewise.
32962         (FPE_FLTOVF): Likewise.
32963         (FPE_FLTUND): Likewise.
32964         (FPE_FLTRES): Likewise.
32965         (FPE_FLTINV): Likewise.
32966         (FPE_FLTSUB): Likewise.
32967         (SEGV_MAPERR): Likewise.
32968         (SEGV_ACCERR): Likewise.
32969         (BUS_ADRALN): Likewise.
32970         (BUS_ADRERR): Likewise.
32971         (BUS_OBJERR): Likewise.
32972         (BUS_MCEERR_AR): Likewise.
32973         (BUS_MCEERR_AO): Likewise.
32974         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32975         (TRAP_TRACE): Likewise.
32976         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32977         __USE_XOPEN2K8].
32978         (CLD_KILLED): Likewise.
32979         (CLD_DUMPED): Likewise.
32980         (CLD_TRAPPED): Likewise.
32981         (CLD_STOPPED): Likewise.
32982         (CLD_CONTINUED): Likewise.
32983         (POLL_IN): Likewise.
32984         (POLL_OUT): Likewise.
32985         (POLL_MSG): Likewise.
32986         (POLL_ERR): Likewise.
32987         (POLL_PRI): Likewise.
32988         (POLL_HUP): Likewise.
32989         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32990         (ILL_ILLOPN): Likewise.
32991         (ILL_ILLADR): Likewise.
32992         (ILL_ILLTRP): Likewise.
32993         (ILL_PRVOPC): Likewise.
32994         (ILL_PRVREG): Likewise.
32995         (ILL_COPROC): Likewise.
32996         (ILL_BADSTK): Likewise.
32997         (FPE_INTDIV): Likewise.
32998         (FPE_INTOVF): Likewise.
32999         (FPE_FLTDIV): Likewise.
33000         (FPE_FLTOVF): Likewise.
33001         (FPE_FLTUND): Likewise.
33002         (FPE_FLTRES): Likewise.
33003         (FPE_FLTINV): Likewise.
33004         (FPE_FLTSUB): Likewise.
33005         (SEGV_MAPERR): Likewise.
33006         (SEGV_ACCERR): Likewise.
33007         (BUS_ADRALN): Likewise.
33008         (BUS_ADRERR): Likewise.
33009         (BUS_OBJERR): Likewise.
33010         (BUS_MCEERR_AR): Likewise.
33011         (BUS_MCEERR_AO): Likewise.
33012         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33013         (TRAP_TRACE): Likewise.
33014         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33015         __USE_XOPEN2K8].
33016         (CLD_KILLED): Likewise.
33017         (CLD_DUMPED): Likewise.
33018         (CLD_TRAPPED): Likewise.
33019         (CLD_STOPPED): Likewise.
33020         (CLD_CONTINUED): Likewise.
33021         (POLL_IN): Likewise.
33022         (POLL_OUT): Likewise.
33023         (POLL_MSG): Likewise.
33024         (POLL_ERR): Likewise.
33025         (POLL_PRI): Likewise.
33026         (POLL_HUP): Likewise.
33027         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33028         (ILL_ILLOPN): Likewise.
33029         (ILL_ILLADR): Likewise.
33030         (ILL_ILLTRP): Likewise.
33031         (ILL_PRVOPC): Likewise.
33032         (ILL_PRVREG): Likewise.
33033         (ILL_COPROC): Likewise.
33034         (ILL_BADSTK): Likewise.
33035         (ILL_DBLFLT): Likewise.
33036         (ILL_HARDWALL): Likewise.
33037         (FPE_INTDIV): Likewise.
33038         (FPE_INTOVF): Likewise.
33039         (FPE_FLTDIV): Likewise.
33040         (FPE_FLTOVF): Likewise.
33041         (FPE_FLTUND): Likewise.
33042         (FPE_FLTRES): Likewise.
33043         (FPE_FLTINV): Likewise.
33044         (FPE_FLTSUB): Likewise.
33045         (SEGV_MAPERR): Likewise.
33046         (SEGV_ACCERR): Likewise.
33047         (BUS_ADRALN): Likewise.
33048         (BUS_ADRERR): Likewise.
33049         (BUS_OBJERR): Likewise.
33050         (BUS_MCEERR_AR): Likewise.
33051         (BUS_MCEERR_AO): Likewise.
33052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33053         (TRAP_TRACE): Likewise.
33054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33055         __USE_XOPEN2K8].
33056         (CLD_KILLED): Likewise.
33057         (CLD_DUMPED): Likewise.
33058         (CLD_TRAPPED): Likewise.
33059         (CLD_STOPPED): Likewise.
33060         (CLD_CONTINUED): Likewise.
33061         (POLL_IN): Likewise.
33062         (POLL_OUT): Likewise.
33063         (POLL_MSG): Likewise.
33064         (POLL_ERR): Likewise.
33065         (POLL_PRI): Likewise.
33066         (POLL_HUP): Likewise.
33067         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33068         (ILL_ILLOPN): Likewise.
33069         (ILL_ILLADR): Likewise.
33070         (ILL_ILLTRP): Likewise.
33071         (ILL_PRVOPC): Likewise.
33072         (ILL_PRVREG): Likewise.
33073         (ILL_COPROC): Likewise.
33074         (ILL_BADSTK): Likewise.
33075         (FPE_INTDIV): Likewise.
33076         (FPE_INTOVF): Likewise.
33077         (FPE_FLTDIV): Likewise.
33078         (FPE_FLTOVF): Likewise.
33079         (FPE_FLTUND): Likewise.
33080         (FPE_FLTRES): Likewise.
33081         (FPE_FLTINV): Likewise.
33082         (FPE_FLTSUB): Likewise.
33083         (SEGV_MAPERR): Likewise.
33084         (SEGV_ACCERR): Likewise.
33085         (BUS_ADRALN): Likewise.
33086         (BUS_ADRERR): Likewise.
33087         (BUS_OBJERR): Likewise.
33088         (BUS_MCEERR_AR): Likewise.
33089         (BUS_MCEERR_AO): Likewise.
33090         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33091         (TRAP_TRACE): Likewise.
33092         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33093         __USE_XOPEN2K8].
33094         (CLD_KILLED): Likewise.
33095         (CLD_DUMPED): Likewise.
33096         (CLD_TRAPPED): Likewise.
33097         (CLD_STOPPED): Likewise.
33098         (CLD_CONTINUED): Likewise.
33099         (POLL_IN): Likewise.
33100         (POLL_OUT): Likewise.
33101         (POLL_MSG): Likewise.
33102         (POLL_ERR): Likewise.
33103         (POLL_PRI): Likewise.
33104         (POLL_HUP): Likewise.
33105         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33106         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33108         [BZ #16670]
33109         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33110         before #include of <time.h>.
33111         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33112         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33113         (test-xfail-UNIX98/sched.h/conform): Likewise.
33115 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33117         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33118         error absence of trapping exception support.
33119         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33121 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33123         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33124         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33125         * timezone/Makefile (testdata): Move definition above include of
33126         Rules.
33127         (test-zones): New variable.
33128         (tests-special): Add zone files.
33129         (build-testdata): Use $(evaluate-test).
33131         * elf/Makefile (tests-special): Rename tests to end with .out.
33132         ($(objpfx)noload-mem): Likewise.
33133         ($(objpfx)tst-leaks1-mem): Likewise.
33134         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33135         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33136         $(objpfx)test-iconvconfig.out.
33137         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33138         set -e inside subshell and redirect output to file.
33139         * iconvdata/Makefile (generated): Rename tests to end with .out.
33140         Correct type.
33141         (tests-special): Rename tests to end with .out.
33142         ($(objpfx)mtrace-tst-loading): Likewise.
33143         * intl/Makefile (generated): Likewise.
33144         (tests-special): Likewise.
33145         ($(objpfx)mtrace-tst-gettext): Likewise.
33146         * misc/Makefile (generated): Likewise.
33147         (tests-special): Likewise.
33148         ($(objpfx)tst-error1-mem): Likewise.
33149         * nptl/Makefile (tests-special): Likewise.
33150         ($(objpfx)tst-stack3-mem): Likewise.
33151         (generated): Likewise.
33152         * posix/Makefile (generated): Likewise.
33153         (tests-special): Likewise.
33154         (xtests-special): Likewise.
33155         ($(objpfx)tst-fnmatch-mem): Likewise.
33156         ($(objpfx)bug-regex2-mem): Likewise.
33157         ($(objpfx)bug-regex14-mem): Likewise.
33158         ($(objpfx)bug-regex21-mem): Likewise.
33159         ($(objpfx)bug-regex31-mem): Likewise.
33160         ($(objpfx)tst-vfork3-mem): Likewise.
33161         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33162         ($(objpfx)tst-pcre-mem): Likewise.
33163         ($(objpfx)tst-boost-mem): Likewise.
33164         ($(objpfx)bug-ga2-mem): Likewise.
33165         ($(objpfx)bug-glob2-mem): Likewise.
33166         * resolv/Makefile (generate): Likewise.
33167         (tests-special): Likewise.
33168         (xtests-special): Likewise.
33169         (generated): Likewise.
33170         ($(objpfx)mtrace-tst-leaks): Likewise.
33171         ($(objpfx)mtrace-tst-leaks2): Likewise.
33173         * scripts/merge-test-results.sh: New file.
33174         * Makefile (tests-special-notdir): New variable.
33175         (tests): Run merge-test-results.sh.
33176         (xtests): Likewise.
33177         * Rules (tests-special-notdir): New variable.
33178         (xtests-special-notdir): Likewise.
33179         (tests): Run merge-test-results.sh
33180         (xtests): Likewise.
33182         * Makeconfig (test-xfail-name): New variable.
33183         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33184         compute variable name for expected failures.
33185         * conform/Makefile (conformtest-headers-data): New variable.
33186         (conformtest-standards): Likewise.
33187         (conformtest-headers-ISO): Likewise.
33188         (conformtest-headers-ISO99): Likewise.
33189         (conformtest-headers-ISO11): Likewise.
33190         (conformtest-headers-POSIX): Likewise.
33191         (conformtest-headers-XPG3): Likewise.
33192         (conformtest-headers-XPG4): Likewise.
33193         (conformtest-headers-UNIX98): Likewise.
33194         (conformtest-headers-XOPEN2K): Likewise.
33195         (conformtest-headers-POSIX2008): Likewise.
33196         (conformtest-headers-XOPEN2K8): Likewise.
33197         (conformtest-header-list-base): Likewise.
33198         (conformtest-header-list-tests): Likewise.
33199         (conformtest-header-base): Likewise.
33200         (conformtest-header-tests): Likewise.
33201         (tests-special): Add $(conformtest-header-list-tests).  If
33202         [$(fast-check) && !$(cross-compiling)], add
33203         $(conformtest-header-tests) instead of
33204         $(objpfx)run-conformtest.out.
33205         (generated): Add $(conformtest-header-list-base).  If
33206         [$(fast-check) && !$(cross-compiling)], add
33207         $(conformtest-header-base).  Remove previous setting.
33208         ($(conformtest-header-list-tests)): New target.
33209         (test-xfail-run-conformtest): Remove variable.
33210         ($(objpfx)run-conformtest.out): Remove target.
33211         (test-xfail-ISO11/complex.h/conform): New variable.
33212         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33213         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33214         (test-xfail-XPG3/varargs.h/conform): Likewise.
33215         (test-xfail-XPG4/varargs.h/conform): Likewise.
33216         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33217         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33218         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33219         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33220         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33221         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33222         (test-xfail-XPG3/ftw.h/conform): Likewise.
33223         (test-xfail-XPG3/grp.h/conform): Likewise.
33224         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33225         (test-xfail-XPG3/limits.h/conform): Likewise.
33226         (test-xfail-XPG3/pwd.h/conform): Likewise.
33227         (test-xfail-XPG3/search.h/conform): Likewise.
33228         (test-xfail-XPG3/signal.h/conform): Likewise.
33229         (test-xfail-XPG3/stdio.h/conform): Likewise.
33230         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33231         (test-xfail-XPG3/string.h/conform): Likewise.
33232         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33233         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33234         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33235         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33236         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33237         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33238         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33239         (test-xfail-XPG3/termios.h/conform): Likewise.
33240         (test-xfail-XPG3/time.h/conform): Likewise.
33241         (test-xfail-XPG3/unistd.h/conform): Likewise.
33242         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33243         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33244         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33245         (test-xfail-XPG4/netdb.h/conform): Likewise.
33246         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33247         (test-xfail-XPG4/signal.h/conform): Likewise.
33248         (test-xfail-XPG4/stdio.h/conform): Likewise.
33249         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33250         (test-xfail-XPG4/stropts.h/conform): Likewise.
33251         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33252         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33253         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33254         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33255         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33256         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33257         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33258         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33259         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33260         (test-xfail-XPG4/termios.h/conform): Likewise.
33261         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33262         (test-xfail-XPG4/unistd.h/conform): Likewise.
33263         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33264         (test-xfail-POSIX/sched.h/conform): Likewise.
33265         (test-xfail-POSIX/signal.h/conform): Likewise.
33266         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33267         (test-xfail-POSIX/tar.h/conform): Likewise.
33268         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33269         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33270         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33271         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33272         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33273         (test-xfail-UNIX98/sched.h/conform): Likewise.
33274         (test-xfail-UNIX98/signal.h/conform): Likewise.
33275         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33276         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33277         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33278         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33279         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33280         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33281         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33282         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33283         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33284         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33285         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33286         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33287         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33288         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33289         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33290         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33291         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33292         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33293         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33294         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33295         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33296         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33297         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33298         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33299         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33300         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33301         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33302         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33303         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33304         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33305         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33306         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33307         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33308         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33309         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33310         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33311         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33312         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33313         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33314         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33315         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33316         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33317         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33318         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33319         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33320         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33321         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33322         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33323         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33324         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33325         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33326         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33327         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33328         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33329         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33330         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33331         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33332         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33333         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33334         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33335         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33336         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33337         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33338         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33339         (conformtest-cc-flags): Likewise.
33340         ($(conformtest-header-tests): New target.
33341         * conform/check-header-lists.sh: New file.
33342         * conform/run-conformtest.sh: Remove.
33344         * conform/conformtest.pl: Allow ' and \ in values given for
33345         constants.
33346         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33347         inclusion.
33348         [POSIX] (sys/types.h): Likewise.
33349         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33350         inclusion.
33351         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33352         inclusion.
33353         * conform/data/signal.h-data (SIGIO): Remove expectation.
33354         [XPG3] (SIGBUS): Do not expect.
33355         [POSIX || XPG3] (SIGPOLL): Likewise.
33356         [POSIX || XPG3] (SIGPROF): Likewise.
33357         [POSIX || XPG3] (SIGSYS): Likewise.
33358         [XPG3] (SIGTRAP): Likewise.
33359         [POSIX || XPG3] (SIGURG): Likewise.
33360         [POSIX || XPG3] (SIGVTALRM): Likewise.
33361         [POSIX || XPG3] (SIGXCPU): Likewise.
33362         [POSIX || XPG3] (SIGXFSZ): Likewise.
33363         [POSIX] (SA_SIGINFO): Expect.
33364         [XPG3] (siginfo_t): Do not expect type or contents.
33365         [POSIX] (si_pid): Do not expect element.
33366         [POSIX] (si_uid): Likewise.
33367         [POSIX] (si_addr): Likewise.
33368         [POSIX] (si_status): Likewise.
33369         [POSIX] (si_band): Likewise.
33370         [XPG4] (si_value): Likewise.
33371         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33372         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33373         [POSIX || XPG3] (ILL_ILLADR): Likewise.
33374         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33375         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33376         [POSIX || XPG3] (ILL_PRVREG): Likewise.
33377         [POSIX || XPG3] (ILL_COPROC): Likewise.
33378         [POSIX || XPG3] (ILL_BADSTK): Likewise.
33379         [POSIX || XPG3] (FPE_INTDIV): Likewise.
33380         [POSIX || XPG3] (FPE_INTOVF): Likewise.
33381         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33382         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33383         [POSIX || XPG3] (FPE_FLTUND): Likewise.
33384         [POSIX || XPG3] (FPE_FLTRES): Likewise.
33385         [POSIX || XPG3] (FPE_FLTINV): Likewise.
33386         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33387         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33388         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33389         [POSIX || XPG3] (BUS_ADRALN): Likewise.
33390         [POSIX || XPG3] (BUS_ADRERR): Likewise.
33391         [POSIX || XPG3] (BUS_OBJERR): Likewise.
33392         [POSIX || XPG3] (CLD_EXITED): Likewise.
33393         [POSIX || XPG3] (CLD_KILLED): Likewise.
33394         [POSIX || XPG3] (CLD_DUMPED): Likewise.
33395         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33396         [POSIX || XPG3] (CLD_STOPPED): Likewise.
33397         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33398         [POSIX || XPG3] (POLL_IN): Likewise.
33399         [POSIX || XPG3] (POLL_OUT): Likewise.
33400         [POSIX || XPG3] (POLL_MSG): Likewise.
33401         [POSIX || XPG3] (POLL_ERR): Likewise.
33402         [POSIX || XPG3] (POLL_PRI): Likewise.
33403         [POSIX || XPG3] (POLL_HUP): Likewise.
33404         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33405         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33406         (SIG*): Do not allow.
33407         [XPG3] (si_*): Likewise.
33408         [XPG3] (SI_*): Likewise.
33409         [XPG3 || XPG4] (sigev_*): Likewise.
33410         [XPG3 || XPG4] (SIGEV_*): Likewise.
33411         [XPG3 || XPG4] (sival_*): Likewise.
33412         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33413         [POSIX || XPG3] (BUS_*): Likewise.
33414         [POSIX || XPG3] (CLD_*): Likewise.
33415         [POSIX || XPG3] (FPE_*): Likewise.
33416         [POSIX || XPG3] (ILL_*): Likewise.
33417         [POSIX || XPG3] (POLL_*): Likewise.
33418         [POSIX || XPG3] (SEGV_*): Likewise.
33419         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33420         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33421         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33422         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33423         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33424         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33425         Specify type and value.
33426         (TVERSLEN): Likewise.
33427         (REGTYPE): Likewise.
33428         (AREGTYPE): Likewise.
33429         (LNKTYPE): Likewise.
33430         (SYMTYPE): Likewise.
33431         (CHRTYPE): Likewise.
33432         (BLKTYPE): Likewise.
33433         (DIRTYPE): Likewise.
33434         (FIFOTYPE): Likewise.
33435         (CONTTYPE): Likewise.
33436         (TSUID): Likewise.
33437         (TSGID): Likewise.
33438         (TSVTX): Likewise.
33439         (TUREAD): Likewise.
33440         (TUWRITE): Likewise.
33441         (TUEXEC): Likewise.
33442         (TGREAD): Likewise.
33443         (TGWRITE): Likewise.
33444         (TGEXEC): Likewise.
33445         (TOREAD): Likewise.
33446         (TOWRITE): Likewise.
33447         (TOEXEC): Likewise.
33448         [POSIX] (TSVTX): Expect constant.
33450 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33452         * Makefile (tests): Change dependencies to ....
33453         (tests-special): ... additions to this variable.
33454         (tests): Depend on $(tests-special).
33455         * Makerules (check-abi-list): New variable.
33456         (check-abi): Depend on $(check-abi-list).
33457         [$(subdir) = elf] (tests-special): Add
33458         $(objpfx)check-abi-libc.out.
33459         [$(build-shared) = yes && subdir] (tests-special): Add
33460         $(check-abi-list).
33461         [$(build-shared) = yes && subdir] (tests): Do not depend on
33462         check-abi.
33463         * Rules (tests): Depend on $(tests-special).
33464         (xtests): Depend on $(xtests-special).
33465         * catgets/Makefile (tests): Change dependencies to ....
33466         (tests-special): ... additions to this variable.
33467         * conform/Makefile (tests): Change dependencies to ....
33468         (tests-special): ... additions to this variable.
33469         * elf/Makefile (tests): Change dependencies to ....
33470         (tests-special): ... additions to this variable.
33471         * grp/Makefile (tests): Change dependencies to ....
33472         (tests-special): ... additions to this variable.
33473         * iconv/Makefile (xtests): Change dependencies to ....
33474         (xtests-special): ... additions to this variable.
33475         * iconvdata/Makefile (tests): Change dependencies to ....
33476         (tests-special): ... additions to this variable.
33477         * intl/Makefile (tests): Change dependencies to ....
33478         (tests-special): ... additions to this variable.  Also add
33479         $(objpfx)tst-gettext.out.
33480         * io/Makefile (tests): Change dependencies to ....
33481         (tests-special): ... additions to this variable.
33482         * libio/Makefile (tests): Change dependencies to ....
33483         (tests-special): ... additions to this variable.
33484         * malloc/Makefile (tests): Change dependencies to ....
33485         (tests-special): ... additions to this variable.
33486         * misc/Makefile (tests): Change dependencies to ....
33487         (tests-special): ... additions to this variable.
33488         * nptl/Makefile (tests): Change dependencies to ....
33489         (tests-special): ... additions to this variable.
33490         * nptl_db/Makefile (tests): Change dependencies to ....
33491         (tests-special): ... additions to this variable.
33492         * posix/Makefile (tests): Change dependencies to ....
33493         (tests-special): ... additions to this variable.
33494         (xtests): Change dependencies to ....
33495         (xtests-special): ... additions to this variable.
33496         * resolv/Makefile (tests): Change dependencies to ....
33497         (tests-special): ... additions to this variable.
33498         (xtests): Change dependencies to ....
33499         (xtests-special): ... additions to this variable.
33500         * stdio-common/Makefile (tests): Change dependencies to ....
33501         (tests-special): ... additions to this variable.
33502         (do-tst-unbputc): Remove target.
33503         (do-tst-printf): Likewise.
33504         * stdlib/Makefile (tests): Change dependencies to ....
33505         (tests-special): ... additions to this variable.
33506         * string/Makefile (tests): Change dependencies to ....
33507         (tests-special): ... additions to this variable.
33508         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33509         (tests-special): ... additions to this variable.
33511         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33512         whole file.
33513         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33514         whole file.
33515         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33516         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33518         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33519         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33520         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33521         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33522         * conform/data/libgen.h-data [XPG3]: Likewise.
33523         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33524         * conform/data/ndbm.h-data [XPG3]: Likewise.
33525         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33526         * conform/data/netdb.h-data [XPG3]: Likewise.
33527         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33528         * conform/data/poll.h-data [XPG3]: Likewise.
33529         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33530         * conform/data/strings.h-data [XPG3]: Likewise.
33531         * conform/data/stropts.h-data [XPG3]: Likewise.
33532         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33533         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33534         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33535         Likewise.
33536         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33537         * conform/data/sys/time.h-data [XPG3]: Likewise.
33538         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33539         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33540         * conform/data/sys/un.h-data [XPG3]: Likewise.
33541         * conform/data/syslog.h-data [XPG3]: Likewise.
33542         * conform/data/ucontext.h-data [XPG3]: Likewise.
33543         * conform/data/utmpx.h-data [XPG3]: Likewise.
33544         * conform/data/varargs.h-data [UNIX98]: Enable file.
33546         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33548         * math/libm-test.inc (struct test_f_f_data): Move expected results
33549         into structure for each rounding mode.
33550         (struct test_ff_f_data): Likewise.
33551         (struct test_ff_f_data_nexttoward): Likewise.
33552         (struct test_fi_f_data): Likewise.
33553         (struct test_fl_f_data): Likewise.
33554         (struct test_if_f_data): Likewise.
33555         (struct test_fff_f_data): Likewise.
33556         (struct test_c_f_data): Likewise.
33557         (struct test_f_f1_data): Likewise.
33558         (struct test_fF_f1_data): Likewise.
33559         (struct test_ffI_f1_data): Likewise.
33560         (struct test_c_c_data): Likewise.
33561         (struct test_cc_c_data): Likewise.
33562         (struct test_f_i_data): Likewise.
33563         (struct test_ff_i_data): Likewise.
33564         (struct test_f_l_data): Likewise.
33565         (struct test_f_L_data): Likewise.
33566         (struct test_fFF_11_data): Likewise.
33567         (RM_): New macro.
33568         (RM_FE_DOWNWARD): Likewise.
33569         (RM_FE_TONEAREST): Likewise.
33570         (RM_FE_TOWARDZERO): Likewise.
33571         (RM_FE_UPWARD): Likewise.
33572         (RUN_TEST_LOOP_f_f): Update references to expected results.
33573         (RUN_TEST_LOOP_2_f): Likewise.
33574         (RUN_TEST_LOOP_fff_f): Likewise.
33575         (RUN_TEST_LOOP_c_f): Likewise.
33576         (RUN_TEST_LOOP_f_f1): Likewise.
33577         (RUN_TEST_LOOP_fF_f1): Likewise.
33578         (RUN_TEST_LOOP_fI_f1): Likewise.
33579         (RUN_TEST_LOOP_ffI_f1): Likewise.
33580         (RUN_TEST_LOOP_c_c): Likewise.
33581         (RUN_TEST_LOOP_cc_c): Likewise.
33582         (RUN_TEST_LOOP_f_i): Likewise.
33583         (RUN_TEST_LOOP_f_i_tg): Likewise.
33584         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33585         (RUN_TEST_LOOP_f_b): Likewise.
33586         (RUN_TEST_LOOP_f_b_tg): Likewise.
33587         (RUN_TEST_LOOP_f_l): Likewise.
33588         (RUN_TEST_LOOP_f_L): Likewise.
33589         (RUN_TEST_LOOP_fFF_11): Likewise.
33590         * math/gen-libm-test.pl (parse_args): Output four copies of
33591         expected results for each test.
33593         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33594         (__ASSUME_UTIMES): Remove.
33595         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33596         (__ASSUME_UTIMES): Likewise.
33598         * math/gen-auto-libm-tests.c: Update comment on output format.
33599         (output_for_one_input_case): Generate before-rounding and
33600         after-rounding information as conditions on output flags not
33601         floating-point format.
33602         * math/auto-libm-test-out: Regenerated.
33603         * math/gen-libm-test.pl (cond_value): New function.
33604         (or_cond_value): Use cond_value.
33605         (generate_testfile): Handle conditional exceptions.
33607 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33609         * math/libm-test.inc (max_valid_error): New variable.
33610         (init_max_error): Take new argument specifying whether function
33611         results are exactly determined.  Set max_valid_error and bound
33612         other variables for errors based on this argument.
33613         (set_max_error): Do not record results above max_valid_error.
33614         (check_float_internal): Only accept errors of up to 0.5ulps if
33615         also at most max_valid_error.
33616         (START): Take new argument EXACT and pass it to init_max_error.
33617         (acos_test): Update call to START.
33618         (acos_test_tonearest): Likewise.
33619         (acos_test_towardzero): Likewise.
33620         (acos_test_downward): Likewise.
33621         (acos_test_upward): Likewise.
33622         (acosh_test): Likewise.
33623         (asin_test): Likewise.
33624         (asin_test_tonearest): Likewise.
33625         (asin_test_towardzero): Likewise.
33626         (asin_test_downward): Likewise.
33627         (asin_test_upward): Likewise.
33628         (asinh_test): Likewise.
33629         (atan_test): Likewise.
33630         (atanh_test): Likewise.
33631         (atan2_test): Likewise.
33632         (cabs_test): Likewise.
33633         (cacos_test): Likewise.
33634         (cacosh_test): Likewise.
33635         (carg_test): Likewise.
33636         (casin_test): Likewise.
33637         (casinh_test): Likewise.
33638         (catan_test): Likewise.
33639         (catanh_test): Likewise.
33640         (cbrt_test): Likewise.
33641         (ccos_test): Likewise.
33642         (ccosh_test): Likewise.
33643         (ceil_test): Likewise.
33644         (cexp_test): Likewise.
33645         (cimag_test): Likewise.
33646         (clog_test): Likewise.
33647         (clog10_test): Likewise.
33648         (conj_test): Likewise.
33649         (copysign_test): Likewise.
33650         (cos_test): Likewise.
33651         (cos_test_tonearest): Likewise.
33652         (cos_test_towardzero): Likewise.
33653         (cos_test_downward): Likewise.
33654         (cos_test_upward): Likewise.
33655         (cosh_test): Likewise.
33656         (cosh_test_tonearest): Likewise.
33657         (cosh_test_towardzero): Likewise.
33658         (cosh_test_downward): Likewise.
33659         (cosh_test_upward): Likewise.
33660         (cpow_test): Likewise.
33661         (cproj_test): Likewise.
33662         (creal_test): Likewise.
33663         (csin_test): Likewise.
33664         (csinh_test): Likewise.
33665         (csqrt_test): Likewise.
33666         (ctan_test): Likewise.
33667         (ctan_test_tonearest): Likewise.
33668         (ctan_test_towardzero): Likewise.
33669         (ctan_test_downward): Likewise.
33670         (ctan_test_upward): Likewise.
33671         (ctanh_test): Likewise.
33672         (ctanh_test_tonearest): Likewise.
33673         (ctanh_test_towardzero): Likewise.
33674         (ctanh_test_downward): Likewise.
33675         (ctanh_test_upward): Likewise.
33676         (erf_test): Likewise.
33677         (erfc_test): Likewise.
33678         (exp_test): Likewise.
33679         (exp_test_tonearest): Likewise.
33680         (exp_test_towardzero): Likewise.
33681         (exp_test_downward): Likewise.
33682         (exp_test_upward): Likewise.
33683         (exp10_test): Likewise.
33684         (exp10_test_tonearest): Likewise.
33685         (exp10_test_towardzero): Likewise.
33686         (exp10_test_downward): Likewise.
33687         (exp10_test_upward): Likewise.
33688         (pow10_test): Likewise.
33689         (exp2_test): Likewise.
33690         (expm1_test): Likewise.
33691         (expm1_test_tonearest): Likewise.
33692         (expm1_test_towardzero): Likewise.
33693         (expm1_test_downward): Likewise.
33694         (expm1_test_upward): Likewise.
33695         (fabs_test): Likewise.
33696         (fdim_test): Likewise.
33697         (floor_test): Likewise.
33698         (fma_test): Likewise.
33699         (fma_test_towardzero): Likewise.
33700         (fma_test_downward): Likewise.
33701         (fma_test_upward): Likewise.
33702         (fmax_test): Likewise.
33703         (fmin_test): Likewise.
33704         (fmod_test): Likewise.
33705         (fpclassify_test): Likewise.
33706         (frexp_test): Likewise.
33707         (hypot_test): Likewise.
33708         (ilogb_test): Likewise.
33709         (isfinite_test): Likewise.
33710         (finite_test): Likewise.
33711         (isgreater_test): Likewise.
33712         (isgreaterequal_test): Likewise.
33713         (isinf_test): Likewise.
33714         (isless_test): Likewise.
33715         (islessequal_test): Likewise.
33716         (islessgreater_test): Likewise.
33717         (isnan_test): Likewise.
33718         (isnormal_test): Likewise.
33719         (issignaling_test): Likewise.
33720         (isunordered_test): Likewise.
33721         (j0_test): Likewise.
33722         (j1_test): Likewise.
33723         (jn_test): Likewise.
33724         (ldexp_test): Likewise.
33725         (lgamma_test): Likewise.
33726         (gamma_test): Likewise.
33727         (lrint_test): Likewise.
33728         (lrint_test_tonearest): Likewise.
33729         (lrint_test_towardzero): Likewise.
33730         (lrint_test_downward): Likewise.
33731         (lrint_test_upward): Likewise.
33732         (llrint_test): Likewise.
33733         (llrint_test_tonearest): Likewise.
33734         (llrint_test_towardzero): Likewise.
33735         (llrint_test_downward): Likewise.
33736         (llrint_test_upward): Likewise.
33737         (log_test): Likewise.
33738         (log10_test): Likewise.
33739         (log1p_test): Likewise.
33740         (log2_test): Likewise.
33741         (logb_test): Likewise.
33742         (logb_test_downward): Likewise.
33743         (lround_test): Likewise.
33744         (llround_test): Likewise.
33745         (modf_test): Likewise.
33746         (nearbyint_test): Likewise.
33747         (nextafter_test): Likewise.
33748         (nexttoward_test): Likewise.
33749         (pow_test): Likewise.
33750         (pow_test_tonearest): Likewise.
33751         (pow_test_towardzero): Likewise.
33752         (pow_test_downward): Likewise.
33753         (pow_test_upward): Likewise.
33754         (remainder_test): Likewise.
33755         (drem_test): Likewise.
33756         (remainder_test_tonearest): Likewise.
33757         (drem_test_tonearest): Likewise.
33758         (remainder_test_towardzero): Likewise.
33759         (drem_test_towardzero): Likewise.
33760         (remainder_test_downward): Likewise.
33761         (drem_test_downward): Likewise.
33762         (remainder_test_upward): Likewise.
33763         (drem_test_upward): Likewise.
33764         (remquo_test): Likewise.
33765         (rint_test): Likewise.
33766         (rint_test_tonearest): Likewise.
33767         (rint_test_towardzero): Likewise.
33768         (rint_test_downward): Likewise.
33769         (rint_test_upward): Likewise.
33770         (round_test): Likewise.
33771         (scalb_test): Likewise.
33772         (scalbn_test): Likewise.
33773         (scalbln_test): Likewise.
33774         (signbit_test): Likewise.
33775         (sin_test): Likewise.
33776         (sin_test_tonearest): Likewise.
33777         (sin_test_towardzero): Likewise.
33778         (sin_test_downward): Likewise.
33779         (sin_test_upward): Likewise.
33780         (sincos_test): Likewise.
33781         (sinh_test): Likewise.
33782         (sinh_test_tonearest): Likewise.
33783         (sinh_test_towardzero): Likewise.
33784         (sinh_test_downward): Likewise.
33785         (sinh_test_upward): Likewise.
33786         (sqrt_test): Likewise.
33787         (sqrt_test_tonearest): Likewise.
33788         (sqrt_test_towardzero): Likewise.
33789         (sqrt_test_downward): Likewise.
33790         (sqrt_test_upward): Likewise.
33791         (tan_test): Likewise.
33792         (tan_test_tonearest): Likewise.
33793         (tan_test_towardzero): Likewise.
33794         (tan_test_downward): Likewise.
33795         (tan_test_upward): Likewise.
33796         (tanh_test): Likewise.
33797         (tgamma_test): Likewise.
33798         (trunc_test): Likewise.
33799         (y0_test): Likewise.
33800         (y1_test): Likewise.
33801         (yn_test): Likewise.
33802         (significand_test): Likewise.
33804         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33805         individual tests in comment.
33806         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33807         (prev_max_error): New variable.
33808         (prev_real_max_error): Likewise.
33809         (prev_imag_max_error): Likewise.
33810         (compare_ulp_data): Don't refer to test names in comment.
33811         (find_test_ulps): Remove function.
33812         (find_function_ulps): Likewise.
33813         (find_complex_function_ulps): Likewise.
33814         (init_max_error): Take function name as argument.  Look up ulps
33815         for that function.
33816         (print_ulps): Remove function.
33817         (print_max_error): Use prev_max_error instead of calling
33818         find_function_ulps.
33819         (print_complex_max_error): Use prev_real_max_error and
33820         prev_imag_max_error instead of calling find_complex_function_ulps.
33821         (check_float_internal): Take max_ulp parameter instead of calling
33822         find_test_ulps.  Don't call print_ulps.
33823         (check_float): Update call to check_float_internal.
33824         (check_complex): Update calls to check_float_internal.
33825         (START): Pass argument to init_max_error.
33826         * math/gen-libm-test.pl (%results): Don't include "kind"
33827         information.
33828         (parse_ulps): Don't handle ulps of individual tests.
33829         (print_ulps_file): Likewise.
33830         (output_ulps): Likewise.
33831         * math/README.libm-test: Update.
33832         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33833         individual tests.
33834         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33835         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33836         * sysdeps/arm/libm-test-ulps: Likewise.
33837         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33838         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33839         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33840         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33841         * sysdeps/microblaze/libm-test-ulps: Likewise.
33842         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33843         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33845         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33847         * sysdeps/sh/libm-test-ulps: Likewise.
33848         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33849         * sysdeps/tile/libm-test-ulps: Likewise.
33850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33852 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33854         * math/libm-test.inc (print_complex_max_error): Check separately
33855         whether real and imaginary errors are within allowed range and
33856         pass 0 to print_complex_function_ulps instead of value within
33857         allowed range.
33859 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33861         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33862         formatting.
33863         (get_handles_fopen): Likewise.
33864         (do_write_test): Likewise.
33866         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33868         * libio/fileops.c (do_ftell): Use cached offset when
33869         available.
33870         * libio/iofwide.c (do_ftell_wide): Likewise.
33871         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33872         _IO_file_attach.
33873         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33875         [BZ #16532]
33876         * libio/libioP.h (get_file_offset): New function.
33877         * libio/fileops.c (get_file_offset): Likewise.
33878         (do_ftell): Likewise.
33879         (_IO_new_file_seekoff): Split out ftell logic.
33880         * libio/wfileops.c (do_ftell_wide): Likewise.
33881         (_IO_wfile_seekoff): Split out ftell logic.
33882         * libio/tst-ftell-active-handler.c: New test case.
33883         * libio/Makefile (tests): Add it.
33885 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33887         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33888         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33890 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33892         [BZ #16639]
33893         * nscd/connections.c (nscd_init): Call do_exit.
33894         (start_threads): Call do_exit and notify_parent.
33895         (begin_drop_privileges): Call do_exit.
33896         (finish_drop_privileges): Likewise.
33897         * nscd/selinux.c (preserve_capabilities): Likewise.
33898         (install_real_capabilities): Likewise.
33899         (nscd_selinux_enabled): Likewise.
33900         (avc_create_thread): Likewise.
33901         (avc_alloc_lock): Likewise.
33902         (nscd_avc_init): Likewise.
33903         * nscd/nscd.c (parent_fd): New static variable.
33904         (main): Create a pipe between parent and child processes.
33905         Skip closing parent_fd.
33906         (monitor_child): New function.
33907         (do_exit): Likewise.
33908         (notify_parent): Likewise.
33909         * nscd/nscd.h (notify_parent): Likewise.
33910         (do_exit): Likewise.
33912 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33914         * malloc/malloc.c (__libc_calloc): Revert last change.
33916 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33920 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33922         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33924         implementation.
33925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33926         (__libc_ifunc_impl_list): Likewise.
33927         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33928         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33929         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33930         * string/strrchr.c: Define STRRCHR.
33932 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33934         * benchtest/bench-strtok.c (simple_strtok): Delete.
33935         (strtok_string): Use as benchmark.
33936         * string/strtok (STRTOK): New macro.
33938 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33940         * manual/threads.texi: Add header and standard comments to all
33941         functions.
33943         * elf/dl-lookup.c (check_match): New function.
33944         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33945         (do_lookup_x): Remove nested function check_match. Use non-nested
33946         function check_match.
33948 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33950         * csu/Makefile (generated, before-compile): Use += rather than =.
33951         * catgets/Makefile (generated, generated-dirs): Likewise.
33952         * debug/Makefile (generated): Likewise.
33953         * dlfcn/Makefile (generated): Likewise.
33954         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33955         * iconvdata/Makefile (before-compile, generated): Likewise.
33956         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33957         * libio/Makefile (generated): Likewise.
33958         * malloc/Makefile (generated): Likewise.
33959         * manual/Makefile (generated, generated-dirs): Likewise.
33960         * misc/Makefile (generated): Likewise.
33961         * posix/Makefile (generated): Likewise.
33962         * resolv/Makefile (generated): Likewise.
33963         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33964         * timezone/Makefile (generated, generated-dirs): Likewise.
33966         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33968 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33971         power8 implementation.
33972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33973         file: POWER8 llround ifunc implementation.
33974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33975         (__lllround): Add POWER8 implementation.
33976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33977         POWER8 llround implementation.
33979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33980         power8 implementation.
33981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33982         file: POWER8 llrint ifunc implementation.
33983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33984         Add POWER8 implementation.
33985         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33986         POWER8 llrint implementation.
33988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33989         power8 implementation.
33990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33991         file: POWER8 finite ifunc implementation.
33992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33993         Add POWER8 implementation.
33994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33995         Likewise.
33996         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33997         POWER8 finite implementation.
33998         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34001         power8 implementation.
34002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34003         file: POWER8 isinf ifunc implementation.
34004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34005         POWER8 implementation.
34006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34007         Likewise.
34008         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34009         isinf implementation.
34010         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34012         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34013         (INIT_ARCH): Add hwcap2 initialization.
34014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34015         power8 implementation.
34016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34017         file: POWER8 isnan ifunc implementation.
34018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34019         POWER8 implementation.
34020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34021         Likewise.
34022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34023         isnan implementation.
34024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34026 2014-02-27  Joey Ye  <joey.ye@arm.com>
34028         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34029         (_FP_NANFRAC_Q): Set to zero.
34031 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34033         [BZ #16623]
34034         * math/auto-libm-test-in: New test inputs.
34035         * math/auto-libm-test-out: Regenerate.
34036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34037         and DA.
34038         (__cos): Likewise.
34039         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34041 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34043         * scripts/evaluate-test.sh: Take new argument indicating whether
34044         failure is expected.
34045         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34046         indicating whether failure is expected.
34047         * conform/Makefile (test-xfail-run-conformtest): New variable.
34048         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34049         level.
34050         * posix/Makefile (test-xfail-annexc): New variable.
34051         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34053 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34055         * argp/Makefile: Include Makeconfig immediately after defining
34056         subdir.
34057         * assert/Makefile: Likewise.
34058         * benchtests/Makefile: Likewise.
34059         * catgets/Makefile: Likewise.
34060         * conform/Makefile: Likewise.
34061         * crypt/Makefile: Likewise.
34062         * csu/Makefile: Likewise.
34063         (all): Remove target.
34064         * ctype/Makefile: Include Makeconfig immediately after defining
34065         subdir.
34066         * debug/Makefile: Likewise.
34067         * dirent/Makefile: Likewise.
34068         * dlfcn/Makefile: Likewise.
34069         * gmon/Makefile: Likewise.
34070         * gnulib/Makefile: Likewise.
34071         * grp/Makefile: Likewise.
34072         * gshadow/Makefile: Likewise.
34073         * hesiod/Makefile: Likewise.
34074         * hurd/Makefile: Likewise.
34075         (all): Remove target.
34076         * iconvdata/Makefile: Include Makeconfig immediately after
34077         defining subdir.
34078         * inet/Makefile: Likewise.
34079         * intl/Makefile: Likewise.
34080         * io/Makefile: Likewise.
34081         * libio/Makefile: Likewise.
34082         (all): Remove target.
34083         * locale/Makefile: Include Makeconfig immediately after defining
34084         subdir.
34085         * login/Makefile: Likewise.
34086         * mach/Makefile: Likewise.
34087         (all): Remove target.
34088         * malloc/Makefile: Include Makeconfig immediately after defining
34089         subdir.
34090         (all): Remove target.
34091         * manual/Makefile: Include Makeconfig immediately after defining
34092         subdir.
34093         * math/Makefile: Likewise.
34094         * misc/Makefile: Likewise.
34095         * nis/Makefile: Likewise.
34096         * nss/Makefile: Likewise.
34097         * po/Makefile: Likewise.
34098         (all): Remove target.
34099         * posix/Makefile: Include Makeconfig immediately after defining
34100         subdir.
34101         * pwd/Makefile: Likewise.
34102         * resolv/Makefile: Likewise.
34103         * resource/Makefile: Likewise.
34104         * rt/Makefile: Likewise.
34105         * setjmp/Makefile: Likewise.
34106         * shadow/Makefile: Likewise.
34107         * signal/Makefile: Likewise.
34108         * socket/Makefile: Likewise.
34109         * soft-fp/Makefile: Likewise.
34110         * stdio-common/Makefile: Likewise.
34111         * stdlib/Makefile: Likewise.
34112         * streams/Makefile: Likewise.
34113         * string/Makefile: Likewise.
34114         * sunrpc/Makefile: Likewise.
34115         (all): Remove target.
34116         * sysvipc/Makefile: Include Makeconfig immediately after defining
34117         subdir.
34118         * termios/Makefile: Likewise.
34119         * time/Makefile: Likewise.
34120         * timezone/Makefile: Likewise.
34121         (all): Remove target.
34122         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34123         subdir.
34124         * wctype/Makefile: Likewise.
34126 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34128         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34129         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34130         (libc_feholdexcept_setround_mips): Ditto.
34131         (libc_feholdsetround): New.
34132         (libc_feholdsetroundf): New.
34133         (libc_feholdsetroundl): New.
34134         (libc_feupdateenv_test_mips): New.
34135         (libc_feupdateenv_test): New.
34136         (libc_feupdateenv_testf): New.
34137         (libc_feupdateenv_testl): New.
34138         (libc_feresetround): New.
34139         (libc_feresetroundf): New.
34140         (libc_feresetroundl): New.
34141         (libc_fetestexcept_mips): New.
34142         (libc_fetestexcept): New.
34143         (libc_fetestexceptf): New.
34144         (libc_fetestexceptl): New.
34145         (HAVE_RM_CTX): New.
34146         (libc_feholdexcept_setround_mips_ctx): New.
34147         (libc_feholdexcept_setround_ctx): New.
34148         (libc_feholdexcept_setroundf_ctx): New.
34149         (libc_feholdexcept_setroundl_ctx): New.
34150         (libc_fesetenv_mips_ctx): New.
34151         (libc_fesetenv_ctx): New.
34152         (libc_fesetenv_ctxf): New.
34153         (libc_fesetenv_ctxl): New.
34154         (libc_feupdateenv_mips_ctx): New.
34155         (libc_feupdateenv_ctx): New.
34156         (libc_feupdateenvf_ctx): New.
34157         (libc_feupdateenvl_ctx): New.
34158         (libc_feholdsetround_mips_ctx): New.
34159         (libc_feholdsetround_ctx): New.
34160         (libc_feholdsetroundf_ctx): New.
34161         (libc_feholdsetroundl_ctx): New.
34162         (libc_feresetround_mips_ctx): New.
34163         (libc_feresetround_ctx): New.
34164         (libc_feresetroundf_ctx): New.
34165         (libc_feresetroundl_ctx): New.
34167 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34169         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34171         * manual/ipc.texi: New file.
34172         * manual/Makefile (chapters): Add ipc.
34173         * manual/job.texi: Add "Inter-Process Communication" to next.
34174         * manual/process.texi: Add "Inter-Process Communication" to prev.
34176 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34180 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34182         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34184         * manual/arith.texi: Fix spaces after sentences.
34185         * manual/charset.texi: Likewise.
34186         * manual/errno.texi: Likewise.
34187         * manual/install.texi: Likewise.
34188         * manual/llio.texi: Likewise.
34189         * manual/locale.texi: Likewise.
34190         * manual/maint.texi: Likewise.
34191         * manual/math.texi: Likewise.
34192         * manual/memory.texi: Likewise.
34193         * manual/message.texi: Likewise.
34194         * manual/probes.texi: Likewise.
34195         * manual/resource.texi: Likewise.
34196         * manual/signal.texi: Likewise.
34197         * manual/socket.texi: Likewise.
34198         * manual/stdio.texi: Likewise.
34199         * manual/string.texi: Likewise.
34200         * manual/time.texi: Likewise.
34201         * manual/users.texi: Likewise.
34203 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34205         [BZ #16632]
34206         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34207         _DEFAULT_SOURCE is defined.
34209 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34210             Carlos O'Donell  <carlos@redhat.com>
34212         [BZ #16613]
34213         * elf/dl-tls.c (_dl_count_modids): New function.
34214         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34215         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34216         audit library and increment generation counter.
34217         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34218         * elf/tst-audit9.c: New file.
34219         * elf/tst-auditmod9a.c: New file.
34220         * elf/tst-auditmod9b.c: New file.
34221         * elf/Makefile: Add rules to build and run tst-audit9.
34223 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34225         [BZ #15347]
34226         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34228 2014-02-25  Will Newton  <will.newton@linaro.org>
34230         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34231         (__longjmp): Restore sp and lr before restoring callee
34232         saved registers.  Add longjmp and longjmp_target
34233         SystemTap probe point.
34234         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34235         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34236         Define to zero to match jmpbuf layout.
34237         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34238         (__sigsetjmp): Save sp and lr before saving callee
34239         saved registers.  Add setjmp SystemTap probe point.
34241 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34243         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34245 2014-02-24  Andreas Schwab  <schwab@suse.de>
34247         [BZ #15804]
34248         * elf/pldd.c (wait_for_ptrace_stop): New function.
34249         (main): Call it after attaching.
34251 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34253         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34254         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34255         Versions files is now verboten.
34256         * hurd/Versions (libc: GLIBC_2.0):
34257         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34258         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34259         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34260         * mach/Versions: Likewise.
34262         * csu/Versions: Remove unused %include.
34263         * resolv/Versions: Likewise.
34265 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34267         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34268         ($(objpfx)check-local-headers.out): Likewise.
34269         ($(objpfx)begin-end-check.out): Likewise.
34270         * Makerules (check-abi-%.out): Likewise.
34271         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34272         ($(objpfx)test2.cat): Likewise.
34273         ($(objpfx)de/libc.cat): Likewise.
34274         ($(objpfx)test-gencat.out): Likewise.
34275         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34276         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34277         ($(objpfx)noload-mem): Likewise.
34278         ($(objpfx)tst-pathopt.out): Likewise.
34279         ($(objpfx)tst-rtld-load-self.out): Likewise.
34280         ($(objpfx)tst-array1-cmp.out): Likewise.
34281         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34282         ($(objpfx)tst-array2-cmp.out): Likewise.
34283         ($(objpfx)tst-array3-cmp.out): Likewise.
34284         ($(objpfx)tst-array4-cmp.out): Likewise.
34285         ($(objpfx)tst-array5-cmp.out): Likewise.
34286         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34287         ($(objpfx)check-textrel.out): Likewise.
34288         ($(objpfx)check-execstack.out): Likewise.
34289         ($(objpfx)check-localplt.out): Likewise.
34290         ($(objpfx)order2-cmp.out): Likewise.
34291         ($(objpfx)tst-leaks1-mem): Likewise.
34292         ($(objpfx)tst-leaks1-static-mem): Likewise.
34293         ($(objpfx)tst-initorder-cmp.out): Likewise.
34294         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34295         ($(objpfx)tst-unused-dep.out): Likewise.
34296         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34297         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34298         * iconv/Makefile (test-iconvconfig): Likewise.
34299         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34300         ($(objpfx)iconv-test.out): Likewise.
34301         ($(objpfx)tst-tables.out): Likewise.
34302         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34303         ($(objpfx)tst-gettext.out): Likewise.
34304         ($(objpfx)tst-translit.out): Likewise.
34305         ($(objpfx)tst-gettext2.out): Likewise.
34306         ($(objpfx)tst-gettext4.out): Likewise.
34307         ($(objpfx)tst-gettext6.out): Likewise.
34308         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34309         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34310         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34311         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34312         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34313         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34314         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34315         ($(objpfx)wordexp-tst.out): Likewise.
34316         ($(objpfx)annexc.out): Likewise.
34317         ($(objpfx)tst-fnmatch-mem): Likewise.
34318         ($(objpfx)bug-regex2-mem): Likewise.
34319         ($(objpfx)bug-regex14-mem): Likewise.
34320         ($(objpfx)bug-regex21-mem): Likewise.
34321         ($(objpfx)bug-regex31-mem): Likewise.
34322         ($(objpfx)tst-vfork3-mem): Likewise.
34323         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34324         ($(objpfx)tst-pcre-mem): Likewise.
34325         ($(objpfx)tst-boost-mem): Likewise.
34326         ($(objpfx)tst-getconf.out): Likewise.
34327         ($(objpfx)bug-ga2-mem): Likewise.
34328         ($(objpfx)bug-glob2-mem): Likewise.
34329         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34330         ($(objpfx)mtrace-tst-leaks2): Likewise.
34331         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34332         ($(objpfx)tst-printf.out): Likewise.
34333         ($(objpfx)tst-setvbuf1.out): Likewise.
34334         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34335         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34336         ($(objpfx)tst-fmtmsg.out): Likewise.
34337         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34338         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34340         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34341         * bits/sigaction.h [__USE_MISC]: Likewise.
34342         * bits/waitstatus.h: Update #endif comments.
34343         * ctype/ctype.h: Likewise.
34344         * dirent/dirent.h: Likewise.
34345         [__USE_MISC]: Remove redundant conditionals.
34346         * grp/grp.h: Update #endif comments.
34347         [__USE_GNU]: Remove redundant conditionals.
34348         [__USE_MISC]: Likewise.
34349         * inet/netinet/in.h [__USE_GNU]: Likewise.
34350         * io/sys/stat.h [__USE_MISC]: Likewise.
34351         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34352         * libio/bits/stdio.h: Update #endif comments.
34353         [__USE_MISC]: Remove redundant conditionals.
34354         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34355         * libio/stdio.h: Update #endif comments.
34356         [__USE_MISC]: Remove redundant conditionals.
34357         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34358         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34359         * math/math.h: Update #else and #endif comments.
34360         [__USE_MISC]: Remove redundant conditionals.
34361         * misc/sys/uio.h: Update #endif comments.
34362         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34363         * posix/glob.h [__USE_MISC]: Likewise.
34364         * posix/sys/types.h: Update #endif comments.
34365         [__USE_MISC]: Remove redundant conditionals.
34366         * posix/sys/wait.h: Update #endif comments.
34367         [__USE_MISC]: Remove redundant conditionals.
34368         * posix/unistd.h: Update #endif comments.
34369         [__USE_MISC]: Remove redundant conditionals.
34370         * pwd/pwd.h [__USE_GNU]: Likewise.
34371         [__USE_MISC]: Likewise.
34372         * resolv/netdb.h [__USE_GNU]: Likewise.
34373         * signal/signal.h: Update #endif comments.
34374         [__USE_MISC]: Remove redundant conditionals.
34375         * stdlib/stdlib.h: Update #else and #endif comments.
34376         [__USE_MISC]: Remove redundant conditionals.
34377         [__USE_GNU]: Likewise.
34378         * string/bits/string2.h [__USE_MISC]: Likewise.
34379         * string/string.h: Update #endif comments.
34380         [__USE_MISC]: Remove redundant conditionals.
34381         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34382         Likewise.
34383         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34384         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34385         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34386         Likewise.
34387         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34388         Likewise.
34389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34390         comments.
34391         [__USE_MISC]: Remove redundant conditionals.
34392         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34393         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34394         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34395         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34396         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34397         Likewise.
34398         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34399         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34400         Likewise.
34401         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34402         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34403         Likewise.
34404         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34405         Likewise.
34406         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34407         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34408         Likewise.
34409         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34410         Likewise.
34411         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34412         * sysdeps/x86/bits/string.h: Update #endif comments.
34413         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34414         conditionals.
34415         * time/sys/time.h: Update #endif comments.
34416         * time/time.h: Likewise.
34417         [__USE_MISC]: Remove redundant conditionals.
34419 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
34421         [BZ #16600]
34422         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34424 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
34426         * Versions.def (librt): Add GLIBC_2.17.
34428 2014-02-21  Adam Conrad  <adconrad@0c3.net>
34430         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34431         synonym for _SYS_AUXV_H to allow direct inclusion.
34432         * sysdeps/sparc/bits/hwcap.h: Likewise.
34433         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34434         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34435         * sysdeps/sparc/sysdep.h: Likewise.
34437 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34439         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34441 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34443         * benchtests/bench-strrchr.c: Print length instead of position.
34445 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34447         [BZ #16611]
34448         * sysdeps/unix/sysv/linux/kernel-features.h
34449         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34450         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34451         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34452         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34453         Likewise.
34454         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34455         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34456         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34457         (__ASSUME_SENDMMSG): Define instead of using previous
34458         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34459         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34460         (__ASSUME_SENDMMSG_SYSCALL): Define.
34461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34462         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34463         Likewise.
34464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34465         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34466         Likewise.
34467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34468         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34469         Likewise.
34470         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34471         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34472         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34473         [__ASSUME_SENDMMSG]: Change conditionals to
34474         [__ASSUME_SENDMMSG_SOCKETCALL].
34475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34476         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34477         Define.
34478         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34479         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34480         Likewise.
34481         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34482         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34483         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34484         [!__ASSUME_SENDMMSG]: Change conditional to
34485         [!__ASSUME_SENDMMSG_SOCKETCALL].
34486         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34487         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34488         Define.
34490         [BZ #16610]
34491         * sysdeps/unix/sysv/linux/kernel-features.h
34492         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34493         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34494         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34495         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34496         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34497         [__i386__ || __sparc__]
34498         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34499         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34500         (__ASSUME_RECVMMSG): Define instead of using previous
34501         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34503         (__ASSUME_RECVMMSG_SYSCALL): Define.
34504         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34505         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34506         Likewise.
34507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34508         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34509         Likewise.
34510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34511         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34512         Likewise.
34513         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34514         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34515         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34516         [__ASSUME_RECVMMSG]: Change condition to
34517         [__ASSUME_RECVMMSG_SOCKETCALL].
34518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34519         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34520         Define.
34521         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34522         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34523         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34524         Likewise.
34525         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34526         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34527         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34528         [!__ASSUME_RECVMMSG]: Change condition to
34529         [!__ASSUME_RECVMMSG_SOCKETCALL].
34530         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34531         (__ASSUME_RECVMMSG_SYSCALL): Define.
34533         [BZ #16609]
34534         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34535         __powerpc__ || __s390__ || __sh__ || __sparc__]
34536         (__ASSUME_SOCKETCALL): Define.
34537         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34538         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34539         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34540         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34541         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34542         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34543         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34544         (__ASSUME_ACCEPT4): Define instead of using previous
34545         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34546         __powerpc__ || __sparc__ || __s390__)] condition.
34547         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34548         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34549         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34550         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34551         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34552         [!__ASSUME_ACCEPT4]: Change condition to
34553         [!__ASSUME_ACCEPT4_SOCKETCALL].
34554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34555         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34556         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34558         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34559         __ASSUME_ACCEPT4_SYSCALL.
34560         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34561         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34562         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34563         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34564         __ASSUME_ACCEPT4_SYSCALL.
34565         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34566         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34567         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34568         [__ASSUME_ACCEPT4]: Change condition to
34569         [__ASSUME_ACCEPT4_SOCKETCALL].
34570         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34571         (__ASSUME_SOCKETCALL): Define.
34572         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34574         (__ASSUME_SOCKETCALL): Define.
34575         (__ASSUME_ACCEPT4): Remove.
34576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34577         Define.
34578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34579         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34580         Likewise.
34581         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34582         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34584         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34585         macro.
34586         (HWCAP_ARM_LPAE): Likewise.
34587         (HWCAP_ARM_EVTSTRM): Likewise.
34588         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34589         Add vpfd32, lpae and evtstrm.
34590         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34591         Increase to 22.
34593 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34595         * math/auto-libm-test-in: Add tests of clog10.
34596         * math/auto-libm-test-out: Regenerated.
34597         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34598         * sysdeps/i386/fpu/libm-test-ulps: Update.
34599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34601 2014-02-18  Andreas Schwab  <schwab@suse.de>
34603         [BZ #16574]
34604         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34605         Store non-zero if the second buffer was newly allocated.
34606         (send_dg): Likewise.
34607         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34608         to send_vc and send_dg.
34609         (res_nsend): Pass NULL for ansp2_malloced.
34610         * resolv/res_query.c (__libc_res_nquery): Add parameter
34611         answerp2_malloced and pass it down to __libc_res_nsend.
34612         (res_nquery): Pass additional NULL to __libc_res_nquery.
34613         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34614         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34615         second answer buffer if answerp2_malloced was set.
34616         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34617         (__libc_res_nquerydomain): Add parameter
34618         answerp2_malloced and pass it down to __libc_res_nquery.
34619         (res_nquerydomain): Pass additional NULL to
34620         __libc_res_nquerydomain.
34621         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34622         additional NULL to __libc_res_nsend and __libc_res_nquery.
34623         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34624         additional NULL to __libc_res_nsearch.
34625         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34626         parameter of __libc_res_nsearch to check for separately allocated
34627         second buffer.
34628         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34629         __libc_res_nquery.
34630         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34631         additional NULL to __libc_res_nquery.
34632         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34633         __libc_res_nsearch.
34634         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34635         * include/resolv.h: Update prototypes of __libc_res_nquery,
34636         __libc_res_nsearch, __libc_res_nsend.
34638 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34640         * math/auto-libm-test-in: Add tests of fma.
34641         * math/auto-libm-test-out: Regenerated.
34642         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34643         (fma_towardzero_test_data): Likewise.
34644         (fma_downward_test_data): Likewise.
34645         (fma_upward_test_data): Likewise.
34646         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34647         mpc_mode.
34648         (rounding_modes): Add values for new field.
34649         (func_calc_method): Add value mpfr_fff_f.
34650         (func_calc_desc): Add mpfr_fff_f union field.
34651         (test_function): Add field exact_args.
34652         (FUNC): Add macro argument EXACT_ARGS.
34653         (FUNC_mpfr_f_f): Update call to FUNC.
34654         (FUNC_mpfr_f_f): Likewise.
34655         (FUNC_mpfr_ff_f): Likewise.
34656         (FUNC_mpfr_if_f): Likewise.
34657         (FUNC_mpc_c_f): Likewise.
34658         (FUNC_mpc_c_c): Likewise.
34659         (test_functions): Add fma.  Update calls to FUNC.
34660         (handle_input_arg): Add argument exact_args.
34661         (add_test): Update call to handle_input_arg.
34662         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34663         (output_for_one_input_case): Update call to calc_generic_results.
34664         Recalculate exact zero results in each rounding mode.
34666         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34667         non-negative before setting low bit.
34668         * math/auto-libm-test-in: Mark one asin test possibly having
34669         spurious underflow.
34670         * math/auto-libm-test-out: Regenerated.
34671         * sysdeps/i386/fpu/libm-test-ulps: Update.
34672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34674 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34676         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34677         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34678         ports/sysdeps/unix/sysv/linux/microblaze.
34679         * README: Add missing listing for microblaze*-*-linux-gnu.
34681 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34684         duplicate code
34686 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34688         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34689         * sysdeps/unix/sysv/linux/ia64: Move directory from
34690         ports/sysdeps/unix/sysv/linux/ia64.
34691         * README: Update listing for ia64-*-linux-gnu.
34693 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34694             Joseph Myers  <joseph@codesourcery.com>
34696         * Makeconfig (test-name): New variable.
34697         (evaluate-test): Likewise.
34698         * Makerules (do-test-clean): Remove .test-result files.
34699         (common-mostlyclean): Likewise.
34700         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34701         * scripts/evaluate-test.sh: New file.
34703 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34705         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34706         separate $(objpfx)tst-fopenloc-cmp.out and
34707         $(objpfx)tst-fopenloc-mem.out targets.
34708         (tests): Update dependencies.
34709         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34710         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34711         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34712         (tst-rxspencer-no-utf8-ARGS): New variable.
34713         (tst-rxspencer-no-utf8-ENV): Likewise.
34714         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34715         instead of $(objpfx)tst-rxspencer-mem.
34716         ($(objpfx)tst-rxspencer-mem): Change target to
34717         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34718         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34719         * posix/tst-rxspencer-no-utf8.c: New file.
34721         * elf/Makefile ($(objpfx)order.out): Remove rule.
34722         [$(run-built-tests) = yes] (tests): Depend on
34723         $(objpfx)order-cmp.out.
34724         ($(objpfx)order-cmp.out): New rule.
34725         [$(run-built-tests) = yes] (tests): Depend on
34726         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34727         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34728         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34729         $(objpfx)tst-array5-static-cmp.out.
34730         ($(objpfx)tst-array1.out): Remove rule.
34731         ($(objpfx)tst-array1-cmp.out): New rule.
34732         ($(objpfx)tst-array1-static.out): Remove rule.
34733         ($(objpfx)tst-array1-static-cmp.out): New rule.
34734         ($(objpfx)tst-array2.out): Remove rule.
34735         ($(objpfx)tst-array2-cmp.out): New rule.
34736         ($(objpfx)tst-array3.out): Remove rule.
34737         ($(objpfx)tst-array3-cmp.out): New rule.
34738         ($(objpfx)tst-array4.out): Remove rule.
34739         ($(objpfx)tst-array4-cmp.out): New rule.
34740         ($(objpfx)tst-array5.out): Remove rule.
34741         ($(objpfx)tst-array5-cmp.out): New rule.
34742         ($(objpfx)tst-array5-static.out): Remove rule.
34743         ($(objpfx)tst-array5-static-cmp.out): New rule.
34744         [$(run-built-tests) = yes] (tests): Depend on
34745         $(objpfx)order2-cmp.out.
34746         ($(objpfx)order2.out): Remove rule.
34747         ($(objpfx)order2-cmp.out): New rule.
34748         ($(objpfx)tst-initorder.out): Remove rule.
34749         [$(run-built-tests) = yes] (tests): Depend on
34750         $(objpfx)tst-initorder-cmp.out.
34751         ($(objpfx)tst-initorder-cmp.out): New rule.
34752         ($(objpfx)tst-initorder2.out): Remove rule.
34753         [$(run-built-tests) = yes] (tests): Depend on
34754         $(objpfx)tst-initorder2-cmp.out.
34755         ($(objpfx)tst-initorder2-cmp.out): New rule.
34756         [$(run-built-tests) = yes] (tests): Depend on
34757         $(objpfx)tst-unused-dep-cmp.out.
34758         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34759         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34760         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34761         on $(objpfx)tst-setvbuf1-cmp.out.
34762         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34763         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34764         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34765         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34766         ($(objpfx)tst-svc.out): Remove rule.
34767         ($(objpfx)tst-svc-cmp.out): New rule.
34769 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34771         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34772         * ctype/ctype.h [__USE_MISC]: Likewise.
34773         * dirent/dirent.h [__USE_MISC]: Likewise.
34774         * grp/grp.h [__USE_MISC]: Likewise.
34775         * io/fcntl.h [__USE_MISC]: Likewise.
34776         * io/sys/stat.h [__USE_MISC]: Likewise.
34777         * libio/stdio.h [__USE_MISC]: Likewise.
34778         * posix/unistd.h [__USE_MISC]: Likewise.
34779         * pwd/pwd.h [__USE_MISC]: Likewise.
34780         * stdlib.h [__USE_MISC]: Likewise.
34781         * string/bits/string2.h [__USE_MISC]: Likewise.
34782         * string/string.h [__USE_MISC]: Likewise.
34783         * time/time.h [__USE_MISC]: Likewise.
34785 2014-02-13  Andreas Schwab  <schwab@suse.de>
34787         [BZ #16574]
34788         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34789         second answer buffer if it was separately allocated.
34791 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34793         * sysdeps/mips/math-tests.h: Include <features.h>.
34794         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34795         (ROUNDING_TESTS_long_double): Do not define.
34796         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34797         (EXCEPTION_TESTS_long_double): Likewise.
34798         * sysdeps/mips/mips64/libm-test-ulps: Update.
34800         * include/features.h (__USE_BSD): Remove macro definitions.
34801         (__USE_SVID): Likewise.
34802         (_BSD_SOURCE): Likewise.
34803         (_SVID_SOURCE): Likewise.
34804         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34805         from definition of _DEFAULT_SOURCE.
34806         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34807         [_DEFAULT_SOURCE].
34808         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34809         * bits/mman.h [__USE_BSD]: Likewise.
34810         * bits/termios.h [__USE_BSD]: Likewise.
34811         * bits/waitstatus.h [__USE_BSD]: Likewise.
34812         * ctype/ctype.h [__USE_SVID]: Likewise.
34813         * dirent/dirent.h [__USE_BSD]: Likewise.
34814         * grp/grp.h [__USE_SVID]: Likewise.
34815         [__USE_BSD]: Likewise.
34816         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34817         * io/fcntl.h [__USE_BSD]: Likewise.
34818         * io/ftw.h [__USE_BSD]: Likewise.
34819         * io/sys/stat.h [__USE_BSD]: Likewise.
34820         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34821         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34822         * libio/stdio.h [__USE_SVID]: Likewise.
34823         [__USE_BSD]: Likewise.
34824         * math/math.h [__USE_SVID]: Likewise.
34825         [__USE_BSD]: Likewise.
34826         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34827         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34828         * misc/search.h [__USE_SVID]: Likewise.
34829         * misc/sys/mman.h [__USE_BSD]: Likewise.
34830         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34831         * misc/sys/uio.h [__USE_BSD]: Likewise.
34832         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34833         * posix/glob.h [__USE_BSD]: Likewise.
34834         * posix/regex.h [__USE_BSD]: Likewise.
34835         * posix/sys/types.h [__USE_BSD]: Likewise.
34836         [__USE_SVID]: Likewise.
34837         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34838         * posix/sys/wait.h [__USE_BSD]: Likewise.
34839         [__USE_SVID]: Likewise.
34840         * posix/unistd.h [__USE_BSD]: Likewise.
34841         [__USE_SVID]: Likewise.
34842         * pwd/pwd.h [__USE_SVID]: Likewise.
34843         * resolv/netdb.h [__USE_BSD]: Likewise.
34844         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34845         * signal/signal.h [__USE_BSD]: Likewise.
34846         [__USE_SVID]: Likewise.
34847         * socket/sys/socket.h [__USE_BSD]: Likewise.
34848         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34849         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34850         [__USE_SVID]: Likewise.
34851         * string/bits/string2.h [__USE_BSD]: Likewise.
34852         [__USE_SVID]: Likewise.
34853         * string/bits/string3.h [__USE_BSD]: Likewise.
34854         * string/endian.h [__USE_BSD]: Likewise.
34855         * string/string.h [__USE_SVID]: Likewise.
34856         [__USE_BSD]: Likewise.
34857         * string/strings.h [__USE_BSD]: Likewise.
34858         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34859         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34860         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34861         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34862         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34863         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34864         Likewise.
34865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34866         Likewise.
34867         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34868         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34869         Likewise.
34870         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34871         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34872         Likewise.
34873         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34874         Likewise.
34875         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34876         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34877         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34878         Likewise.
34879         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34880         Likewise.
34881         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34882         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34883         * termios/termios.h [__USE_BSD]: Likewise.
34884         * time/sys/time.h [__USE_BSD]: Likewise.
34885         * time/time.h [__USE_BSD]: Likewise.
34886         [__USE_SVID]: Likewise.
34888         * Makefile (subdir_targets): Remove subdir_lint.out.
34890         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34891         (do-tst-printf): Likewise.
34892         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34893         $(objpfx)tst-printf.out.
34895         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34897         * Makerules (check-abi-%): Change target to
34898         $(objpfx)check-abi-%.out.
34899         (check-abi target): Update dependencies.
34900         (check-abi-pattern variable): Redirect output of diff to $@.
34901         (check-abi variable): Likewise.
34902         * elf/Makefile (check-abi): Update dependencies.
34904         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34905         unused.
34906         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34907         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34908         subnormal range.
34909         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34910         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34911         value has largest subnormal exponent.
34912         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34913         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34914         * sysdeps/aarch64/soft-fp/sfp-machine.h
34915         (_FP_TININESS_AFTER_ROUNDING): New macro.
34916         * sysdeps/alpha/soft-fp/sfp-machine.h
34917         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34918         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34919         Likewise.
34920         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34921         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34922         * sysdeps/mips/soft-fp/sfp-machine.h
34923         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34924         * sysdeps/powerpc/soft-fp/sfp-machine.h
34925         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34926         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34927         Likewise.
34928         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34929         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34930         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34931         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34932         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34933         Likewise.
34935 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34937         [BZ #16545]
34938         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34939         model 1.
34941 2014-02-12  Richard Henderson  <rth@redhat.com>
34943         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34944         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34945         * sysdeps/unix/sysv/linux/alpha: Move directory from
34946         ports/sysdeps/unix/sysv/linux/alpha.
34947         * README: Update listing for alpha-*-linux-gnu.
34949 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34951         * include/features.h: Update comment documenting feature test
34952         macros.
34953         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34954         _DEFAULT_SOURCE.
34955         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34956         (_SVID_SOURCE): Likewise.
34957         (_DEFAULT_SOURCE): Update description of default features.
34958         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34959         with _GNU_SOURCE.
34960         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34961         (S_ISVTX): Likewise.
34962         * manual/math.texi (Mathematical Constants): Likewise.
34963         * manual/signal.texi (Interrupted Primitives): Likewise.
34964         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34965         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34966         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34967         Don't refer to _SVID_SOURCE in warning text.
34969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34971         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34972         already defined.
34973         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34974         * sysdeps/mips/dl-lookup.c: Remove.
34975         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34977 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34979         [BZ #16447]
34980         * math/auto-libm-test-in: Add testcase for expl.
34981         * math/auto-libm-test-out: Regenerate.
34982         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34983         calculation of unsafe.
34984         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34986 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34988         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34989         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34990         ports/sysdeps/unix/sysv/linux/aarch64.
34991         * README: Update listing for aarch64*-*-linux-gnu.
34993 2014-02-11  Will Newton  <will.newton@linaro.org>
34995         * manual/probes.texi (Mathematical Function Probes): Use
34996         "triggered" instead of "hit".
34998         * manual/probes.texi (Internal Probes): Add documentation
34999         of setjmp, longjmp and longjmp_target probes.
35001         * include/stap-probe.h: Add comment about probe argument
35002         format.
35004         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35005         definition.  (tr_where, tr_freehook, tr_mallochook,
35006         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35008 2014-02-11  David S. Miller  <davem@davemloft.net>
35010         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35011         processing int_tests.
35013 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35015         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35016         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35017         * sysdeps/unix/sysv/linux/mips: Move directory from
35018         ports/sysdeps/unix/sysv/linux/mips.
35019         * README: Update listing for mips-*-linux-gnu and
35020         mips64-*-linux-gnu.
35022 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35024         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35025         * sysdeps/unix/sysv/linux/m68k: Move directory from
35026         ports/sysdeps/unix/sysv/linux/m68k.
35027         * README: Update listing for m68k-*-linux-gnu.
35029 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35031         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35032         * sysdeps/unix/sysv/linux/generic: Move directory from
35033         ports/sysdeps/unix/sysv/linux/generic.
35034         * sysdeps/unix/sysv/linux/tile: Move directory from
35035         ports/sysdeps/unix/sysv/linux/tile.
35036         * README: Update listing for tile*-*-linux-gnu.
35038 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35040         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35041         __builtin_expect.
35042         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35043         * catgets/open_catalog.c (__open_catalog): Likewise.
35044         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35045         * debug/confstr_chk.c: Likewise.
35046         * debug/fread_chk.c (__fread_chk): Likewise.
35047         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35048         * debug/getgroups_chk.c: Likewise.
35049         * debug/mbsnrtowcs_chk.c: Likewise.
35050         * debug/mbsrtowcs_chk.c: Likewise.
35051         * debug/mbstowcs_chk.c: Likewise.
35052         * debug/memcpy_chk.c: Likewise.
35053         * debug/memmove_chk.c: Likewise.
35054         * debug/mempcpy_chk.c: Likewise.
35055         * debug/memset_chk.c: Likewise.
35056         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35057         * debug/strcat_chk.c (__strcat_chk): Likewise.
35058         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35059         * debug/strncat_chk.c (__strncat_chk): Likewise.
35060         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35061         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35062         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35063         * debug/wcpncpy_chk.c: Likewise.
35064         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35065         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35066         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35067         * debug/wcsncpy_chk.c: Likewise.
35068         * debug/wcsnrtombs_chk.c: Likewise.
35069         * debug/wcsrtombs_chk.c: Likewise.
35070         * debug/wcstombs_chk.c: Likewise.
35071         * debug/wmemcpy_chk.c: Likewise.
35072         * debug/wmemmove_chk.c: Likewise.
35073         * debug/wmempcpy_chk.c: Likewise.
35074         * debug/wmemset_chk.c: Likewise.
35075         * dirent/scandirat.c (SCANDIRAT): Likewise.
35076         * dlfcn/dladdr1.c (dladdr1): Likewise.
35077         * dlfcn/dladdr.c (dladdr): Likewise.
35078         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35079         * dlfcn/dlerror.c (__dlerror): Likewise.
35080         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35081         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35082         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35083         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35084         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35085         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35086         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35087         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35088         Likewise.
35089         * elf/dl-conflict.c: Likewise.
35090         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35091         * elf/dl-dst.h: Likewise.
35092         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35093         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35094         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35095         * elf/dl-init.c (call_init, _dl_init): Likewise.
35096         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35097         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35098         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35099         Likewise.
35100         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35101         Likewise.
35102         * elf/dl-minimal.c (__libc_memalign): Likewise.
35103         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35104         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35105         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35106         * elf/dl-sym.c (do_sym): Likewise.
35107         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35108         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35109         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35110         * elf/dl-writev.h (_dl_writev): Likewise.
35111         * elf/ldconfig.c (search_dir): Likewise.
35112         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35113         (dl_main): Likewise.
35114         * elf/setup-vdso.h (setup_vdso): Likewise.
35115         * grp/compat-initgroups.c (compat_call): Likewise.
35116         * grp/fgetgrent.c (fgetgrent): Likewise.
35117         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35118         * grp/putgrent.c (putgrent): Likewise.
35119         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35120         Likewise.
35121         * hurd/hurdinit.c: Likewise.
35122         * iconvdata/8bit-gap.c (struct): Likewise.
35123         * iconvdata/ansi_x3.110.c : Likewise.
35124         * iconvdata/big5.c : Likewise.
35125         * iconvdata/big5hkscs.c : Likewise.
35126         * iconvdata/cp1255.c: Likewise.
35127         * iconvdata/cp1258.c : Likewise.
35128         * iconvdata/cp932.c : Likewise.
35129         * iconvdata/euc-cn.c: Likewise.
35130         * iconvdata/euc-jisx0213.c : Likewise.
35131         * iconvdata/euc-jp.c: Likewise.
35132         * iconvdata/euc-jp-ms.c : Likewise.
35133         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35134         * iconvdata/gb18030.c : Likewise.
35135         * iconvdata/gbbig5.c (const): Likewise.
35136         * iconvdata/gbgbk.c: Likewise.
35137         * iconvdata/gbk.c : Likewise.
35138         * iconvdata/ibm1364.c : Likewise.
35139         * iconvdata/ibm930.c : Likewise.
35140         * iconvdata/ibm932.c: Likewise.
35141         * iconvdata/ibm933.c : Likewise.
35142         * iconvdata/ibm935.c : Likewise.
35143         * iconvdata/ibm937.c : Likewise.
35144         * iconvdata/ibm939.c : Likewise.
35145         * iconvdata/ibm943.c: Likewise.
35146         * iconvdata/iso_11548-1.c: Likewise.
35147         * iconvdata/iso-2022-cn.c : Likewise.
35148         * iconvdata/iso-2022-cn-ext.c : Likewise.
35149         * iconvdata/iso-2022-jp-3.c: Likewise.
35150         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35151         * iconvdata/iso-2022-kr.c : Likewise.
35152         * iconvdata/iso646.c (gconv_end): Likewise.
35153         * iconvdata/iso_6937-2.c : Likewise.
35154         * iconvdata/iso_6937.c : Likewise.
35155         * iconvdata/iso8859-1.c: Likewise.
35156         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35157         * iconvdata/shift_jisx0213.c : Likewise.
35158         * iconvdata/sjis.c : Likewise.
35159         * iconvdata/t.61.c : Likewise.
35160         * iconvdata/tcvn5712-1.c : Likewise.
35161         * iconvdata/tscii.c: Likewise.
35162         * iconvdata/uhc.c : Likewise.
35163         * iconvdata/unicode.c (gconv_end): Likewise.
35164         * iconvdata/utf-16.c (gconv_end): Likewise.
35165         * iconvdata/utf-32.c (gconv_end): Likewise.
35166         * iconvdata/utf-7.c (base64): Likewise.
35167         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35168         * iconv/gconv_close.c (__gconv_close): Likewise.
35169         * iconv/gconv_open.c (__gconv_open): Likewise.
35170         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35171         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35172         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35173         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35174         (ucs4le_internal_loop_single): Likewise.
35175         * iconv/iconv.c (iconv): Likewise.
35176         * iconv/iconv_close.c: Likewise.
35177         * iconv/loop.c (SINGLE): Likewise.
35178         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35179         * include/atomic.h: Likewise.
35180         * inet/inet6_option.c (option_alloc): Likewise.
35181         * intl/bindtextdom.c (set_binding_values): Likewise.
35182         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35183         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35184         * intl/localealias.c (read_alias_file): Likewise.
35185         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35186         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35187         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35188         * libio/fmemopen.c (fmemopen): Likewise.
35189         * libio/iofgets.c (_IO_fgets): Likewise.
35190         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35191         * libio/iofgetws.c (fgetws): Likewise.
35192         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35193         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35194         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35195         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35196         * locale/findlocale.c (_nl_find_locale): Likewise.
35197         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35198         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35199         Likewise.
35200         * locale/setlocale.c (setlocale): Likewise.
35201         * login/programs/pt_chown.c (main): Likewise.
35202         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35203         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35204         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35205         (mmap, mmap64, mremap, munmap): Likewise.
35206         * math/e_exp2l.c: Likewise.
35207         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35208         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35209         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35210         * math/s_catan.c (__catan): Likewise.
35211         * math/s_catanf.c (__catanf): Likewise.
35212         * math/s_catanh.c (__catanh): Likewise.
35213         * math/s_catanhf.c (__catanhf): Likewise.
35214         * math/s_catanhl.c (__catanhl): Likewise.
35215         * math/s_catanl.c (__catanl): Likewise.
35216         * math/s_ccosh.c (__ccosh): Likewise.
35217         * math/s_ccoshf.c (__ccoshf): Likewise.
35218         * math/s_ccoshl.c (__ccoshl): Likewise.
35219         * math/s_cexp.c (__cexp): Likewise.
35220         * math/s_cexpf.c (__cexpf): Likewise.
35221         * math/s_cexpl.c (__cexpl): Likewise.
35222         * math/s_clog10.c (__clog10): Likewise.
35223         * math/s_clog10f.c (__clog10f): Likewise.
35224         * math/s_clog10l.c (__clog10l): Likewise.
35225         * math/s_clog.c (__clog): Likewise.
35226         * math/s_clogf.c (__clogf): Likewise.
35227         * math/s_clogl.c (__clogl): Likewise.
35228         * math/s_csin.c (__csin): Likewise.
35229         * math/s_csinf.c (__csinf): Likewise.
35230         * math/s_csinh.c (__csinh): Likewise.
35231         * math/s_csinhf.c (__csinhf): Likewise.
35232         * math/s_csinhl.c (__csinhl): Likewise.
35233         * math/s_csinl.c (__csinl): Likewise.
35234         * math/s_csqrt.c (__csqrt): Likewise.
35235         * math/s_csqrtf.c (__csqrtf): Likewise.
35236         * math/s_csqrtl.c (__csqrtl): Likewise.
35237         * math/s_ctan.c (__ctan): Likewise.
35238         * math/s_ctanf.c (__ctanf): Likewise.
35239         * math/s_ctanh.c (__ctanh): Likewise.
35240         * math/s_ctanhf.c (__ctanhf): Likewise.
35241         * math/s_ctanhl.c (__ctanhl): Likewise.
35242         * math/s_ctanl.c (__ctanl): Likewise.
35243         * math/w_pow.c: Likewise.
35244         * math/w_powf.c: Likewise.
35245         * math/w_powl.c: Likewise.
35246         * math/w_scalb.c (sysv_scalb): Likewise.
35247         * math/w_scalbf.c (sysv_scalbf): Likewise.
35248         * math/w_scalbl.c (sysv_scalbl): Likewise.
35249         * misc/error.c (error_tail): Likewise.
35250         * misc/pselect.c (__pselect): Likewise.
35251         * nis/nis_callback.c (__nis_create_callback): Likewise.
35252         * nis/nis_call.c (__nisfind_server): Likewise.
35253         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35254         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35255         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35256         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35257         * nis/nis_lookup.c (nis_lookup): Likewise.
35258         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35259         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35260         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35261         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35262         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35263         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35264         * nis/nss_compat/compat-initgroups.c (add_group)
35265         (internal_getgrent_r): Likewise.
35266         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35267         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35268         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35269         (internal_getspnam_r): Likewise.
35270         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35271         (_nss_nis_getaliasbyname_r): Likewise.
35272         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35273         (_nss_nis_getntohost_r): Likewise.
35274         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35275         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35276         (_nss_nis_getgrgid_r): Likewise.
35277         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35278         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35279         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35280         (_nss_nis_gethostbyname4_r): Likewise.
35281         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35282         (initgroups_netid): Likewise.
35283         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35284         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35285         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35286         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35287         (_nss_nis_getprotobynumber_r): Likewise.
35288         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35289         (_nss_nis_getsecretkey): Likewise.
35290         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35291         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35292         (_nss_nis_getpwuid_r): Likewise.
35293         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35294         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35295         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35296         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35297         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35298         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35299         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35300         Likewise.
35301         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35302         (_nss_nisplus_getntohost_r): Likewise.
35303         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35304         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35305         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35306         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35307         Likewise.
35308         * nis/nss_nisplus/nisplus-initgroups.c
35309         (_nss_nisplus_initgroups_dyn): Likewise.
35310         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35311         (_nss_nisplus_getnetbyaddr_r): Likewise.
35312         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35313         (_nss_nisplus_getprotobynumber_r): Likewise.
35314         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35315         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35316         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35317         Likewise.
35318         * nis/nss_nisplus/nisplus-service.c
35319         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35320         (_nss_nisplus_getservbyport_r): Likewise.
35321         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35322         (_nss_nisplus_getspnam_r): Likewise.
35323         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35324         Likewise.
35325         * nscd/aicache.c (addhstaiX): Likewise.
35326         * nscd/cache.c (cache_search, prune_cache): Likewise.
35327         * nscd/connections.c (register_traced_file, send_ro_fd)
35328         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35329         (main_loop_epoll): Likewise.
35330         * nscd/grpcache.c (addgrbyX): Likewise.
35331         * nscd/hstcache.c (addhstbyX): Likewise.
35332         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35333         * nscd/mem.c (gc, mempool_alloc): Likewise.
35334         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35335         (addinnetgrX): Likewise.
35336         * nscd/nscd-client.h (__nscd_acquire_maplock)
35337         (__nscd_drop_map_ref): Likewise.
35338         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35339         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35340         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35341         Likewise.
35342         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35343         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35344         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35345         (__nscd_get_map_ref): Likewise.
35346         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35347         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35348         Likewise.
35349         * nscd/pwdcache.c (addpwbyX): Likewise.
35350         * nscd/selinux.c (preserve_capabilities): Likewise.
35351         * nscd/servicescache.c (addservbyX): Likewise.
35352         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35353         * posix/fnmatch.c (fnmatch): Likewise.
35354         * posix/getopt.c (_getopt_internal_r): Likewise.
35355         * posix/glob.c (glob, glob_in_dir): Likewise.
35356         * posix/wordexp.c (exec_comm_child): Likewise.
35357         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35358         (getanswer_r, gaih_getanswer_slice): Likewise.
35359         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35360         * resolv/res_init.c: Likewise.
35361         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35362         * resolv/res_query.c (__libc_res_nquery): Likewise.
35363         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35364         Likewise.
35365         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35366         * stdio-common/perror.c (perror): Likewise.
35367         * stdio-common/printf_fp.c (___printf_fp): Likewise.
35368         * stdio-common/tmpnam.c (tmpnam): Likewise.
35369         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35370         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35371         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35372         Likewise.
35373         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35374         * stdlib/putenv.c (putenv): Likewise.
35375         * stdlib/setenv.c (__add_to_environ): Likewise.
35376         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35377         * stdlib/strtol_l.c (INTERNAL): Likewise.
35378         * string/memmem.c (memmem): Likewise.
35379         * string/strerror.c (strerror): Likewise.
35380         * string/strnlen.c (__strnlen): Likewise.
35381         * string/test-memmem.c (simple_memmem): Likewise.
35382         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35383         * sunrpc/pm_getport.c (__get_socket): Likewise.
35384         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35385         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35386         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35387         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35388         Likewise.
35389         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35390         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35391         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35392         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35393         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35394         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35395         Likewise.
35396         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35397         Likewise.
35398         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35399         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35401         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35402         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35403         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35404         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35405         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35406         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35407         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35408         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35409         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35410         Likewise.
35411         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35412         Likewise.
35413         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35414         Likewise.
35415         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35417         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35418         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35419         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35420         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35421         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35424         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35425         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35427         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35428         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35430         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35431         Likewise.
35432         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35433         Likewise.
35434         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35435         Likewise.
35436         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35437         Likewise.
35438         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35440         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35441         Likewise.
35442         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35443         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35444         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35445         * sysdeps/posix/sleep.c: Likewise.
35446         * sysdeps/posix/tempname.c: Likewise.
35447         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35448         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35449         Likewise.
35450         * sysdeps/powerpc/powerpc32/dl-machine.h
35451         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35452         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35453         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35454         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35455         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35456         Likewise.
35457         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35458         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35459         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35460         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35461         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35462         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35463         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35464         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35465         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35466         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35468         (elf_machine_lazy_rel): Likewise.
35469         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35471         (elf_machine_lazy_rel): Likewise.
35472         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35473         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35474         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35475         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35476         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35477         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35478         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35480         Likewise.
35481         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35482         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35483         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35484         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35485         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35486         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35487         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35488         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35489         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35491         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35492         Likewise.
35493         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35494         (__posix_fallocate64_l64): Likewise.
35495         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35496         (posix_fallocate): Likewise.
35497         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35498         Likewise.
35499         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35500         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35501         (getifaddrs_internal): Likewise.
35502         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35503         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35504         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35505         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35506         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35507         (__posix_fallocate64_l64): Likewise.
35508         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35509         Likewise.
35510         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35512         (__get_clockfreq): Likewise.
35513         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35514         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35515         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35518         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35519         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35520         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35521         Likewise.
35522         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35523         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35524         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35525         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35526         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35527         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35528         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35529         Likewise.
35530         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35531         (posix_fallocate): Likewise.
35532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35533         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35534         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35535         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35536         (elf_machine_rela, elf_machine_rela_relative)
35537         (elf_machine_lazy_rel): Likewise.
35538         * time/asctime.c (asctime_internal): Likewise.
35539         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35540         * time/tzset.c (__tzset_parse_tz): Likewise.
35541         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35542         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35543         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35544         * wcsmbs/wcsmbsload.h: Likewise.
35546         [BZ #15894]
35547         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35549         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35550         (arena_get2): Remove THREAD_STATS conditionals.
35551         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35552         (__malloc_stats, int): Likewise.
35554 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35556         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35557         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35559         * manual/setjmp.texi: Fix typos/grammar errors.
35561         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35562         Only return early when n is <= 0.  Delete unused return statement.
35564         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35565         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35566         * debug/tst-longjmp_chk3.c: New file.
35568         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35569         (test_main): Replace code with set_fortify_handler call.
35570         * debug/test-strcpy_chk.c: Likewise.
35571         * debug/tst-chk1.c: Likewise.
35572         * debug/tst-longjmp_chk.c: Likewise.
35573         * test-skeleton.c: Include fcntl.h & paths.h
35574         (set_fortify_handler): Define.
35576         * debug/tst-longjmp_chk.c: Add header comment and include
35577         ../test-skeleton.c.
35578         (do_test): Mark static.
35579         (TEST_FUNCTION): Define.
35581         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35582         (IP_PMTUDISC_INTERFACE): Likewise.
35583         (IP_MULTICAST_IF): Likewise.
35584         (IP_MULTICAST_TTL): Likewise.
35585         (IP_MULTICAST_LOOP): Likewise.
35586         (IP_ADD_MEMBERSHIP): Likewise.
35587         (IP_DROP_MEMBERSHIP): Likewise.
35588         (IP_UNBLOCK_SOURCE): Likewise.
35589         (IP_BLOCK_SOURCE): Likewise.
35590         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35591         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35592         (IP_MSFILTER): Likewise.
35593         (MCAST_JOIN_GROUP): Likewise.
35594         (MCAST_BLOCK_SOURCE): Likewise.
35595         (MCAST_UNBLOCK_SOURCE): Likewise.
35596         (MCAST_LEAVE_GROUP): Likewise.
35597         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35598         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35599         (MCAST_MSFILTER): Likewise.
35600         (IP_MULTICAST_ALL): Likewise.
35601         (IP_UNICAST_IF): Likewise.
35603         * timezone/Makefile: Delete $(have-ksh) check.
35604         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35605         * timezone/tzselect.ksh: Add +x mode bits.
35607         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35608         (ANON_INODE_FS_MAGIC): Likewise.
35609         (BDEVFS_MAGIC): Likewise.
35610         (BINFMTFS_MAGIC): Likewise.
35611         (BTRFS_TEST_MAGIC): Likewise.
35612         (CRAMFS_MAGIC_WEND): Likewise.
35613         (DEBUGFS_MAGIC): Likewise.
35614         (ECRYPTFS_SUPER_MAGIC): Likewise.
35615         (EXT3_SUPER_MAGIC): Likewise.
35616         (EXT4_SUPER_MAGIC): Likewise.
35617         (FUTEXFS_SUPER_MAGIC): Likewise.
35618         (HOSTFS_SUPER_MAGIC): Likewise.
35619         (HUGETLBFS_MAGIC): Likewise.
35620         (MINIX3_SUPER_MAGIC): Likewise.
35621         (MTD_INODE_FS_MAGIC): Likewise.
35622         (NILFS_SUPER_MAGIC): Likewise.
35623         (OPENPROM_SUPER_MAGIC): Likewise.
35624         (PIPEFS_MAGIC): Likewise.
35625         (PSTOREFS_MAGIC): Likewise.
35626         (QNX6_SUPER_MAGIC): Likewise.
35627         (RAMFS_MAGIC): Likewise.
35628         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35629         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35630         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35631         (SECURITYFS_MAGIC): Likewise.
35632         (SELINUX_MAGIC): Likewise.
35633         (SMACK_MAGIC): Likewise.
35634         (SOCKFS_MAGIC): Likewise.
35635         (SQUASHFS_MAGIC): Likewise.
35636         (STACK_END_MAGIC): Likewise.
35637         (TMPFS_MAGIC): Likewise.
35638         (USBDEVICE_SUPER_MAGIC): Likewise.
35639         (V9FS_MAGIC): Likewise.
35640         (XENFS_SUPER_MAGIC): Likewise.
35641         (CRAMFS_MAGIC): Fix typo in comment.
35642         (EXT2_SUPER_MAGIC): Update comment.
35643         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35645 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35647         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35648         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35649         * sysdeps/unix/sysv/linux/arm: Move directory from
35650         ports/sysdeps/unix/sysv/linux/arm.
35651         * README: Update listing for arm-*-linux-gnueabi.
35653         * README: Remove mention of am33.
35655 2014-02-07  Roland McGrath  <roland@hack.frob.com>
35657         * bits/sigset.h (__sigemptyset): Use a statement expression rather
35658         than the comma operator, to avoid "rhs of comma has no effect"
35659         compiler warnings.
35660         (__sigfillset, __sigandset, __sigorset): Likewise.
35661         * include/signal.h (__sigemptyset): Likewise.
35662         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35664 2014-02-07  Allan McRae  <allan@archlinux.org>
35666         * version.h (RELEASE): Set to "development".
35667         (VERSION): Set to "2.19.90"
35668         * NEWS: Add 2.20 section.
35670 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35672         [BZ #16529]
35673         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35675 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35677         * manual/contrib.texi: Update entry for Carlos O'Donell,
35678         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35680 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35682         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35684         * sysdeps/unix/sysv/linux/kernel-features.h
35685         [__LINUX_KERNEL_VERSION >= 0x020621]
35686         (__ASSUME_PROC_PID_TASK_COMM): Define.
35688 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35690         [BZ #16398]
35691         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35692         conversion when destination buffer does not have enough space.
35693         * libio/tst-ftell-partial-wide.c: New test case.
35694         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35696         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35697         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35698         Leonard and Allan McRae.
35700 2014-02-04  David S. Miller  <davem@davemloft.net>
35702         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35703         32-bit.
35705 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35708         New file
35709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35710         New file
35711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35712         New file.
35713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35714         New file.
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35716         New file.
35717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35718         New file.
35719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35720         New file.
35721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35722         New file.
35723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35724         New file.
35725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35726         New file.
35727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35728         New file.
35729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35730         New file.
35731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35732         New file.
35734 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35736         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35737         * shlib-versions: Likewise.
35739 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35740             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35742         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35743         (abilist-pattern): New variable, set to %-le.abilist.
35745         * Makerules (abilist-pattern): New variable.
35746         (vpath): Use $(abilist-pattern) in place of %.abilist.
35747         (check-abi-% pattern rule): Likewise.
35748         (check-abi, update-abi): Likewise.
35750 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35754 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35756         * manual/startup.texi: Add next, previous, and top entries for
35757         the `Program Arguments' and `Environment Variables' nodes.
35759 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35761         * manual/macros.texi: Add comments before MTASC-safety macros.
35763         * manual/users.texi: Document MTASC-safety properties.
35765         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35766         (pthread_getspecific, pthread_setspecific): Format with
35767         @deftypefun, and add @safety note.
35768         * manual/signal.texi: Move comments that analyze the above
35769         functions to their home place.
35771 2014-02-03  Allan McRae  <allan@archlinux.org>
35773         * po/sl.po: Update Slovenian translation from translation project.
35775 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35777         * manual/time.texi (timegm): Add missing blank after @c.
35778         Reported by Joseph Myers <joseph@codesourcery.com>.
35780 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35782         * manual/check-safety.sh: New.
35783         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35785         * manual/terminal.texi: Document MTASC-safety properties.
35787         * manual/filesys.texi: Document MTASC-safety properties.
35789         * manual/errno.texi: Document MTASC-safety properties.
35791         * manual/intro.texi: Document safety identifiers and
35792         conditionals.
35794         * manual/string.texi (wcstok): Fix prototype.
35795         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35797         * manual/time.texi: Document MTASC-safety properties.
35799         * manual/string.texi: Document MTASC-safety properties.
35801         * manual/threads.texi: Document MTASC-safety properties.
35803         * manual/stdio.texi: Document MTASC-safety properties.
35805         * manual/syslog.texi: Document MTASC-safety properties.
35807         * manual/sysinfo.texi: Document MTASC-safety properties.
35809         * manual/startup.texi: Document MTASC-safety properties.
35811         * manual/socket.texi: Document MTASC-safety properties.
35813         * manual/signal.texi: Document MTASC-safety properties.
35815 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35817         * manual/setjmp.texi: Document MTASC-safety properties.
35819         * manual/search.texi: Document MTASC-safety properties.
35821         * manual/resource.texi: Document MTASC-safety properties.
35823         * manual/process.texi: Document MTASC-safety properties.
35825         * manual/platform.texi: Document MTASC-safety properties.
35827         * manual/pipe.texi: Document MTASC-safety properties.
35829         * manual/pattern.texi: Document MTASC-safety properties.
35831         * manual/message.texi: Document MTASC-safety properties.
35833         [BZ #12751]
35834         * manual/memory.texi: Document MTASC-safety properties.
35836         * manual/math.texi: Document MTASC-safety properties.
35838         * manual/locale.texi: Document MTASC-safety properties.
35840         * manual/llio.texi: Document MTASC-safety properties.
35842         * manual/libdl.texi: New.
35844         * manual/lang.texi: Document MTASC-safety properties.
35846         * manual/job.texi: Document MTASC-safety properties.
35848         * manual/getopt.texi: Document MTASC-safety properties.
35850         * manual/ctype.texi: Document MTASC-safety properties.
35852 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35854         [BZ #16046]
35855         * csu/libc-tls.c (static_map): Remove variable.
35856         (__libc_setup_tls): Use main executable's link map for TLS data.
35857         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35858         casing for LM_ID_BASE and GL(dl_nns).
35859         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35860         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35861         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35862         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35863         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35864         member.
35865         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35866         l_phnum members.
35868 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35870         * manual/debug.texi: Document MTASC-safety properties.
35872 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35874         [BZ #16510]
35875         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35876         of __x86_64__ when disabling x87 inline functions.
35878 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35880         * manual/charset.texi: Document MTASC-safety properties.
35882         * manual/crypt.texi: Document MTASC-safety properties.
35884         * manual/conf.texi: Document MTASC-safety properties.
35886         * manual/arith.texi: Document MTASC-safety properties.
35888         * manual/argp.texi: Document MTASC-safety properties.
35890         * manual/macros.texi: Introduce macros to document multi
35891         thread, asynchronous signal and asynchronous cancellation
35892         safety properties.
35893         * manual/intro.texi: Introduce the properties themselves.
35895 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35897         * sysdeps/sh/sh4/Makefile: New file.
35899 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35901         * math/gen-libm-test.pl ($srcdir): New variable.
35902         ($auto_input): Use it.
35904 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35906         [BZ #16506]
35907         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35908         access beyond array bounds when parsing netgroups file.
35910         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35911         the old buffer before realloc.
35913 2014-01-27  Allan McRae  <allan@archlinux.org>
35915         * po/fr.po: Update French translation from translation project.
35917 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35919         * sysdeps/sh/libm-test-ulps: Regenerate.
35921 2014-01-24  David S. Miller  <davem@davemloft.net>
35923         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35925 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35927         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35928         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35930 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35932         [BZ #16474]
35933         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35934         string pointers after reallocation.
35936 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35938         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35939         __SH4A__ instead of __SH_FPU_ANY__.
35941 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35943         * sysdeps/sh/fpu_control.h: New file.
35944         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35945         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35946         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35947         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35948         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35949         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35950         * sysdeps/sh/sys/ucontext.h: Remove.
35951         * sysdeps/sh/sys: Remove directory.
35953 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35955         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35956         s390/sys/ucontext.h.
35957         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35958         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35960 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35962         [BZ #15605]
35963         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35965 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35967         [BZ#16431]
35968         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35969         Adjust the vDSO correctly for internal calls.
35970         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35972 2014-01-20  Allan McRae  <allan@archlinux.org>
35974         * po/ca.po: Update Catalan translation from translation project.
35976 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35978         * sysdeps/s390/sotruss-lib.c: New file.
35980 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35982         [BZ#16430]
35983         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35984         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35985         local calls issues by not having a PLT stub required for IFUNC calls.
35986         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35988 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35990         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35991         * math/test-fpucw-static.c: Likewise.
35993 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35995         [BZ #16453]
35996         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35998 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36000         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36001         implementation for powerpc.
36003 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36005         [BZ #14782]
36006         * sysdeps/posix/system.c (__libc_system): Do not enable
36007         asynchronous cancellation.
36009 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36011         [BZ #16427]
36012         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36013         handling only for numbers special also in the IEEE case.
36015 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36017         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36019 2014-01-11  Allan McRae  <allan@archlinux.org>
36021         * po/bg.po: Update Bulgarian translation from translation project.
36023         * po/de.po: Update German translation from translation project.
36025 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36027         * sysdeps/generic/gcc-compat.h: New file.
36029 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36031         * benchtests/asin-inputs: Correct slow inputs.
36032         * benchtests/acos-inputs: Likewise.
36034 2014-01-10  Allan McRae  <allan@archlinux.org>
36036         * po:sv.po: Update Swedish translation from translation project.
36038         * po/vi.po: Update Vietnamese translation from translation project.
36040         * po/eo.po: Update Esperanto translation from translation project.
36042         * po/cs.po: Update Czech translation from translation project.
36044         * po/nl.po: Update Dutch translation from translation project.
36046         * po/pl.po: Update Polish translation from translation project.
36048         * po/ru.po: Update Russian translation from translation project.
36050         * po/uk.po: Update Ukrainian translation from translation project.
36052 2014-01-08  Brooks Moses  <bmoses@google.com>
36054         * elf/dl-load.c: Fix comment typo.
36056 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36058         * po/header.pot: Rename to...
36059         * po/pot.header: ... this.
36060         * po/Makefile: Use pot.header.
36062 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36063             Maxim Kuvyrkov  <maxim@kugelworks.com>
36065         [BZ #16394]
36066         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36067         SRC and DEST against LEN.
36069 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36071         [BZ #16414]
36072         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36073         implementation.
36074         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36076 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36080 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36082         [BZ #16408]
36083         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36084         for large positive arguments.
36086 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36088         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36090         * math/auto-libm-test-in: Mark various tests with
36091         xfail-rounding:ldbl-128ibm.
36092         * math/auto-libm-test-out: Regenerated.
36094         [BZ #16407]
36095         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36096         Increase overflow threshold.
36098 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36100         [BZ #14286]
36101         * stdio-common/vfprintf.c: Check for integer overflow.
36103 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36105         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36106         the first argument and return value of __tls_get_addr_internal.
36108 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36110         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36111         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36113 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36115         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36116         * sysdeps/s390/rtld-global-offsets.sym: New file.
36117         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36118         GLIBC_2.19 symbol.
36119         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36120         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36121         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36122         ... this.
36123         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36124         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36125         ... this.
36126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36127         Regenerate.
36128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36129         Regenerate.
36130         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36131         halfs of GPRs for high_gprs contexts.
36132         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36133         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36134         field.
36135         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36136         uc_flags field.
36137         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36138         64 bit versions:
36139         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36140         for high GPRs (uc_high_gprs) and for future extensions
36141         (__reserved).
36142         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36143         for future extensions (__reserved).
36144         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36145         64 bit versions:
36146         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36147         SC_HIGHGPRS offset definition.
36148         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36149         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36151         * Versions.def: Add GLIBC_2.19 for libpthread.
36152         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36153         siglongjmp for libpthread with GLIBC_2.19 symver.
36154         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36155         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36156         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36157         * sysdeps/s390/__longjmp.c: New file.
36158         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36159         * sysdeps/s390/longjmp.c: New file.
36160         * sysdeps/s390/setjmp.S: New file.
36161         * sysdeps/s390/sigjmp.S: New file.
36162         * sysdeps/s390/v1-longjmp.c: New file.
36163         * sysdeps/s390/v1-setjmp.h: New file.
36164         * sysdeps/s390/v1-sigjmp.c: New file.
36165         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36166         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36167         GLIBC_2.19 version.
36168         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36169         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36170         versioned symbols for ____longjmp_chk.
36171         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36172         Likewise.
36173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36174         Regenerate.
36175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36176         Regenerate.
36177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36178         Regenerate.
36179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36180         Regenerate.
36181         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36182         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36183         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36184         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36185         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36186         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36187         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36188         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36189         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36190         * sysdeps/s390/rtld-__longjmp.c: New file.
36191         * sysdeps/s390/rtld-setjmp.S: New file.
36193 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36195         [BZ #16400]
36196         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36197         Return -__logl (x) for small positive arguments without evaluating
36198         a polynomial.
36200 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36202         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36203         Rename to ...
36204         (__ptrace_peeksiginfo_args): ... this.
36205         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36206         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36207         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36209 2014-01-06  Allan McRae  <allan@archlinux.org>
36211         * inet/netinet/in.h: Fix typo in comment.
36213 2014-01-05  Andreas Jaeger  <aj@suse.de>
36215         * sysdeps/i386/fpu/libm-test-ulps: Update.
36217 2014-01-05  Allan McRae  <allan@archlinux.org>
36219         * po/libc.pot: Regenerated.
36221         * malloc/memusagestat.c: Fix gettext call formatting.
36223 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36225         * nscd/nscd.c: Improve usage() output.
36227 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36229         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36230         * sysdeps/unix/sysv/linux/configure: Regenerated.
36231         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36232         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36234 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36236         [BZ #16390]
36237         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36238         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36240 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36243         extra tokens at end of #undef directive.
36244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36245         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36246         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36248 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36250         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36252         * math/auto-libm-test-in: Mark various tests with
36253         xfail-rounding:ldbl-128ibm.
36254         * math/auto-libm-test-out: Regenerated.
36256 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36258         [BZ #16386]
36259         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36260         numbers with subnormal high part when calculating exponent.
36262         [BZ #16385]
36263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36264         fabs.
36266         [BZ #16384]
36267         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36268         M_LN2l.
36269         (__ieee754_acoshl): Use __log1pl not __log1p.
36271 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36273         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36274         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36275         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36276         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36277         (reused_arena, arena_get2): Convert to GNU style.
36278         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36279         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36280         (memalign_check, __malloc_set_state): Likewise.
36281         * malloc/mallocbug.c (main): Likewise.
36282         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36283         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36284         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36285         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36286         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36287         (__posix_memalign, malloc_info): Likewise.
36288         * malloc/malloc.h: Likewise.
36289         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36290         (mallochook, memalignhook, reallochook, mabort): Likewise.
36291         * malloc/mcheck.h: Likewise.
36292         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36293         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36294         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36295         * malloc/morecore.c (__default_morecore): Likewise.
36296         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36297         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36298         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36299         (print_and_abort): Likewise.
36300         * malloc/obstack.h: Likewise.
36301         * malloc/set-freeres.c (__libc_freeres): Likewise.
36302         * malloc/tst-mallocstate.c (main): Likewise.
36303         * malloc/tst-mtrace.c (main): Likewise.
36304         * malloc/tst-realloc.c (do_test): Likewise.
36306 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36308         [BZ #16366]
36309         * nscd/netgroupcache.c (do_notfound): New function.
36310         (addgetnetgrentX): Use it.
36312         [BZ # 16365]
36313         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36314         NSS_STATUS_NOTFOUND.
36316 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36318         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36321 2014-01-01  Allan McRae  <allan@archlinux.org>
36323         * scripts/update-copyrights: Update configure input file suffix.
36325         * NEWS: Update copyright year.
36326         * catgets/gencat.c: Likewise.
36327         * csu/version.c: Likewise.
36328         * debug/catchsegv.sh: Likewise.
36329         * debug/pcprofiledump.c: Likewise.
36330         * debug/xtrace.sh: Likewise.
36331         * elf/ldconfig.c: Likewise.
36332         * elf/ldd.bash.in: Likewise.
36333         * elf/pldd.c: Likewise.
36334         * elf/sotruss.ksh: Likewise.
36335         * elf/sprof.c: Likewise.
36336         * iconv/iconv_prog.c: Likewise.
36337         * iconv/iconvconfig.c: Likewise.
36338         * locale/programs/locale.c: Likewise.
36339         * locale/programs/localedef.c: Likewise.
36340         * login/programs/pt_chown.c: Likewise.
36341         * malloc/memusage.sh: Likewise.
36342         * malloc/memusagestat.c: Likewise.
36343         * malloc/mtrace.pl: Likewise.
36344         * manual/libc.texinfo: Likewise.
36345         * nscd/nscd.c: Likewise.
36346         * nss/getent.c: Likewise.
36347         * nss/makedb.c: Likewise.
36348         * posix/getconf.c: Likewise.
36349         * scripts/test-installation.pl: Likewise.
36351         * All files with FSF copyright notices: Update copyright dates
36352         using scripts/update-copyrights.
36353         * intl/plural.c: Regenerated.
36354         * locale/programs/charmap-kw.h: Likewise.
36355         * locale/programs/locfile-kw.h: Likewise.
36357 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36359         * sysdeps/unix/sysv/linux/configure: Regenerated.
36360         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36361         the linux/fanotify.h header.
36362         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36363         HAVE_LINUX_FANOTIFY_H is defined.
36365 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36367         * benchtests/cos-inputs: New inputs.
36368         * benchtests/sin-inputs: Likewise.
36370         * benchtests/atan-inputs: New inputs. Fix name of multiple
36371         precision fallback inputs.
36373         * benchtests/atanh-inputs: New inputs.
36374         * benchtests/tanh-inputs: Likewise.
36376         * benchtests/acosh-inputs: New inputs.
36377         * benchtests/asinh-inputs: Likewise.
36379         * benchtests/cosh-inputs: New inputs.
36380         * benchtests/sinh-inputs: Likewise.
36382         * benchtests/acos-inputs: Add more inputs.
36383         * benchtests/asin-inputs: Likewise.
36385 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
36387         [BZ #16375]
36388         * manual/arith.texi: Fix spelling.
36389         * manual/charset.texi: Likewise.
36390         * manual/errno.texi: Likewise.
36391         * manual/filesys.texi: Likewise.
36392         * manual/lang.texi: Likewise.
36393         * manual/llio.texi: Likewise.
36394         * manual/locale.texi: Likewise.
36395         * manual/message.texi: Likewise.
36396         * manual/resource.texi: Likewise.
36397         * manual/search.texi: Likewise.
36398         * manual/setjmp.texi: Likewise.
36399         * manual/stdio.texi: Likewise.
36400         * manual/string.texi: Likewise.
36401         * manual/sysinfo.texi: Likewise.
36402         * manual/time.texi: Likewise.
36404 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
36406         * po/sl.po: New file.
36408 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
36410         * .gitignore: Add core/.gdbinit/.gdb_history.
36412 2013-12-27  Allan McRae  <allan@archlinux.org>
36414         [BZ #16369]
36415         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36416         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36418 2013-12-24  Brooks Moses  <bmoses@google.com>
36420         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36421         all compilers that claim C++98 compliance, not just GCC.
36422         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36423         Likewise.
36425 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36427         * NEWS: Restore accidentally deleted bug-fix entries.
36429 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36430             Ondřej Bílka  <neleai@seznam.cz>
36432         [BZ #15073]
36433         * malloc/malloc.c (_int_free): Perform sanity check only if we
36434         have_lock.
36436 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36438         [BZ #12986]
36439         * manual/stdio.texi (String Input Conversions): Clarify that character
36440         classes are not supported.
36442 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36446 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36448         [BZ #16337]
36449         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36450         Calculate results for small negative arguments directly rather
36451         than using reflection formula with special underflow handling.
36453         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36454         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36455         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36456         (fchflags): Likewise.
36457         (revoke): Likewise.
36458         (setlogin): Likewise.
36459         (sigaltstack): Likewise.
36460         (wait4): Likewise.
36461         (sigblock): Remove.
36462         (sigsetmask): Likewise.
36463         (wait3): Likewise.
36464         (waitpid): Likewise.
36465         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36466         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36467         file.
36468         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36469         * sysdeps/unix/bsd/Makefile: ... here.
36470         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36471         * sysdeps/unix/bsd/Versions: ... here.
36472         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36473         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36474         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36475         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36476         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36477         * sysdeps/unix/bsd/sigblock.c: ... here.
36478         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36479         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36480         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36481         * sysdeps/unix/bsd/sigvec.c: ... here.
36482         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36483         * sysdeps/unix/bsd/tcdrain.c: ... here.
36484         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36485         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36486         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36487         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36488         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36489         * sysdeps/unix/bsd/wait.c: ... here.
36490         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36491         * sysdeps/unix/bsd/wait3.c: ... here.
36492         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36493         * sysdeps/unix/bsd/waitpid.c: ... here.
36495 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36497         [BZ #16356]
36498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36499         round-to-nearest for [!USE_AS_EXPM1L].
36500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36501         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36502         more tests of exp and exp10.  Expect some exp10 tests to miss
36503         exceptions or fail in directed rounding modes.
36504         * math/auto-libm-test-out: Regenerated.
36505         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36506         (exp10_test_tonearest): New function.
36507         (exp10_towardzero_test_data): New array.
36508         (exp10_test_towardzero): New function.
36509         (exp10_downward_test_data): New array.
36510         (exp10_test_downward): New function.
36511         (exp10_upward_test_data): New array.
36512         (exp10_test_upward): New function.
36513         (main): Call the new functions.
36514         * sysdeps/i386/fpu/libm-test-ulps: Update.
36515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36517 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36519         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36520         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36521         * math/auto-libm-test-out: Regenerated.
36522         * math/libm-test.inc (acosh_test_data): Add more tests.
36523         (atanh_test_data): Likewise.
36524         (ceil_test_data): Likewise.
36525         (copysign_test_data): Likewise.
36526         * sysdeps/i386/fpu/libm-test-ulps: Update.
36527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36529         * timezone/checktab.awk: Update from tzcode 2013i.
36530         * timezone/private.h: Likewise.
36531         * timezone/scheck.c: Likewise.
36532         * timezone/tzfile.h: Likewise.
36533         * timezone/tzselect.ksh: Likewise.
36534         * timezone/zdump.c: Likewise.
36535         * timezone/zic.c: Likewise.
36537         * math/auto-libm-test-in: Add tests of cpow.
36538         * math/auto-libm-test-out: Regenerated.
36539         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36541         mpc_cc_c.
36542         (func_calc_desc): Add mpc_cc_c union field.
36543         (test_functions): Add cpow.
36544         (special_fill_2pi): New function.
36545         (special_real_inputs): Add 2pi.
36546         (calc_generic_results): Handle mpc_cc_c.
36547         * sysdeps/i386/fpu/libm-test-ulps: Update.
36548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36550         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36551         csqrt, ctan and ctanh.
36552         * math/auto-libm-test-out: Regenerated.
36553         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36554         (TEST_COND_x86): Likewise.
36555         (ccos_test_data): Use AUTO_TESTS_c_c.
36556         (ccosh_test_data): Likewise.
36557         (cexp_test_data): Likewise.
36558         (clog_test_data): Likewise.
36559         (csqrt_test_data): Likewise.
36560         (ctan_test_data): Likewise.
36561         (ctan_tonearest_test_data): Likewise.
36562         (ctan_towardzero_test_data): Likewise.
36563         (ctan_downward_test_data): Likewise.
36564         (ctan_upward_test_data): Likewise.
36565         (ctanh_test_data): Likewise.
36566         (ctanh_tonearest_test_data): Likewise.
36567         (ctanh_towardzero_test_data): Likewise.
36568         (ctanh_downward_test_data): Likewise.
36569         (ctanh_upward_test_data): Likewise.
36570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36571         mpc_c_c.
36572         (func_calc_desc): Add mpc_c_c union field.
36573         (FUNC_mpc_c_c): New macro.
36574         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36575         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36576         ctanh.
36577         (special_fill_min_subnorm_p120): New function.
36578         (special_real_inputs): Add min_subnorm_p120.
36579         (calc_generic_results): Handle mpc_c_c.
36580         * sysdeps/i386/fpu/libm-test-ulps: Update.
36581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36583 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36586         (do_sin_slow): New functions.
36587         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36588         (cslow2, csloww1, csloww2): Use the new functions.
36590         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36591         Use M to change sign of result instead of X.  Assume X is
36592         positive.
36593         (csloww1): Likewise.
36594         (__sin): Adjust.
36595         (__cos): Adjust.
36597         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36598         arguments A and DA.
36599         (__sin): Adjust.
36600         (__cos): Likewise.
36602         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36603         (__cos): Likewise.
36604         (sloww1): Don't adjust sign of DX.
36605         (csloww1): Likewise.
36606         (sloww2): Use X directly and don't adjust sign of DX.
36607         (csloww2): Likewise.
36609 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36611         * math/auto-libm-test-in: Add tests of cabs and carg.
36612         * math/auto-libm-test-out: Regenerated.
36613         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36614         (carg_test_data): Likewise.
36615         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36616         mpc_c_f.
36617         (func_calc_desc): Add mpc_c_f union field.
36618         (test_functions): Add cabs and carg.
36619         (calc_generic_results): Handle mpc_c_f.
36621         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36622         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36623         as a macro and a compat symbol.
36624         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36625         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36626         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36627         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36628         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36629         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36630         not use .hidden.
36631         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36632         Likewise.
36633         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36634         Likewise.
36635         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36636         Likewise.
36637         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36638         Likewise.
36639         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36640         Likewise.
36641         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36642         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36643         from GLIBC_2.3.2.
36645 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36649 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36651         * manual/texinfo.tex: Update to version 2013-11-26.10 with
36652         trailing whitespace removed.
36653         * scripts/config.guess: Update to version 2013-11-29.
36654         * scripts/config.sub: Update to version 2013-10-01.
36656         * math/auto-libm-test-in: Add tests of sincos.
36657         * math/auto-libm-test-out: Regenerated.
36658         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36659         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36660         mpfr_f_11.
36661         (func_calc_desc): Add mpfr_f_11 union field.
36662         (test_functions): Add sincos.
36663         (calc_generic_results): Handle mpfr_f_11.
36664         * sysdeps/i386/fpu/libm-test-ulps: Update.
36665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36667 2013-12-19  Andreas Schwab  <schwab@suse.de>
36669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36670         CALL_MCOUNT.
36671         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36672         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36673         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36675 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36677         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36678         * sysdeps/i386/fpu/libm-test-ulps: Update.
36679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36681         [BZ #16293]
36682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36683         round-to-nearest mode when using frndint.
36684         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36685         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36686         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36687         Likewise.
36688         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36689         sinh test to fail.
36690         * math/auto-libm-test-out: Regenerated.
36691         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36692         (TEST_COND_x86): Likewise.
36693         (expm1_tonearest_test_data): New array.
36694         (expm1_test_tonearest): New function.
36695         (expm1_towardzero_test_data): New array.
36696         (expm1_test_towardzero): New function.
36697         (expm1_downward_test_data): New array.
36698         (expm1_test_downward): New function.
36699         (expm1_upward_test_data): New array.
36700         (expm1_test_upward): New function.
36701         (main): Run the new test functions.
36702         * sysdeps/i386/fpu/libm-test-ulps: Update.
36703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36705         * include/features.h: Update comment documenting feature test
36706         macros.  Mention _DEFAULT_SOURCE in comment.
36707         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36708         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36709         _BSD_SOURCE and _SVID_SOURCE.
36710         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36711         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36712         !_SVID_SOURCE]: Likewise.
36713         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36714         (__USE_POSIX_IMPLICITLY): Define.
36715         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36716         (_POSIX_SOURCE): Undefine and redefine.
36717         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36718         (_POSIX_C_SOURCE): Likewise.
36719         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36720         (Feature Test Macros): Update documentation of default features.
36722 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36724         * benchtests/Makefile: Add bench-strtok.
36725         * benchtests/bench-strtok.c: New file: strtok benchtest.
36727 2013-12-19  Allan McRae  <allan@archlinux.org>
36729         * manual/install.texi: Suppress menu for plain text output.
36730         * INSTALL: Regenerated.
36732 2013-12-18  Brooks Moses  <bmoses@google.com>
36734         [BZ #15846]
36735         * misc/getauxval.c: Include errno.h.
36736         (__getauxval): Set errno to ENOENT if the requested type is not
36737         found.
36738         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36739         don't declare with __attribute_const__.
36740         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36741         * manual/startup.texi: Document that getauxval sets errno.
36743 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36745         * math/auto-libm-test-in: Add tests of jn and yn.
36746         * math/auto-libm-test-out: Regenerated.
36747         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36748         (yn_test_data): Likewise.
36749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36750         mpfr_if_f.
36751         (func_calc_desc): Add mpfr_if_f union field.
36752         (FUNC_mpfr_if_f): New macro.
36753         (test_functions): Add jn and yn.
36754         (calc_generic_results): Assert type of second input for
36755         mpfr_ff_f.  Handle mpfr_if_f.
36756         (output_for_one_input_case): Disable all checking for arguments
36757         fitting floating-point types in case of an integer argument.
36758         * sysdeps/i386/fpu/libm-test-ulps: Update.
36759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36762         Don't expect fegetround reference in libm.so.
36764 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36766         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36767         $(config-cflags-nofma).
36769 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36771         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36772         * math/auto-libm-test-out: Regenerated.
36774         [BZ #16338]
36775         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36776         to determine exponent and adjust argument to have exponent of -1.
36777         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36778         log2.
36779         * math/auto-libm-test-out: Regenerated.
36780         * sysdeps/i386/fpu/libm-test-ulps: Update.
36781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36783 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36785         * manual/probes.texi: Remove cases when per-thread arenas are
36786         disabled.
36788 2013-12-18  Andreas Schwab  <schwab@suse.de>
36790         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36791         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36792         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36793         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36794         * sysdeps/i386/i686/multiarch/Makefile: Update.
36795         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36797 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36799         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36800         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36802 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36804         [BZ #15968]
36805         Support TZ transition times < 00:00:00.
36806         This is needed for version-3 tz-format files; it supports time
36807         stamps past 2037 for America/Godthab (the only entry in the tz
36808         database for which this change is relevant).
36809         * manual/time.texi (TZ Variable): Document transition times
36810         from -167:59:59 through -00:00:01.
36811         * time/tzset.c (tz_rule): Time of day is now signed.
36812         (__tzset_parse_tz): Parse negative time of day.
36814         Document TZ transition times >= 25:00:00.
36815         * manual/time.texi (TZ Variable): Document transition times from
36816         25:00:00 through 167:59:59.  These are already supported, and this
36817         support will help with version-3 tz-format files.
36819         * manual/time.texi (TZ Variable): Modernize North America example
36820         to reflect current (i.e., 2007-and-later) daylight saving rules.
36822         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36826         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36827         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36829         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36830         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36831         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36832         * sysdeps/unix/bsd/clock.c: Likewise.
36833         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36834         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36835         * sysdeps/unix/bsd/init-posix.c: Likewise.
36836         * sysdeps/unix/bsd/poll.c: Likewise.
36837         * sysdeps/unix/bsd/ptsname.c: Likewise.
36838         * sysdeps/unix/bsd/seekdir.c: Likewise.
36839         * sysdeps/unix/bsd/setegid.c: Likewise.
36840         * sysdeps/unix/bsd/seteuid.c: Likewise.
36841         * sysdeps/unix/bsd/setgid.c: Likewise.
36842         * sysdeps/unix/bsd/setrgid.c: Likewise.
36843         * sysdeps/unix/bsd/setruid.c: Likewise.
36844         * sysdeps/unix/bsd/setsid.c: Likewise.
36845         * sysdeps/unix/bsd/setuid.c: Likewise.
36846         * sysdeps/unix/bsd/sigaction.c: Likewise.
36847         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36848         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36849         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36850         * sysdeps/unix/bsd/telldir.c: Likewise.
36851         * sysdeps/unix/bsd/times.c: Likewise.
36852         * sysdeps/unix/bsd/usleep.c: Likewise.
36854         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36855         ($(objpfx)libbsd-compat.a): Remove rule.
36857         * include/features.h (__FAVOR_BSD): Do not define.
36858         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36859         features conflicting with POSIX.
36860         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36861         (_BSD_SOURCE): Remove description of not being a subset of other
36862         feature test macros.
36863         * manual/job.texi (getpgrp): Do not document BSD version.
36864         (getpgid): Do not document by reference to BSD getpgrp.
36865         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36866         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36867         * signal/signal.h [__FAVOR_BSD]: Likewise.
36868         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36869         instead of making contents conditional on [__FAVOR_BSD].
36870         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36872 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36876 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36878         [BZ #16314]
36879         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36880         values below 2**-450, not 2**-500.
36881         * math/auto-libm-test-in: Don't allow spurious underflow from
36882         hypot.
36883         * math/auto-libm-test-out: Regenerated.
36885         [BZ #16316]
36886         [BZ #16330]
36887         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36888         values of ha and hb and sort them after adjusting subnormal
36889         arguments.
36890         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36891         Likewise.
36892         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36893         values of ea and eb and sort them after adjusting subnormal
36894         arguments.
36895         * math/auto-libm-test-in: Do not expect some hypot tests of
36896         subnormals to fail.  Add more hypot tests.
36897         * math/auto-libm-test-out: Regenerated.
36899 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36901         [BZ #13304]
36902         * sysdeps/sh/s_fma.c: New file.
36903         * sysdeps/sh/s_fmaf.c: New file.
36904         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36905         version.
36906         * sysdeps/sh/Implies: Add sh/soft-fp.
36908 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36910         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36911         level of indirection to members `objname', `errstring', `malloced'.
36912         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36913         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36914         it as the __longjmp argument (just pass 1 instead).
36915         (_dl_catch_error): Initialize C with argument pointers and address of
36916         volatile local ERRCODE rather than copying values out of C at return.
36918 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36920         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36921         * math/auto-libm-test-out: Regenerated.
36922         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36923         (hypot_test_data): Likewise.
36924         (pow_test_data): Likewise.
36925         (pow_tonearest_test_data): Likewise.
36926         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36927         mpfr_ff_f.
36928         (func_calc_desc): Add mpfr_ff_f union field.
36929         (FUNC_mpfr_ff_f): New macro.
36930         (test_functions): Add atan2, hypot and pow.
36931         (special_fill_min): New function.
36932         (special_fill_minus_min): Likewise.
36933         (special_fill_min_subnorm): Likewise.
36934         (special_fill_minus_min_subnorm): Likewise.
36935         (special_real_inputs): Add min, -min, min_subnorm and
36936         -min_subnorm.
36937         (calc_generic_results): Handle mpfr_ff_f.
36938         * sysdeps/i386/fpu/libm-test-ulps: Update.
36939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36941 2013-12-16  Will Newton  <will.newton@linaro.org>
36943         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36944         (Aligned Memory Blocks): Add documentation for aligned_alloc
36945         and suggest it as an alternative to posix_memalign.
36946         (Hooks for Malloc): Document __memalign_hook is also called
36947         for aligned_alloc.  (Summary of Malloc): Add summary for
36948         aligned alloc.  Document __memalign_hook is also called
36949         for aligned_alloc.
36951 2013-12-16  Will Newton  <will.newton@linaro.org>
36953         * manual/memory.texi (Malloc Examples): Clarify default
36954         alignment documentation.  Suggest posix_memalign rather
36955         than memalign or valloc.
36956         (Aligned Memory Blocks): Remove suggestion to use memalign
36957         or valloc.  Remove obsolete comment about BSD.
36958         Document memalign errno values and mark the function obsolete.
36959         Document posix_memalign returned error codes.  Mark valloc
36960         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36961         called for posix_memalign and valloc.
36962         (Summary of Malloc): Add posix_memalign to function summary.
36963         __memalign_hook is also called for posix_memalign and valloc.
36965 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36967         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36968         TAYLOR_SIN.
36969         (__sin): Adjust.
36970         (__cos): Likewise.
36971         (sloww): Use mynumber union.  Expand ternary operator into
36972         if-else statements.
36973         (cslow): use mynumber union.
36975 2013-12-16  Allan McRae  <allan@archlinux.org>
36977         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36978         * configure: Regenerated.
36980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36982         [BZ #14120]
36983         * configure.ac: Added --enable-maintainer-mode. Check for
36984         autoconf when enabled.
36985         * configure: Regenerated.
36987         * nscd/nscd.service: New file.
36988         * nscd/nscd.tmpfiles: New file.
36990 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36992         [BZ #12100]
36993         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36994         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36995         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36996         (strstr): Add __strstr_sse2_unaligned ifunc.
36997         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36998         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36999         (strcasestr): Remove __strcasestr_sse42 ifunc.
37000         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37004 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37006         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37007         * sysdeps/sh/bits/fenv.h: ... here.
37008         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37010 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37012         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37015         hypotf multiarch implementations.
37016         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37017         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37018         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37019         multiarch hypot for PPC64.
37020         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37021         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37022         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37023         multiarch hypotf for PPC64.
37025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37026         modff multiarch implementations.
37027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37030         multiarch modf for PPC64.
37031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37034         multiarch modff for PPC64.
37036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37037         and logl multiarch implementations.
37038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37041         multiarch logb for PPC64.
37042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37045         multiarch logb for PPC64.
37046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37049         multiarch logb for PPC64.
37051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37052         isinff multiarch implementation.
37053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37054         file.
37055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37057         multiarch isinf for PPC64.
37058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37059         file.
37060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37061         multiarch isinff for PPC64.
37063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37064         finitef multiarch implementation.
37065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37066         file.
37067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37069         multiarch finite for PPC64.
37070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37071         file.
37072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37073         multiarch finitef for PPC64.
37075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37076         lrint multiarch implementation.
37077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37078         file.
37079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37081         multiarch llrint for PPC64.
37082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37083         multiarch lrint for PPC64.
37085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37086         copysignf multiarch implementation.
37087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37088         file.
37089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37090         file.
37091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37092         multiarch copysign for PPC64.
37093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37094         multiarch copysignf for PPC64.
37096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37097         multiarch implementation.
37098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37099         file.
37100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37101         file.
37102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37103         file.
37104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37105         file.
37106         multiarch llround for PPC64.
37107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37108         multiarch trunc for PPC64.
37109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37110         multiarch truncf for PPC64.
37112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37113         multiarch implementation.
37114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37115         file.
37116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37117         file.
37118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37119         file.
37120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37121         file.
37122         multiarch llround for PPC64.
37123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37124         multiarch round for PPC64.
37125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37126         multiarch roundf for PPC64.
37128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37129         multiarch implementation.
37130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37131         file.
37132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37133         file.
37134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37135         file.
37136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37137         file.
37138         multiarch llround for PPC64.
37139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37140         multiarch floor for PPC64.
37141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37142         multiarch floorf for PPC64.
37144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37145         multiarch implementation.
37146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37147         file.
37148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37149         file.
37150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37151         file.
37152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37153         file.
37154         multiarch llround for PPC64.
37155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37156         multiarch ceil for PPC64.
37157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37158         multiarch ceilf for PPC64.
37160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37161         multiarch implementation.
37162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37163         file.
37164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37165         file.
37166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37167         file.
37168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37169         multiarch llround for PPC64.
37170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37171         multiarch lround for PPC64.
37173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37174         multiarch implementation.
37175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37178         file.
37179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37182         multiarch isnan for PPC64.
37183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37184         multiarch isnanf for PPC64.
37186         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37187         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37188         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37189         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37190         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37193         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37194         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37199         multiarch implementations.
37200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37201         (__libc_ifunc_impl_list): Likewise.
37202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37203         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37205         multiarch stpcpy for PPC64.
37207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37208         multiarch implementations.
37209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37210         (__libc_ifunc_impl_list): Likewise.
37211         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37212         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37213         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37214         multiarch strcpy for PPC64.
37216         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37217         redefine function name.
37218         (_wordcopy_fwd_dest_aligned): Likewise.
37219         (_wordcopy_bwd_aligned): Likewise.
37220         (_wordcopy_bwd_dest_aligned): Likewise.
37221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37222         multiarch implementations.
37223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37224         (__libc_ifunc_impl_list): Likewise.
37225         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37226         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37228         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37229         multiarch wcscpy for PPC64.
37231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37232         multiarch implementations.
37233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37234         (__libc_ifunc_impl_list): Likewise.
37235         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37236         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37237         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37238         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37239         multiarch wcscpy for PPC64.
37241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37242         multiarch implementations.
37243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37244         (__libc_ifunc_impl_list): Likewise.
37245         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37246         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37247         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37248         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37249         multiarch wcsrchr for PPC64.
37251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37252         multiarch implementations.
37253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37254         (__libc_ifunc_impl_list): Likewise.
37255         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37256         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37257         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37258         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37259         multiarch wcschr for PPC64.
37261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37262         multiarch implementations.
37263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37264         (__libc_ifunc_impl_list): Likewise.
37265         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37266         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37267         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37268         multiarch strchrnul for PPC64.
37270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37271         implementations.
37272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37273         (__libc_ifunc_impl_list): Likewise.
37274         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37275         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37276         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37277         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37278         strchr for PPC64.
37280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37281         implementations.
37282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37283         (__libc_ifunc_impl_list): Likewise.
37284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37285         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37286         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37287         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37288         strncmp for PPC64.
37290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37291         multiarch implementations.
37292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37293         (__libc_ifunc_impl_list): Likewise.
37294         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37295         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37296         strncasecmp for PPC64.
37297         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37298         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37299         multiarch strncasecmp_l for PPC64.
37301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37302         multiarch implementations.
37303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37304         (__libc_ifunc_impl_list): Likewise.
37305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37307         multiarch strcasecmp for PPC64.
37308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37309         file.
37310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37311         multiarch strcasecmp_l for PPC64.
37313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37314         implementations.
37315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37316         (__libc_ifunc_impl_list): Likewise.
37317         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37318         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37319         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37320         strnlen for PPC64.
37322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37323         implementations.
37324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37325         (__libc_ifunc_impl_list): Likewise.
37326         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37327         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37328         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37329         strlen for PPC64.
37331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37332         implementations.
37333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37334         (__libc_ifunc_impl_list): Likewise.
37335         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37336         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37337         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37338         rawmemrchr for PPC64.
37340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37341         implementation.
37342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37343         (__libc_ifunc_impl_list): Likewise.
37344         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37345         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37346         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37347         memrchr for PPC64.
37349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37350         implementation.
37351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37352         (__libc_ifunc_impl_list): Likewise.
37353         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37354         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37355         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37356         memchr for PPC64.
37358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37359         implementation.
37360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37361         (__libc_ifunc_impl_list): Likewise.
37362         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37363         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37364         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37365         mempcpy for PPC64.
37367         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37368         avoid cretion of __bzero symbol.
37369         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37370         Likewise.
37371         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37372         Likewise.
37373         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37374         Likewise.
37375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37376         multiarch implementations.
37377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37378         (__libc_ifunc_impl_list): Likewise.
37379         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37380         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37381         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37382         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37383         bzero for PPC32.
37384         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37385         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37386         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37387         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37388         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37389         memset for PPC64.
37390         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37392         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37394         implementations.
37395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37396         (__libc_ifunc_impl_list): Likewise.
37397         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37398         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37399         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37400         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37401         memcmp for PPC64.
37403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37404         multiarch for POWER/PPC64.
37405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37406         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37407         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37408         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37409         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37410         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37411         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37412         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37413         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37414         memcpy for PPC64.
37416         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37417         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37418         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37419         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37420         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37421         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37422         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37423         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37424         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37425         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37426         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37427         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37428         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37429         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37430         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37439 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37441         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37443 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37445         * benchtests/Makefile (bench): Add exp2 and log2.
37446         (LDLIBS-bench-exp2): Add -lm.
37447         (LDLIBS-bench-log2): Likewise.
37448         * benchtests/exp2-inputs: New inputs file.
37449         * benchtests/log2-inputs: New inputs file.
37450         * benchtests/log-inputs: Add new inputs.
37451         * benchtests/tan-inputs: Likewise.
37453 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37455         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37456         definition...
37457         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37458         (csloww2): ... from here.
37460         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37461         instead of structures.
37462         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37463         (POLYNOMIAL): Likewise.
37464         (TAYLOR_SLOW): Likewise.
37465         (__sin): Likewise.
37466         (__cos): Likewise.
37467         (slow1): Likewise.
37468         (slow2): Likewise.
37469         (sloww): Likewise.
37470         (sloww1); Likewise.
37471         (sloww2): Likewise.
37472         (bsloww1): Likewise.
37473         (bsloww2): Likewise.
37474         (cslow2): Likewise.
37475         (csloww): Likewise.
37476         (csloww1): Likewise.
37477         (csloww2): Likewise.
37479 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37481         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37482         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37483         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37484         * malloc/hooks.c (realloc_check): Likewise.
37486         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37487         * malloc/arena.c: Remove PER_THREAD conditional.
37488         [!PER_THREAD]: Remove code.
37489         (ptmalloc_unlock_all2): Likewise.
37490         (ptmalloc_init): Likewise.
37491         (_int_new_arena): Likewise.
37492         (arena_get2): Likewise.
37493         * malloc/hooks.c (__malloc_get_state): Likewise.
37494         (__malloc_set_state): Likewise.
37495         * malloc/malloc.c: Likewise.
37496         (struct malloc_state): Likewise.
37497         (struct malloc_par): Likewise.
37498         (__libc_realloc): Likewise.
37499         (__libc_mallopt): Likewise.
37501 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37503         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37505 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37507         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37508         macro to a function.  Check for zero perturb_byte.
37509         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37511         * malloc/malloc.c: (force_reg): Remove.
37512         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37513         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37514         force_reg by atomic_forced_read.
37515         * malloc/arena.c (ptmalloc_init): Likewise.
37516         * malloc/hooks.c (top_check): Likewise.
37518 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37522 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37526 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37528         * math/auto-libm-test-in: Add tests of lgamma.
37529         * math/auto-libm-test-out: Regenerated.
37530         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37531         (M_LOG_2_SQRT_PIl): Likewise.
37532         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37533         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37534         mpfr_f_f1.
37535         (func_calc_desc): Add mpfr_f_f1 union field.
37536         (ARGS1): New macro.
37537         (ARGS2): Likewise.
37538         (ARGS3): Likewise.
37539         (ARGS4): Likewise.
37540         (RET1): Likewise.
37541         (RET2): Likewise.
37542         (CALC): Likewise.
37543         (FUNC): Likewise.
37544         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37545         (test_functions): Add lgamma.
37546         (calc_generic_results): Handle mpfr_f_f1.
37547         * sysdeps/i386/fpu/libm-test-ulps: Update.
37548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37550 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37552         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37553         __mpn_add_n for PowerPC64/POWER7.
37554         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37555         __mpn_sub_n for PowerPC64/POWER7.
37557         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37558         __mpn_addmul_1 for PowerPC64.
37559         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37560         __mpn_submul_1 for PowerPC64.
37561         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37562         for PowerPC64.
37563         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37564         for PowerPC64.
37566 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37568         [BZ #15089]
37569         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37573         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37575         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37576         add multiarch folders.
37577         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37578         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37579         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37580         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37581         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37582         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37583         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37584         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37585         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37586         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37587         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37596         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37598         New file.
37599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37600         New file.
37601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37602         multiarch __ieee754_hypot for PowerPC32.
37603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37604         New file.
37605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37606         New file.
37607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37608         multiarch __ieee754_hypotf for PowerPC32.
37610         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37611         long_double_symbol only if __logbl is defined.
37612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37613         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37614         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37615         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37617         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37618         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37619         path for implementation.
37620         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37621         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37623         logb, and logbl multiarch implementations for PowerPC32.
37624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37625         file.
37626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37627         file.
37628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37629         multiarch logb for PowerPC32.
37630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37631         file.
37632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37633         file.
37634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37635         multiarch logbf for PowerPC32.
37636         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37638         file.
37639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37640         multiarch logbl implementation for PowerPC32.
37642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37643         and modff multiarch implementations.
37644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37645         New file.
37646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37647         New file.
37648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37649         multiarch modf for PowerPC32.
37650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37651         New file.
37652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37653         New file.
37654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37655         multiarch modff for PowerPC32.
37657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37658         and lrintf multiarch implementations.
37659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37660         New file.
37661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37662         New file.
37663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37664         multiarch lrint for PowerPC32.
37665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37666         file: multiarch lrintf for PowerPC32.
37668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37669         and lroundf multiarch implementations.
37670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37671         New file.
37672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37673         New file.
37674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37675         New file.
37676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37677         multiarch lround for PowerPC32.
37678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37679         file: multiarch lroundf for PowerPC32.
37681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37682         copysign and copysignf multiarch implementations.
37683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37684         New file.
37685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37686         New file.
37687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37688         file: multiarch copysign for PowerPC32.
37689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37690         file: multiarch copysignf for PowerPC32.
37692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37693         and truncf multiarch implementations.
37694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37695         New file.
37696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37697         file.
37698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37699         multiarch trunc for PowerPC32.
37700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37701         New file.
37702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37703         New file.
37704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37705         multiarch truncf for PowerPC32.
37707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37708         and roundf multiarch implementations.
37709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37710         New file.
37711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37712         file.
37713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37714         multiarch round for PowerPC32.
37715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37716         New file.
37717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37718         New file.
37719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37720         multiarch roundf for PowerPC32.
37722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37723         and floorf multiarch implementations.
37724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37725         New file.
37726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37727         file.
37728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37729         multiarch floor for PowerPC32.
37730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37731         New file.
37732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37733         New file.
37734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37735         multiarch floorf for PowerPC32.
37737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37738         and ceilf multiarch implementations.
37739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37740         New file.
37741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37742         file.
37743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37744         multiarch ceil for PowerPC32.
37745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37746         New file.
37747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37748         file.
37749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37750         multiarch ceilf for PowerPC32.
37752         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37753         is defined.
37754         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37755         FINITEF is defined.
37756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37757         and finitef multiarch implementations.
37758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37759         New file.
37760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37761         file.
37762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37763         multiarch finite for PowerPC32.
37764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37765         New file.
37766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37767         file: multiarch finitef for PowerPC32.
37769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37770         and isinff multiarch implementations.
37771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37772         file.
37773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37774         file.
37775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37776         multiarch isinf for PowerPC32.
37777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37778         New file.
37779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37780         multiarch isinff for PowerPC32.
37782         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37783         alias when __isnan is defined.
37784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37785         and isnanf multiarch implementations.
37786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37787         file.
37788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37789         file.
37790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37791         file.
37792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37793         file.
37794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37795         multiarch isnan for PowerPC32.
37796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37797         New file.
37798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37799         New file.
37800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37801         multiarch isnanf for PowerPC32.
37803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37804         and sqrtf multiarch implementations.
37805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37806         file.
37807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37808         file.
37809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37810         multiarch sqrt for PowerPC32.
37811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37812         file.
37813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37814         file.
37815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37816         multiarch sqrtf for PowerPC32.
37818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37819         and llroundf multiarch implementations.
37820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37821         New file.
37822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37823         New file.
37824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37825         New file.
37826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37827         file: multiarch llround for PowerPC32.
37828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37829         file: multiarch llroundf for PowerPC32.
37831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37832         multiarch PowerPC32 fpu implementations.
37833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37834         New file.
37835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37836         New file.
37837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37838         multiarch llrint for PowerPC32.
37839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37840         New file.
37841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37842         New file.
37843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37844         file.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37848         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37849         file.
37850         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37851         file.
37852         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37853         file.
37854         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37855         multiarch wordcopy for PPC32.
37856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37857         wordcopy objects.
37858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37859         (__libc_ifunc_impl_list): Likewise.
37860         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37861         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37862         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37863         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37864         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37865         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37867         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37869         file.
37870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37871         file.
37872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37873         file.
37874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37875         multiarch wcscpy for PPC32.
37876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37877         multiarch objects.
37878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37879         (__libc_ifunc_impl_list): Likewise.
37880         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37881         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37882         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37883         sysdeps/powerpc/power6/wcscpy.c.
37885         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37887         file.
37888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37889         file.
37890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37891         file.
37892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37893         multiarch wcsrchr for PPC32.
37894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37895         multiarch objects.
37896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37897         (__libc_ifunc_impl_list): Likewise.
37898         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37899         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37900         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37901         sysdeps/powerpc/power6/wcsrchr.c.
37903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37904         file.
37905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37906         file.
37907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37909         multiarch wcschr for PPc32.
37910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37911         multiarch objects.
37912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37913         (__libc_ifunc_impl_list): Likewise.
37914         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37915         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37916         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37917         sysdeps/powerpc/power6/wcschr.c.
37919         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37920         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37921         file.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37923         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37924         file: multiarch strchr for PPC32.
37925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37926         multiarch objects.
37927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37928         (__libc_ifunc_impl_list): Likewise.
37930         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37931         name.
37932         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37933         file.
37934         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37935         file.
37936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37937         multiarch strchrnul for PPC32.
37938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37939         multiarch objects.
37940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37941         (__libc_ifunc_impl_list): Likewise.
37943         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37944         file.
37945         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37946         multiarch strncasecmp for PPC32.
37947         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37948         file.
37949         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37950         multiarch strncasecmp_l for PPC32.
37951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37952         strncasecmp multiarch objects.
37953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37954         (__libc_ifunc_impl_list): Likewise.
37956         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37957         file.
37958         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37959         multiarch strncasecmp for PPC32.
37960         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37961         New file.
37962         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37963         multiarch strcasecmp_l for PPC32.
37964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37965         multiarch objects.
37966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37967         (__libc_ifunc_impl_list): Likewise.
37969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37970         file.
37971         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37972         file.
37973         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37974         multiarch strncmp for PPC32.
37975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37976         multiarch objects.
37977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37978         (__libc_ifunc_impl_list): Likewise.
37980         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37981         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37982         file.
37983         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37984         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37986         multiarch objects.
37987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37988         (__libc_ifunc_impl_list): Likewise.
37990         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37991         file.
37992         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37993         file.
37994         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37996         multiarch objects.
37997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37998         (__libc_ifunc_impl_list): Likewise.
38000         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38001         file.
38002         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38003         file.
38004         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38005         multiarch rawmemchr for PPC32.
38006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38007         multiarch objects.
38008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38009         (__libc_ifunc_impl_list): Likewise.
38011         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38012         file.
38013         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38014         file.
38015         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38016         file: memrchr multiarch for PPC32.
38017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38018         multiarch objects.
38019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38020         (__libc_ifunc_impl_list): Likewise.
38022         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38023         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38024         file.
38025         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38026         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38027         multiarch memchr for PPC32.
38028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38029         multiarch objects.
38030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38031         (__libc_ifunc_impl_list): Likewise.
38033         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38034         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38035         file.
38036         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38037         file.
38038         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38039         file: multiarch mempcpy for PPC32.
38040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38041         multiarch objects.
38042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38043         (__libc_ifunc_impl_list): Likewise.
38045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38046         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38047         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38048         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38049         multiarch bzero for PPC32.
38050         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38051         file.
38052         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38053         file.
38054         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38055         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38056         file: multiarch memset for PPC32.
38057         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38059         memset multiarch objects.
38060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38061         (__libc_ifunc_impl_list): Likewise.
38063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38064         file.
38065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38067         memcmp for PPC32.
38068         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38070         multiarch objects.
38071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38072         (__libc_ifunc_impl_list): Likewise.
38074         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38076         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38077         file.
38078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38079         file.
38080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38081         file.
38082         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38083         multiarch memcpy for PPC32.
38084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38085         multiarch objects.
38086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38087         (__libc_ifunc_impl_list): Likewise.
38089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38090         support multiarch for POWER/PPC32.
38091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38092         Likewise.
38093         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38095         Implies file to make multiarch folder appers before the fpu and
38096         default folder for power4 configuration.
38098 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38100         * scripts/bench.pl: Append volatile keyword to type.
38102 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38104         * sysdeps/sh/sotruss-lib.c: New file.
38105         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38107 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38111 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38113         [BZ #6810]
38114         * math/w_tgamma.c: Include <errno.h>.
38115         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38116         * math/w_tgammaf.c: Include <errno.h>.
38117         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38118         * math/w_tgammal.c: Include <errno.h>.
38119         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38120         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38121         underflow.  Add more tgamma tests.
38122         * math/auto-libm-test-out: Regenerated.
38123         * sysdeps/i386/fpu/libm-test-ulps: Update.
38124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38126         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38127         sin, sinh, tan, tanh, tgamma, y0 and y1.
38128         * math/auto-libm-test-out: Regenerated.
38129         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38130         (TEST_COND_x86): Likewise.
38131         (M_E2l): Remove macro.
38132         (M_E3l): Likewise.
38133         (M_2_SQRT_PIl): Likewise.
38134         (M_SQRT_PIl): Likewise.
38135         (M_1_DIV_El): Likewise.
38136         (log_test_data): Use AUTO_TESTS_f_f.
38137         (log10_test_data): Likewise.
38138         (log1p_test_data): Likewise.
38139         (log2_test_data): Likewise.
38140         (sin_test_data): Likewise.
38141         (sin_tonearest_test_data): Likewise.
38142         (sin_towardzero_test_data): Likewise.
38143         (sin_downward_test_data): Likewise.
38144         (sin_upward_test_data): Likewise.
38145         (sinh_test_data): Likewise.
38146         (sinh_tonearest_test_data): Likewise.
38147         (sinh_towardzero_test_data): Likewise.
38148         (sinh_downward_test_data): Likewise.
38149         (sinh_upward_test_data): Likewise.
38150         (tan_test_data): Likewise.
38151         (tan_tonearest_test_data): Likewise.
38152         (tan_towardzero_test_data): Likewise.
38153         (tan_downward_test_data): Likewise.
38154         (tan_upward_test_data): Likewise.
38155         (tanh_test_data): Likewise.
38156         (tgamma_test_data): Likewise.
38157         (y0_test_data): Likewise.
38158         (y1_test_data): Likewise.
38159         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38160         (special_real_inputs): Add pi/4.
38161         * sysdeps/i386/fpu/libm-test-ulps: Update.
38162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38164 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38166         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38167         "longjmp_target" static probes.
38168         (__longjmp): Rename to __longjmp_symbol.
38169         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38170         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38171         on which longjmp to generate.
38172         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38173         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38174         probe.
38175         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38176         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38177         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38178         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38179         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38180         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38182         __longjmp_symbol based on which __longjmp to generate.
38183         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38184         probe.
38185         (setjmp): Rename to setjmp_symbol.
38186         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38187         (_setjmp): Rename to _setjmp_symbol.
38188         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38189         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38190         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38191         which setjmp to generate.
38192         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38193         "longjmp_target" static probes.
38195 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38197         * benchtests/README: Add note about output arguments.
38198         * benchtests/bench-sincos.c: Remove file.
38199         * benchtests/sincos-inputs: New file.
38200         * scripts/bench.pl: Identify output arguments and define
38201         static variables for them.
38203         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38205         [BZ #15941]
38206         * Makefile (INSTALL): Add install-plain.texi as the primary
38207         dependency.
38208         * manual/install-plain.texi: New file.
38209         * manual/install.texi: Include node directive only for
38210         non-plaintext output.
38212 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38214         * stdlib/longlong.h: Update from GCC.
38216         [BZ #6807]
38217         [BZ #15901]
38218         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38219         * math/w_j0f.c (y0f): Likewise.
38220         * math/w_j0l.c (__y0l): Likewise.
38221         * math/w_j1.c (y1): Likewise.
38222         * math/w_j1f.c (y1f): Likewise.
38223         * math/w_j1l.c (__y1l): Likewise.
38224         * math/w_jn.c (yn): Likewise.
38225         * math/w_jnf.c (ynf): Likewise.
38226         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38227         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38228         value for Bessel function domain errors outside _SVID_ mode.
38229         Adjust sign of return value for yn (negative integer, 0).
38230         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38231         by zero in return for negative x and set sign appropriately for
38232         negative n.
38233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38234         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38235         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38236         expectations in error cases.
38237         (y1_test_data): Likewise.
38238         (yn_test_data): Likewise.
38239         * sysdeps/i386/fpu/libm-test-ulps: Update.
38240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38242 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38244         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38245         "64" to "64-v1".  Add "64-v2".
38246         (abi-64-options): Rename to ...
38247         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38248         (abi-64-condition): Rename to ...
38249         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38250         (abi-64-ld-soname): Rename to ...
38251         (abi-64-v1-ld-soname): ... this.
38252         (abi-64-v2-options): Define.
38253         (abi-64-v2-condition): Likewise.
38254         (abi-64-v2-ld-soname): Likewise.
38255         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38256         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38261 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38262             Alan Modra  <amodra@gmail.com>
38264         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38265         New versions for use with the ELFv2 ABI.
38266         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38267         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38268         declaration.
38269         (struct La_ppc64v2_retval): Likewise.
38270         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38271         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38272         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38273         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38274         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38275         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38276         Do not save or restore CR.
38277         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38278         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38279         return values for ELFv2 ABI.  Fix location of FPR return registers.
38280         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38281         updated values for _CALL_ELF == 2.
38282         (La_regs, La_retval, int_retval): Likewise.
38284 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38286         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38287         (FRAME_MIN_SIZE_PARM): Likewise.
38288         (FRAME_BACKCHAIN): Likewise.
38289         (FRAME_CR_SAVE): Likewise.
38290         (FRAME_LR_SAVE): Likewise.
38291         (FRAME_TOC_SAVE): Likewise.
38292         (FRAME_PARM_SAVE): Likewise.
38293         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38294         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38295         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38296         (call_mcount_parm_offset): New macro.
38297         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38298         (PROF): Use symbolic stack frame offsets.
38299         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38300         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38301         Redefine in terms of FRAME_MIN_SIZE.
38302         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38303         (_dl_profile_resolve): Likewise.  Update comment.
38304         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38305         symbols stack frame offsets.
38306         (__sigsetjmp): Likewise.
38307         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38308         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38309         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38310         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38313         (FRAME_BACKCHAIN): Remove.
38314         (FRAME_CR_SAVE): Likewise.
38315         (FRAME_LR_SAVE): Likewise.
38316         (FRAME_COMPILER_DW): Likewise.
38317         (FRAME_LINKER_DW): Likewise.
38318         (FRAME_TOC_SAVE): Likewise.
38319         (FRAME_PARM_SAVE): Likewise.
38320         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38321         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38322         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38324         (CHECK_SP): Use symbolic stack frame offsets.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38326         zone" instead of caller's parameter save area for temp storage.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38328         Likewise.  Also, use symbolic stack frame offsets.
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38330         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38331         our own stack frame instead of the caller's.
38332         (__socket): Use symbolic stack frame offsets.
38334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38335             Alan Modra  <amodra@gmail.com>
38337         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38338         Define.
38339         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38340         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38341         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38342         New function.
38343         (elf_machine_fixup_plt): Call it.
38344         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38345         reloc arguments.
38346         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38347         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38348         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38349         r2 before calling target.
38351 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38352             Alan Modra  <amodra@gmail.com>
38354         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38355         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38356         versions of macros to support ELFv2 ABI.
38357         (LOCALENTRY): New macro.
38358         (ENTRY, EALIGN): Use it.
38359         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38360         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38361         fall through into ENTRY entry point.
38362         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38363         Only define if _CALL_ELF != 2.
38365         (elf_machine_matches_host): Verify ABI version matches.
38366         (RTLD_START): Use LOCALENTRY.
38367         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38368         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38369         (PLT_ENTRY_WORDS): New macro.
38370         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38371         (elf_machine_runtime_setup): Support ELFv2 ABI.
38372         (elf_machine_fixup_plt): Likewise.
38373         (elf_machine_plt_conflict): Likewise.
38374         (resolve_ifunc): Likewise.
38375         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38377         Likewise.
38378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38379         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38381         (makecontext): Support ELFv2 ABI.
38382         * elf/elf.h (EF_PPC64_ABI): Define.
38384 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38386         * sysdeps/powerpc/powerpc64/sysdep.h
38387         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38388         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38389         (ENTRY) [ASSEMBLER]: ... but instead here ...
38390         (EALIGN) [ASSEMBLER]: ... and here.
38391         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38392         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38393         (ENTRY_2) [!ASSEMBLER]: Use it.
38394         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38395         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
38396         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38397         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38398         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38400         Use PPC64_LOAD_FUNCPTR.
38402         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38404 2013-12-04  Alan Modra  <amodra@gmail.com>
38406         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38407         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38408         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38409         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38412         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38413         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38414         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38415         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38416         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38421         (__makecontext): Fix incorrect CFI when backtracing out of
38422         context created via makecontext.
38423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38424         (__setcontext): Fix incorrect CFI during switch to new context.
38425         (__novec_setcontext): Likewise.
38427 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38429         [BZ #4772]
38430         * time/strptime_l.c (__strptime_internal): Allow modifiers
38431         in strptime.
38432         * time/tst-strptime.c (day_tests): Add testcase.
38434 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38436         * scripts/bench.pl: Skip over blank lines.
38438 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38440         [BZ #926]
38441         * manual/time.texi (Calendar Time): Clarify what timezone functions
38442         use.
38444 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38448 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38450         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38451         implementation.
38452         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38453         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38454         * debug/memset_chk.c (__memset_chk): Likewise.
38455         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38456         * debug/strncpy_chk.c: Likewise.
38458 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38460         [BZ #15268]
38461         [BZ #15425]
38462         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38463         (__ieee754_exp): For possibly underflowing results, check size of
38464         result and force underflow exception if required.
38465         * math/auto-libm-test-in: Add more tests of exp.
38466         * math/auto-libm-test-out: Regenerated.
38467         * sysdeps/i386/fpu/libm-test-ulps: Update.
38468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38470         [BZ #16283]
38471         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38472         * math/w_exp2f.c (__exp2f): Likewise.
38473         * math/w_exp2l.c (__exp2l): Likewise.
38474         * math/auto-libm-test-in: Do not allow missing errno on exp2
38475         underflow.
38476         * math/auto-libm-test-out: Regenerated.
38478 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38480         [BZ #16274]
38481         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38482         handle filename validation.
38483         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38484         (do_open): Delete.
38486 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38488         [BZ #6786]
38489         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38490         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38491         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38492         <float.h>.
38493         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38494         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38495         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38496         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38497         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38498         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38499         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38500         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38501         Add more erfc tests.
38502         * math/auto-libm-test-out: Regenerated.
38503         * sysdeps/i386/fpu/libm-test-ulps: Update.
38504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38506         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38507         exp2, expm1, j0 and j1.
38508         * math/auto-libm-test-out: Regenerated.
38509         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38510         (erfc_test_data): Likewise.
38511         (exp_test_data): Likewise.
38512         (exp_tonearest_test_data): Likewise.
38513         (exp_towardzero_test_data): Likewise.
38514         (exp_downward_test_data): Likewise.
38515         (exp_upward_test_data): Likewise.
38516         (exp10_test_data): Likewise.
38517         (exp2_test_data): Likewise.
38518         (expm1_test_data): Likewise.
38519         (j0_test_data): Likewise.
38520         (j1_test_data): Likewise.
38521         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38522         (input_flag_type): Add flag_xfail_rounding.
38523         (input_flags): Add xfail-rounding.
38524         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38525         (output_for_one_input_case): Handle flag_xfail_rounding.
38526         * sysdeps/i386/fpu/libm-test-ulps: Update.
38527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38529 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38531         [BZ #16289]
38532         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38533         division by 0.
38535 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38537         [BZ #16195]
38538         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38539         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38540         (STAP_PROBE0): New macro.
38541         (STAP_PROBE1): Likewise.
38542         (STAP_PROBE2): Likewise.
38543         (STAP_PROBE3): Likewise.
38544         (STAP_PROBE4): Likewise.
38546 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38548         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38550 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38552         * benchtests/Makefile (bench): Add sqrt.
38553         (LDLIBS-bench-sqrt): New.
38554         * benchtests/sqrt-input: New.
38556 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38558         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38559         (GAIH_EAI): Likewise.
38560         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38561         (gaih_inet): Likewise.
38562         (getaddrinfo): Don't use GAIH_EAI.
38564         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38565         (struct gaih): Remove definition.
38567 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38569         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38570         Use HERRNOP directly.
38572 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38576 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38578         * math/gen-auto-libm-tests.c (test_functions): Add more
38579         single-argument functions.
38580         (special_fill_pi_2): New function.
38581         (special_fill_minus_pi_2): Likewise.
38582         (special_fill_pi_6): Likewise.
38583         (special_fill_minus_pi_6): Likewise.
38584         (special_fill_pi_3): Likewise.
38585         (special_fill_2pi_3): Likewise.
38586         (special_fill_e): Likewise.
38587         (special_fill_1_e): Likewise.
38588         (special_fill_e_minus_1): Likewise.
38589         (special_real_inputs): Add more special inputs.
38590         (output_for_one_input_case): Do not require ERANGE on underflow to
38591         zero if round-to-nearest result does not underflow to zero, unless
38592         exact results required.
38593         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38594         atan, atanh, cbrt, cos and cosh.
38595         * math/auto-libm-test-out: Regenerated.
38596         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38597         (acos_tonearest_test_data): Likewise.
38598         (acos_towardzero_test_data): Likewise.
38599         (acos_downward_test_data): Likewise.
38600         (acos_upward_test_data): Likewise.
38601         (acosh_test_data): Likewise.
38602         (asin_test_data): Likewise.
38603         (asin_tonearest_test_data): Likewise.
38604         (asin_towardzero_test_data): Likewise.
38605         (asin_upward_test_data): Likewise.
38606         (asinh_test_data): Likewise.
38607         (atan_test_data): Likewise.
38608         (atanh_test_data): Likewise.
38609         (cbrt_test_data): Likewise.
38610         (cos_test_data): Likewise.
38611         (cos_tonearest_test_data): Likewise.
38612         (cos_towardzero_test_data): Likewise.
38613         (cos_downward_test_data): Likewise.
38614         (cos_upward_test_data): Likewise.
38615         (cosh_test_data): Likewise.
38616         (cosh_tonearest_test_data): Likewise.
38617         (cosh_towardzero_test_data): Likewise.
38618         (cosh_downward_test_data): Likewise.
38619         (cosh_upward_test_data): Likewise.
38620         * sysdeps/i386/fpu/libm-test-ulps: Update.
38621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38623 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38625         [BZ #6787]
38626         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38627         * math/w_exp10f.c (__exp10f): Likewise.
38628         * math/w_exp10l.c (__exp10l): Likewise.
38629         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38630         errno settings in existing tests.
38632         [BZ #14032]
38633         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38634         precision control set to double precision.
38635         * sysdeps/i386/fpu/w_sqrt.c: New file.
38636         * math/auto-libm-test-in: Add more tests.
38637         * math/auto-libm-test-out: Update.
38639         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38640         (sqrt_test_tonearest): New function.
38641         (sqrt_towardzero_test_data): New variable.
38642         (sqrt_test_towardzero): New function.
38643         (sqrt_downward_test_data): New variable.
38644         (sqrt_test_downward): New function.
38645         (sqrt_upward_test_data): New variable.
38646         (sqrt_test_upward): New function.
38647         (main): Call the new functions.
38649         * math/gen-auto-libm-tests.c: New file.
38650         * math/auto-libm-test-in: Likewise.
38651         * math/auto-libm-test-out: New generated file.
38652         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38653         variables.
38654         (%beautify): Add generated representations of zero.
38655         (top level): Set $auto_input and call parse_auto_input.
38656         (beautify): Remove trailing "f" from hex float constants.
38657         (parse_args): Handle XFAIL_TEST.
38658         (convert_condition): New function.
38659         (or_value): Likewise.
38660         (or_cond_value): Likewise.
38661         (generate_testfile): Handle AUTO_TESTS_* lines.
38662         (parse_auto_input): New function.
38663         * math/libm-test.inc (XFAIL_TEST): New macro.
38664         (ERRNO_UNCHANGED): Update value.
38665         (ERRNO_EDOM): Likewise.
38666         (ERRNO_ERANGE): Likewise.
38667         (IGNORE_RESULT): Likewise.
38668         (TEST_COND_flt_32): New macro.
38669         (TEST_COND_dbl_64): Likewise.
38670         (TEST_COND_ldbl_96_intel): Likewise.
38671         (TEST_COND_ldbl_96_m68k): Likewise.
38672         (TEST_COND_ldbl_128): Likewise.
38673         (TEST_COND_ldbl_128ibm): Likewise.
38674         (TEST_COND_long32): Likewise.
38675         (TEST_COND_long64): Likewise.
38676         (TEST_COND_before_rounding): Likewise.
38677         (TEST_COND_after_rounding): Likewise.
38678         (enable_test): Handle XFAIL_TEST flag.
38679         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38680         with finite results.
38681         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38682         auto-libm-test-out.
38684 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38685             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38687         [BZ #16214]
38688         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38689         __tls_get_addr_internal instead of __tls_get_offset in order to
38690         avoid GOT pointer dependency.  Make rtld export
38691         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38692         __tls_get_addr since we are a __tls_get_offset platform.
38693         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38694         GOT pointer being set up before.
38695         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38697 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38699         * manual/math.texi (Errors in Math Functions): Document accuracy
38700         goals.
38702         [BZ #15004]
38703         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38704         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38705         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38706         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38707         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38708         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38709         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38710         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38711         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38712         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38713         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38714         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38715         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38716         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38717         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38718         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38720         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38721         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38722         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38723         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38724         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38725         Likewise.
38726         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38727         Likewise.
38728         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38729         Likewise.
38730         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38731         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38732         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38733         atomic-feupdateenv and flt-rounds.
38734         * sysdeps/powerpc/nofpu/Versions (libc): Add
38735         __atomic_feholdexcept, __atomic_feclearexcept,
38736         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38737         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38738         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38739         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38740         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38741         here.
38742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38743         Update.
38745         * manual/arith.texi (FP Exceptions): Document that exceptions may
38746         not be raised when matherr is used.
38747         (Math Error Reporting): Document overflow in directed rounding
38748         modes.  Document that errno may not be set when finite values are
38749         returned on overflow.  Document intent to set errno on underflow
38750         only for underflow to zero.
38752         [BZ #16271]
38753         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38754         round-to-nearest then adjust result for other rounding modes.
38755         * include/fenv.h (fegetround): Use libm_hidden_proto.
38756         * math/fegetround.c (fegetround): Use libm_hidden_def.
38757         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38758         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38759         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38760         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38761         Likewise.
38762         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38763         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38764         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38765         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38767 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38769         [BZ #16077]
38770         * nss/Versions (libnss_files): Add
38771         _nss_files_gethostbyname3_r.
38772         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38773         New function.
38774         (HOST_DB_LOOKUP): Remove macro.
38775         (_nss_files_gethostbyname_r): Implement function without the
38776         HOST_DB_LOOKUP macro.
38777         (_nss_files_gethostbyname2_r): Likewise.
38779 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38781         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38783 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38785         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38786         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38787         warning.
38789 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38791         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38792         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38793         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38794         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38795         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38796         __fe_nomask_env_priv and attribute_hidden.
38797         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38798         (libc_feupdateenv_test_ppc): Likewise.
38799         (libc_feresetround_ppc): Likewise.
38800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38801         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38802         compat_symbol macro.
38803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38804         (__fe_nomask_env): Likewise.
38805         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38807 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38809         * string/Makefile: Remove ifunc tests.
38810         * string/test-string.h: Define TEST_IFUNC.
38811         * string/test-bcopy-ifunc.c: Remove.
38812         * string/test-bzero-ifunc.c: Likewise.
38813         * string/test-memccpy-ifunc.c: Likewise.
38814         * string/test-memchr-ifunc.c: Likewise.
38815         * string/test-memcmp-ifunc.c: Likewise.
38816         * string/test-memcpy-ifunc.c: Likewise.
38817         * string/test-memmem-ifunc.c: Likewise.
38818         * string/test-memmove-ifunc.c: Likewise.
38819         * string/test-mempcpy-ifunc.c: Likewise.
38820         * string/test-memrchr-ifunc.c: Likewise.
38821         * string/test-memset-ifunc.c: Likewise.
38822         * string/test-rawmemchr-ifunc.c: Likewise.
38823         * string/test-stpcpy-ifunc.c: Likewise.
38824         * string/test-stpncpy-ifunc.c: Likewise.
38825         * string/test-strcasecmp-ifunc.c: Likewise.
38826         * string/test-strcasestr-ifunc.c: Likewise.
38827         * string/test-strcat-ifunc.c: Likewise.
38828         * string/test-strchr-ifunc.c: Likewise.
38829         * string/test-strchrnul-ifunc.c: Likewise.
38830         * string/test-strcmp-ifunc.c: Likewise.
38831         * string/test-strcpy-ifunc.c: Likewise.
38832         * string/test-strcspn-ifunc.c: Likewise.
38833         * string/test-strlen-ifunc.c: Likewise.
38834         * string/test-strncasecmp-ifunc.c: Likewise.
38835         * string/test-strncat-ifunc.c: Likewise.
38836         * string/test-strncmp-ifunc.c: Likewise.
38837         * string/test-strncpy-ifunc.c: Likewise.
38838         * string/test-strnlen-ifunc.c: Likewise.
38839         * string/test-strpbrk-ifunc.c: Likewise.
38840         * string/test-strrchr-ifunc.c: Likewise.
38841         * string/test-strspn-ifunc.c: Likewise.
38842         * string/test-strstr-ifunc.c: Likewise.
38844 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38846         * benchtests/Makefile: Remove ifunc tests.
38847         * benchtests/bench-string.h: Define TEST_IFUNC.
38848         * benchtests/bench-bcopy-ifunc.c: Remove.
38849         * benchtests/bench-bzero-ifunc.c: Likewise.
38850         * benchtests/bench-memccpy-ifunc.c: Likewise.
38851         * benchtests/bench-memchr-ifunc.c: Likewise.
38852         * benchtests/bench-memcmp-ifunc.c: Likewise.
38853         * benchtests/bench-memcpy-ifunc.c: Likewise.
38854         * benchtests/bench-memmem-ifunc.c: Likewise.
38855         * benchtests/bench-memmove-ifunc.c: Likewise.
38856         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38857         * benchtests/bench-memrchr-ifunc.c: Likewise.
38858         * benchtests/bench-memset-ifunc.c: Likewise.
38859         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38860         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38861         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38862         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38863         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38864         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38865         * benchtests/bench-strcat-ifunc.c: Likewise.
38866         * benchtests/bench-strchr-ifunc.c: Likewise.
38867         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38868         * benchtests/bench-strcmp-ifunc.c: Likewise.
38869         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38870         * benchtests/bench-strcpy-ifunc.c: Likewise.
38871         * benchtests/bench-strcspn-ifunc.c: Likewise.
38872         * benchtests/bench-strlen-ifunc.c: Likewise.
38873         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38874         * benchtests/bench-strncat-ifunc.c: Likewise.
38875         * benchtests/bench-strncmp-ifunc.c: Likewise.
38876         * benchtests/bench-strncpy-ifunc.c: Likewise.
38877         * benchtests/bench-strnlen-ifunc.c: Likewise.
38878         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38879         * benchtests/bench-strrchr-ifunc.c: Likewise.
38880         * benchtests/bench-strsep-ifunc.c: Likewise.
38881         * benchtests/bench-strspn-ifunc.c: Likewise.
38882         * benchtests/bench-strstr-ifunc.c: Likewise.
38884 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38886         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38888 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38890         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38891         * rt/aio.h: Likewise.
38892         * sysdeps/gnu/bits/utmp.h: Likewise.
38893         * sysdeps/gnu/bits/utmpx.h: Likewise.
38894         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38895         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38896         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38897         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38898         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38899         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38900         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38901         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38902         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38903         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38904         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38905         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38906         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38908         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38909         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38910         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38911         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38912         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38913         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38914         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38915         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38916         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38917         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38918         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38920         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38921         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38922         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38923         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38924         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38925         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38926         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38927         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38928         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38929         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38930         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38931         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38932         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38933         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38934         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38935         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38937 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38939         [BZ #16245]
38940         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38941         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38943 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38945         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38946         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38947         Likewise.
38949 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38952         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38953         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38954         (__fesetround): Remove define.
38955         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38956         rounding and exceptions handling.
38957         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38958         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38959         (__fe_nomask_env): Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38961         __fegetround instead of fegetround.
38962         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38965 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38967         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38968         it's there.
38970         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38972 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38974         [BZ #11157]
38975         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38976         (encrypt_r): Likewise.
38977         * malloc/obstack.h (obstack_free): Likewise.
38978         * posix/unistd.h (encrypt): Likewise.
38980 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38982         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38983         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38984         DL_CALL_DT_FINI() that call the functions directly.
38985         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38986         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38987         * elf/dl-fini.c: Likewise.
38989 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38991         * malloc/hooks.c (memalign_check): Add alignment rounding.
38992         * malloc/malloc.c (_mid_memalign): New function.
38993         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38994         Implement by calling _mid_memalign.
38995         * manual/probes.texi (Memory Allocation Probes): Remove
38996         memory_valloc_retry and memory_pvalloc_retry.
38998 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39000         * locale/programs/locarchive.c (open_archive): Add const
39001         qualifier to ARCHIVEFNAME and copy default fname to
39002         DEFAULT_FNAME.
39004         [BZ #15601]
39005         * libio/tst-widetext.input: Rename Oriya to Odia.
39006         * locale/iso-639.def: Likewise.
39008         * manual/probes.texi (Mathematical Function Probes): Add
39009         documentation for sin, cos, asin and acos probes.
39010         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39011         (__sin32): Add slowasin probe.
39012         (__cos32): Add slowacos probe.
39013         (__mpsin): Add slowsin probe.
39014         (__mpcos): Add slowcos probe.
39016 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39018         [BZ #15483]
39019         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39020         thread-local __sim_exceptions_thread and global
39021         __sim_exceptions_global.
39022         (__sim_disabled_exceptions): Change to thread-local
39023         __sim_disabled_exceptions_thread and global
39024         __sim_disabled_exceptions_global.
39025         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39026         and global __sim_round_mode_global.
39027         (__simulate_exceptions): Use thread-local floating-point state and
39028         set global state from it as needed.
39029         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39030         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39031         __sim_round_mode_thread.
39032         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39033         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39034         and global __sim_exceptions_global.
39035         (__sim_disabled_exceptions): Change to thread-local
39036         __sim_disabled_exceptions_thread and global
39037         __sim_disabled_exceptions_global.
39038         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39039         and global __sim_round_mode_global.
39040         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39041         (SIM_SET_GLOBAL): Likewise.
39042         * sysdeps/powerpc/soft-fp/sfp-machine.h
39043         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39044         __sim_round_mode_thread.
39045         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39046         __sim_disabled_exceptions_thread.
39047         (__sim_exceptions): Change to __sim_exceptions_thread.
39048         (__sim_disabled_exceptions): Change to
39049         __sim_disabled_exceptions_thread.
39050         (__sim_round_mode): Change to __sim_round_mode_thread.
39051         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39052         thread-local floating-point state and set global state from it as
39053         needed.
39054         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39055         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39056         (__sim_disabled_exceptions): Remove extern declaration.
39057         (feenableexcept): Use thread-local floating-point state and set
39058         global state from it as needed.
39059         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39060         extern declaration.
39061         (__sim_disabled_exceptions): Likewise.
39062         (__sim_round_mode): Likewise.
39063         (__fegetenv): Use thread-local floating-point state.
39064         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39065         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39066         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39067         floating-point state and set global state from it as needed.
39068         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39069         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39070         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39071         Likewise.
39072         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39073         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39074         Likewise.
39075         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39076         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39077         Use __sim_round_mode_thread.
39078         * math/test-fenv-tls.c: New file.
39079         * math/Makefile (tests): Add test-fenv-tls.
39080         ($(objpfx)test-fenv-tls): Depend on
39081         $(common-objpfx)nptl/libpthread.so.
39083 2013-11-19  Andreas Schwab  <schwab@suse.de>
39085         * locale/programs/locale.c (show_info): Decode wordarray elements.
39086         * locale/categories.def (LC_MONETARY): Add element for
39087         _NL_MONETARY_CRNCYSTR.
39088         * locale/C-monetary.c (conversion_rate): New variable.
39089         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39090         element.
39092 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39094         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39095         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39097 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39099         * elf/Makefile (tst-auxv): New test.
39100         * elf/tst-auxv.c: New
39101         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39103 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39105         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39106         (hidden_proto): Caller changed.
39107         (hidden_tls_proto): New macro.
39108         (libc_hidden_tls_proto): Likewise.
39109         (rtld_hidden_tls_proto): Likewise.
39110         (libm_hidden_tls_proto): Likewise.
39111         (libresolv_hidden_tls_proto): Likewise.
39112         (librt_hidden_tls_proto): Likewise.
39113         (libdl_hidden_tls_proto): Likewise.
39114         (libnss_files_hidden_tls_proto): Likewise.
39115         (libnsl_hidden_tls_proto): Likewise.
39116         (libnss_nisplus_hidden_tls_proto): Likewise.
39117         (libutil_hidden_tls_proto): Likewise.
39119 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39121         [BZ #10253]
39122         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39123         (decompose_rpath): Defer expansion to fillin_rpath.
39124         (_dl_init_paths): Pass linkmap to fillin_rpath.
39126 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39128         * benchtests/Makefile: Add strsep.
39129         * benchtests/bench-strsep.c: New file: strsep benchtest.
39130         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39132 2013-11-18  Andreas Schwab  <schwab@suse.de>
39134         * locale/programs/locale.c (show_info) [case byte]: Check for
39135         '\377' instead of '\177'.
39136         * locale/C-monetary.c (not_available): Always use "\377".
39137         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39138         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39139         detect unavailable sign_posn locale elements.
39140         * locale/localeconv.c (__localeconv): For grouping and
39141         mon_grouping handle "\177" and "\377" like no grouping.
39142         (INT_ELEM): New macro.  Use it to set all numeric members.
39143         * locale/programs/ld-monetary.c (monetary_read)
39144         <tok_mon_grouping>: Normalize single -1 to the empty string.
39145         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39146         Likewise.
39148 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39150         [BZ #16055]
39151         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39152         when we match (nil).
39153         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39155 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39157         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39158         (NO_TEST_INLINE): Update value.
39159         (ERRNO_UNCHANGED): Likewise.
39160         (ERRNO_EDOM): Likewise.
39161         (ERRNO_ERANGE): Likewise.
39162         (IGNORE_RESULT): Likewise.
39163         (check_float_internal): Check signs of NaN results if
39164         TEST_NAN_SIGN used.
39165         (check_complex): Pass TEST_NAN_SIGN flag through to second
39166         check_float_internal call.
39167         (copysign_test_data): Add tests with quiet NaNs as second
39168         argument.  Use TEST_NAN_SIGN.
39169         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39170         TEST_NAN_SIGN.
39171         (signbit_test_data): Add tests of quiet NaN argument.
39172         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39174         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39175         $ignore_result.
39176         (parse_args): Handle function results specified as IGNORE.
39177         * math/libm-test.inc (IGNORE_RESULT): New macro.
39178         (check_float_internal): Do not check numerical result if flag
39179         IGNORE_RESULT set.
39180         (check_complex): Pass through IGNORE_RESULT to second
39181         check_float_internal call.
39182         (check_int): Do not check numerical result if flag IGNORE_RESULT
39183         set.
39184         (check_long): Likewise.
39185         (check_bool): Likewise.
39186         (check_longlong): Likewise.
39187         (lrint_test_data): Add tests of infinite and NaN arguments.
39188         (lrint_tonearest_test_data): Likewise.
39189         (lrint_towardzero_test_data): Likewise.
39190         (lrint_downward_test_data): Likewise.
39191         (lrint_upward_test_data): Likewise.
39192         (llrint_test_data): Likewise.
39193         (llrint_tonearest_test_data): Likewise.
39194         (llrint_towardzero_test_data): Likewise.
39195         (llrint_downward_test_data): Likewise.
39196         (llrint_upward_test_data): Likewise.
39197         (lround_test_data): Likewise.
39198         (llround_test_data): Likewise.
39200         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39201         (ERRNO_UNCHANGED): Update value.
39202         (ERRNO_EDOM): Likewise.
39203         (ERRNO_ERANGE): Likewise.
39204         (NO_TEST_INLINE_FLOAT): New macro.
39205         (NO_TEST_INLINE_DOUBLE): Likewise.
39206         (enable_test): New function.
39207         (RUN_TEST_f_f): Check enable_test before running test.
39208         (RUN_TEST_2_f): Likewise.
39209         (RUN_TEST_fff_f): Likewise.
39210         (RUN_TEST_c_f): Likewise.
39211         (RUN_TEST_f_f1): Likewise.
39212         (RUN_TEST_fF_f1): Likewise.
39213         (RUN_TEST_fI_f1): Likewise.
39214         (RUN_TEST_ffI_f1): Likewise.
39215         (RUN_TEST_c_c): Likewise.
39216         (RUN_TEST_cc_c): Likewise.
39217         (RUN_TEST_f_i): Likewise.
39218         (RUN_TEST_f_i_tg): Likewise.
39219         (RUN_TEST_ff_i_tg): Likewise.
39220         (RUN_TEST_f_b): Likewise.
39221         (RUN_TEST_f_b_tg): Likewise.
39222         (RUN_TEST_f_l): Likewise.
39223         (RUN_TEST_f_L): Likewise.
39224         (RUN_TEST_fFF_11): Likewise.
39225         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39226         conditionals.
39227         (cosh_test_data): Likewise.
39228         (exp_test_data): Likewise.
39229         (expm1_test_data): Likewise.
39230         (hypot_test_data): Likewise.
39231         (pow_test_data): Likewise.
39232         (sinh_test_data): Likewise.
39233         (tanh_test_data): Likewise.
39234         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39235         flags argument.
39237         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39238         tests with quiet NaN input and output.
39239         (acosh_test_data): Likewise.
39240         (asin_test_data): Likewise.
39241         (asinh_test_data): Likewise.
39242         (atan_test_data): Likewise.
39243         (atanh_test_data): Likewise.
39244         (atan2_test_data): Likewise.
39245         (cbrt_test_data): Likewise.
39246         (cos_test_data): Likewise.
39247         (cosh_test_data): Likewise.
39248         (erf_test_data): Likewise.
39249         (erfc_test_data): Likewise.
39250         (exp_test_data): Likewise.
39251         (exp10_test_data): Likewise.
39252         (exp2_test_data): Likewise.
39253         (expm1_test_data): Likewise.
39254         (hypot_test_data): Likewise.
39255         (j0_test_data): Likewise.
39256         (j1_test_data): Likewise.
39257         (jn_test_data): Likewise.
39258         (lgamma_test_data): Likewise.
39259         (log_test_data): Likewise.
39260         (log10_test_data): Likewise.
39261         (log1p_test_data): Likewise.
39262         (log2_test_data): Likewise.
39263         (pow_test_data): Likewise.
39264         (scalb_test_data): Likewise.
39265         (sin_test_data): Likewise.
39266         (sincos_test_data): Likewise.
39267         (sinh_test_data): Likewise.
39268         (tan_test_data): Likewise.
39269         (tanh_test_data): Likewise.
39270         (tgamma_test_data): Likewise.
39271         (y0_test_data): Likewise.
39272         (y1_test_data): Likewise.
39273         (yn_test_data): Likewise.
39275         [BZ #16167]
39276         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39277         argument being NaN and avoid computations with second argument in
39278         that case.
39279         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39280         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39281         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39283 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39285         * locale/iso-639.def: Add Chitwani Tharu (the).
39287 2013-11-14  Andreas Schwab  <schwab@suse.de>
39289         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39290         word instead of empty string.
39292 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39295         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39297         (__fe_nomask_env): Likewise.
39299 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39301         * benchtests/bench-timing.h: Include time.h.
39303 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39305         [BZ #15997]
39306         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39307         to 3.4.0 for x32.
39308         * sysdeps/unix/sysv/linux/configure: Regenerated.
39310 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39312         [BZ #16151]
39313         * stdlib/strtod_l.c (round_and_return): Do not consider
39314         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39315         exponent one less than half the least subnormal exponent.
39316         * stdlib/test-strtod-round-data: Add more tests.
39317         * stdlib/tst-strtod-round.c (tests): Regenerated.
39319 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39321         [BZ #14143]
39322         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39323         (__fe_mask_env): Likewise.
39324         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39325         libm_hidden_proto and add function prototype.
39326         (__fe_mask_env): Add function prototype.
39327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39328         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39330         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39332         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39334 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39336         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39337         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39339 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39341         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39342         of htab_find_slot().
39344 2013-11-11  David S. Miller  <davem@davemloft.net>
39346         [BZ #16150]
39347         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39348         symbol in the non-vis3 case in static builds.
39349         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39350         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39351         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39352         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39354 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39356         [BZ #387]
39357         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39358         it is empty.
39360 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39362         * benchtests/Makefile: Add bench-strtod.
39363         * benchtests/bench-strtod.c: New file: strtod benchtest
39365 2013-11-11  Andreas Schwab  <schwab@suse.de>
39367         [BZ #16153]
39368         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39369         terminating NUL in key length.
39371 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39373         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39374         Add artificial ODP entry for vDSO symbol for PPC64.
39375         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39376         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39378 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39380         [BZ #15374]
39381         * nss/getent.c (services_keys): Recognize services starting with digit.
39383 2013-11-06  David S. Miller  <davem@davemloft.net>
39385         [BZ #15985]
39386         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39387         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39389 2013-11-06  Will Newton  <will.newton@linaro.org>
39391         * manual/memory.texi (Malloc Examples): Remove register
39392         keyword from examples.
39394 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
39396         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39398 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #6981]
39401         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39402         depending on [__GCC_IEC_559 > 0].
39403         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39404         depending on [__GCC_IEC_559_COMPLEX > 0].
39406 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
39408         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39409         to iso-639.def.
39411 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
39413         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39415 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
39417         [BZ #16112]
39418         * malloc/malloc (malloc_info): Do not handle first bin as
39419         special case.
39421 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
39423         * locale/iso-639.def: Add Central Nahuatl (nhn).
39425 2013-11-01  Bruno Haible  <bruno@clisp.org>
39427         [BZ #7003]
39428         * manual/math.texi (BSD Random): Specify range upper bound as
39429         in POSIX.
39431 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39433         * locale/iso-639.def: Add Meadow Mari (mhr).
39435 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39437         [BZ #14752], [BZ #15763]
39438         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39439         Validate name.
39440         * rt/tst_shm.c: Add test for escaping directory.
39442 2013-10-31  Andreas Schwab  <schwab@suse.de>
39444         [BZ #15917]
39445         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39446         followed by 'x' as part of digit sequence.
39447         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39449 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39451         [BZ #16037]
39452         * configure.ac: allow GNU Make 4.0 and greater.
39453         * configure: Regenerated.
39455 2013-10-30  Will Newton  <will.newton@linaro.org>
39457         [BZ #16038]
39458         * malloc/hooks.c (memalign_check): Limit alignment to the
39459         maximum representable power of two.
39460         * malloc/malloc.c (__libc_memalign): Likewise.
39461         * malloc/tst-memalign.c (do_test): Add test for very
39462         large alignment values.
39463         * malloc/tst-posix_memalign.c (do_test): Likewise.
39465 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39467         [BZ #11087]
39468         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39469         (munmap_chunk): Likewise.
39470         (mremap_chunk): Likewise.
39472 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39474         [BZ #15799]
39475         * stdlib/div.c (div): Remove obsolete code.
39476         * stdlib/ldiv.c (ldiv): Likewise.
39477         * stdlib/lldiv.c (lldiv): Likewise.
39479 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39481         [BZ #16071]
39482         * nss/nss_files/files-XXX.c (get_contents_ret): New
39483         enumerator.
39484         (get_contents): New function.
39485         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39487 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39489         * configure.in: Moved to ...
39490         * configure.ac: ... here. Change reference to configure.in
39491         to configure.ac.
39492         * sysdeps/arm/preconfigure.ac: ... here.
39493         configure.in to configure.ac.
39494         * sysdeps/gnu/configure.in: Moved to ...
39495         * sysdeps/gnu/configure.ac: ... here.
39496         * sysdeps/i386/configure.in: Moved to ...
39497         * sysdeps/i386/configure.ac: ... here.
39498         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39499         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39500         * sysdeps/mach/configure.in: Moved to ...
39501         * sysdeps/mach/configure.ac: ... here.
39502         * sysdeps/mach/hurd/configure.in: Moved to ...
39503         * sysdeps/mach/hurd/configure.ac: ... here.
39504         * sysdeps/powerpc/configure.in: Moved to ...
39505         * sysdeps/powerpc/configure.ac: ... here.
39506         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39507         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39508         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39509         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39510         * sysdeps/s390/s390-32/configure.in: Moved to ...
39511         * sysdeps/s390/s390-32/configure.ac: ... here.
39512         * sysdeps/s390/s390-64/configure.in: Moved to ...
39513         * sysdeps/s390/s390-64/configure.ac: ... here.
39514         * sysdeps/sh/configure.in: Moved to ...
39515         * sysdeps/sh/configure.ac: ... here.
39516         * sysdeps/sparc/configure.in: Moved to ...
39517         * sysdeps/sparc/configure.ac: ... here.
39518         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39519         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39520         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39521         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39522         * sysdeps/x86_64/configure.in: Moved to ...
39523         * sysdeps/x86_64/configure.ac: ... here.
39524         * sysdeps/x86_64/preconfigure.in: Moved to ...
39525         * sysdeps/x86_64/preconfigure.ac: ... here.
39526         * aclocal.m4: Change reference to configure.in to configure.ac.
39527         * config.h.in: Likewise.
39528         * manual/install.texi: Likewise.
39529         * manual/maint.texi: Likewise.
39530         * Makefile: Likewise.
39531         * malloc/Makefile: Likewise.
39532         * nscd/Makefile: Likewise.
39533         * Makeconfig: Change reference to configure.in and
39534         preconfigure.in to configure.ac and preconfigure.ac
39535         respectively.
39536         * INSTALL: Regenerated.
39537         * configure: Likewise.
39538         * sysdeps/gnu/configure: Likewise.
39539         * sysdeps/i386/configure: Likewise.
39540         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39541         * sysdeps/mach/configure: Likewise.
39542         * sysdeps/mach/hurd/configure: Likewise.
39543         * sysdeps/powerpc/configure: Likewise.
39544         * sysdeps/powerpc/powerpc32/configure: Likewise.
39545         * sysdeps/powerpc/powerpc64/configure: Likewise.
39546         * sysdeps/s390/s390-32/configure: Likewise.
39547         * sysdeps/s390/s390-64/configure: Likewise.
39548         * sysdeps/sh/configure: Likewise.
39549         * sysdeps/sparc/configure: Likewise.
39550         * sysdeps/unix/sysv/linux/configure: Likewise.
39551         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39552         * sysdeps/x86_64/configure: Likewise.
39553         * sysdeps/x86_64/preconfigure: Likewise.
39555 2013-10-29  Andreas Schwab  <schwab@suse.de>
39557         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39559 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39561         * benchtests/pow-inputs: Add new inputs.
39563         * benchtests/exp-inputs: Add new inputs.
39565         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39566         conditional check for return value.
39567         (__cos32): Likewise.
39569 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39571         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39572         to provide a boost for large inputs with word alignment.
39573         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39574         implementation based on optimized PPC64 strcpy.
39575         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39576         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39577         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39578         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39580 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39582         [BZ #2801]
39583         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39585 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39587         [BZ #14876]
39588         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39589         * time/tst-strptime.c (day_tests): Add testcase.
39591 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39593         [BZ #14029]
39594         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39596 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39598         [BZ #16074]
39599         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39600         MAP_FAILED on error.
39602 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39604         [BZ #16072]
39605         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39606         heap for large requests.
39608 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39610         [BZ #9954]
39611         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39612         result if the result has no associated interface.
39613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39614         interface for all 127.X.Y.Z addresses.
39616 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39618         * locale/iso-639.def: Add Ligurian (lij)
39620 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39622         [BZ #15825]
39623         * sunrpc/rpc_main.c: Document rpcgen -5.
39625 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39627         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39629 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39631         [BZ #10278]
39632         * posix/glob.c: Match only directories when trailing slash is present.
39633         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39634         (main): Add testcase.
39636 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39638         [BZ #15670]
39639         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39641 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39643         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39644         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39645         AUTH_DES and cindex for FIPS 140-2.
39646         (DES Encryption): Add cindex FIPS 46-3.
39648         * locale/locarchive.h (struct locarhandle): Add fname.
39649         * locale/programs/localedef.c (main): Pass ARGV[remaining]
39650         if an optional argument was specified to --list-archive,
39651         otherwise NULL.
39652         * locale/programs/locarchive.c (show_archive_content): Take new
39653         argument fname and pass it via ah.fname to open_archive.
39654         * locale/programs/localedef.h: Update decl.
39655         (open_archive): If AH->fname is non-null, open that file
39656         rather than the default file name, and don't ignore ENOENT.
39657         (create_archive): Set AH.fname to NULL.
39658         (delete_locales_from_archive): Likewise.
39659         (add_locales_to_archive): Likewise.
39660         * locale/programs/locfile.c (write_all_categories): Likewise.
39662 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39663             Aldy Hernandez  <aldyh@redhat.com>
39665         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39666         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39667         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39668         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39669         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39670         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39671         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39672         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39673         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39674         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39675         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39676         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39677         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39678         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39679         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39680         Likewise.
39681         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39682         Likewise.
39683         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39684         Likewise.
39685         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39686         Likewise.
39687         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39688         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39689         Likewise.
39690         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39691         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39692         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39693         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39694         Likewise.
39695         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39696         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39697         * sysdeps/powerpc/preconfigure: Likewise.
39698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39699         Likewise.
39700         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39701         Replace contents of file by #include of <fenv_libc.h>.
39702         * sysdeps/powerpc/soft-fp/sfp-machine.h
39703         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39704         and <sys/prctl.h>.
39705         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39708         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39709         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39710         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39712         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39713         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39714         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39715         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39716         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39718         Allow copysignl PLT reference to be missing.
39720 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39721             Joseph Myers  <joseph@codesourcery.com
39723         [BZ #15948]
39724         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39725         single character.
39726         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39728 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39730         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39731         * elf/tst-tls1.c: Likewise.
39732         * elf/tst-tls10.h: Likewise.
39733         * elf/tst-tls14.c: Likewise.
39734         * elf/tst-tls2.c: Likewise.
39735         * elf/tst-tls3.c: Likewise.
39736         * elf/tst-tls4.c: Likewise.
39737         * elf/tst-tls5.c: Likewise.
39738         * elf/tst-tls6.c: Likewise.
39739         * elf/tst-tls7.c: Likewise.
39740         * elf/tst-tls8.c: Likewise.
39741         * elf/tst-tls9.c: Likewise.
39742         * elf/tst-tlsmod1.c: Likewise.
39743         * elf/tst-tlsmod13.c: Likewise.
39744         * elf/tst-tlsmod13a.c: Likewise.
39745         * elf/tst-tlsmod14a.c: Likewise.
39746         * elf/tst-tlsmod16a.c: Likewise.
39747         * elf/tst-tlsmod16b.c: Likewise.
39748         * elf/tst-tlsmod2.c: Likewise.
39749         * elf/tst-tlsmod3.c: Likewise.
39750         * elf/tst-tlsmod4.c: Likewise.
39751         * elf/tst-tlsmod5.c: Likewise.
39752         * elf/tst-tlsmod6.c: Likewise.
39754 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39756         [BZ #12486]
39757         * malloc/malloc.c: remove checks for statistics.
39759 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39761         [BZ #15277]
39762         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39763         * inet/tst-network.c: Add testcase.
39765 2013-10-17  Andreas Schwab  <schwab@suse.de>
39767         [BZ #15218]
39768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39769         to determine canonical name.
39771 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39773         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39774         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39776         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39777         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39778         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39779         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39780         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39781         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39782         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39783         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39785         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39786         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39787         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39788         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39790         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39791         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39792         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39796         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39797         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39798         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39799         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39800         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39801         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39802         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39803         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39804         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39805         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39806         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39807         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39808         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39809         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39810         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39811         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39812         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39813         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39814         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39815         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39816         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39817         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39818         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39819         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39820         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39821         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39822         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39823         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39824         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39826         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39827         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39828         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39830         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39832 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39834         [BZ #16041]
39835         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39836         make result into a quiet NaN.
39838 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39840         * soft-fp/adddf3.c: Fix horizontal whitespace.
39841         * soft-fp/addsf3.c: Likewise.
39842         * soft-fp/addtf3.c: Likewise.
39843         * soft-fp/divdf3.c: Likewise.
39844         * soft-fp/divsf3.c: Likewise.
39845         * soft-fp/divtf3.c: Likewise.
39846         * soft-fp/double.h: Likewise.
39847         * soft-fp/eqdf2.c: Likewise.
39848         * soft-fp/eqsf2.c: Likewise.
39849         * soft-fp/eqtf2.c: Likewise.
39850         * soft-fp/extenddftf2.c: Likewise.
39851         * soft-fp/extended.h: Likewise.
39852         * soft-fp/extendsfdf2.c: Likewise.
39853         * soft-fp/extendsftf2.c: Likewise.
39854         * soft-fp/extendxftf2.c: Likewise.
39855         * soft-fp/fixdfdi.c: Likewise.
39856         * soft-fp/fixdfsi.c: Likewise.
39857         * soft-fp/fixdfti.c: Likewise.
39858         * soft-fp/fixsfdi.c: Likewise.
39859         * soft-fp/fixsfsi.c: Likewise.
39860         * soft-fp/fixsfti.c: Likewise.
39861         * soft-fp/fixtfdi.c: Likewise.
39862         * soft-fp/fixtfsi.c: Likewise.
39863         * soft-fp/fixtfti.c: Likewise.
39864         * soft-fp/fixunsdfdi.c: Likewise.
39865         * soft-fp/fixunsdfsi.c: Likewise.
39866         * soft-fp/fixunsdfti.c: Likewise.
39867         * soft-fp/fixunssfdi.c: Likewise.
39868         * soft-fp/fixunssfsi.c: Likewise.
39869         * soft-fp/fixunssfti.c: Likewise.
39870         * soft-fp/fixunstfdi.c: Likewise.
39871         * soft-fp/fixunstfsi.c: Likewise.
39872         * soft-fp/fixunstfti.c: Likewise.
39873         * soft-fp/floatdidf.c: Likewise.
39874         * soft-fp/floatdisf.c: Likewise.
39875         * soft-fp/floatditf.c: Likewise.
39876         * soft-fp/floatsidf.c: Likewise.
39877         * soft-fp/floatsisf.c: Likewise.
39878         * soft-fp/floatsitf.c: Likewise.
39879         * soft-fp/floattidf.c: Likewise.
39880         * soft-fp/floattisf.c: Likewise.
39881         * soft-fp/floattitf.c: Likewise.
39882         * soft-fp/floatundidf.c: Likewise.
39883         * soft-fp/floatundisf.c: Likewise.
39884         * soft-fp/floatunditf.c: Likewise.
39885         * soft-fp/floatunsidf.c: Likewise.
39886         * soft-fp/floatunsisf.c: Likewise.
39887         * soft-fp/floatunsitf.c: Likewise.
39888         * soft-fp/floatuntidf.c: Likewise.
39889         * soft-fp/floatuntisf.c: Likewise.
39890         * soft-fp/floatuntitf.c: Likewise.
39891         * soft-fp/fmadf4.c: Likewise.
39892         * soft-fp/fmasf4.c: Likewise.
39893         * soft-fp/fmatf4.c: Likewise.
39894         * soft-fp/gedf2.c: Likewise.
39895         * soft-fp/gesf2.c: Likewise.
39896         * soft-fp/getf2.c: Likewise.
39897         * soft-fp/ledf2.c: Likewise.
39898         * soft-fp/lesf2.c: Likewise.
39899         * soft-fp/letf2.c: Likewise.
39900         * soft-fp/muldf3.c: Likewise.
39901         * soft-fp/mulsf3.c: Likewise.
39902         * soft-fp/multf3.c: Likewise.
39903         * soft-fp/negdf2.c: Likewise.
39904         * soft-fp/negsf2.c: Likewise.
39905         * soft-fp/negtf2.c: Likewise.
39906         * soft-fp/op-1.h: Likewise.
39907         * soft-fp/op-2.h: Likewise.
39908         * soft-fp/op-4.h: Likewise.
39909         * soft-fp/op-8.h: Likewise.
39910         * soft-fp/op-common.h: Likewise.
39911         * soft-fp/quad.h: Likewise.
39912         * soft-fp/single.h: Likewise.
39913         * soft-fp/soft-fp.h: Likewise.
39914         * soft-fp/sqrtdf2.c: Likewise.
39915         * soft-fp/sqrtsf2.c: Likewise.
39916         * soft-fp/sqrttf2.c: Likewise.
39917         * soft-fp/subdf3.c: Likewise.
39918         * soft-fp/subsf3.c: Likewise.
39919         * soft-fp/subtf3.c: Likewise.
39920         * soft-fp/truncdfsf2.c: Likewise.
39921         * soft-fp/trunctfdf2.c: Likewise.
39922         * soft-fp/trunctfsf2.c: Likewise.
39923         * soft-fp/trunctfxf2.c: Likewise.
39924         * soft-fp/unorddf2.c: Likewise.
39925         * soft-fp/unordsf2.c: Likewise.
39926         * soft-fp/unordtf2.c: Likewise.
39928 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39930         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39931         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39933 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39935         * elf/dl-libc.c: Clear initfini list after freeing.
39937 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39939         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39940         * soft-fp/addsf3.c: Likewise.
39941         * soft-fp/addtf3.c: Likewise.
39942         * soft-fp/divdf3.c: Likewise.
39943         * soft-fp/divsf3.c: Likewise.
39944         * soft-fp/divtf3.c: Likewise.
39945         * soft-fp/double.h: Likewise.
39946         * soft-fp/eqdf2.c: Likewise.
39947         * soft-fp/eqsf2.c: Likewise.
39948         * soft-fp/eqtf2.c: Likewise.
39949         * soft-fp/extenddftf2.c: Likewise.
39950         * soft-fp/extended.h: Likewise.
39951         * soft-fp/extendsfdf2.c: Likewise.
39952         * soft-fp/extendsftf2.c: Likewise.
39953         * soft-fp/extendxftf2.c: Likewise.
39954         * soft-fp/fixdfdi.c: Likewise.
39955         * soft-fp/fixdfsi.c: Likewise.
39956         * soft-fp/fixdfti.c: Likewise.
39957         * soft-fp/fixsfdi.c: Likewise.
39958         * soft-fp/fixsfsi.c: Likewise.
39959         * soft-fp/fixsfti.c: Likewise.
39960         * soft-fp/fixtfdi.c: Likewise.
39961         * soft-fp/fixtfsi.c: Likewise.
39962         * soft-fp/fixtfti.c: Likewise.
39963         * soft-fp/fixunsdfdi.c: Likewise.
39964         * soft-fp/fixunsdfsi.c: Likewise.
39965         * soft-fp/fixunsdfti.c: Likewise.
39966         * soft-fp/fixunssfdi.c: Likewise.
39967         * soft-fp/fixunssfsi.c: Likewise.
39968         * soft-fp/fixunssfti.c: Likewise.
39969         * soft-fp/fixunstfdi.c: Likewise.
39970         * soft-fp/fixunstfsi.c: Likewise.
39971         * soft-fp/fixunstfti.c: Likewise.
39972         * soft-fp/floatdidf.c: Likewise.
39973         * soft-fp/floatdisf.c: Likewise.
39974         * soft-fp/floatditf.c: Likewise.
39975         * soft-fp/floatsidf.c: Likewise.
39976         * soft-fp/floatsisf.c: Likewise.
39977         * soft-fp/floatsitf.c: Likewise.
39978         * soft-fp/floattidf.c: Likewise.
39979         * soft-fp/floattisf.c: Likewise.
39980         * soft-fp/floattitf.c: Likewise.
39981         * soft-fp/floatundidf.c: Likewise.
39982         * soft-fp/floatundisf.c: Likewise.
39983         * soft-fp/floatunsidf.c: Likewise.
39984         * soft-fp/floatunsisf.c: Likewise.
39985         * soft-fp/floatuntidf.c: Likewise.
39986         * soft-fp/floatuntisf.c: Likewise.
39987         * soft-fp/floatuntitf.c: Likewise.
39988         * soft-fp/fmadf4.c: Likewise.
39989         * soft-fp/fmasf4.c: Likewise.
39990         * soft-fp/fmatf4.c: Likewise.
39991         * soft-fp/gedf2.c: Likewise.
39992         * soft-fp/gesf2.c: Likewise.
39993         * soft-fp/getf2.c: Likewise.
39994         * soft-fp/ledf2.c: Likewise.
39995         * soft-fp/lesf2.c: Likewise.
39996         * soft-fp/letf2.c: Likewise.
39997         * soft-fp/muldf3.c: Likewise.
39998         * soft-fp/mulsf3.c: Likewise.
39999         * soft-fp/multf3.c: Likewise.
40000         * soft-fp/negdf2.c: Likewise.
40001         * soft-fp/negsf2.c: Likewise.
40002         * soft-fp/negtf2.c: Likewise.
40003         * soft-fp/op-1.h: Likewise.
40004         * soft-fp/op-2.h: Likewise.
40005         * soft-fp/op-4.h: Likewise.
40006         * soft-fp/op-8.h: Likewise.
40007         * soft-fp/op-common.h: Likewise.
40008         * soft-fp/quad.h: Likewise.
40009         * soft-fp/single.h: Likewise.
40010         * soft-fp/soft-fp.h: Likewise.
40011         * soft-fp/sqrtdf2.c: Likewise.
40012         * soft-fp/sqrtsf2.c: Likewise.
40013         * soft-fp/sqrttf2.c: Likewise.
40014         * soft-fp/subdf3.c: Likewise.
40015         * soft-fp/subsf3.c: Likewise.
40016         * soft-fp/subtf3.c: Likewise.
40017         * soft-fp/truncdfsf2.c: Likewise.
40018         * soft-fp/trunctfdf2.c: Likewise.
40019         * soft-fp/trunctfsf2.c: Likewise.
40020         * soft-fp/trunctfxf2.c: Likewise.
40021         * soft-fp/unorddf2.c: Likewise.
40022         * soft-fp/unordsf2.c: Likewise.
40023         * soft-fp/unordtf2.c: Likewise.
40025 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40027         [BZ #15672]
40028         * misc/error.c (error_tail): Fix possible buffer overflow.
40030 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40032         [BZ #13028]
40033         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40034         address.
40036 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40038         [BZ #832]
40039         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40040         testing pipefail option.
40042 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40044         * soft-fp/double.h: Indent preprocessor directives inside #if.
40045         * soft-fp/extended.h: Likewise.
40046         * soft-fp/op-2.h: Likewise.
40047         * soft-fp/op-4.h: Likewise.
40048         * soft-fp/op-common.h: Likewise.
40049         * soft-fp/quad.h: Likewise.
40050         * soft-fp/single.h: Likewise.
40051         * soft-fp/soft-fp.h: Likewise.
40053 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40055         * iconv/iconv_prog.c: Fix typos.
40056         * stdio-common/psiginfo-data.h: Likewise.
40058 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40060         [BZ #15764]
40061         * locale/setlocale.c: Fix typo.
40063 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40065         [BZ #16036]
40066         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40067         signaling NaN arguments.
40068         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40069         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40071         [BZ #14910]
40072         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40073         unordered operands.
40074         * soft-fp/gesf2.c (__gesf2): Likewise.
40075         * soft-fp/getf2.c (__getf2): Likewise.
40076         * soft-fp/ledf2.c (__ledf2): Likewise.
40077         * soft-fp/lesf2.c (__lesf2): Likewise.
40078         * soft-fp/letf2.c (__letf2): Likewise.
40080         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40081         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40082         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40083         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40084         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40085         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40086         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40087         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40088         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40089         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40090         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40091         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40092         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40093         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40094         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40095         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40096         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40097         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40098         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40099         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40100         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40101         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40102         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40103         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40104         * soft-fp/floattidf.c (__floattidf): Likewise.
40105         * soft-fp/floattisf.c (__floattisf): Likewise.
40106         * soft-fp/floattitf.c (__floattitf): Likewise.
40107         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40108         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40109         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40110         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40111         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40112         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40113         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40114         * soft-fp/gesf2.c (__gesf2): Likewise.
40115         * soft-fp/getf2.c (__getf2): Likewise.
40116         * soft-fp/ledf2.c (__ledf2): Likewise.
40117         * soft-fp/lesf2.c (__lesf2): Likewise.
40118         * soft-fp/letf2.c (__letf2): Likewise.
40120         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40121         Undefine and redefine.
40122         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40123         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40124         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40125         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40126         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40127         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40128         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40129         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40130         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40131         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40132         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40133         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40134         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40135         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40136         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40138         [BZ #16032]
40139         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40140         without decrementing exponent if mantissa >= that for the
40141         denominator, not >.
40142         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40143         denominator, not >.  Decrement exponent in < case instead of
40144         incrementing in >= case.
40145         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40146         without decrementing exponent if mantissa >= that for the
40147         denominator, not >.
40149         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40150         computing saturated result for unsigned overflow.
40152 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40153             Jeff Law  <law@redhat.com>
40155         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40156         (atan2Mp): Add systemtap probe marker.
40157         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40158         (__ieee754_log): Add systemtap probe marker.
40159         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40160         (atanMp): Add systemtap probe marker.
40161         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40162         (tanMp): Add systemtap probe marker.
40163         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40164         (__slowexp): Add systemtap probe marker.
40165         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40166         (__slowpow): Add systemtap probe marker.
40167         * manual/probes.texi: Document probes.
40169 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40171         [BZ #15362]
40172         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40173         written.
40174         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40175         written.
40176         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40177         written to buffer but not flushed.
40178         * libio/iofwrite_u.c:  Likewise.
40179         * libio/iopadn.c:  Return bytes returned even if EOF was
40180         encountered.
40181         * libio/iowpadn.c:  Likewise.
40182         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40183         if _IO_padn does not write the whole buffer.
40184         [!COMPILE_WPRINTF] (PAD): Likewise.
40186 2013-10-10  David S. Miller  <davem@davemloft.net>
40188         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40189         directory block.
40191 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40193         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40194         instead of FSF address.
40195         * soft-fp/fixdfti.c: Likewise.
40196         * soft-fp/fixsfti.c: Likewise.
40197         * soft-fp/fixtfti.c: Likewise.
40198         * soft-fp/fixunsdfti.c: Likewise.
40199         * soft-fp/fixunssfti.c: Likewise.
40200         * soft-fp/fixunstfti.c: Likewise.
40201         * soft-fp/floattidf.c: Likewise.
40202         * soft-fp/floattisf.c: Likewise.
40203         * soft-fp/floattitf.c: Likewise.
40204         * soft-fp/floatuntidf.c: Likewise.
40205         * soft-fp/floatuntisf.c: Likewise.
40206         * soft-fp/floatuntitf.c: Likewise.
40207         * soft-fp/trunctfxf2.c: Likewise.
40209         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40210         * soft-fp/fixdfti.c: Likewise.
40211         * soft-fp/fixsfti.c: Likewise.
40212         * soft-fp/fixtfti.c: Likewise.
40213         * soft-fp/fixunsdfti.c: Likewise.
40214         * soft-fp/fixunssfti.c: Likewise.
40215         * soft-fp/fixunstfti.c: Likewise.
40216         * soft-fp/floattidf.c: Likewise.
40217         * soft-fp/floattisf.c: Likewise.
40218         * soft-fp/floattitf.c: Likewise.
40219         * soft-fp/floatuntidf.c: Likewise.
40220         * soft-fp/floatuntisf.c: Likewise.
40221         * soft-fp/floatuntitf.c: Likewise.
40222         * soft-fp/trunctfxf2.c: Likewise.
40224 2013-10-10  David S. Miller  <davem@davemloft.net>
40226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40228 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40230         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40231         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40232         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40233         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40234         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40235         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40236         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40239         for NaNs before doing comparisons on argument.
40240         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40241         Likewise.
40243 2013-10-10  Will Newton  <will.newton@linaro.org>
40245         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40246         passed to _int_memalign does not overflow.
40248 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40250         * scripts/bench.pl: Add include-sources directive.
40251         * benchtests/README: Update documentation.
40253 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40255         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40256         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40257         instead of FP_INIT_ROUNDMODE.
40258         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40259         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40261         [BZ #16034]
40262         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40263         copy class of input value.
40264         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40265         not handle exceptions.
40266         * soft-fp/negsf2.c (__negsf2): Likewise.
40267         * soft-fp/negtf2.c (__negtf2): Likewise.
40268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40270 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40272         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40273         semicolon.  From Linux kernel.
40275 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40277         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40279 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40281         [BZ #156]
40282         * manual/socket.texi: Added statement about buffer
40283         for gethostbyname2_r.
40285 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40287         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40288         Use .p2align directive instead, throughout.
40289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40290         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40291         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40292         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40294         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40295         * sysdeps/x86_64/strchr.S: Likewise.
40296         * sysdeps/x86_64/strrchr.S: Likewise.
40298 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40300         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40302         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40304         * sysdeps/generic/math_private.h (__mpsin1): Remove
40305         declaration.
40306         (__mpcos1): Likewise.
40307         (__mpsin): New argument __range_reduce.
40308         (__mpcos): Likewise.
40309         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40310         (slow): Use __mpsin and __mpcos.
40311         (slow1): Likewise.
40312         (slow2): Likewise.
40313         (sloww): Likewise.
40314         (sloww1): Likewise.
40315         (sloww2): Likewise.
40316         (bsloww): Likewise.
40317         (bsloww1): Likewise.
40318         (bsloww2): Likewise.
40319         (cslow2): Likewise.
40320         (csloww): Likewise.
40321         (csloww1): Likewise.
40322         (csloww2): Likewise.
40323         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40324         range_reduce.  Merge in __mpsin1.
40325         (__mpcos): Likewise.
40326         (__mpsin1): Remove.
40327         (__mpcos1): Likewise.
40329 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40331         * locale/loadlocale.c (_nl_intern_locale_data): Use
40332         LOCFILE_ALIGNED_P.
40333         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40334         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40335         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40336         obstack data is appropriately aligned.
40337         (obstack_int32_grow_fast): Likewise.
40338         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40339         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40340         (add_locale_uint32_array): Likewise.
40342 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40344         * benchtests/Makefile: Remove ARGLIST and RET variables.
40345         ($(objpfx)bench-%.c): Pass only function name to the script.
40346         * benchtests/README: Update documentation.
40347         * benchtests/acos-inputs: Add new directives.
40348         * benchtests/acosh-inputs: Likewise.
40349         * benchtests/asin-inputs: Likewise.
40350         * benchtests/asinh-inputs: Likewise.
40351         * benchtests/atan-inputs: Likewise.
40352         * benchtests/atanh-inputs: Likewise.
40353         * benchtests/cos-inputs: Likewise.
40354         * benchtests/cosh-inputs: Likewise.
40355         * benchtests/exp-inputs: Likewise.
40356         * benchtests/log-inputs: Likewise.
40357         * benchtests/pow-inputs: Likewise.
40358         * benchtests/rint-inputs: Likewise.
40359         * benchtests/sin-inputs: Likewise.
40360         * benchtests/sinh-inputs: Likewise.
40361         * benchtests/tan-inputs: Likewise.
40362         * benchtests/tanh-inputs: Likewise.
40363         * scripts/bench.pl: Add support for new directives.
40365 2013-10-07  Alan Modra  <amodra@gmail.com>
40367         * README: Fix careless merge.
40369 2013-10-05  Alan Modra  <amodra@gmail.com>
40371         * NEWS: Mention powerpc64le support and bugs fixed.
40372         * README: Both big-endian and little-endian powerpc64 supported.
40374 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40376         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40377         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40378         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40379         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40381 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
40383         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40384         match prototype.
40386 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
40388         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40389         Move -mhard-float appending from
40390         ports/sysdeps/powerpc/powerpc32/Makefile.
40391         [$(with-fp) = yes] (ASFLAGS): Likewise.
40392         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40393         * sysdeps/powerpc/nofpu: Move directory from
40394         ports/sysdeps/powerpc/nofpu.
40395         * sysdeps/powerpc/soft-fp: Move directory from
40396         ports/sysdeps/powerpc/soft-fp.
40397         * sysdeps/powerpc/powerpc32/405: Move directory from
40398         ports/sysdeps/powerpc/powerpc32/405.
40399         * sysdeps/powerpc/powerpc32/440: Move directory from
40400         ports/sysdeps/powerpc/powerpc32/440.
40401         * sysdeps/powerpc/powerpc32/464: Move directory from
40402         ports/sysdeps/powerpc/powerpc32/464.
40403         * sysdeps/powerpc/powerpc32/476: Move directory from
40404         ports/sysdeps/powerpc/powerpc32/476.
40405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40406         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40408         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40410         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40412         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40414         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40415         * README: Update for powerpc-*-linux-gnu software floating point
40416         support in libc.
40418         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40419         case to powerpc/powerpc32*.
40420         * sysdeps/unix/sysv/linux/configure: Regenerated.
40422         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40423         (_FPU_MASK_OM): Define as 0x04.
40424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40426         0x00c10080.
40427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40428         0x0000003c.
40429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40432         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40433         getcontext_e500.
40434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40435         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40436         setcontext_e500.
40437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40438         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40439         and setcontext_e500.
40441 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40443         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40445 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40447         * manual/threads.texi (Default Thread Attributes): Fix typo.
40449 2013-10-04  Will Newton  <will.newton@linaro.org>
40451         * malloc/Makefile: Add tst-memalign.
40452         * malloc/tst-memalign.c: New file.
40454         * malloc/tst-posix_memalign.c: Add comments.
40455         (do_test): Add comments and call free on all potentially
40456         allocated pointers. Add space after cast.
40458         * malloc/tst-pvalloc.c: Add comments.
40459         (do_test): Add comments and call free on all potentially
40460         allocated pointers. Remove duplicate check for NULL pointer.
40461         Add space after cast.
40463         * malloc/tst-valloc.c: Add comments.
40464         (do_test): Add comments and call free on all potentially
40465         allocated pointers. Remove duplicate check for NULL pointer.
40466         Add space after cast.
40468 2013-10-04  Alan Modra  <amodra@gmail.com>
40470         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40471         Use stdint types in rather than __attribute__((mode())).
40472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40474 2013-10-04  Alan Modra  <amodra@gmail.com>
40476         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40477         Correct handling of unaligned relocs for little-endian.
40478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40480 2013-10-04  Alan Modra  <amodra@gmail.com>
40482         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40483         * configure: Regenerate.
40484         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40485         * shlib-versions: Likewise.
40487 2013-10-04  Alan Modra  <amodra@gmail.com>
40489         * string/tester.c (test_memrchr): Increment reported test cycle.
40491 2013-10-04  Alan Modra  <amodra@gmail.com>
40493         * string/test-memcpy.c (do_one_test): When reporting errors, print
40494         string address and don't overrun end of string.
40496 2013-10-04  Alan Modra  <amodra@gmail.com>
40498         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40499         insrdi.  Make better use of reg selection to speed exit slightly.
40500         Schedule entry path a little better.  Remove useless "are we done"
40501         checks on entry to main loop.  Handle wrapping around zero address.
40502         Correct main loop count.  Handle single left-over word from main
40503         loop inline rather than by using loop_small.  Remove extra word
40504         case in loop_small caused by wrong loop count.  Add little-endian
40505         support.
40506         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40507         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40508         cache hint.
40509         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40510         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40511         support.  Avoid rlwimi.
40512         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40514 2013-10-04  Alan Modra  <amodra@gmail.com>
40516         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40517         insrdi.  Formatting.
40518         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40519         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40520         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40521         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40522         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40523         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40525 2013-10-04  Alan Modra  <amodra@gmail.com>
40527         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40528         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40530         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40531         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40532         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40534         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40535         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40536         use of regs.  Use power7 mtocrf.  Tidy function tails.
40538 2013-10-04  Alan Modra  <amodra@gmail.com>
40540         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40541         Formatting.  Consistently use rXXX register defines or rN defines.
40542         Use early exit labels that avoid restoring unused non-volatile regs.
40543         Make cr field use more consistent with rWORDn compares.  Rename
40544         regs used as shift registers for unaligned loop, using rN defines
40545         for short lifetime/multiple use regs.
40546         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40547         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40548         addi 1,1,64 to pop stack frame.  Simplify return value code.
40549         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40551 2013-10-04  Alan Modra  <amodra@gmail.com>
40553         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40554         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40555         rather than rlwimi.
40556         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40557         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40558         little-endian support.  Correct typos.
40559         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40560         rather than rlwimi.
40561         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40562         in loop and entry code to keep "and." results.
40563         (strchr): Add little-endian support.  Comment.  Move cntlzd
40564         earlier in tail.
40565         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40567 2013-10-04  Alan Modra  <amodra@gmail.com>
40569         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40570         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40571         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40572         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40574 2013-10-04  Alan Modra  <amodra@gmail.com>
40576         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40577         (rTMP): Define as r11.
40578         (strcmp): Add little-endian support.  Optimise tail.
40579         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40580         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40581         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40582         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40583         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40584         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40585         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40587 2013-10-04  Alan Modra  <amodra@gmail.com>
40589         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40590         little-endian support.  Remove unnecessary "are we done" tests.
40591         Handle "s" wrapping around zero and extremely large "size".
40592         Correct main loop count.  Handle single left-over word from main
40593         loop inline rather than by using small_loop.  Correct comments.
40594         Delete "zero" tail, use "end_max" instead.
40595         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40597 2013-10-04  Alan Modra  <amodra@gmail.com>
40599         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40600         support.  Don't branch over align.
40601         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40602         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40603         support.  Rearrange tmp reg use to suit.  Comment.
40604         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40606 2013-10-04  Alan Modra  <amodra@gmail.com>
40608         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40610 2013-10-04  Alan Modra  <amodra@gmail.com>
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40613         conditional form of branch and link when obtaining pc.
40614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40616 2013-10-04  Alan Modra  <amodra@gmail.com>
40618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40619         HIWORD/LOWORD.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40623 2013-10-04  Alan Modra  <amodra@gmail.com>
40625         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40626         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40627         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40628         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40629         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40630         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40631         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40632         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40633         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40634         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40636 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40637             Alistair Popple <alistair@ozlabs.au.ibm.com>
40638             Alan Modra <amodra@gmail.com>
40640         [BZ #15723]
40641         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40642         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40643         _dl_hwcap access for little-endian.
40644         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40645         destroy vmx regs when saving unaligned.
40646         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40647         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40648         destroy vmx regs when saving unaligned.
40650 2013-10-04  Alan Modra  <amodra@gmail.com>
40652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40653         Don't use a union to pack hi/low value.
40655 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40657         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40658         for little-endian.
40659         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40660         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40661         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40662         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40663         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40665 2013-10-04  Alan Modra  <amodra@gmail.com>
40667         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40668         constants to usual value for .cst8 section, and remove redundant
40669         high address load.
40670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40671         constant for 0x1p52.  Load little-endian words of double from
40672         correct stack offsets.
40674 2013-10-04  Alan Modra  <amodra@gmail.com>
40676         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40677         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40678         words of double from correct stack offsets.
40679         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40680         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40681         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40682         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40683         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40684         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40685         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40686         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40687         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40688         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40689         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40690         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40691         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40692         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40693         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40694         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40695         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40697 2013-10-04  Alan Modra  <amodra@gmail.com>
40699         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40700         64-bit int/double union.
40701         (_FPU_SETCW): Likewise.
40702         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40703         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40705 2013-10-04  Alan Modra  <amodra@gmail.com>
40707         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40708         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40710 2013-10-04  Alan Modra  <amodra@gmail.com>
40712         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40713         use vector int constants.
40714         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40716 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40718         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40719         array with long long.
40720         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40721         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40722         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40723         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40724         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40725         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40726         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40727         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40728         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40729         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40730         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40731         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40732         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40736         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40737         (__signbit): Likewise.  Correct for little-endian.
40738         (__signbitl): Call __signbit.
40739         (lrint): Correct for little-endian.
40740         (lrintf): Call lrint.
40742 2013-10-04  Alan Modra  <amodra@gmail.com>
40744         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40745         union 32-bit int array member with 64-bit int array.
40746         (t515, tm256): Double rather than long double.
40747         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40749 2013-10-04  Alan Modra  <amodra@gmail.com>
40751         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40752         Delete.
40753         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40755         version of math_ldbl.h.
40757 2013-10-04  Alan Modra  <amodra@gmail.com>
40759         [BZ #15734], [BZ #15735]
40760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40761         all uses of ieee875 long double macros and unions.  Simplify test
40762         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40763         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40764         normalize after ldbl_extract_mantissa, and don't add hidden bit
40765         already handled.  Don't treat low word of ieee854 mantissa like
40766         low word of IBM long double and mask off bit when testing for
40767         zero.
40768         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40769         all uses of ieee875 long double macros and unions.  Simplify tests
40770         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40771         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40772         two1022, instead use their values.  Recognise that tests for large
40773         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40774         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40775         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40776         test for 0.0L and nan.  Correct negation.
40777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40778         ieee875 long double macros and unions.  Correct output for large
40779         magnitude x.  Correct absolute value calculation.
40780         (__erfcl): Likewise.
40781         * math/libm-test.inc: Add tests for errors discovered in IBM long
40782         double versions of fmodl, remainderl, erfl and erfcl.
40784 2013-10-04  Alan Modra  <amodra@gmail.com>
40786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40787         all uses of ieee854 long double macros and unions.  Simplify tests
40788         for long doubles that are fully specified by the high double.
40789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40790         Likewise.
40791         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40792         Remove dead code too.
40793         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40794         (__ieee754_ynl): Likewise.
40795         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40798         Remove dead code too.
40799         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40801         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40802         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40803         Simplify.
40804         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40805         Simplify.
40806         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40809         Comment on variable precision.
40810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40811         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40812         Likewise.
40813         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40817         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40819 2013-10-04  Alan Modra  <amodra@gmail.com>
40821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40822         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40823         all uses of ieee854 long double macros and unions.
40824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40826         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40827         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40828         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40829         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40830         Likewise.
40831         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40834         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40835         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40836         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40837         Simplify sign and nan test too.
40838         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40839         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40840         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40841         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40842         Likewise.
40843         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40844         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40845         Likewise.
40846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40847         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40848         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40849         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40850         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40853 2013-10-04  Alan Modra  <amodra@gmail.com>
40855         * stdio-common/printf_size.c (__printf_size): Don't use
40856         union ieee854_long_double in fpnum union.
40857         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40858         signbit macro to retrieve sign from long double.
40859         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40860         retrieve sign from long double.
40861         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40862         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40863         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40864         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40865         * math/test-misc.c (main): Don't use union ieee854_long_double.
40867 2013-10-04  Alan Modra  <amodra@gmail.com>
40869         [BZ #15680]
40870         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40871         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40872         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40873         calculation.  Remove unnecessary test for denormal exponent.
40874         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40875         Correct handling of denormals.  Avoid undefined shift behaviour.
40876         Correct normalisation of low mantissa when low double is denormal.
40877         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40878         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40879         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40880         Correct normalisation of low mantissa.  Test for overflow of high
40881         mantissa and normalise.
40882         (ldbl_nearbyint): Use more readable constant for two52.
40883         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40884         (__mpn_construct_long_double): Fix test for overflow of high
40885         mantissa and correct normalisation.  Avoid undefined shift.
40887 2013-10-04  Alan Modra  <amodra@gmail.com>
40889         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40890         (union ibm_extended_long_double): Define as an array of ieee754_double.
40891         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40892         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40893         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40894         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40898         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40903 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40905         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40906         page size instead of calling getpagesize.
40908         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40909         (LOCFILE_ALIGN_MASK): Likewise.
40910         (LOCFILE_ALIGN_UP): Likewise.
40911         (LOCFILE_ALIGNED_P): Likewise.
40912         * locale/programs/ld-collate.c (collate_output): Use the new
40913         macros instead of __alignof__ (int32_t).
40914         * locale/weight.h (findidx): Likewise.
40916 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40918         [BZ #431]
40919         * manual/string.texi: Fix strncat and wcsncat.
40921 2013-10-03  Brooks Moses  <bmoses@google.com>
40923         [BZ #15915]
40924         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40925         * Makerules: ...here, and adjust associated comments.
40927 2013-10-02  Will Newton  <will.newton@linaro.org>
40929         * malloc/Makefile: Add tst-pvalloc.
40930         * malloc/tst-pvalloc.c: New file.
40932 2013-10-02  Will Newton  <will.newton@linaro.org>
40934         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40935         improve test coverage.
40937 2013-10-02  Will Newton  <will.newton@linaro.org>
40939         * malloc/Makefile: Add tst-posix_memalign.
40940         * malloc/tst-posix_memalign.c: New file.
40942 2013-10-01  Eric Blake  <eblake@redhat.com>
40944         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40945         Use __THROWNL rather than __THROW on static functions.
40947 2013-09-30  Petr Machata  <pmachata@redhat.com>
40949         * elf/elf.h (R_AARCH64_ABS16): New macro.
40950         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40951         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40952         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40953         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40954         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40955         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40956         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40957         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40958         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40959         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40960         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40961         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40962         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40963         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40964         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40965         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40966         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40967         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40968         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40969         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40970         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40971         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40972         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40973         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40974         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40975         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40976         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40977         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40978         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40979         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40980         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40981         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40982         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40983         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40984         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40985         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40986         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40987         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40988         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40989         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40990         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40991         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40992         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40993         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40994         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40995         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40996         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40997         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40998         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40999         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41000         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41001         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41002         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41003         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41004         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41005         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41006         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41007         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41008         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41009         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41010         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41011         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41012         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41013         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41014         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41015         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41016         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41017         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41018         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41019         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41020         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41021         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41022         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41023         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41024         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41025         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41026         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41027         (R_AARCH64_TLSDESC_LDR): Likewise.
41028         (R_AARCH64_TLSDESC_ADD): Likewise.
41029         (R_AARCH64_TLSDESC_CALL): Likewise.
41031 2013-09-30  Andreas Schwab  <schwab@suse.de>
41033         [BZ #15048]
41034         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41035         the nss database lookup.
41036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41039 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41041         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41043 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41045         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41046         ${Bash-specific parameter/pattern/string} parameter expansion.
41047         * sysdeps/unix/make-syscalls.sh: Likewise.
41049 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41051         * sysdeps/sh/stackguard-macros.h: New file.
41053 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41057         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41058         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41059         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41060         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41062 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41064         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41065         Fix thread ID register.
41067 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41069         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41070         [POSIX || UNIX98]: Require rather than permitting all symbols from
41071         <time.h>.
41072         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41073         element of struct sched_param.
41074         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41075         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41076         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41077         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41078         constant.
41080 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41082         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41083         argument calculation.
41085 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41087         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41088         Expect macro.
41089         [POSIX] (pthread_attr_t): Do not require type.
41090         [POSIX] (pthread_cond_t): Likewise.
41091         [POSIX] (pthread_condattr_t): Likewise.
41092         [POSIX] (pthread_key_t): Likewise.
41093         [POSIX] (pthread_mutex_t): Likewise.
41094         [POSIX] (pthread_mutexattr_t): Likewise.
41095         [POSIX] (pthread_once_t): Likewise.
41096         [POSIX] (pthread_t): Likewise.
41097         [POSIX-based standards] (pthread_atfork): Expect function.
41099 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41100             Richard Sandiford  <richard@codesourcery.com>
41102         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41103         (swap_endianness_p): New extern variable.
41104         (set_big_endian): New inline function.
41105         (maybe_swap_uint32): Likewise.
41106         (maybe_swap_uint32_array): Likewise.
41107         (maybe_swap_uint32_obstack): Likewise.
41108         * locale/programs/locfile.c: Include <stdbool.h>.
41109         (swap_endianness_p): New variable.
41110         (add_locale_uint32): Call maybe_swap_uint32.
41111         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41112         (write_locale_data): Call maybe_swap_uint32_array.
41113         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41114         maybe_swap_uint32.
41115         (obstack_int32_grow_fast): Likewise.
41116         (output_weightwc): Call maybe_swap_uint32_obstack.
41117         (collate_output): Likewise.
41118         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41119         (OPT_LITTLE_ENDIAN): Likewise.
41120         (options): Add --little-endian and --big-endian options.
41121         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41122         * locale/programs/locarchive.c: Include "locfile.h".
41123         (GET): New macro.
41124         (SET): Likewise.
41125         (INC): Likewise.
41126         (create_archive): Use the new macros to access fields of
41127         structures directly mapped from or written to locale archives.
41128         (oldlocrecentcmp): Likewise.
41129         (enlarge_archive): Likewise.
41130         (insert_name): Likewise.
41131         (add_alias): Likewise.
41132         (add_locale): Likewise.
41133         (delete_locales_from_archive): Likewise.
41134         (show_archive_content): Likewise.
41135         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41136         locale data.
41138 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41140         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41141         http://www.gnu.org/doc/freemanuals.texi.
41142         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41144 2013-09-24  Will Newton  <will.newton@linaro.org>
41146         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41147         macro.
41149 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41151         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41152         unsigned char.
41154 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41156         * manual/threads.texi (POSIX Threads): Fix a typo.
41158 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41160         [BZ #14547]
41161         * string/tst-strcoll-overflow.c: New test case.
41162         * string/Makefile (xtests): Add tst-strcoll-overflow.
41163         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41164         cache if string sizes may cause integer overflow.
41166         [BZ #14547]
41167         * string/strcoll_l.c (coll_seq): New members rule, idx,
41168         save_idx and back_us.
41169         (get_next_seq_nocache): New function.
41170         (do_compare_nocache): New function.
41171         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41172         when malloc fails.
41174 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41176         [BZ #15754]
41177         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41178         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41179         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41181         [BZ #15754]
41182         * elf/Makefile (tests): Add tst-ptrguard1.
41183         (tests-static): Add tst-ptrguard1-static.
41184         (tst-ptrguard1-ARGS): Define.
41185         (tst-ptrguard1-static-ARGS): Define.
41186         * elf/tst-ptrguard1.c: New file.
41187         * elf/tst-ptrguard1-static.c: New file.
41188         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41189         * sysdeps/i386/stackguard-macros.h: Likewise.
41190         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41191         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41192         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41193         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41194         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41195         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41197 2013-09-23  Hector Marco  <hecmargi@upv.es>
41198             Ismael Ripoll  <iripoll@disca.upv.es>
41199             Carlos O'Donell  <carlos@redhat.com>
41201         [BZ #15754]
41202         * sysdeps/generic/stackguard-macros.h: Define
41203         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41204         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41205         Define __pointer_chk_guard_local.
41206         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41207         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41209 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41211         [BZ #15859]
41212         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41214 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41216         * include/string.h (__ffs): Declare as hidden.
41217         * string/ffs.c (__ffs): Define as hidden.
41218         * sysdeps/i386/ffs.c (__ffs): Likewise.
41219         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41220         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41221         * sysdeps/s390/ffs.c (__ffs): Likewise.
41222         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41224 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41226         * NEWS: Mention malloc probes.
41228         * malloc/arena.c (new_heap): New memory_heap_new probe.
41229         (grow_heap): New memory_heap_more probe.
41230         (shrink_heap): New memory_heap_less probe.
41231         (heap_trim): New memory_heap_free probe.
41232         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41233         (systrim): New memory_sbrk_less probe.
41234         * manual/probes.texi: Document them.
41236         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41237         * manual/probes.texi: Document it.
41239         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41240         (__libc_realloc): Add memory_realloc_retry probe.
41241         (__libc_memalign): Add memory_memalign_retry probe.
41242         (__libc_valloc): Add memory_valloc_retry probe.
41243         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41244         (__libc_calloc): Add memory_calloc_retry probe.
41245         * manual/probes.texi: Document them.
41247         * malloc/arena.c (get_free_list): Add probe
41248         memory_arena_reuse_free_list.
41249         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41250         and memory_arena_reuse.
41251         (arena_get2) [!PER_THREAD]: Likewise.
41252         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41253         memory_arena_reuse_realloc.
41254         * manual/probes.texi: Document them.
41256         * malloc/malloc.c (__libc_free): Add
41257         memory_mallopt_free_dyn_thresholds probe.
41258         (__libc_mallopt): Add multiple memory_mallopt probes.
41259         * manual/probes.texi: Document them.
41261         * malloc/malloc.c: Include stap-probe.h.
41262         (__libc_mallopt): Add memory_mallopt probe.
41263         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41264         * manual/probes.texi: New.
41265         * manual/Makefile (chapters): Add probes.
41266         * manual/threads.texi: Set next node.
41268 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41270         [BZ #15963, #13985]
41271         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41272         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41273         Add `Chinese' to `nan' entry name.
41275 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41277         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41278         (POLYNOMIAL): Likewise.
41279         (TAYLOR_SINCOS): Likewise.
41280         (TAYLOR_SLOW): Likewise.
41281         (__sin): Use TAYLOR_SINCOS.
41282         (__cos): Likewise.
41283         (slow): Use TAYLOR_SLOW.
41284         (sloww): Likewise.
41285         (bsloww): Likewise.
41286         (csloww): Likewise.
41288 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41290         * stdlib/strtod_l.c: Fix buffer overrun.
41292 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         * benchtests/Makefile (bench): Add sincos.
41295         * benchtests/bench-sincos.c: New file.
41297         * math/libm-test.inc (cos_test_data): New test inputs.
41298         (sin_test_data): Likewise.
41300         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41301         macro.
41302         (__sin): Use it.
41303         (__cos): Likewise.
41304         (slow1): Likewise.
41305         (slow2): Likewise.
41306         (sloww1): Likewise.
41307         (sloww2): Likewise.
41308         (bsloww1): Likewise.
41309         (bsloww2): Likewise.
41310         (cslow2): Likewise.
41311         (csloww1): Likewise.
41312         (csloww2): Likewise.
41314         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41315         function.
41316         (__sin): Use it.
41317         (__cos): Likewise.
41319         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41320         gotos.
41321         (__cos): Likewise.
41323 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41325         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41326         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41327         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41328         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41329         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41330         * elf/cache.c (print_entry): Handle the new cache flags.
41332 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41333             Aldy Hernandez  <aldyh@redhat.com>
41335         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41336         Change condition to [_SOFT_FLOAT].
41337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41349         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41352         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41353         declaration.
41355 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41357         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41358         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41359         (__longjmp): Use LOAD_GP to load saved GPRs.
41360         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41361         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41362         (__sigsetjmp): Use SAVE_GP to save GPRs.
41364         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41365         Do not append -msoft-float.
41366         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41368 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41370         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41372 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
41374         [BZ #15966]
41375         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41376         (_FPU_GETCW): Use initial "__" on variable and field names but not
41377         on macro parameter name.
41378         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
41379         parentheses around reference to macro parameter.
41381 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
41383         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41384         prototype.
41385         (ctype_startup): Use uint32_t in cast and sizeof for
41386         ctype->charnames.
41388 2013-09-11  Jia Liu  <proljc@gmail.com>
41390         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41391         __daddr_t_defined.
41392         [__FreeBSD__]: Likewise.
41394 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
41396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41397         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41398         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41399         (strchr): Remove __strchr_sse42 ifunc selection.
41400         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41401         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41403 2013-09-11  Will Newton  <will.newton@linaro.org>
41405         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41406         parameter to RES. Remove hardcoded 1000 value.
41407         * benchtests/bench-skeleton.c (main): Pass RES parameter
41408         to TIMING_INIT and multiply result by 1000.
41410 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41414 2013-09-11  Andreas Schwab  <schwab@suse.de>
41416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41417         if not defined.
41418         (O_TMPFILE) [__USE_GNU]: Define.
41419         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41420         Define.
41422 2013-09-11  Will Newton  <will.newton@linaro.org>
41424         [BZ #15857]
41425         * malloc/malloc.c (__libc_memalign): Check the value of bytes
41426         does not overflow.
41428 2013-09-11  Will Newton  <will.newton@linaro.org>
41430         [BZ #15856]
41431         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41432         does not overflow.
41434 2013-09-11  Will Newton  <will.newton@linaro.org>
41436         [BZ #15855]
41437         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41438         does not overflow.
41440 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41442         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41443         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41444         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41445         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41448 2013-09-10  Allan McRae  <allan@archlinux.org>
41450         [BZ #15748]
41451         * manual/arith.texi (Parsing of Floats): Clarify
41452         cross-reference.
41454         [BZ #15849]
41455         * manual/install.texi (Running make install): Mention
41456         --enable-pt-chown.
41457         * INSTALL: Regenerated.
41459 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41461         * csu/init-first.c (_init): Remove the !SHARED condition around
41462         FPU control word initialization.
41463         * elf/dl-support.c (_dl_fpu_control): New variable.
41464         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41465         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41466         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41467         * math/test-fpucw-static.c: New file.
41468         * math/test-fpucw-ieee.c: New file.
41469         * math/test-fpucw-ieee-static.c: New file.
41470         * math/Makefile (tests): Add `test-fpucw-ieee' and
41471         `$(tests-static)'.
41472         (tests-static): New variable.
41473         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41474         dependency to...
41475         [($(build-shared),yes)]
41476         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41477         ... this.
41478         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41479         New dependency.
41481 2013-09-09  Allan McRae  <allan@archlinux.org>
41483         [BZ #15939]
41484         * manual/string.texi (Collation Functions): Fix typo in
41485         strcoll example.
41486         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41488         [BZ #15893]
41489         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41491         [BZ #15892]
41492         * libio/memstream.c (open_memstream): Fix memory leak.
41493         * libio/wmemstream.c (open_wmemstream): Likewise.
41495         [BZ #15895]
41496         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41498 2013-09-09  Will Newton  <will.newton@linaro.org>
41500         * malloc/Makefile: Add tst-realloc to tests.
41501         * malloc/tst-realloc.c: New file.
41503 2013-09-09  Allan McRae  <allan@archlinux.org>
41505         [BZ #15844]
41506         * COPYING: Update from GNU website to fix FSF address.
41507         * COPYING.LIB: Likewise.
41509 2013-09-06  David S. Miller  <davem@davemloft.net>
41511         * po/zh_TW.po: Update Chinese (traditional) translation from
41512         translation project.
41514 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41515             Joseph Myers  <joseph@codesourcery.com>
41517         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41518         "localeinfo.h".
41519         (obstack_chunk_alloc): New macro.
41520         (obstack_chunk_free): Likewise.
41521         (record_offset): New function.
41522         (init_locale_data): Likewise.
41523         (align_locale_data): Likewise.
41524         (add_locale_empty): Likewise.
41525         (add_locale_raw_data): Likewise.
41526         (add_locale_raw_obstack): Likewise.
41527         (add_locale_string): Likewise.
41528         (add_locale_wstring): Likewise.
41529         (add_locale_uint32): Likewise.
41530         (add_locale_uint32_array): Likewise.
41531         (add_locale_char): Likewise.
41532         (start_locale_structure): Likewise.
41533         (end_locale_structure): Likewise.
41534         (start_locale_prelude): Likewise.
41535         (end_locale_prelude): Likewise.
41536         (write_locale_data): Take locale_file structure rather than an
41537         iovec.
41538         * locale/programs/locfile.h: Include "obstack.h".
41539         (struct locale_file): Change to store locale file contents instead
41540         of header.
41541         (init_locale_data): New prototype.
41542         (align_locale_data): Likewise.
41543         (add_locale_empty): Likewise.
41544         (add_locale_raw_data): Likewise.
41545         (add_locale_raw_obstack): Likewise.
41546         (add_locale_string): Likewise.
41547         (add_locale_wstring): Likewise.
41548         (add_locale_uint32): Likewise.
41549         (add_locale_uint32_array): Likewise.
41550         (add_locale_char): Likewise.
41551         (start_locale_structure): Likewise.
41552         (end_locale_structure): Likewise.
41553         (start_locale_prelude): Likewise.
41554         (end_locale_prelude): Likewise.
41555         (write_locale_data): Update prototype.
41556         * locale/programs/3level.h (struct TABLE): Remove result field.
41557         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41558         Use new locale_file interface.
41559         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41560         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41561         * locale/programs/ld-address.c (address_output): Use new
41562         locale_file interface.
41563         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41564         NO_ADD_LOCALE.
41565         (collate_finish): Don't call collseq_table_finalize.
41566         (collate_output): Use new locale_file interface.
41567         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41568         in file.
41569         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41570         (TABLE): Move defines earlier in file.
41571         (ELEMENT): Likewise.
41572         (DEFAULT): Likewise.
41573         (wctrans_table_add): Move macro and inline function earlier in
41574         file.
41575         (struct wctype_table): Move type earlier in file.
41576         (add_locale_wctype_table): New static prototype.
41577         (struct locale_ctype_t): Use logical types instead of struct iovec
41578         pointers for members.
41579         (ctype_output): Use new locale_file interface.
41580         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41581         new locale_file interface.
41582         (allocate_arrays): Update for use of new locale_file interface.
41583         * locale/programs/ld-identification.c (identification_output): Use
41584         new locale_file interface.
41585         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41586         * locale/programs/ld-messages.c (messages_output): Likewise.
41587         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41588         * locale/programs/ld-name.c (name_output): Likewise.
41589         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41590         * locale/programs/ld-paper.c (paper_output): Likewise.
41591         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41592         * locale/programs/ld-time.c (time_output): Likewise.
41594 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41596         * benchtests/Makefile: Add memrchr benchmark.
41597         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41598         benchmark as memrchr.
41599         * benchtests/bench-memrchr-ifunc.c: New file.
41600         * benchtests/bench-memrchr.c: New file.
41602 2013-09-06   Will Newton  <will.newton@linaro.org>
41604         * benchtests/Makefile (string-bench): Add memcpy.
41606 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41607             Cong Wang  <amwang@redhat.com>
41609         [BZ #15850]
41610         * sysdeps/unix/sysv/linux/bits/in.h
41611         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41612         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41613         before __USE_KERNEL_IPV6_DEFS uses.
41614         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41615         IPPROTO_BEETPH.
41616         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41617         sockaddr_in6, or ipv6_mreq.
41619 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41621         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41622         memory access for final bytes in some large inputs.
41623         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41625 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41627         * string/test-memrchr.c: New file.
41628         * string/test-memrchr-ifunc.c: New file.
41629         * string/Makefile: Add new memrchr testcase.
41631 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41633         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41634         fanotify_init returns EPERM.
41636 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41638         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41639         errors.
41640         (top level): Treat second token from macro or constant entries for
41641         allowed headers as allowed.
41642         * include/complex.h: Condition internal declarations on
41643         [!_ISOMAC].
41644         * include/fenv.h: Condition include of <stdbool.h> and internal
41645         declarations on [!_ISOMAC].
41647 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
41649         [BZ #15923]
41650         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41652 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41654         * configure.in (--enable-versioning): Remove configure option.
41655         (libc_cv_asm_symver_directive): Remove configure test.
41656         (libc_cv_ld_version_script_option): Likewise.
41657         (VERSIONING): Remove variable and AC_SUBST.
41658         (DO_VERSIONING): Remove AC_DEFINE.
41659         * configure: Regenerated.
41660         * config.h.in (DO_VERSIONING): Remove macro.
41661         * Makerules [$(versioning) = yes]: Change conditionals to
41662         [$(build-shared) = yes].
41663         * config.make.in (versioning): Remove variable.
41664         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41665         [$(build-shared) = yes].
41666         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41667         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41668         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41669         [$(build-shared) = yes].
41670         * extra-lib.mk [$(versioning) = yes]: Likewise.
41671         * hurd/Makefile [$(versioning) = yes]: Likewise.
41672         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41673         [SHARED].
41674         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41675         [SHARED].
41676         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41677         [SHARED && !NO_HIDDEN].
41678         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41679         [SHARED].
41680         [SHARED && DO_VERSIONING]: Likewise..
41681         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41682         [$(build-shared) = yes].
41683         * manual/install.texi (--disable-versioning): Remove
41684         documentation.
41685         * INSTALL: Regenerated.
41686         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41687         to [SHARED].
41688         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41689         [$(build-shared) = yes].
41690         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41691         * sysdeps/i386/i686/multiarch/strstr-c.c
41692         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41693         [SHARED && !NO_HIDDEN].
41694         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41695         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41696         * sysdeps/powerpc/powerpc32/dl-machine.c
41697         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41698         * sysdeps/powerpc/powerpc32/sysdep.h
41699         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41700         to [SHARED && PIC && !NO_HIDDEN].
41701         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41702         conditional to [SHARED].
41704 2013-09-04   Will Newton  <will.newton@linaro.org>
41706         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41707         * benchtests/bench-string.h: Include bench-timing.h instead
41708         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41709         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41710         call to HP_TIMING_DIFF_INIT.
41711         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41712         instead of hp-timing.h macros.
41713         * benchtests/bench-memchr.c: Likewise.
41714         * benchtests/bench-memcmp.c: Likewise.
41715         * benchtests/bench-memcpy.c: Likewise.
41716         * benchtests/bench-memmem.c: Likewise.
41717         * benchtests/bench-memmove.c: Likewise.
41718         * benchtests/bench-memset.c: Likewise.
41719         * benchtests/bench-rawmemchr.c: Likewise.
41720         * benchtests/bench-strcasecmp.c: Likewise.
41721         * benchtests/bench-strcasestr.c: Likewise.
41722         * benchtests/bench-strcat.c: Likewise.
41723         * benchtests/bench-strchr.c: Likewise.
41724         * benchtests/bench-strcmp.c: Likewise.
41725         * benchtests/bench-strcpy.c: Likewise.
41726         * benchtests/bench-strcpy_chk.c: Likewise.
41727         * benchtests/bench-strlen.c: Likewise.
41728         * benchtests/bench-strncasecmp.c: Likewise.
41729         * benchtests/bench-strncat.c: Likewise.
41730         * benchtests/bench-strncmp.c: Likewise.
41731         * benchtests/bench-strncpy.c: Likewise.
41732         * benchtests/bench-strnlen.c: Likewise.
41733         * benchtests/bench-strpbrk.c: Likewise.
41734         * benchtests/bench-strrchr.c: Likewise.
41735         * benchtests/bench-strspn.c: Likewise.
41736         * benchtests/bench-strstr.c: Likewise.
41738 2013-09-04  Will Newton  <will.newton@linaro.org>
41740         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41742 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41744         [BZ #15427]
41745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41746         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41747         * math/libm-test.inc (lgamma_test_data): Add more tests.
41748         * sysdeps/i386/fpu/libm-test-ulps: Update.
41749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41751 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41753         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41755         Add ifunc.
41756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41757         Add strcmp-sse2-unaligned
41758         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41760 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41762         * Versions.def (libc): Add GLIBC_2.19.
41764 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41766         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41767         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41769 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41771         [BZ #14155]
41772         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41773         intermediate calculations in recurrence.
41774         (__ieee754_ynf): Likewise.
41775         * math/libm-test.inc (jn_test_data): Do not allow spurious
41776         underflow exception.  Add more tests.
41777         (yn_test_data): Add more tests.
41778         * sysdeps/i386/fpu/libm-test-ulps: Update.
41779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41781 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41783         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41785 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41787         * csu/init-first.c: Fix then/than typos.
41788         * locale/programs/ld-collate.c: Likewise.
41789         * locale/programs/linereader.h: Likewise.
41790         * manual/charset.texi: Likewise.
41791         * manual/filesys.texi: Likewise.
41792         * manual/stdio.texi: Likewise.
41793         * manual/string.texi: Likewise.
41794         * stdlib/fmtmsg.c: Likewise.
41795         * sysdeps/i386/stpncpy.S: Likewise.
41796         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41797         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41799         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41801 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41803         * elf/dl-open.c: Fix typos.
41804         * iconvdata/gbbig5.c: Likewise.
41805         * iconvdata/iso-2022-jp.c: Likewise.
41806         * iconv/gconv_int.h: Likewise.
41807         * iconv/loop.c: Likewise.
41808         * nis/rpcsvc/nis.h: Likewise.
41809         * resolv/ns_name.c: Likewise.
41810         * stdio-common/vfscanf.c: Likewise.
41811         * streams/stropts.h: Likewise.
41812         * sunrpc/rpc_thread.c: Likewise.
41813         * sysdeps/i386/strpbrk.S: Likewise.
41814         * sysdeps/ieee754/k_standard.c: Likewise.
41815         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41816         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41817         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41818         * sysdeps/mach/hurd/profil.c: Likewise.
41819         * sysdeps/s390/dl-procinfo.h: Likewise.
41820         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41821         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41822         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41823         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41824         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41826 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41828         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41831 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41833         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41834         aix specific files.
41835         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41836         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41837         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41838         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41839         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41840         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41841         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41842         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41844 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41845             Roland McGrath  <roland@hack.frob.com>
41847         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41848         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41850 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41852         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41853         __executable_start symbol instead of _start.
41855 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41857         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41858         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41859         Move macros to...
41860         * sysdeps/gnu/ldsodefs.h: ... this new file.
41862         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41863         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41864         instead of ELFOSABI_LINUX.
41866         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41867         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41868         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41869         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41870         Likewise.
41871         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41872         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41873         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41874         Likewise.
41875         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41876         (ibm_extended_long_double): Add ieee_nan member.
41877         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41878         (do_test): New function.
41880         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41881         TEST_TRUNC.
41882         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41883         functions, renamed from truncdfsf_test, trunctfsf_test,
41884         trunctfdf_test.
41885         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41886         functions.
41887         (do_test): Run all these.
41889 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41891         * argp/argp-help.c: Fix typos.
41892         * argp/argp-parse.c: Likewise.
41893         * debug/backtracesyms.c: Likewise.
41894         * elf/elf.h: Likewise.
41895         * malloc/malloc.c: Likewise.
41896         * nis/nis_print.c: Likewise.
41897         * resolv/res_comp.c: Likewise.
41898         * stdlib/stdlib.h: Likewise.
41899         * sunrpc/clnt_tcp.c: Likewise.
41900         * sunrpc/clnt_udp.c: Likewise.
41901         * sunrpc/clnt_unix.c: Likewise.
41902         * sysdeps/unix/bsd/ptsname.c: Likewise.
41903         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41904         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41906         Likewise.
41907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41908         Likewise.
41909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41910         Likewise.
41911         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41913 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41915         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41918 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41920         [BZ #15897]
41921         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41922         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41923         ($(objpfx)bug-dl-leaf): New rule.
41924         ($(objpfx)bug-dl-leaf.so): Likewise.
41925         ($(objpfx)bug-dl-leaf.out): Likewise.
41926         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41927         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41928         * dlfcn/bug-dl-leaf.c: New test.
41929         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41930         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41931         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41932         (dlclose): Likewise.
41933         (dlmopen): Likewise.
41935 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41937         * include/netdb.h [!_ISOMAC]:
41938         Don't include <tls.h>.
41939         (h_errno, __libc_h_errno): Move declaration and macros out of
41940         [_LIBC_REENTRANT].
41942         * include/resolv.h [_RESOLV_H_]:
41943         Don't include <tls.h>.
41944         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41945         * resolv/res_libc.c: Don't include <tls.h>.
41946         (_res): Use __attribute__ ((nocommon)) in place of
41947         __attribute__ ((section (".bss"))).
41949         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41950         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41952         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41954         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41955         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41957         * resolv/res_mkquery.c: Include <sys/time.h>.
41959         * inet/ifreq.c: Moved to ...
41960         * sysdeps/unix/ifreq.c: ... here.
41961         * inet/ifreq.c: New file, true stub version.
41963         * socket/sa_len.c: New file.
41964         * socket/Makefile (aux): Add it.
41965         * sysdeps/unix/sysv/linux/Makefile
41966         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41967         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41968         and #include <socket/sa_len.c>.
41969         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41970         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41972         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41973         * bits/socket.h: ... here.
41975         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41976         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41977         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41979 2013-08-27  Andreas Schwab  <schwab@suse.de>
41981         [BZ #15736]
41982         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41983         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41984         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41985         * string/test-strcasecmp.c (test_main): Run tests in several
41986         locales.
41987         * string/test-strncasecmp.c (test_main): Likewise.
41989         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41990         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41991         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41993         (__strncasecmp_ssse3) [PIC]: Likewise.
41995 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41997         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41999         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42000         instead of explicitly declaring xdecrypt.
42001         * nis/nss_nis/nis-publickey.c: Likewise.
42003 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42005         [BZ #15890]
42006         * nscd/aicache.c: Include res_hconf.h.
42007         (addhstaiX): Initialize res_hconf.
42009 2013-08-26  Andreas Schwab  <schwab@suse.de>
42011         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42012         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42014 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42016         * nscd/aicache.c (addhstaiX): Fix indentation.
42018 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42020         * configure.ac: Quote $build_pt_chown test.
42021         * configure: Regenerated.
42023 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42025         [BZ #15532]
42026         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42027         * math/s_cexpf.c (__cexpf): Likewise.
42028         * math/s_cexpl.c (__cexpl): Likewise.
42029         * math/libm-test.inc (cexp_test_data): Correct expected return
42030         value for NaN + i0.  Add another test.
42032 2013-08-22  David S. Miller  <davem@davemloft.net>
42034         * po/ca.po: Update Catalan translation from translation project.
42035         * po/uk.po: Add Ukrainian translations from translation project.
42037 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42039         [BZ #15797]
42040         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42041         is infinite, not alongside NaN test.
42042         * math/s_fdimf.c (__fdimf): Likewise.
42043         * math/s_fdiml.c (__fdiml): Likewise.
42044         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42045         errno is unchanged.
42047 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42049         * argp/argp-help.c: Fix typos.
42050         * crypt/speeds.c: Likewise.
42051         * csu/check_fds.c: Likewise.
42052         * elf/dl-load.c: Likewise.
42053         * elf/dl-open.c: Likewise.
42054         * elf/reldep3.c: Likewise.
42055         * elf/reldep.c: Likewise.
42056         * elf/sprof.c: Likewise.
42057         * iconv/iconv_charmap.c: Likewise.
42058         * iconv/skeleton.c: Likewise.
42059         * iconv/strtab.c: Likewise.
42060         * io/lockf64.c: Likewise.
42061         * libio/libioP.h: Likewise.
42062         * resolv/gai_notify.c: Likewise.
42063         * resolv/ns_name.c: Likewise.
42064         * resolv/ns_samedomain.c: Likewise.
42065         * resolv/res_send.c: Likewise.
42066         * stdlib/random.c: Likewise.
42067         * sunrpc/rpc/xdr.h: Likewise.
42068         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42069         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42070         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42071         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42075         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42076         * sysdeps/mach/hurd/check_fds.c: Likewise.
42077         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42078         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42079         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42080         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42081         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42082         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42083         * sysdeps/pthread/aio_notify.c: Likewise.
42084         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42085         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42086         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42088         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42090 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42092         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42093         version if bit_Slow_SSE4_2 is set.
42094         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42095         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42097 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42099         [BZ #15867]
42100         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42101         trampoline stack frame information.
42102         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42104         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42105         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42106         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42107         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42108         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42109         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42110         sa_flags value.
42111         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42112         interrupting a syscall and set with option SA_SIGINFO.
42114 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42116         [BZ #15531]
42117         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42118         argument is infinite.
42119         * math/s_cprojf.c (__cprojf): Likewise.
42120         * math/s_cprojl.c (__cprojl): Likewise.
42121         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42122         * math/libm-test.inc (cproj_test_data): Add more tests.
42124         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42126         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42127         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42128         size.  Use __ffs to determine corresponding shift.
42130 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42131             Roland McGrath  <roland@hack.frob.com>
42133         * Makefile (INSTALL): Remove trailing blank lines from output of
42134         makeinfo.
42136 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42138         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42139         Align 32 bit compat elf_greg to 8 bytes.
42141 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42143         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42145 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42147         * string/strcoll_l.c (coll_seq): New structure.
42148         (get_next_seq_cached): New function.
42149         (get_next_seq): New function.
42150         (do_compare): New function.
42151         (STRCOLL): Use GNU style definition.  Simplify implementation
42152         by using get_next_seq, get_next_seq_cached and do_compare.
42154 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42156         [BZ #14699]
42157         CVE-2013-4237
42158         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42159         member.
42160         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42161         member.
42162         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42163         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42164         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42165         conditional.
42166         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42167         GETDENTS_64BIT_ALIGNED.
42168         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42169         * manual/filesys.texi (Reading/Closing Directory): Document
42170         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42171         strongly.
42172         * manual/conf.texi (Limits for Files): Add portability note to
42173         NAME_MAX, PATH_MAX.
42174         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42176 2013-08-13  Andreas Schwab  <schwab@suse.de>
42178         [BZ #15749]
42179         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42180         of fabs.
42181         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42182         LDBL_MAX_EXP >= 16384]: Add tests for it.
42184 2013-08-12  David S. Miller  <davem@davemloft.net>
42186         * version.h (RELEASE): Set to "development".
42187         (VERSION): Set to "2.18.90".
42188         * NEWS: Add 2.19 section.
42190 2013-08-03  David S. Miller  <davem@davemloft.net>
42192         * po/ko.po: Update Korean translation from translation project.
42194 2013-08-01  David S. Miller  <davem@davemloft.net>
42196         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42197         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42198         Bilka.
42200 2013-07-30  David S. Miller  <davem@davemloft.net>
42202         * po/fr.po: Update French translation from translation project.
42204 2013-07-28  David S. Miller  <davem@davemloft.net>
42206         * po/cs.po: Update Czech translation from translation project.
42208         * po/sv.po: Update Swedish translation from translation project.
42210 2013-07-27  David S. Miller  <davem@davemloft.net>
42212         * po/eo.po: Update Esperanto translation from translation project.
42214         * po/vi.po: Update Vietnamese translation from translation project.
42216         * po/de.po: Update German translation from translation project.
42218 2013-07-26  David S. Miller  <davem@davemloft.net>
42220         * po/bg.po: Update Bulgarian translation from translation project.
42222         * po/nl.po: Update Dutch translation from translation project.
42223         * po/pl.po: Update Polish translation from translation project.
42224         * po/ru.po: Update Russian translation from translation project.
42226 2013-07-24  David S. Miller  <davem@davemloft.net>
42228         * po/libc.pot: Update.
42230 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42232         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42233         variable page size.
42234         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42235         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42236         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42238 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42240         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42242 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42243             Andreas Schwab  <schwab@suse.de>
42244             Roland McGrath  <roland@hack.frob.com>
42245             Joseph Myers  <joseph@codesourcery.com>
42246             Carlos O'Donell  <carlos@redhat.com>
42248         [BZ #15755]
42249         * config.h.in: Define HAVE_PT_CHOWN.
42250         * config.make.in (build-pt-chown): New variable.
42251         * configure.in (--enable-pt_chown): New configure option.
42252         * configure: Regenerate.
42253         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42254         build-pt-chown is enabled.
42255         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42256         pt_chown to fix pty ownership.
42257         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42258         CLOSE_ALL_FDS.
42259         * manual/install.texi (Configuring and compiling): Mention
42260         --enable-pt_chown. Add @findex for grantpt.
42261         * INSTALL: Regenerate.
42263 2013-07-20  David S. Miller  <davem@davemloft.net>
42265         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42266         difference between 32-bit and 64-bit.
42268 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42270         [BZ #15711]
42271         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42272         Avoid system header dependency with -ffreestanding.
42273         ($(objpfx)bits/syscall%d): Likewise.
42275 2013-07-13  David S. Miller  <davem@davemloft.net>
42277         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42278         underflows from atanl/atan2l due to bug 15319.
42279         (casinh_test_data): Likewise.
42281 2013-07-07  David S. Miller  <davem@davemloft.net>
42283         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42285 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42287         * sysdeps/i386/fpu/libm-test-ulps: Update.
42288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42290 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42292         * configure.in (--enable-lock-elision): Fix message text.
42293         * INSTALL: Regenerate.
42294         * configure: Regenerate.
42296 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42300 2013-07-03  Andreas Jaeger  <aj@suse.de>
42302         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42303         define.
42304         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42305         (ptrace_peeksiginfo_args): Add.
42306         (__ptrace_peeksiginfo_flags): Add.
42307         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42308         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42309         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42311 2013-07-03  Allan McRae  <allan@archlinux.org>
42313         * sysdeps/i386/fpu/libm-test-ulps: Update.
42315 2013-07-02  David S. Miller  <davem@davemloft.net>
42317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42319 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42323 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42325         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42328 2013-07-02  Andi Kleen <ak@linux.intel.com>
42330         * config.h.in (ENABLE_LOCK_ELISION): Add.
42331         * configure.in (--enable-lock-elision): Add option.
42332         * manual/install.texi: Document --enable lock elision.
42333         * configure: Regenerate
42334         * INSTALL: Regenerate.
42336 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42338         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42339         SSE4.2 strcasecmp for libc.a.
42340         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42342 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42344         [BZ #13304]
42345         * soft-fp/op-common.h (_FP_FMA): New macro.
42346         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42347         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42348         (_FP_MUL_MEAT_1_imm): ... here.
42349         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42350         (_FP_MUL_MEAT_1_wide): ... here.
42351         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42352         (_FP_MUL_MEAT_1_hard): ... here.
42353         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42354         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42355         (_FP_MUL_MEAT_2_wide): ... here.
42356         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42357         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42358         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42359         (_FP_MUL_MEAT_2_gmp): ... here.
42360         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42361         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42362         (_FP_MUL_MEAT_4_wide): ... here.
42363         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
42364         (_FP_MUL_MEAT_4_gmp): ... here.
42365         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42366         (_FP_WFRACBITS_DW_S): Likewise.
42367         (_FP_WFRACXBITS_DW_S): Likewise.
42368         (_FP_HIGHBIT_DW_S): Likewise.
42369         (FP_FMA_S): Likewise.
42370         (_FP_FRAC_HIGH_DW_S): Likewise.
42371         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42372         (_FP_WFRACBITS_DW_D): Likewise.
42373         (_FP_WFRACXBITS_DW_D): Likewise.
42374         (_FP_HIGHBIT_DW_D): Likewise.
42375         (FP_FMA_D): Likewise.
42376         (_FP_FRAC_HIGH_DW_D): Likewise.
42377         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42378         (_FP_WFRACBITS_DW_E): Likewise.
42379         (_FP_WFRACXBITS_DW_E): Likewise.
42380         (_FP_HIGHBIT_DW_E): Likewise.
42381         (FP_FMA_E): Likewise.
42382         (_FP_FRAC_HIGH_DW_E): Likewise.
42383         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42384         (_FP_WFRACBITS_DW_Q): Likewise.
42385         (_FP_WFRACXBITS_DW_Q): Likewise.
42386         (_FP_HIGHBIT_DW_Q): Likewise.
42387         (FP_FMA_Q): Likewise.
42388         (_FP_FRAC_HIGH_DW_Q): Likewise.
42389         * soft-fp/fmasf4.c: New file.
42390         * soft-fp/fmadf4.c: Likewise.
42391         * soft-fp/fmatf4.c: Likewise.
42393 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42396         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42397         Silvermont.
42398         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42399         macro.
42400         (index_Slow_SSE4_2): Likewise.
42401         (index_Prefer_PMINUB_for_stringop): Likewise.
42402         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42403         bit_Slow_SSE4_2 is set.
42404         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42405         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42407 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42409         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42410         rtld_global._dl_hwcap2.
42411         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42412         POWER8.
42413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42414         POWER8 feature descriptions defined in _dl_hwcap2.
42415         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42416         string handling for POWER8 feature bits.
42417         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42418         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42419         _dl_powerpc_cap_flags.
42420         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42421         * sysdeps/powerpc/rtld-global-offsets.sym
42422         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42423         _dl_hwcap2 in the rtld_global_ro structure.
42425 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42427         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42428         hardware capabilities in support of AT_HWCAP2.
42429         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42430         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42431         GLRO(dl_hwcap2).
42432         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42433         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42434         explicitly the unknown a_type display mechanism is used.
42435         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42436         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42437         struct member.
42438         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42439         to macro prototype for AT_HWCAP2 support.
42440         * sysdeps/i386/dl-procinfo.h: Likewise.
42441         * sysdeps/s390/dl-procinfo.h: Likewise.
42442         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42443         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42444         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42445         return -1 for unknown a_type display fallback.
42446         * sysdeps/sparc/dl-procinfo.h: Likewise.
42447         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42448         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42450 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42452         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42453         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42455 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42457         [BZ #12492]
42458         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42459         mprotect making __stack_prot writable.
42461 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42462             Joseph Myers  <joseph@codesourcery.com>
42464         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42465         as being properly aligned.
42467 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42469         * dlfcn/modstatic5.c: New file.
42470         * dlfcn/tststatic5.c: New file.
42471         * dlfcn/Makefile (tests): Add tststatic5.
42472         (tests-static): Likewise.
42473         (modules-names): Add modstatic5.
42474         (tststatic5-ENV): New variable.
42475         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42477         [BZ #15022]
42478         * elf/dl-support.c (_dl_main_map): New variable.
42479         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42480         (_dl_nns, _dl_load_adds): Set to 1.
42481         (_dl_initial_searchlist): Refer to _dl_main_map.
42482         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42483         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42484         call to _dl_get_origin.
42485         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42486         around call_map.
42487         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42488         * dlfcn/modstatic3.c: New file.
42489         * dlfcn/tststatic3.c: New file.
42490         * dlfcn/tststatic4.c: New file.
42491         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42492         (tests-static): Likewise.
42493         (modules-names): Add modstatic3.
42494         (tststatic3-ENV, tststatic4-ENV): New variables.
42495         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42496         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42498 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42500         * configure.in (CC): Require GCC version 4.4 or later.
42501         * configure: Regenerated.
42502         * manual/install.texi (Tools for Compilation): Update GCC version
42503         requirement.
42504         * INSTALL: Regenerated.
42506 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42508         [BZ #15674]
42509         * string/test-memcmp.c (check2): New.
42510         (main): Call check2.
42512         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42514 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42516         [BZ #15022]
42517         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42518         over to...
42519         (dl_open_worker) [!SHARED]: ... here.
42521 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42523         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42525 2013-06-25  Richard Henderson  <rth@redhat.com>
42527         * locale/programs/locarchive.c: Include <libc-internal.h>
42529 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42531         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42532         trailing whitespace removed.
42534 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42536         [BZ #10283]
42537         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42538         * locale/programs/locarchive.c: Include libc-mmap.h.
42539         (prepare_address_space): Take two new outputs (the mmap base and len).
42540         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42541         values.
42542         (create_archive): Declare new mmap base and len values for
42543         prepare_address_space, and store the result in ah.
42544         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42545         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42546         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42547         Declare new mmap base and len values for
42548         prepare_address_space, and store the result in new_ah.
42549         (open_archive): Declare new mmap base and len values for
42550         prepare_address_space, and store the result in ah.
42551         (close_archive): If ah->mmap_base is not NULL, use that and
42552         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42553         * sysdeps/generic/libc-mmap.h: New file.
42555 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42557         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42558         (ALIGN_UP): Likewise.
42559         (PTR_ALIGN_DOWN): Likewise.
42560         (PTR_ALIGN_UP): Likewise.
42562 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42564         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42565         entry mapped to PPC_PLATFORM_POWER8.
42566         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42567         POWER8.
42568         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42569         (_dl_string_platform): Add case for exporting platform position for
42570         POWER8.
42571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42572         search path to sysdeps/powerpc/powerpc32/power8 directory.
42573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42574         search path to sysdeps/powerpc/powerpc64/power8 directory.
42575         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42576         power7 directories.
42577         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42578         power7 directories.
42580 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42582         * INSTALL: Regenerate.
42584         * nscd/connections.c (nscd_init): Fix comment.
42586 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42588         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42590         [BZ #15667]
42591         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42592         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42594 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42596         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42597         DL_DST_REQ_STATIC.
42598         (DL_DST_REQ_STATIC): Remove macro.
42600 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42602         [BZ #7006]
42603         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42604         with a shift of 0 bits.
42606 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42608         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42609         $(tststatic-ENV).
42611 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42613         [BZ #15655]
42614         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42616 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42618         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42619         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42620         accepts -fno-tree-loop-distribute-patterns.
42621         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42622         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42623         recursive call.
42624         * string/memset.c (memset): Likewise.
42625         * string/test-memmove.c (simple_memmove): Disable loop transformation
42626         to library calls.
42627         * string/test-memset.c (simple_memset): Likewise.
42628         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42629         * benchtests/bench-memset.c (simple_memset): Likewise.
42630         * configure: Regenerated.
42632 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42634         * math/test-misc.c (main): Ignore fesetround failure when failures
42635         of subsequent rounding tests would be ignored.
42637         [BZ #15654]
42638         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42639         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42640         * math/fegetenv.c (__fegetenv): Return 0.
42641         * math/fegetexcept.c (fegetexcept): Return 0.
42642         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42643         FE_TONEAREST.
42644         * math/feholdexcpt.c (feholdexcept): Return 0.
42645         * math/fesetenv.c (__fesetenv): Return 0.
42646         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42647         argument FE_TONEAREST.
42648         * math/feupdateenv.c (__feupdateenv): Return 0.
42649         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42651 2013-06-18  Roland McGrath  <roland@hack.frob.com>
42653         * elf/rtld-Rules (rtld-compile-command.S): New variable.
42654         (rtld-compile-command.s, rtld-compile-command.c): New variables.
42655         ($(objpfx)rtld-%.os rules): Use them.
42657 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42659         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42660         fields.
42662 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42664         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42665         length of target pattern, then descending length of dependency pattern.
42666         * configure.in (AWK): Require gawk 3.1.2 or newer.
42667         * manual/install.texi (Tools for Compilation): Say that we do.
42668         * configure: Regenerated.
42670         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42671         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42672         * scripts/sysd-rules.awk: ... this new script.
42673         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42674         than a glob-style pattern.
42676 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42678         * math/test-misc.c (main): Do not treat incorrectly rounded
42679         conversions as failure unless ROUNDING_TESTS passes.
42681 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42683         [BZ #15631]
42684         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42685         restore exception state around main square root computation, then
42686         check for inexactness explicitly.
42688         * math/libm-test.inc (fma_test_data): Add another test.
42690 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42692         * manual/threads.texi (Non-POSIX Extensions): New document
42693         node.  Document pthread_getattr_default_np and
42694         pthread_setattr_default_np.
42696         * Versions.def (libpthread): Add GLIBC_2.18.
42697         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42699         Likewise.
42700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42701         Likewise.
42702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42703         Likewise.
42704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42705         Likewise.
42706         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42707         Likewise.
42708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42709         Likewise.
42710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42711         Likewise.
42712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42713         Likewise.
42714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42715         Likewise.
42717 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42720         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42722 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42723             H.J. Lu  <hjl.tools@gmail.com>
42725         [BZ #15627]
42726         * sysdeps/x86_64/rtld-memset.c: Remove file.
42727         * sysdeps/x86_64/rtld-memset.S: New file.
42729 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42731         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42732         (test_in_one_mode): Take arguments for whether the rounding mode
42733         is supported for each floating-point type.
42734         (do_test): Pass new arguments to test_in_one_mode using
42735         ROUNDING_TESTS.
42737 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42739         * posix/tst-waitid.c (do_test): Distinguish different instances of
42740         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42741         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42742         before entering the kernel for waitpid.
42744 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42746         * NEWS: Fix note on clock function precision.  Text by Roland
42747         McGrath.
42749 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42751         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42752         it into place only when and if the sanity check passes.
42754 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42756         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42757         output for whether conversion result is exact.  Take argument
42758         indicating whether type is IBM long double.
42759         (round_for_all): Change need_exact field to ibm_ld.
42760         * stdlib/tst-strtod-round.c (struct exactness): New type.
42761         (struct test): Change bool ld_ok field to struct exactness exact.
42762         (TEST): Update all definitions for change to field.
42763         (tests): Regenerate array contents.
42764         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42765         field value.  Check for IBM long double here.
42766         (do_test): Update calls to test_in_one_mode.
42768 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42770         [BZ #12515]
42771         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42772         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42774 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42776         [BZ #15605]
42777         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42778         generated by the compiler on loop optimizations.
42779         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42780         general definitions.
42782 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42784         * math/bug-nextafter.c: Include <math-tests.h>.
42785         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42786         the relevant type.
42787         * math/bug-nexttoward.c: Include <math-tests.h>.
42788         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42789         the relevant type.
42790         * math/test-misc.c: Include <math-tests.h>.
42791         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42792         the relevant type.
42794 2013-06-12  Andreas Jaeger  <aj@suse.de>
42796         * po/ia.po: Update Interlingua translation from translation
42797         project.
42799 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42801         * include/fenv.h: Include stdbool.h.
42802         (struct rm_ctx): New structure.
42803         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42804         Define macro.
42805         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42806         (SET_RESTORE_ROUNDF): Likewise.
42807         (SET_RESTORE_ROUNDL): Likewise.
42808         (SET_RESTORE_ROUND_NOEX): Likewise.
42809         (SET_RESTORE_ROUND_NOEXF): Likewise.
42810         (SET_RESTORE_ROUND_NOEXL): Likewise.
42811         (SET_RESTORE_ROUND_53BIT): Likewise.
42812         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42813         (libc_feresetround_noexf_ctx): Likewise.
42814         (libc_feresetround_noexl_ctx): Likewise.
42815         (libc_feholdsetround_53bit_ctx): Likewise.
42816         (libc_feresetround_53bit_ctx): Likewise.
42817         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42818         (libc_feholdexcept_setround_sse_ctx): New function.
42819         (libc_fesetenv_sse_ctx): Likewise.
42820         (libc_feupdateenv_sse_ctx): Likewise.
42821         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42822         (libc_feholdexcept_setround_387_ctx): Likewise.
42823         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42824         (libc_feholdsetround_387_prec_ctx): Likewise.
42825         (libc_feholdsetround_387_ctx): Likewise.
42826         (libc_feholdsetround_387_53bit_ctx): Likewise.
42827         (libc_feholdsetround_sse_ctx): Likewise.
42828         (libc_feresetround_sse_ctx): Likewise.
42829         (libc_feresetround_387_ctx): Likewise.
42830         (libc_feupdateenv_387_ctx): Likewise.
42831         (libc_feholdexcept_setroundf_ctx): Define macro.
42832         (libc_fesetenvf_ctx): Likewise.
42833         (libc_feupdateenvf_ctx): Likewise.
42834         (libc_feholdsetroundf_ctx): Likewise.
42835         (libc_feresetroundf_ctx): Likewise.
42836         (libc_feholdexcept_setround_ctx): Likewise.
42837         (libc_fesetenv_ctx): Likewise.
42838         (libc_feupdateenv_ctx): Likewise.
42839         (libc_feholdsetround_ctx): Likewise.
42840         (libc_feresetround_ctx): Likewise.
42841         (libc_feholdexcept_setroundl_ctx): Likewise.
42842         (libc_feupdateenvl_ctx): Likewise.
42843         (libc_feholdsetroundl_ctx): Likewise.
42844         (libc_feresetroundl_ctx): Likewise.
42845         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42846         (libc_feresetround_53bit_ctx): Likewise.
42848 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42850         * locale/iso-639.def: Convert to UTF-8.
42852 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42854         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42855         (EXCEPTION_TESTS_double): Likewise.
42856         (EXCEPTION_TESTS_long_double): Likewise.
42857         (EXCEPTION_TESTS): Likewise.
42858         * math/libm-test.inc (test_exceptions): Only test exceptions if
42859         EXCEPTION_TESTS (FLOAT).
42861 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42863         * benchtests/Makefile (string-bench): Add strcpy_chk and
42864         stpcpy_chk.
42865         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42866         * benchtests/bench-stpcpy_chk.c: New file.
42867         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42868         * benchtests/bench-strcpy_chk.c: New file.
42869         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42870         code.
42871         (do_test): Likewise.
42873 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42875         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42876         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42877         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42878         with tabs where appropriate.
42879         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42880         dl-procinfo.h.
42881         [PPC_PLATFORM_PPC440]: Likewise.
42882         [PPC_PLATFORM_PPC464]: Likewise.
42883         [PPC_PLATFORM_PPC476]: Likewise.
42884         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42885         ppc464, and ppc476 platform strings merging from ports/
42886         dl-procinfo.h.
42888 2013-06-11  Andreas Schwab  <schwab@suse.de>
42890         [BZ #14991]
42891         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42892         (from_ucs4_idx): Regenerate.
42893         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42894         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42895         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42896         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42897         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42898         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42899         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42900         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42901         from FROM_LOOP and TO_LOOP specific macros.
42902         (BODY): Handle combining characters.
42903         * iconvdata/BIG5HKSCS.irreversible: Update.
42904         * iconvdata/BIG5HKSCS.precomposed: New file.
42905         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42906         characters.
42907         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42909 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42911         * include/sys/time.h: Fix indentation and add copyright header.
42913         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42914         (do_test): Likewise.
42915         * string/test-memchr.c (do_one_test): Likewise.
42916         (do_test): Likewise.
42917         * string/test-memcmp.c (do_one_test): Likewise.
42918         (do_test): Likewise.
42919         * string/test-memcpy.c (do_one_test): Likewise.
42920         (do_test): Likewise.
42921         * string/test-memmem.c (do_one_test): Likewise.
42922         (do_test): Likewise.
42923         (do_random_tests): Likewise.
42924         * string/test-memmove.c (do_one_test): Likewise.
42925         (do_test): Likewise.
42926         * string/test-memset.c (do_one_test): Likewise.
42927         (do_test): Likewise.
42928         * string/test-rawmemchr.c (do_one_test): Likewise.
42929         (do_test): Likewise.
42930         * string/test-strcasecmp.c (do_one_test): Likewise.
42931         (do_test): Likewise.
42932         * string/test-strcasestr.c (do_one_test): Likewise.
42933         (do_test): Likewise.
42934         * string/test-strcat.c (do_one_test): Likewise.
42935         (do_test): Likewise.
42936         * string/test-strchr.c (do_one_test): Likewise.
42937         (do_test): Likewise.
42938         * string/test-strcmp.c (do_one_test): Likewise.
42939         (do_test): Likewise.
42940         * string/test-strcpy.c (do_one_test): Likewise.
42941         (do_test): Likewise.
42942         * string/test-string.h: Likewise.
42943         (test_init): Likewise.
42944         * string/test-strlen.c (do_one_test): Likewise.
42945         (do_test): Likewise.
42946         * string/test-strncasecmp.c (do_one_test): Likewise.
42947         (do_test): Likewise.
42948         * string/test-strncat.c (do_one_test): Likewise.
42949         (do_test): Likewise.
42950         * string/test-strncmp.c (do_one_test): Likewise.
42951         (do_test_limit): Likewise.
42952         (do_test): Likewise.
42953         * string/test-strncpy.c (do_one_test): Likewise.
42954         (do_test): Likewise.
42955         * string/test-strnlen.c (do_one_test): Likewise.
42956         (do_test): Likewise.
42957         * string/test-strpbrk.c (do_one_test): Likewise.
42958         (do_test): Likewise.
42959         * string/test-strrchr.c (do_one_test): Likewise.
42960         (do_test): Likewise.
42961         * string/test-strspn.c (do_one_test): Likewise.
42962         (do_test): Likewise.
42963         * string/test-strstr.c (do_one_test): Likewise.
42964         (do_test): Likewise.
42966         * benchtests/Makefile (string-bench): Add string benchmarks.
42967         * benchtests/bench-bcopy-ifunc.c: New file.
42968         * benchtests/bench-bcopy.c: New file.
42969         * benchtests/bench-bzero-ifunc.c: New file.
42970         * benchtests/bench-bzero.c: New file.
42971         * benchtests/bench-memccpy-ifunc.c: New file.
42972         * benchtests/bench-memccpy.c: New file.
42973         * benchtests/bench-memchr-ifunc.c: New file.
42974         * benchtests/bench-memchr.c: New file.
42975         * benchtests/bench-memcmp-ifunc.c: New file.
42976         * benchtests/bench-memcmp.c: New file.
42977         * benchtests/bench-memmem-ifunc.c: New file.
42978         * benchtests/bench-memmem.c: New file.
42979         * benchtests/bench-memmove-ifunc.c: New file.
42980         * benchtests/bench-memmove.c: New file.
42981         * benchtests/bench-mempcpy-ifunc.c: New file.
42982         * benchtests/bench-mempcpy.c: New file.
42983         * benchtests/bench-memset-ifunc.c: New file.
42984         * benchtests/bench-memset.c: New file.
42985         * benchtests/bench-rawmemchr-ifunc.c: New file.
42986         * benchtests/bench-rawmemchr.c: New file.
42987         * benchtests/bench-stpcpy-ifunc.c: New file.
42988         * benchtests/bench-stpcpy.c: New file.
42989         * benchtests/bench-stpncpy-ifunc.c: New file.
42990         * benchtests/bench-stpncpy.c: New file.
42991         * benchtests/bench-strcasecmp-ifunc.c: New file.
42992         * benchtests/bench-strcasecmp.c: New file.
42993         * benchtests/bench-strcasestr-ifunc.c: New file.
42994         * benchtests/bench-strcasestr.c: New file.
42995         * benchtests/bench-strcat-ifunc.c: New file.
42996         * benchtests/bench-strcat.c: New file.
42997         * benchtests/bench-strchr-ifunc.c: New file.
42998         * benchtests/bench-strchr.c: New file.
42999         * benchtests/bench-strchrnul-ifunc.c: New file.
43000         * benchtests/bench-strchrnul.c: New file.
43001         * benchtests/bench-strcmp-ifunc.c: New file.
43002         * benchtests/bench-strcmp.c: New file.
43003         * benchtests/bench-strcpy-ifunc.c: New file.
43004         * benchtests/bench-strcpy.c: New file.
43005         * benchtests/bench-strcspn-ifunc.c: New file.
43006         * benchtests/bench-strcspn.c: New file.
43007         * benchtests/bench-strlen-ifunc.c: New file.
43008         * benchtests/bench-strlen.c: New file.
43009         * benchtests/bench-strncasecmp-ifunc.c: New file.
43010         * benchtests/bench-strncasecmp.c: New file.
43011         * benchtests/bench-strncat-ifunc.c: New file.
43012         * benchtests/bench-strncat.c: New file.
43013         * benchtests/bench-strncmp-ifunc.c: New file.
43014         * benchtests/bench-strncmp.c: New file.
43015         * benchtests/bench-strncpy-ifunc.c: New file.
43016         * benchtests/bench-strncpy.c: New file.
43017         * benchtests/bench-strnlen-ifunc.c: New file.
43018         * benchtests/bench-strnlen.c: New file.
43019         * benchtests/bench-strpbrk-ifunc.c: New file.
43020         * benchtests/bench-strpbrk.c: New file.
43021         * benchtests/bench-strrchr-ifunc.c: New file.
43022         * benchtests/bench-strrchr.c: New file.
43023         * benchtests/bench-strspn-ifunc.c: New file.
43024         * benchtests/bench-strspn.c: New file.
43025         * benchtests/bench-strstr-ifunc.c: New file.
43026         * benchtests/bench-strstr.c: New file.
43028         * benchtests/Makefile: Disable parallel execution of targets.
43029         (string-bench): Add memcpy.
43030         (benchset): New variable to store a list of benchmark sets.
43031         (bench-func): Renamed from bench.
43032         (bench-set): New target.
43033         (bench): Depend on bench-func and bench-set.
43034         * benchtests/README: Add section on benchmark sets.
43035         * benchtests/bench-memcpy-ifunc.c: New file.
43036         * benchtests/bench-memcpy.c: New file.
43037         * benchtests/bench-string.h: New file.
43039 2013-06-11  Andreas Schwab  <schwab@suse.de>
43041         [BZ #15577]
43042         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43043         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43044         values in the triple.
43045         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43046         terminator in the group key.
43048 2013-06-11  Andreas Jaeger  <aj@suse.de>
43050         * po/zh_TW.po: Update Chinese (traditional) translation from
43051         translation project.
43053 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43055         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43056         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43057         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43058         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43059         (clock_getcpuclockid): Likewise.
43060         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43061         Add weak_alias and libc_hidden_def.
43062         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43063         * rt/clock_gettime.c (clock_gettime): Rename to
43064         __clock_gettime.  Add weak_alias and libc_hidden_def.
43065         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43066         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43067         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43068         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43069         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43070         Likewise.
43071         * rt/clock_settime.c (clock_settime): Rename to
43072         __clock_settime.  Add weak_alias and libc_hidden_def.
43073         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43075 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43077         * mach/err_boot.sub: Remove trailing whitespace.
43078         * mach/err_ipc.sub: Likewise.
43079         * mach/err_mach.sub: Likewise.
43081         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43082         (ROUNDING_TESTS_double): Likewise.
43083         (ROUNDING_TESTS_long_double): Likewise.
43084         (ROUNDING_TESTS): Likewise.
43085         * math/libm-test.inc: Include <math-tests.h>.
43086         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43087         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43088         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43089         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43091 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43093         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43094         of assigning.
43096 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43098         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43099         otherwise empty TRANS lines.
43100         * sysdeps/gnu/errlist.c: Regenerated.
43102         * catgets/gencat.c (error_print): Use (void) in function
43103         definition.
43104         * crypt/crypt_util.c (__init_des): Likewise.
43105         * crypt/speeds.c (Stop): Likewise.
43106         (main): Likewise.
43107         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43108         * inet/ruserpass.c (token): Likewise.
43109         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43110         * intl/localealias.c (extend_alias_table): Likewise.
43111         * intl/plural-exp.c (init_germanic_plural): Likewise.
43112         * libio/fcloseall.c (__fcloseall): Likewise.
43113         * libio/genops.c (_IO_flush_all): Likewise.
43114         (_IO_flush_all_linebuffered): Likewise.
43115         (_IO_cleanup): Likewise.
43116         (_IO_iter_begin): Likewise.
43117         (_IO_iter_end): Likewise.
43118         (_IO_list_lock): Likewise.
43119         (_IO_list_unlock): Likewise.
43120         (_IO_list_resetlock): Likewise.
43121         * libio/getchar.c (getchar): Likewise.
43122         * libio/getchar_u.c (getchar_unlocked): Likewise.
43123         * libio/getwchar.c (getwchar): Likewise.
43124         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43125         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43126         * login/getpt.c (__getpt): Likewise.
43127         * login/tst-utmp.c (main): Likewise.
43128         * malloc/hooks.c (__malloc_check_init): Likewise.
43129         * malloc/malloc.c (__malloc_stats): Likewise.
43130         * malloc/mtrace.c (tr_break): Likewise.
43131         (mtrace): Likewise.
43132         (muntrace): Likewise.
43133         * misc/fstab.c (endfsent): Likewise.
43134         * misc/getclktck.c (__getclktck): Likewise.
43135         * misc/getdtsz.c (__getdtablesize): Likewise.
43136         * misc/gethostid.c (gethostid): Likewise.
43137         * misc/getpagesize.c (__getpagesize): Likewise.
43138         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43139         (__get_nprocs): Likewise.
43140         (__get_phys_pages): Likewise.
43141         (__get_avphys_pages): Likewise.
43142         * misc/getttyent.c (getttyent): Likewise.
43143         (setttyent): Likewise.
43144         (endttyent): Likewise.
43145         * misc/getusershell.c (getusershell): Likewise.
43146         (endusershell): Likewise.
43147         (setusershell): Likewise.
43148         (initshells): Likewise.
43149         * misc/hsearch.c (__hdestroy): Likewise.
43150         * misc/sync.c (sync): Likewise.
43151         * misc/syslog.c (closelog_internal): Likewise.
43152         (closelog): Likewise.
43153         * misc/ttyslot.c (ttyslot): Likewise.
43154         * misc/vhangup.c (vhangup): Likewise.
43155         * posix/fork.c (__fork): Likewise.
43156         * posix/getegid.c (__getegid): Likewise.
43157         * posix/geteuid.c (__geteuid): Likewise.
43158         * posix/getgid.c (__getgid): Likewise.
43159         * posix/getpid.c (__getpid): Likewise.
43160         * posix/getppid.c (__getppid): Likewise.
43161         * posix/getuid.c (__getuid): Likewise.
43162         * posix/pause.c (pause): Likewise.
43163         * posix/setpgrp.c (setpgrp): Likewise.
43164         * posix/setsid.c (__setsid): Likewise.
43165         * posix/test-vfork.c (noop): Likewise.
43166         * resolv/gethnamaddr.c (_endhtent): Likewise.
43167         (_gethtent): Likewise.
43168         (ht_endhostent): Likewise.
43169         (gethostent): Likewise.
43170         (dns_service): Likewise.
43171         * stdlib/drand48.c (drand48): Likewise.
43172         * stdlib/lrand48.c (lrand48): Likewise.
43173         * stdlib/mrand48.c (mrand48): Likewise.
43174         * stdlib/rand.c (rand): Likewise.
43175         * stdlib/random.c (__random): Likewise.
43176         * stdlib/setenv.c (clearenv): Likewise.
43177         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43178         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43179         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43180         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43181         (__get_nprocs): Likewise.
43182         (__get_phys_pages): Likewise.
43183         (__get_avphys_pages): Likewise.
43184         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43185         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43186         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43187         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43188         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43189         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43190         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43191         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43192         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43193         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43194         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43195         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43196         * sysdeps/posix/clock.c (clock): Likewise.
43197         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43198         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43199         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43200         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43201         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43203         (__get_nprocs_conf): Likewise.
43204         (__get_phys_pages): Likewise.
43205         (__get_avphys_pages): Likewise.
43206         * time/clock.c (clock): Likewise.
43207         * time/tzset.c (__tzname_max): Likewise.
43209 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43211         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43212         (__bswap_32): Do not use "register".
43213         * crypt/crypt.c (_ufc_doit_r): Likewise.
43214         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43215         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43216         * gmon/gmon.c (__monstartup): Likewise.
43217         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43218         * hurd/hurdmalloc.c (more_memory): Likewise.
43219         (malloc): Likewise.
43220         (free): Likewise.
43221         (realloc): Likewise.
43222         (malloc_fork_prepare): Likewise.
43223         (malloc_fork_parent): Likewise.
43224         (malloc_fork_child): Likewise.
43225         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43226         (_svcauth_des): Likewise.
43227         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43228         * inet/inet_net.c (inet_network): Likewise.
43229         * inet/inet_netof.c (inet_netof): Likewise.
43230         * inet/rcmd.c (__validuser2_sa): Likewise.
43231         * io/fts.c (fts_open): Likewise.
43232         (fts_load): Likewise.
43233         (fts_close): Likewise.
43234         (fts_read): Likewise.
43235         (fts_children): Likewise.
43236         (fts_build): Likewise.
43237         (fts_stat): Likewise.
43238         (fts_sort): Likewise.
43239         (fts_alloc): Likewise.
43240         (fts_lfree): Likewise.
43241         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43242         (_IO_file_xsgetn): Likewise.
43243         (_IO_file_xsgetn_mmap): Likewise.
43244         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43245         (_IO_cookie_write): Likewise.
43246         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43247         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43248         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43249         * malloc/obstack.c (_obstack_begin): Likewise.
43250         (_obstack_begin_1): Likewise.
43251         (_obstack_newchunk): Likewise.
43252         (_obstack_allocated_p): Likewise.
43253         (obstack_free): Likewise.
43254         (_obstack_memory_used): Likewise.
43255         * misc/getttyent.c (getttynam): Likewise.
43256         (getttyent): Likewise.
43257         (skip): Likewise.
43258         (value): Likewise.
43259         * misc/getusershell.c (initshells): Likewise.
43260         * misc/syslog.c (__vsyslog_chk): Likewise.
43261         * misc/ttyslot.c (ttyslot): Likewise.
43262         * nis/nis_hash.c (__nis_hash): Likewise.
43263         * posix/fnmatch_loop.c (FCT): Likewise.
43264         * posix/getconf.c (print_all): Likewise.
43265         (main): Likewise.
43266         * posix/getopt.c (exchange): Likewise.
43267         * posix/glob.c (globfree): Likewise.
43268         (prefix_array): Likewise.
43269         (__glob_pattern_type): Likewise.
43270         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43271         (NS_GET32): Likewise.
43272         (NS_PUT16): Likewise.
43273         (NS_PUT32): Likewise.
43274         * resolv/gethnamaddr.c (getanswer): Likewise.
43275         (gethostbyname2): Likewise.
43276         (gethostbyaddr): Likewise.
43277         (_gethtent): Likewise.
43278         (_gethtbyname2): Likewise.
43279         (_gethtbyaddr): Likewise.
43280         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43281         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43282         * resolv/res_init.c (__res_vinit): Likewise.
43283         (net_mask): Likewise.
43284         * resolv/res_mkquery.c (outchar): Likewise.
43285         (PRINT): Likewise.
43286         * stdio-common/printf_fp.c (outchar): Likewise.
43287         (PRINT): Likewise.
43288         * stdio-common/printf_fphex.c (outchar): Likewise.
43289         (PRINT): Likewise.
43290         * stdio-common/printf_size.c (outchar): Likewise.
43291         (PRINT): Likewise.
43292         * stdio-common/test_rdwr.c (main): Likewise.
43293         * stdio-common/tfformat.c (matches): Likewise.
43294         * stdio-common/vfprintf.c (outchar): Likewise.
43295         (printf_unknown): Likewise.
43296         (buffered_vfprintf): Likewise.
43297         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43298         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43299         (ReadFile): Likewise.
43300         * stdlib/qsort.c (SWAP): Likewise.
43301         (_quicksort): Likewise.
43302         * stdlib/setenv.c (__add_to_environ): Likewise.
43303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43304         * stdlib/strtol_l.c (__strtol_l): Likewise.
43305         * stdlib/tst-strtod.c (main): Likewise.
43306         * stdlib/tst-strtol.c (main): Likewise.
43307         * stdlib/tst-strtoll.c (main): Likewise.
43308         * string/bits/string2.h (__strcmp_cc): Likewise.
43309         (__strcmp_cg): Likewise.
43310         (__strcspn_c1): Likewise.
43311         (__strcspn_c2): Likewise.
43312         (__strcspn_c3): Likewise.
43313         (__strspn_c1): Likewise.
43314         (__strspn_c2): Likewise.
43315         (__strspn_c3): Likewise.
43316         (__strsep_1c): Likewise.
43317         (__strsep_2c): Likewise.
43318         (__strsep_3c): Likewise.
43319         * string/memccpy.c (__memccpy): Likewise.
43320         * string/stpcpy.c (__stpcpy): Likewise.
43321         * string/strcmp.c (strcmp): Likewise.
43322         * string/strrchr.c (strrchr): Likewise.
43323         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43324         Likewise.
43325         * sysdeps/mach/hurd/getcwd.c
43326         (_hurd_canonicalize_directory_name_internal): Likewise.
43327         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43328         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43329         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43330         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43331         Likewise, in both definitions.
43332         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43333         definitions.
43334         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43335         64] (__bswap_64): Likewise.
43336         * time/test_time.c (main): Likewise.
43337         * time/tzfile.c (__tzfile_read): Likewise.
43338         (__tzfile_compute): Likewise.
43339         * time/tzset.c (__tzset_parse_tz): Likewise.
43340         (tzset_internal): Likewise.
43341         (compute_change): Likewise.
43342         * wcsmbs/wcscat.c (__wcscat): Likewise.
43343         * wcsmbs/wcschr.c (wcschr): Likewise.
43344         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43345         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43346         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43347         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43348         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43349         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43350         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43351         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43352         * wcsmbs/wmemset.c (wmemset): Likewise.
43354 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43356         * scripts/config.guess: Update to version 2013-05-16.
43357         * scripts/config.sub: Update to version 2013-04-24.
43358         * scripts/install-sh: Update to version 2011-11-20.07.
43359         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43360         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43362 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
43364         * debug/fgetws_u_chk.c: Fix leading whitespaces.
43365         * elf/sln.c: Likewise.
43366         * hurd/hurd/ioctl.h: Likewise.
43367         * hurd/hurdmalloc.c: Likewise.
43368         * hurd/xattr.c: Likewise.
43369         * include/shlib-compat.h: Likewise.
43370         * inet/ruserpass.c: Likewise.
43371         * libio/iofgets_u.c: Likewise.
43372         * libio/iofgetws_u.c: Likewise.
43373         * locale/programs/ld-identification.c: Likewise.
43374         * locale/programs/ld-time.c: Likewise.
43375         * mach/msg-destroy.c: Likewise.
43376         * nss/nss_files/files-netgrp.c: Likewise.
43377         * resolv/res_data.c: Likewise.
43378         * soft-fp/op-1.h: Likewise.
43379         * soft-fp/op-2.h: Likewise.
43380         * soft-fp/op-4.h: Likewise.
43381         * soft-fp/op-common.h: Likewise.
43382         * stdio-common/printf_fphex.c: Likewise.
43383         * stdlib/strtod_l.c: Likewise.
43384         * sunrpc/rpc/clnt.h: Likewise.
43385         * sysdeps/generic/framestate.c: Likewise.
43386         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43387         * sysdeps/i386/bsd-setjmp.S: Likewise.
43388         * sysdeps/i386/__longjmp.S: Likewise.
43389         * sysdeps/i386/setjmp.S: Likewise.
43390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43391         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43392         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43395         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43396         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43397         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43398         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43399         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43400         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43401         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43402         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43403         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43404         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43405         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43406         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43407         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43408         * sysdeps/ieee754/support.c: Likewise.
43409         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43410         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43411         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43412         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43413         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43414         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43415         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43416         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43417         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43418         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43419         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43420         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43421         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43422         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43423         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43424         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43425         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43428 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
43430         * posix/transbug.c: Remove executable mode.
43432 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43434         * crypt/speeds.c: Remove trailing whitespace.
43435         * dlfcn/default.c: Likewise.
43436         * elf/ifuncdep2.c: Likewise.
43437         * elf/ifuncmain1.c: Likewise.
43438         * elf/ifuncmain1vis.c: Likewise.
43439         * elf/testobj.h: Likewise.
43440         * elf/tst-stackguard1.c: Likewise.
43441         * gmon/sys/gmon.h: Likewise.
43442         * hurd/hurdmsg.c: Likewise.
43443         * hurd/new-fd.c: Likewise.
43444         * hurd/ports-get.c: Likewise.
43445         * iconvdata/ibm1008_420.c: Likewise.
43446         * inet/tst-getni1.c: Likewise.
43447         * inet/tst-getni2.c: Likewise.
43448         * libio/ioungetc.c: Likewise.
43449         * libio/wfiledoalloc.c: Likewise.
43450         * manual/libm-err-tab.pl: Likewise.
43451         * math/w_dremf.c: Likewise.
43452         * misc/ftruncate.c: Likewise.
43453         * posix/bug-glob2.c: Likewise.
43454         * posix/tst-pcre.c: Likewise.
43455         * posix/wait4.c: Likewise.
43456         * resolv/README: Likewise.
43457         * resolv/res_debug.h: Likewise.
43458         * resolv/tst-inet_ntop.c: Likewise.
43459         * setjmp/bug269-setjmp.c: Likewise.
43460         * soft-fp/extended.h: Likewise.
43461         * soft-fp/op-1.h: Likewise.
43462         * soft-fp/op-2.h: Likewise.
43463         * soft-fp/op-4.h: Likewise.
43464         * soft-fp/op-8.h: Likewise.
43465         * soft-fp/testit.c: Likewise.
43466         * stdio-common/bug16.c: Likewise.
43467         * stdlib/random.c: Likewise.
43468         * sunrpc/rpcsvc/rquota.x: Likewise.
43469         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43470         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43471         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43472         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43473         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43474         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43475         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43476         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43477         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43478         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43479         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43480         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43481         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43482         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43483         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43484         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43485         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43486         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43487         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43491         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43492         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43493         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43494         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43497         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43498         * sysdeps/ieee754/s_lib_version.c: Likewise.
43499         * sysdeps/mach/hurd/check_fds.c: Likewise.
43500         * sysdeps/mach/hurd/getsockname.c: Likewise.
43501         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43502         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43503         * sysdeps/powerpc/bits/link.h: Likewise.
43504         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43505         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43506         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43507         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43508         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43509         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43510         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43511         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43512         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43513         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43514         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43515         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43516         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43517         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43518         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43519         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43520         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43521         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43522         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43523         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43525         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43527         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43528         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43529         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43530         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43531         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43532         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43533         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43534         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43535         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43537         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43538         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43539         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43540         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43541         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43542         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43543         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43544         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43545         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43546         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43547         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43548         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43549         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43550         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43551         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43552         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43553         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43554         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43555         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43556         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43557         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43558         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43559         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43560         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43561         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43563         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43564         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43565         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43566         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43567         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43568         * sysdeps/powerpc/sysdep.h: Likewise.
43569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43570         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43571         * sysdeps/sh/dl-trampoline.S: Likewise.
43572         * sysdeps/sh/memset.S: Likewise.
43573         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43574         * sysdeps/sh/strlen.S: Likewise.
43575         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43576         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43577         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43578         * sysdeps/sparc/sparc32/rem.S: Likewise.
43579         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43580         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43581         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43582         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43583         * sysdeps/sparc/sparc32/urem.S: Likewise.
43584         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43585         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43586         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43587         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43588         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43589         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43590         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43591         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43592         * sysdeps/unix/bsd/times.c: Likewise.
43593         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43594         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43598         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43599         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43600         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43601         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43602         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43603         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43604         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43605         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43606         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43607         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43608         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43609         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43610         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43611         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43612         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43613         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43614         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43615         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43616         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43617         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43618         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43619         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43620         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43621         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43622         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43623         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43624         * sysdeps/x86_64/strcspn.S: Likewise.
43626 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43628         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43629         generated file.  Regenerate properly from gen-translit.pl.
43630         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43631         locale/C-translit.h.
43633 2013-06-05  Andreas Schwab  <schwab@suse.de>
43635         [BZ #15100]
43636         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43637         week as 6 instead of -1.
43638         * time/tst-strptime.c (day_tests): Add test case.
43640 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43642         * sysdeps/generic/math_private.h
43643         (libc_feholdexcept_setround_53bit): Replace with
43644         libc_feholdsetround_53bit.
43645         (libc_feupdateenv_53bit): Replace with
43646         libc_feresetround_53bit.
43647         (SET_RESTORE_ROUND_53BIT): Adjust.
43649 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43651         * string/test-strchrnul.c: Add copyright header.
43653         * posix/tst-getaddrinfo4.c: Increase test timeout.
43655 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
43657         [BZ #15536]
43658         * math/libm-test.inc (MAX_EXP): Remove
43659         (MIN_EXP): Define.
43660         (ulp): Use MIN_EXP - MANT_DIG.
43661         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43663 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43665         * po/be.po: Revert last change.
43666         * po/zh_CN.po: Likewise.
43667         * po/header.pot: Likewise.
43669 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43671         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43672         link-libc-deps to empty as target-specific variable.
43673         * Makerules (link-libc-args): New variable.
43674         (libc-for-link): Likewise.
43675         (link-libc-deps): Likewise.
43676         (lib%.so): Depend on $(link-libc-deps).  Link with
43677         $(link-libc-args).
43678         (build-module): Link with $(link-libc-args).
43679         (build-module-asneeded): Likewise.
43680         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43681         list of objects.
43682         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43683         target-specific variable.
43684         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43685         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43686         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43687         libc.
43688         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43689         libc and ld.so.
43690         ($(objpfx)libpcprofile.so): Likewise.
43691         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43692         libc_nonshared.a.
43693         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43694         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43695         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43696         $(link-libc-deps).
43697         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43698         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43699         * login/Makefile ($(objpfx)libutil.so): Likewise.
43700         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43701         * math/Makefile ($(objpfx)libm.so): Likewise.
43702         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43703         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43704         variable instead of depending directly on libc.
43705         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43706         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43707         $(link-libc-deps).
43708         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43709         libc.
43710         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43711         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43712         ($(objpfx)libanl.so): Likewise.
43713         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43714         ld.so.
43715         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43716         $(link-libc-deps).
43717         * sysdeps/i386/fpu/Makefile: Remove file.
43718         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43719         ($(objpfx)libm.so): Remove dependency on ld.so.
43721 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43723         [BZ # 15553]
43724         * nis/yp_xdr.c (XDRMAXNAME): Define.
43725         (XDRMAXRECORD): Define.
43726         (xdr_domainname): Use XDRMAXNAME.
43727         (xdr_mapname): Likewise.
43728         (xdr_peername): Likewise.
43729         (xdr_keydat): Use XDRMAXRECORD.
43730         (xdr_valdat): Likewise.
43732 2013-05-30  Jeff Law  <law@redhat.com>
43734         [BZ #14256]
43735         * manual/errno.texi (ESTALE): Update to account for more than
43736         just NFS file systems.
43737         * sysdeps/gnu/errlist.c: Regenerated.
43739 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43741         [BZ #15465]
43742         * elf/Makefile (tests): Add tst-null-argv.
43743         (modules-names):  Add tst-null-argv-lib.
43744         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43745         (tst-null-argv-ENV): Set environment for tst-null-argv.
43746         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43747         (RTLD_PROGNAME): New macro.
43748         * elf/tst-null-argv.c: New test case.
43749         * elf/tst-null-argv-lib.c: Library for test case.
43750         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43751         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43752         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43753         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43754         * elf/dl-init.c (call_init): Likewise.
43755         (_dl_init): Likewise.
43756         * elf/dl-load.c (print_search_path): Likewise.
43757         (_dl_map_object): Likewise.
43758         * elf/dl-lookup.c (do_lookup_x): Likewise.
43759         (add_dependency): Likewise.
43760         (_dl_lookup_symbol_x): Likewise.
43761         (_dl_debug_bindings): Likewise.
43762         * elf/dl-open.c (_dl_show_scope): Likewise.
43763         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43764         * elf/dl-version.c (match_symbol): Likewise.
43765         (_dl_check_map_versions): Likewise.
43766         * elf/rtld.c (dl_main): Likewise.
43767         (print_unresolved): Use RTLD_PROGNAME.
43768         (print_missing_version): Likewise.
43769         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43770         (elf_machine_rela): Likewise.
43771         * sysdeps/powerpc/powerpc32/dl-machine.c
43772         (__process_machine_rela): Likewise.
43773         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43774         Likewise.
43775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43776         Likewise.
43777         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43778         Likewise.
43779         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43780         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43781         Likewise.
43782         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43783         Likewise.
43784         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43786 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43788         * po/be.po: Add descriptive title.
43789         * po/zh_CN.po: Likewise.
43790         * po/header.pot: Likewise.
43792 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43794         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43795         error message.
43796         (enlarge_archive): Likewise.
43798 2013-05-28  Ben North  <ben@redfrontdoor.org>
43800         * manual/arith.texi (frexp): It is the magnitude of the return
43801         value which lies in [0.5, 1), not the return value itself.
43803 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43807 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43809         * stdio-common/bug26.c (main): Correct fscanf template.
43811         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43812         declare _dl_skip_args.
43814         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43815         Don't declare.
43817         * manual/platform.texi: Add missing @end deftypefun.
43819 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43821         [BZ #15529]
43822         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43823         bit of mantissa of 2^16382.
43824         * math/libm-test.inc (hypot_test_data): Add more tests.
43826         * math/libm-test.inc: Add drem and pow10 to list of tested
43827         functions.
43828         (pow10_test): New function.
43829         (drem_test): Likewise.
43830         (drem_test_tonearest): Likewise.
43831         (drem_test_towardzero): Likewise.
43832         (drem_test_downward): Likewise.
43833         (drem_test_upward): Likewise.
43834         (main): Call the new functions.
43836         * math/libm-test.inc (finite_test_data): Remove.
43837         (finite_test): Run tests from isfinite_test_data.
43838         (gamma_test_data): Remove.
43839         (gamma_test): Run tests from lgamma_test_data.
43840         * sysdeps/i386/fpu/libm-test-ulps: Update.
43841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43843 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43845         * manual/platform.texi: Add PowerPC PPR function set documentation.
43846         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43847         implementation.
43849 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43851         * math/libm-test.inc (MAX_EXP): Define.
43852         (ULPDIFF): Define.
43853         (ulp): New function.
43854         (check_float_internal): Use ULPDIFF.
43855         (cpow_test): Disable failing test.
43856         (check_ulp): Test ulp() implemetnation.
43857         (main): Call check_ulp before starting tests.
43859 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43861         * math/gen-libm-test.pl (generate_testfile): Do not handle
43862         START_DATA and END_DATA.
43863         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43864         END_DATA.
43865         (acos_tonearest_test_data): Likewise.
43866         (acos_towardzero_test_data): Likewise.
43867         (acos_downward_test_data): Likewise.
43868         (acos_upward_test_data): Likewise.
43869         (acosh_test_data): Likewise.
43870         (asin_test_data): Likewise.
43871         (asin_tonearest_test_data): Likewise.
43872         (asin_towardzero_test_data): Likewise.
43873         (asin_downward_test_data): Likewise.
43874         (asin_upward_test_data): Likewise.
43875         (asinh_test_data): Likewise.
43876         (atan_test_data): Likewise.
43877         (atanh_test_data): Likewise.
43878         (atan2_test_data): Likewise.
43879         (cabs_test_data): Likewise.
43880         (cacos_test_data): Likewise.
43881         (cacosh_test_data): Likewise.
43882         (carg_test_data): Likewise.
43883         (casin_test_data): Likewise.
43884         (casinh_test_data): Likewise.
43885         (catan_test_data): Likewise.
43886         (catanh_test_data): Likewise.
43887         (cbrt_test_data): Likewise.
43888         (ccos_test_data): Likewise.
43889         (ccosh_test_data): Likewise.
43890         (ceil_test_data): Likewise.
43891         (cexp_test_data): Likewise.
43892         (cimag_test_data): Likewise.
43893         (clog_test_data): Likewise.
43894         (clog10_test_data): Likewise.
43895         (conj_test_data): Likewise.
43896         (copysign_test_data): Likewise.
43897         (cos_test_data): Likewise.
43898         (cos_tonearest_test_data): Likewise.
43899         (cos_towardzero_test_data): Likewise.
43900         (cos_downward_test_data): Likewise.
43901         (cos_upward_test_data): Likewise.
43902         (cosh_test_data): Likewise.
43903         (cosh_tonearest_test_data): Likewise.
43904         (cosh_towardzero_test_data): Likewise.
43905         (cosh_downward_test_data): Likewise.
43906         (cosh_upward_test_data): Likewise.
43907         (cpow_test_data): Likewise.
43908         (cproj_test_data): Likewise.
43909         (creal_test_data): Likewise.
43910         (csin_test_data): Likewise.
43911         (csinh_test_data): Likewise.
43912         (csqrt_test_data): Likewise.
43913         (ctan_test_data): Likewise.
43914         (ctan_tonearest_test_data): Likewise.
43915         (ctan_towardzero_test_data): Likewise.
43916         (ctan_downward_test_data): Likewise.
43917         (ctan_upward_test_data): Likewise.
43918         (ctanh_test_data): Likewise.
43919         (ctanh_tonearest_test_data): Likewise.
43920         (ctanh_towardzero_test_data): Likewise.
43921         (ctanh_downward_test_data): Likewise.
43922         (ctanh_upward_test_data): Likewise.
43923         (erf_test_data): Likewise.
43924         (erfc_test_data): Likewise.
43925         (exp_test_data): Likewise.
43926         (exp_tonearest_test_data): Likewise.
43927         (exp_towardzero_test_data): Likewise.
43928         (exp_downward_test_data): Likewise.
43929         (exp_upward_test_data): Likewise.
43930         (exp10_test_data): Likewise.
43931         (exp2_test_data): Likewise.
43932         (expm1_test_data): Likewise.
43933         (fabs_test_data): Likewise.
43934         (fdim_test_data): Likewise.
43935         (finite_test_data): Likewise.
43936         (floor_test_data): Likewise.
43937         (fma_test_data): Likewise.
43938         (fma_towardzero_test_data): Likewise.
43939         (fma_downward_test_data): Likewise.
43940         (fma_upward_test_data): Likewise.
43941         (fmax_test_data): Likewise.
43942         (fmin_test_data): Likewise.
43943         (fmod_test_data): Likewise.
43944         (fpclassify_test_data): Likewise.
43945         (frexp_test_data): Likewise.
43946         (gamma_test_data): Likewise.
43947         (hypot_test_data): Likewise.
43948         (ilogb_test_data): Likewise.
43949         (isfinite_test_data): Likewise.
43950         (isgreater_test_data): Likewise.
43951         (isgreaterequal_test_data): Likewise.
43952         (isinf_test_data): Likewise.
43953         (isless_test_data): Likewise.
43954         (islessequal_test_data): Likewise.
43955         (islessgreater_test_data): Likewise.
43956         (isnan_test_data): Likewise.
43957         (isnormal_test_data): Likewise.
43958         (issignaling_test_data): Likewise.
43959         (isunordered_test_data): Likewise.
43960         (j0_test_data): Likewise.
43961         (j1_test_data): Likewise.
43962         (jn_test_data): Likewise.
43963         (ldexp_test_data): Likewise.
43964         (lgamma_test_data): Likewise.
43965         (lrint_test_data): Likewise.
43966         (lrint_tonearest_test_data): Likewise.
43967         (lrint_towardzero_test_data): Likewise.
43968         (lrint_downward_test_data): Likewise.
43969         (lrint_upward_test_data): Likewise.
43970         (llrint_test_data): Likewise.
43971         (llrint_tonearest_test_data): Likewise.
43972         (llrint_towardzero_test_data): Likewise.
43973         (llrint_downward_test_data): Likewise.
43974         (llrint_upward_test_data): Likewise.
43975         (log_test_data): Likewise.
43976         (log10_test_data): Likewise.
43977         (log1p_test_data): Likewise.
43978         (log2_test_data): Likewise.
43979         (logb_test_data): Likewise.
43980         (logb_downward_test_data): Likewise.
43981         (lround_test_data): Likewise.
43982         (llround_test_data): Likewise.
43983         (modf_test_data): Likewise.
43984         (nearbyint_test_data): Likewise.
43985         (nextafter_test_data): Likewise.
43986         (nexttoward_test_data): Likewise.
43987         (pow_test_data): Likewise.
43988         (pow_tonearest_test_data): Likewise.
43989         (pow_towardzero_test_data): Likewise.
43990         (pow_downward_test_data): Likewise.
43991         (pow_upward_test_data): Likewise.
43992         (remainder_test_data): Likewise.
43993         (remainder_tonearest_test_data): Likewise.
43994         (remainder_towardzero_test_data): Likewise.
43995         (remainder_downward_test_data): Likewise.
43996         (remainder_upward_test_data): Likewise.
43997         (remquo_test_data): Likewise.
43998         (rint_test_data): Likewise.
43999         (rint_tonearest_test_data): Likewise.
44000         (rint_towardzero_test_data): Likewise.
44001         (rint_downward_test_data): Likewise.
44002         (rint_upward_test_data): Likewise.
44003         (round_test_data): Likewise.
44004         (scalb_test_data): Likewise.
44005         (scalbn_test_data): Likewise.
44006         (scalbln_test_data): Likewise.
44007         (signbit_test_data): Likewise.
44008         (sin_test_data): Likewise.
44009         (sin_tonearest_test_data): Likewise.
44010         (sin_towardzero_test_data): Likewise.
44011         (sin_downward_test_data): Likewise.
44012         (sin_upward_test_data): Likewise.
44013         (sincos_test_data): Likewise.
44014         (sinh_test_data): Likewise.
44015         (sinh_tonearest_test_data): Likewise.
44016         (sinh_towardzero_test_data): Likewise.
44017         (sinh_downward_test_data): Likewise.
44018         (sinh_upward_test_data): Likewise.
44019         (sqrt_test_data): Likewise.
44020         (tan_test_data): Likewise.
44021         (tan_tonearest_test_data): Likewise.
44022         (tan_towardzero_test_data): Likewise.
44023         (tan_downward_test_data): Likewise.
44024         (tan_upward_test_data): Likewise.
44025         (tanh_test_data): Likewise.
44026         (tgamma_test_data): Likewise.
44027         (trunc_test_data): Likewise.
44028         (y0_test_data): Likewise.
44029         (y1_test_data): Likewise.
44030         (yn_test_data): Likewise.
44031         (significand_test_data): Likewise.
44033         * math/gen-libm-test.pl (@functions): Remove variable.
44034         (generate_testfile): Don't handle START and END lines.
44035         * math/libm-test.inc (START): New macro.
44036         (END): Likewise.
44037         (END_COMPLEX): Likewise.
44038         (acos_test): Use END macro without arguments.
44039         (acos_test_tonearest): Likewise.
44040         (acos_test_towardzero): Likewise.
44041         (acos_test_downward): Likewise.
44042         (acos_test_upward): Likewise.
44043         (acosh_test): Likewise.
44044         (asin_test): Likewise.
44045         (asin_test_tonearest): Likewise.
44046         (asin_test_towardzero): Likewise.
44047         (asin_test_downward): Likewise.
44048         (asin_test_upward): Likewise.
44049         (asinh_test): Likewise.
44050         (atan_test): Likewise.
44051         (atanh_test): Likewise.
44052         (atan2_test): Likewise.
44053         (cabs_test): Likewise.
44054         (cacos_test): Use END_COMPLEX macro without arguments.
44055         (cacosh_test): Likewise.
44056         (carg_test): Use END macro without arguments.
44057         (casin_test): Use END_COMPLEX macro without arguments.
44058         (casinh_test): Likewise.
44059         (catan_test): Likewise.
44060         (catanh_test): Likewise.
44061         (cbrt_test): Use END macro without arguments.
44062         (ccos_test): Use END_COMPLEX macro without arguments.
44063         (ccosh_test): Likewise.
44064         (ceil_test): Use END macro without arguments.
44065         (cexp_test): Use END_COMPLEX macro without arguments.
44066         (cimag_test): Use END macro without arguments.
44067         (clog_test): Use END_COMPLEX macro without arguments.
44068         (clog10_test): Likewise.
44069         (conj_test): Likewise.
44070         (copysign_test): Use END macro without arguments.
44071         (cos_test): Likewise.
44072         (cos_test_tonearest): Likewise.
44073         (cos_test_towardzero): Likewise.
44074         (cos_test_downward): Likewise.
44075         (cos_test_upward): Likewise.
44076         (cosh_test): Likewise.
44077         (cosh_test_tonearest): Likewise.
44078         (cosh_test_towardzero): Likewise.
44079         (cosh_test_downward): Likewise.
44080         (cosh_test_upward): Likewise.
44081         (cpow_test): Use END_COMPLEX macro without arguments.
44082         (cproj_test): Likewise.
44083         (creal_test): Use END macro without arguments.
44084         (csin_test): Use END_COMPLEX macro without arguments.
44085         (csinh_test): Likewise.
44086         (csqrt_test): Likewise.
44087         (ctan_test): Likewise.
44088         (ctan_test_tonearest): Likewise.
44089         (ctan_test_towardzero): Likewise.
44090         (ctan_test_downward): Likewise.
44091         (ctan_test_upward): Likewise.
44092         (ctanh_test): Likewise.
44093         (ctanh_test_tonearest): Likewise.
44094         (ctanh_test_towardzero): Likewise.
44095         (ctanh_test_downward): Likewise.
44096         (ctanh_test_upward): Likewise.
44097         (erf_test): Use END macro without arguments.
44098         (erfc_test): Likewise.
44099         (exp_test): Likewise.
44100         (exp_test_tonearest): Likewise.
44101         (exp_test_towardzero): Likewise.
44102         (exp_test_downward): Likewise.
44103         (exp_test_upward): Likewise.
44104         (exp10_test): Likewise.
44105         (exp2_test): Likewise.
44106         (expm1_test): Likewise.
44107         (fabs_test): Likewise.
44108         (fdim_test): Likewise.
44109         (finite_test): Likewise.
44110         (floor_test): Likewise.
44111         (fma_test): Likewise.
44112         (fma_test_towardzero): Likewise.
44113         (fma_test_downward): Likewise.
44114         (fma_test_upward): Likewise.
44115         (fmax_test): Likewise.
44116         (fmin_test): Likewise.
44117         (fmod_test): Likewise.
44118         (fpclassify_test): Likewise.
44119         (frexp_test): Likewise.
44120         (gamma_test): Likewise.
44121         (hypot_test): Likewise.
44122         (ilogb_test): Likewise.
44123         (isfinite_test): Likewise.
44124         (isgreater_test): Likewise.
44125         (isgreaterequal_test): Likewise.
44126         (isinf_test): Likewise.
44127         (isless_test): Likewise.
44128         (islessequal_test): Likewise.
44129         (islessgreater_test): Likewise.
44130         (isnan_test): Likewise.
44131         (isnormal_test): Likewise.
44132         (issignaling_test): Likewise.
44133         (isunordered_test): Likewise.
44134         (j0_test): Likewise.
44135         (j1_test): Likewise.
44136         (jn_test): Likewise.
44137         (ldexp_test): Likewise.
44138         (lgamma_test): Likewise.
44139         (lrint_test): Likewise.
44140         (lrint_test_tonearest): Likewise.
44141         (lrint_test_towardzero): Likewise.
44142         (lrint_test_downward): Likewise.
44143         (lrint_test_upward): Likewise.
44144         (llrint_test): Likewise.
44145         (llrint_test_tonearest): Likewise.
44146         (llrint_test_towardzero): Likewise.
44147         (llrint_test_downward): Likewise.
44148         (llrint_test_upward): Likewise.
44149         (log_test): Likewise.
44150         (log10_test): Likewise.
44151         (log1p_test): Likewise.
44152         (log2_test): Likewise.
44153         (logb_test): Likewise.
44154         (logb_test_downward): Likewise.
44155         (lround_test): Likewise.
44156         (llround_test): Likewise.
44157         (modf_test): Likewise.
44158         (nearbyint_test): Likewise.
44159         (nextafter_test): Likewise.
44160         (nexttoward_test): Likewise.
44161         (pow_test): Likewise.
44162         (pow_test_tonearest): Likewise.
44163         (pow_test_towardzero): Likewise.
44164         (pow_test_downward): Likewise.
44165         (pow_test_upward): Likewise.
44166         (remainder_test): Likewise.
44167         (remainder_test_tonearest): Likewise.
44168         (remainder_test_towardzero): Likewise.
44169         (remainder_test_downward): Likewise.
44170         (remainder_test_upward): Likewise.
44171         (remquo_test): Likewise.
44172         (rint_test): Likewise.
44173         (rint_test_tonearest): Likewise.
44174         (rint_test_towardzero): Likewise.
44175         (rint_test_downward): Likewise.
44176         (rint_test_upward): Likewise.
44177         (round_test): Likewise.
44178         (scalb_test): Likewise.
44179         (scalbn_test): Likewise.
44180         (scalbln_test): Likewise.
44181         (signbit_test): Likewise.
44182         (sin_test): Likewise.
44183         (sin_test_tonearest): Likewise.
44184         (sin_test_towardzero): Likewise.
44185         (sin_test_downward): Likewise.
44186         (sin_test_upward): Likewise.
44187         (sincos_test): Likewise.
44188         (sinh_test): Likewise.
44189         (sinh_test_tonearest): Likewise.
44190         (sinh_test_towardzero): Likewise.
44191         (sinh_test_downward): Likewise.
44192         (sinh_test_upward): Likewise.
44193         (sqrt_test): Likewise.
44194         (tan_test): Likewise.
44195         (tan_test_tonearest): Likewise.
44196         (tan_test_towardzero): Likewise.
44197         (tan_test_downward): Likewise.
44198         (tan_test_upward): Likewise.
44199         (tanh_test): Likewise.
44200         (tgamma_test): Likewise.
44201         (trunc_test): Likewise.
44202         (y0_test): Likewise.
44203         (y1_test): Likewise.
44204         (yn_test): Likewise.
44205         (significand_test): Likewise.
44207 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44209         [BZ #15381]
44210         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44212 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44214         [BZ #14894]
44215         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44216         __ppc_mdoio and __ppc_mdoom.
44217         * manual/platform.texi: Document new functions __ppc_yield,
44218         __ppc_mdoio and __ppc_mdoom.
44220 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44222         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44223         (main): Mention "tls" pseudo-hwcap is legacy.
44224         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44226 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44228         * math/gen-libm-test.pl (parse_args): Output only string of
44229         arguments as text for test name, not full call or descriptions of
44230         tests for extra outputs.
44231         (generate_testfile): Do not pass function name to parse_args.
44232         Generate this_func variable from START.
44233         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44234         field to arg_str.
44235         (struct test_ff_f_data): Likewise.
44236         (test_ff_f_data_nexttoward): Likewise.
44237         (struct test_fi_f_data): Likewise.
44238         (struct test_fl_f_data): Likewise.
44239         (struct test_if_f_data): Likewise.
44240         (struct test_fff_f_data): Likewise.
44241         (struct test_c_f_data): Likewise.
44242         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44243         (struct test_fF_f1_data): Likewise.
44244         (struct test_ffI_f1_data): Likewise.
44245         (struct test_c_c_data): Rename test_name field to arg_str.
44246         (struct test_cc_c_data): Likewise.
44247         (struct test_f_i_data): Likewise.
44248         (struct test_ff_i_data): Likewise.
44249         (struct test_f_l_data): Likewise.
44250         (struct test_f_L_data): Likewise.
44251         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44252         and extra2_name.
44253         (COMMON_TEST_SETUP): New macro.
44254         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44255         (COMMON_TEST_CLEANUP): Likewise.
44256         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44257         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44258         macros.
44259         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44260         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44261         macros.
44262         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44263         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44264         cleanup macros.
44265         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44266         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44267         macros.
44268         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44269         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44270         macros.
44271         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44272         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44273         cleanup macros.
44274         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44275         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44276         cleanup macros.
44277         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44278         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44279         cleanup macros.
44280         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44281         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44282         macros.
44283         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44284         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44285         macros.
44286         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44287         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44288         macros.
44289         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44290         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44291         cleanup macros.
44292         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44293         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44294         cleanup macros.
44295         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44296         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44297         macros.
44298         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44299         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44300         cleanup macros.
44301         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44302         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44303         macros.
44304         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44305         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44306         macros.
44307         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44308         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44309         cleanup macros.
44310         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44312 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44314         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44315         to _sifields.sigfault.
44316         (si_addr_lsb): Define new macro.
44317         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44318         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44319         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44321 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44323         [BZ #15441]
44324         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44325         returns -1.
44326         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44327         null return -1.
44328         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44329         loading the domain.
44331 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44333         * math/gen-libm-test.pl (parse_args): Do not include expected
44334         result in test name.
44335         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44336         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44337         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44339         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44342 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44344         * benchtests/Makefile: Sort function entries.
44346         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44347         tanh, asinh, acosh, atanh.
44348         * benchtests/acos-inputs: New file.
44349         * benchtests/acosh-inputs: New file.
44350         * benchtests/asin-inputs: New file.
44351         * benchtests/asinh-inputs: New file.
44352         * benchtests/atanh-inputs: New file.
44353         * benchtests/cosh-inputs: New file.
44354         * benchtests/log-inputs: New file.
44355         * benchtests/sinh-inputs: New file.
44356         * benchtests/tanh-inputs: New file.
44358 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44360         [BZ #15339]
44361         * posix/tst-getaddrinfo4.c: New test.
44362         * posix/Makefile (tests): Add it.
44364 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44366         [BZ #15339]
44367         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44368         when no services were used.
44369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44370         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44372 2013-05-21  Andreas Schwab  <schwab@suse.de>
44374         [BZ #15014]
44375         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44376         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44377         successful.
44378         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44379         redundant variable declarations and reallocation of buffer when
44380         parsing as IPv6 address.  Always set NSS status when called from
44381         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
44382         buffer too small.  Correct computation of needed size.
44383         * nss/Makefile (tests): Add test-digits-dots.
44384         * nss/test-digits-dots.c: New test.
44386 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44388         * benchtests/Makefile: Remove instructions for adding
44389         benchmark tests.
44390         * benchtests/README: New file to explain how to execute and
44391         enhance the benchmark tests.
44393 2013-05-21  Andreas Schwab  <schwab@suse.de>
44395         [BZ #15493]
44396         * setjmp/Makefile (tests): Add tst-sigsetjmp.
44397         * setjmp/tst-sigsetjmp.c: New test.
44399 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44401         * sysdeps/x86_64/memset.S (memset): New implementation.
44402         (__bzero): Likewise.
44403         (__memset_tail): New function.
44405 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44407         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44408         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44409         __memcpy_sse2_unaligned ifunc selection.
44410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44411         Add memcpy-sse2-unaligned.S.
44412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44413         Add: __memcpy_sse2_unaligned.
44415 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
44417         [BZ #15490]
44418         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44419         math_force_eval before restoring floating-point envrionment.
44420         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44421         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44422         Likewise.
44423         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44424         <math_private.h>.
44425         (__nearbyintl): Use math_force_eval before restoring
44426         floating-point environment.
44427         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44429         * math/gen-libm-test.pl (special_functions): Remove.
44430         (parse_args): Don't handle TEST_extra.  Handle functions with no
44431         return value.
44432         * math/libm-test.inc (struct test_sincos_data): Replace with
44433         struct test_fFF_11_data.
44434         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44435         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44436         (sincos_test_data): Change element type to struct
44437         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44438         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44439         RUN_TEST_LOOP_sincos.
44440         * math/README.libm-test: Don't mention special handling of
44441         individual functions.
44442         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44443         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44444         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44445         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44446         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44449         * math/gen-libm-test.pl (get_variable): Remove function.
44450         (parse_args): Don't show pointer parameters to call in test
44451         names.  Use "extra output N" in test names for extra outputs
44452         rather than naming variables.
44454 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44456         [BZ #15488]
44457         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44458         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44459         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44460         double tests.
44461         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44462         disable.
44463         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44464         check_long_double.
44466         * math/gen-libm-test.pl (@tests): Remove variable.
44467         ($count): Likewise.
44468         (new_test): Remove function.
44469         (show_exceptions): New function.
44470         (special_functions): Use show_exceptions instead of new_test.
44471         (parse_args): Likewise.
44472         (generate_testfile): Pass only function name in generated call to
44473         print_max_error or print_complex_max_error.
44474         (get_ulps): Do not handle complex tests specially.
44475         (output_test): Rename to ...
44476         (get_all_ulps_for_test): ... this.  Return a string rather than
44477         printing to a file.  Require ulps to be present.
44478         (output_ulps): Generate arrays rather than #defines.
44479         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44480         (struct ulp_data): New type.
44481         (BUILD_COMPLEX_ULP): Remove macro.
44482         (compare_ulp_data): New function.
44483         (find_ulps): Likewise.
44484         (find_test_ulps): Likewise.
44485         (find_function_ulps): Likewise.
44486         (find_complex_function_ulps): Likewise.
44487         (print_max_error): Determine allowed ulps using
44488         find_function_ulps.
44489         (print_complex_max_error): Determine allowed ulps using
44490         find_complex_function_ulps.
44491         (check_float_internal): Determine max ulps using find_test_ulps.
44492         (check_float): Do not take max_ulp parameter.  Update call to
44493         check_float_internal.
44494         (check_complex): Likewise.
44495         (check_int): Do not take max_ulp parameter.
44496         (check_long): Likewise.
44497         (check_bool): Likewise.
44498         (check_longlong): Likewise.
44499         (struct test_f_f_data): Remove max_ulp field.
44500         (struct test_ff_f_data): Likewise.
44501         (struct test_ff_f_data_nexttoward): Likewise.
44502         (struct test_fi_f_data): Likewise.
44503         (struct test_fl_f_data): Likewise.
44504         (struct test_if_f_data): Likewise.
44505         (struct test_fff_f_data): Likewise.
44506         (struct test_c_f_data): Likewise.
44507         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44508         (struct test_fF_f1_data): Likewise.
44509         (struct test_ffI_f1_data): Likewise.
44510         (struct test_c_c_data): Remove max_ulp field.
44511         (struct test_cc_c_data): Likewise.
44512         (struct test_f_i_data): Likewise.
44513         (struct test_ff_i_data): Likewise.
44514         (struct test_f_l_data): Likewise.
44515         (struct test_f_L_data): Likewise.
44516         (struct test_sincos_data): Likewise.
44517         (RUN_TEST_f_f): Do not handle ulps.
44518         (RUN_TEST_LOOP_f_f): Likewise.
44519         (RUN_TEST_2_f): Likewise.
44520         (RUN_TEST_LOOP_2_f): Likewise.
44521         (RUN_TEST_fff_f): Likewise.
44522         (RUN_TEST_LOOP_fff_f): Likewise.
44523         (RUN_TEST_c_f): Likewise.
44524         (RUN_TEST_LOOP_c_f): Likewise.
44525         (RUN_TEST_f_f1): Likewise.
44526         (RUN_TEST_LOOP_f_f1): Likewise.
44527         (RUN_TEST_fF_f1): Likewise.
44528         (RUN_TEST_LOOP_fF_f1): Likewise.
44529         (RUN_TEST_fI_f1): Likewise.
44530         (RUN_TEST_LOOP_fI_f1): Likewise.
44531         (RUN_TEST_ffI_f1): Likewise.
44532         (RUN_TEST_LOOP_ffI_f1): Likewise.
44533         (RUN_TEST_c_c): Likewise.
44534         (RUN_TEST_LOOP_c_c): Likewise.
44535         (RUN_TEST_cc_c): Likewise.
44536         (RUN_TEST_LOOP_cc_c): Likewise.
44537         (RUN_TEST_f_i): Likewise.
44538         (RUN_TEST_LOOP_f_i): Likewise.
44539         (RUN_TEST_f_i_tg): Likewise.
44540         (RUN_TEST_LOOP_f_i_tg): Likewise.
44541         (RUN_TEST_ff_i_tg): Likewise.
44542         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44543         (RUN_TEST_f_b): Likewise.
44544         (RUN_TEST_LOOP_f_b): Likewise.
44545         (RUN_TEST_f_b_tg): Likewise.
44546         (RUN_TEST_LOOP_f_b_tg): Likewise.
44547         (RUN_TEST_f_l): Likewise.
44548         (RUN_TEST_LOOP_f_l): Likewise.
44549         (RUN_TEST_f_L): Likewise.
44550         (RUN_TEST_LOOP_f_L): Likewise.
44551         (RUN_TEST_sincos): Likewise.
44552         (RUN_TEST_LOOP_sincos): Likewise.
44554 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44556         [BZ #15480]
44557         [BZ #15485]
44558         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44559         main case of finite arguments, set rounding mode to FE_TONEAREST
44560         and discard exceptions.
44561         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44562         exceptions.
44563         (remainder_tonearest_test_data): New variable.
44564         (remainder_test_tonearest): New function.
44565         (remainder_towardzero_test_data): New variable.
44566         (remainder_test_towardzero): New function.
44567         (remainder_downward_test_data): New variable.
44568         (remainder_test_downward): New function.
44569         (remainder_upward_test_data): New variable.
44570         (remainder_test_upward): New function.
44571         (main): Call the new test functions.
44573         * math/libm-test.inc (struct test_f_f1_data): Remove field
44574         extra_init.
44575         (struct test_fF_f1_data): Likewise.
44576         (struct test_ffI_f1_data): Likewise.
44577         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44578         based on value of EXTRA_EXPECTED.
44579         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44580         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44581         EXTRA_VAR based on value of EXTRA_EXPECTED.
44582         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44583         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44584         EXTRA_VAR based on value of EXTRA_EXPECTED.
44585         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44586         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44587         EXTRA_VAR based on value of EXTRA_EXPECTED.
44588         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44589         * math/gen-libm-test.pl (parse_args): Don't output initializers
44590         for extra output values.
44592         * math/libm-test.inc (check_int): Expect result to be exactly
44593         equal to expected value and do not handle ulps.
44594         (check_long): Likewise.
44595         (check_longlong): Likewise.
44597         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44598         exceptions.
44599         (cimag_test_data): Likewise.
44600         (conj_test_data): Likewise.
44601         (copysign_test_data): Likewise.
44602         (cproj_test_data): Likewise.
44603         (creal_test_data): Likewise.
44604         (fabs_test_data): Likewise.
44605         (fdim_test_data): Likewise.
44606         (finite_test_data): Likewise.
44607         (floor_test_data): Likewise.
44608         (fmax_test_data): Likewise.
44609         (fmin_test_data): Likewise.
44610         (fmod_test_data): Likewise.
44611         (fpclassify_test_data): Likewise.
44612         (frexp_test_data): Likewise.
44613         (ilogb_test_data): Likewise.
44614         (isfinite_test_data): Likewise.
44615         (isgreater_test_data): Likewise.
44616         (isgreaterequal_test_data): Likewise.
44617         (isinf_test_data): Likewise.
44618         (isless_test_data): Likewise.
44619         (islessequal_test_data): Likewise.
44620         (islessgreater_test_data): Likewise.
44621         (isnan_test_data): Likewise.
44622         (isnormal_test_data): Likewise.
44623         (issignaling_test_data): Likewise.
44624         (isunordered_test_data): Likewise.
44625         (ldexp_test_data): Likewise.
44626         (lrint_test_data): Likewise.
44627         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44628         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44629         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44630         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44631         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44632         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44633         test input.
44634         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44635         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44636         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44637         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44638         that test input.
44639         (lrint_downward_test_data): Test for "inexact" exceptions.
44640         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44641         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44642         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44643         test input.
44644         (lrint_upward_test_data): Test for "inexact" exceptions.
44645         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44646         test input.
44647         (llrint_test_data): Test for "inexact" exceptions.
44648         (llrint_test_data) [TEST_FLOAT]: Disable one test.
44649         (llrint_tonearest_test_data): Test for "inexact" exceptions.
44650         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44651         (llrint_towardzero_test_data): Test for "inexact" exceptions.
44652         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44653         (llrint_downward_test_data): Test for "inexact" exceptions.
44654         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44655         (llrint_upward_test_data): Test for "inexact" exceptions.
44656         (logb_test_data): Likewise.
44657         (logb_downward_test_data): Likewise.
44658         (nextafter_test_data): Likewise.
44659         (nexttoward_test_data): Likewise.
44660         (remainder_test_data): Likewise.
44661         (remquo_test_data): Likewise.
44662         (scalbn_test_data): Likewise.
44663         (scalbln_test_data): Likewise.
44664         (signbit_test_data): Likewise.
44665         (sqrt_test_data): Likewise.
44666         (significand_test_data): Likewise.
44668 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44670         [BZ #15424]
44671         * benchtests/bench-modf.c (struct args): Mark arg0 as
44672         volatile.
44673         * scripts/bench.pl: Mark members of struct args as volatile.
44675 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44677         [BZ # 15497]
44678         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44679         negative infinity on POWER6 or lower.
44680         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44682 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44684         [BZ #15442]
44685         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44686         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44687         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44688         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44689         (_FP_SETQNAN): New macro.
44690         (_FP_SETQNAN_SEMIRAW): Likewise.
44691         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44692         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44693         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44694         (FP_EXTEND): Use _FP_FRAC_SNANP.
44695         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44696         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44697         into account.
44698         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44699         New macro.
44700         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44701         Likewise.
44703 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44705         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44706         with DIVIDE_BY_ZERO_EXCEPTION.
44707         (gamma_test_data): Likewise.
44708         (lgamma_test_data): Likewise.
44709         (log_test_data): Likewise.
44710         (log10_test_data): Likewise.
44711         (log2_test_data): Likewise.
44712         (tgamma_test_data): Likewise.
44714         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44715         (acos_test_tonearest): Likewise.
44716         (acos_test_towardzero): Likewise.
44717         (acos_test_downward): Likewise.
44718         (acos_test_upward): Likewise.
44719         (acosh_test): Likewise.
44720         (asin_test): Likewise.
44721         (asin_test_tonearest): Likewise.
44722         (asin_test_towardzero): Likewise.
44723         (asin_test_downward): Likewise.
44724         (asin_test_upward): Likewise.
44725         (asinh_test): Likewise.
44726         (atan_test): Likewise.
44727         (atanh_test): Likewise.
44728         (atan2_test): Likewise.
44729         (cabs_test): Likewise.
44730         (cacos_test): Likewise.
44731         (cacosh_test): Likewise.
44732         (casin_test): Likewise.
44733         (casinh_test): Likewise.
44734         (catan_test): Likewise.
44735         (catanh_test): Likewise.
44736         (cbrt_test): Likewise.
44737         (ccos_test): Likewise.
44738         (ccosh_test): Likewise.
44739         (cexp_test): Likewise.
44740         (clog_test): Likewise.
44741         (clog10_test): Likewise.
44742         (cos_test): Likewise.
44743         (cos_test_tonearest): Likewise.
44744         (cos_test_towardzero): Likewise.
44745         (cos_test_downward): Likewise.
44746         (cos_test_upward): Likewise.
44747         (cosh_test): Likewise.
44748         (cosh_test_tonearest): Likewise.
44749         (cosh_test_towardzero): Likewise.
44750         (cosh_test_downward): Likewise.
44751         (cosh_test_upward): Likewise.
44752         (cpow_test): Likewise.
44753         (csin_test): Likewise.
44754         (csinh_test): Likewise.
44755         (csqrt_test): Likewise.
44756         (ctan_test): Likewise.
44757         (ctan_test_tonearest): Likewise.
44758         (ctan_test_towardzero): Likewise.
44759         (ctan_test_downward): Likewise.
44760         (ctan_test_upward): Likewise.
44761         (ctanh_test): Likewise.
44762         (ctanh_test_tonearest): Likewise.
44763         (ctanh_test_towardzero): Likewise.
44764         (ctanh_test_downward): Likewise.
44765         (ctanh_test_upward): Likewise.
44766         (erf_test): Likewise.
44767         (erfc_test): Likewise.
44768         (exp_test): Likewise.
44769         (exp_test_tonearest): Likewise.
44770         (exp_test_towardzero): Likewise.
44771         (exp_test_downward): Likewise.
44772         (exp_test_upward): Likewise.
44773         (exp10_test): Likewise.
44774         (exp2_test): Likewise.
44775         (expm1_test): Likewise.
44776         (fmod_test): Likewise.
44777         (gamma_test): Likewise.
44778         (hypot_test): Likewise.
44779         (j0_test): Likewise.
44780         (j1_test): Likewise.
44781         (jn_test): Likewise.
44782         (lgamma_test): Likewise.
44783         (log_test): Likewise.
44784         (log10_test): Likewise.
44785         (log1p_test): Likewise.
44786         (log2_test): Likewise.
44787         (logb_test_downward): Likewise.
44788         (pow_test): Likewise.
44789         (pow_test_tonearest): Likewise.
44790         (pow_test_towardzero): Likewise.
44791         (pow_test_downward): Likewise.
44792         (pow_test_upward): Likewise.
44793         (remainder_test): Likewise.
44794         (remquo_test): Likewise.
44795         (sin_test): Likewise.
44796         (sin_test_tonearest): Likewise.
44797         (sin_test_towardzero): Likewise.
44798         (sin_test_downward): Likewise.
44799         (sin_test_upward): Likewise.
44800         (sincos_test): Likewise.
44801         (sinh_test): Likewise.
44802         (sinh_test_tonearest): Likewise.
44803         (sinh_test_towardzero): Likewise.
44804         (sinh_test_downward): Likewise.
44805         (sinh_test_upward): Likewise.
44806         (sqrt_test): Likewise.
44807         (tan_test): Likewise.
44808         (tan_test_tonearest): Likewise.
44809         (tan_test_towardzero): Likewise.
44810         (tan_test_downward): Likewise.
44811         (tan_test_upward): Likewise.
44812         (tanh_test): Likewise.
44813         (tgamma_test): Likewise.
44814         (y0_test): Likewise.
44815         (y1_test): Likewise.
44816         (yn_test): Likewise.
44818         * math/gen-libm-test.pl (adjust_arg): Remove function.
44819         (special_function): Remove argument $in_func.  Only handle
44820         generating output for tables of tests, not inside functions.
44821         (parse_args): Likewise.
44822         (generate_testfile): Remove variable $in_func.  Update call to
44823         parse_args.
44824         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44825         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44826         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44827         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44828         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44829         (MAX_VALUE_INIT): Rename macro to max_value.
44830         (MIN_VALUE_INIT): Rename macro to min_value.
44831         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44832         (plus_zero): Remove variable.
44833         (minus_zero): Likewise.
44834         (plus_infty): Likewise.
44835         (minus_infty): Likewise.
44836         (qnan_value): Likewise.
44837         (max_value): Likewise.
44838         (min_value): Likewise.
44839         (min_subnorm_value): Likewise.
44841 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44843         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44844         uint64_t or uint32_t usage.
44845         * crypt/sha256-block.c: Likewise.
44846         * crypt/sha256-crypt.c: Likewise.
44847         * crypt/sha256.c: Likewise.
44848         * crypt/sha512-block.c: Likewise.
44849         * crypt/sha512-crypt.c: Likewise.
44850         * crypt/sha512.c: Likewise.
44851         * debug/backtrace-tst.c: Likewise.
44852         * debug/pcprofiledump.c: Likewise.
44853         * elf/cache.c: Likewise.
44854         * elf/dl-cache.c: Likewise.
44855         * elf/dl-misc.c: Likewise.
44856         * elf/dl-profile.c: Likewise.
44857         * elf/dl-support.c: Likewise.
44858         * elf/ldconfig.c: Likewise.
44859         * elf/sprof.c: Likewise.
44860         * iconv/dummy-repertoire.c: Likewise.
44861         * iconv/iconv_charmap.c: Likewise.
44862         * iconv/skeleton.c: Likewise.
44863         * iconvdata/8bit-generic.c: Likewise.
44864         * iconvdata/cp737.h: Likewise.
44865         * iconvdata/cp775.h: Likewise.
44866         * iconvdata/ibm1008.h: Likewise.
44867         * iconvdata/ibm1025.h: Likewise.
44868         * iconvdata/ibm1046.h: Likewise.
44869         * iconvdata/ibm1097.h: Likewise.
44870         * iconvdata/ibm1112.h: Likewise.
44871         * iconvdata/ibm1122.h: Likewise.
44872         * iconvdata/ibm1123.h: Likewise.
44873         * iconvdata/ibm1124.h: Likewise.
44874         * iconvdata/ibm1129.h: Likewise.
44875         * iconvdata/ibm1130.h: Likewise.
44876         * iconvdata/ibm1132.h: Likewise.
44877         * iconvdata/ibm1133.h: Likewise.
44878         * iconvdata/ibm1137.h: Likewise.
44879         * iconvdata/ibm1140.h: Likewise.
44880         * iconvdata/ibm1141.h: Likewise.
44881         * iconvdata/ibm1142.h: Likewise.
44882         * iconvdata/ibm1143.h: Likewise.
44883         * iconvdata/ibm1144.h: Likewise.
44884         * iconvdata/ibm1145.h: Likewise.
44885         * iconvdata/ibm1146.h: Likewise.
44886         * iconvdata/ibm1147.h: Likewise.
44887         * iconvdata/ibm1148.h: Likewise.
44888         * iconvdata/ibm1149.h: Likewise.
44889         * iconvdata/ibm1153.h: Likewise.
44890         * iconvdata/ibm1154.h: Likewise.
44891         * iconvdata/ibm1155.h: Likewise.
44892         * iconvdata/ibm1156.h: Likewise.
44893         * iconvdata/ibm1157.h: Likewise.
44894         * iconvdata/ibm1158.h: Likewise.
44895         * iconvdata/ibm1160.h: Likewise.
44896         * iconvdata/ibm1161.h: Likewise.
44897         * iconvdata/ibm1162.h: Likewise.
44898         * iconvdata/ibm1163.h: Likewise.
44899         * iconvdata/ibm1164.h: Likewise.
44900         * iconvdata/ibm1166.h: Likewise.
44901         * iconvdata/ibm1167.h: Likewise.
44902         * iconvdata/ibm12712.h: Likewise.
44903         * iconvdata/ibm1390.h: Likewise.
44904         * iconvdata/ibm1399.h: Likewise.
44905         * iconvdata/ibm16804.h: Likewise.
44906         * iconvdata/ibm4517.h: Likewise.
44907         * iconvdata/ibm4899.h: Likewise.
44908         * iconvdata/ibm4909.h: Likewise.
44909         * iconvdata/ibm4971.h: Likewise.
44910         * iconvdata/ibm5347.h: Likewise.
44911         * iconvdata/ibm803.h: Likewise.
44912         * iconvdata/ibm856.h: Likewise.
44913         * iconvdata/ibm901.h: Likewise.
44914         * iconvdata/ibm902.h: Likewise.
44915         * iconvdata/ibm9030.h: Likewise.
44916         * iconvdata/ibm9066.h: Likewise.
44917         * iconvdata/ibm921.h: Likewise.
44918         * iconvdata/ibm922.h: Likewise.
44919         * iconvdata/ibm9448.h: Likewise.
44920         * iconvdata/isiri-3342.h: Likewise.
44921         * iconvdata/jis0201.h: Likewise.
44922         * include/link.h: Likewise.
44923         * include/netdb.h: Likewise.
44924         * inet/check_native.c: Likewise.
44925         * inet/check_pf.c: Likewise.
44926         * inet/getipv4sourcefilter.c: Likewise.
44927         * inet/getnameinfo.c: Likewise.
44928         * inet/getsourcefilter.c: Likewise.
44929         * inet/htonl.c: Likewise.
44930         * inet/setipv4sourcefilter.c: Likewise.
44931         * inet/setsourcefilter.c: Likewise.
44932         * inet/test-inet6_opt.c: Likewise.
44933         * inet/tst-network.c: Likewise.
44934         * locale/C-collate.c: Likewise.
44935         * locale/C-ctype.c: Likewise.
44936         * locale/C-time.c: Likewise.
44937         * locale/C-translit.h: Likewise.
44938         * locale/loadarchive.c: Likewise.
44939         * locale/programs/3level.h: Likewise.
44940         * locale/programs/charmap.c: Likewise.
44941         * locale/programs/charmap.h: Likewise.
44942         * locale/programs/ld-address.c: Likewise.
44943         * locale/programs/ld-collate.c: Likewise.
44944         * locale/programs/ld-ctype.c: Likewise.
44945         * locale/programs/ld-identification.c: Likewise.
44946         * locale/programs/ld-measurement.c: Likewise.
44947         * locale/programs/ld-messages.c: Likewise.
44948         * locale/programs/ld-monetary.c: Likewise.
44949         * locale/programs/ld-name.c: Likewise.
44950         * locale/programs/ld-numeric.c: Likewise.
44951         * locale/programs/ld-paper.c: Likewise.
44952         * locale/programs/ld-telephone.c: Likewise.
44953         * locale/programs/ld-time.c: Likewise.
44954         * locale/programs/linereader.c: Likewise.
44955         * locale/programs/locale.c: Likewise.
44956         * locale/programs/locarchive.c: Likewise.
44957         * locale/programs/locfile.h: Likewise.
44958         * locale/programs/repertoire.c: Likewise.
44959         * locale/programs/simple-hash.c: Likewise.
44960         * locale/programs/simple-hash.h: Likewise.
44961         * malloc/memusage.c: Likewise.
44962         * malloc/memusagestat.c: Likewise.
44963         * nis/nis_defaults.c: Likewise.
44964         * nis/nis_hash.c: Likewise.
44965         * nis/nis_print.c: Likewise.
44966         * nis/nis_xdr.c: Likewise.
44967         * nscd/connections.c: Likewise.
44968         * nscd/hstcache.c: Likewise.
44969         * nscd/nscd_gethst_r.c: Likewise.
44970         * nscd/nscd_getserv_r.c: Likewise.
44971         * nscd/nscd_helper.c: Likewise.
44972         * nscd/servicescache.c: Likewise.
44973         * nss/makedb.c: Likewise.
44974         * nss/nss_db/db-XXX.c: Likewise.
44975         * nss/nss_db/db-initgroups.c: Likewise.
44976         * nss/nss_db/db-netgrp.c: Likewise.
44977         * nss/nss_files/files-network.c: Likewise.
44978         * nss/nss_files/files-parse.c: Likewise.
44979         * posix/bug-regex5.c: Likewise.
44980         * posix/fnmatch_loop.c: Likewise.
44981         * posix/regcomp.c: Likewise.
44982         * posix/regexec.c: Likewise.
44983         * posix/tst-rfc3484-2.c: Likewise.
44984         * posix/tst-rfc3484-3.c: Likewise.
44985         * posix/tst-rfc3484.c: Likewise.
44986         * resolv/nss_dns/dns-canon.c: Likewise.
44987         * resolv/nss_dns/dns-network.c: Likewise.
44988         * resolv/res_init.c: Likewise.
44989         * resolv/res_mkquery.c: Likewise.
44990         * resolv/tst-aton.c: Likewise.
44991         * stdlib/cxa_atexit.c: Likewise.
44992         * stdlib/cxa_finalize.c: Likewise.
44993         * stdlib/gen-fpioconst.c: Likewise.
44994         * stdlib/strtol_l.c: Likewise.
44995         * string/tst-endian.c: Likewise.
44996         * sunrpc/auth_des.c: Likewise.
44997         * sunrpc/clnt_udp.c: Likewise.
44998         * sunrpc/rtime.c: Likewise.
44999         * sunrpc/svcauth_des.c: Likewise.
45000         * sunrpc/xdr.c: Likewise.
45001         * sunrpc/xdr_intXX_t.c: Likewise.
45002         * sunrpc/xdr_rec.c: Likewise.
45003         * sysdeps/generic/ldconfig.h: Likewise.
45004         * sysdeps/generic/ldsodefs.h: Likewise.
45005         * sysdeps/generic/memusage.h: Likewise.
45006         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45008         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45009         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45010         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45012         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45013         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45014         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45016         * sysdeps/posix/getaddrinfo.c: Likewise.
45017         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45018         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45019         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45020         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45021         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45022         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45023         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45024         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45025         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45026         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45027         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45028         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45029         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45030         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45031         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45032         * sysdeps/x86_64/dl-tls.h: Likewise.
45033         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45034         * time/alt_digit.c: Likewise.
45035         * time/era.c: Likewise.
45036         * wcsmbs/tst-c16c32-1.c: Likewise.
45038 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45040         * math/libm-test.inc (struct test_sincos_data): New type.
45041         (RUN_TEST_LOOP_sincos): New macro.
45042         (sincos_test_data): New variable.
45043         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45045 2013-05-16  Richard Henderson  <rth@redhat.com>
45047         * math/atest-exp2.c (LIMB64): New macro.
45048         (CONSTSZ): New macro.
45049         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45050         (hexdig): Move ...
45051         (print_mpn_fp): ... to function scope.
45052         (read_mpn_hex): Remove.
45053         (get_log2): Remove.
45054         (exp2_mpn): Use mp_log2.
45055         (main): Use mp_exp1.
45057 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45059         * math/libm-test.inc: Remove comment about not testing "inexact"
45060         exceptions.
45061         (INEXACT_EXCEPTION): New macro.
45062         (NO_INEXACT_EXCEPTION): Likewise.
45063         (INVALID_EXCEPTION_OK): Update value.
45064         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45065         (OVERFLOW_EXCEPTION_OK): Likewise.
45066         (UNDERFLOW_EXCEPTION_OK): Likewise.
45067         (IGNORE_ZERO_INF_SIGN): Likewise.
45068         (ERRNO_UNCHANGED): Likewise.
45069         (ERRNO_EDOM): Likewise.
45070         (ERRNO_ERANGE): Likewise.
45071         (test_exceptions): Handle testing "inexact" exceptions.
45072         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45073         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45074         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45075         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45076         INEXACT_EXCEPTION.
45077         (rint_towardzero_test_data): Likewise.
45078         (rint_downward_test_data): Likewise.
45079         (rint_upward_test_data): Likewise.
45081         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45082         with OVERFLOW_EXCEPTION.
45083         (exp10_test_data): Likewise.
45084         (exp2_test_data): Likewise.
45085         (expm1_test_data): Likewise.
45086         (lgamma_test_data): Likewise.
45087         (pow_test_data): Likewise.
45088         (tgamma_test_data): Likewise.
45089         (yn_test_data): Remove duplicate test of overflow.
45091         * math/libm-test.inc (struct test_cc_c_data): New type.
45092         (RUN_TEST_LOOP_cc_c): New macro.
45093         (cpow_test_data): New variable.
45094         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45096         * math/libm-test.inc (struct test_f_L_data): New type.
45097         (RUN_TEST_LOOP_f_L): New macro.
45098         (llrint_test_data): New variable.
45099         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45100         (llrint_tonearest_test_data): New variable.
45101         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45102         (llrint_towardzero_test_data): New variable.
45103         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45104         (llrint_downward_test_data): New variable.
45105         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45106         (llrint_upward_test_data): New variable.
45107         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45108         (llround_test_data): New variable.
45109         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45111 2013-05-13  Peter Collingbourne  <pcc@google.com>
45113         * math/atest-exp2.c (get_log2): Remove const attribute.
45115 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45117         * math/libm-test.inc (struct test_f_l_data): New type.
45118         (RUN_TEST_LOOP_f_l): New macro.
45119         (lrint_test_data): New variable.
45120         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45121         (lrint_tonearest_test_data): New variable.
45122         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45123         (lrint_towardzero_test_data): New variable.
45124         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45125         (lrint_downward_test_data): New variable.
45126         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45127         (lrint_upward_test_data): New variable.
45128         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45129         (lround_test_data): New variable.
45130         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45132 2013-05-15  Peter Collingbourne  <pcc@google.com>
45134         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45135         (EXTRACT_WORDS64) Use where appropriate.
45136         (INSERT_WORDS64) Likewise.
45138         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45139         constraints with x constraints.
45140         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45142         * malloc/obstack.c (_obstack_compat): Add initializer.
45144 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45146         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45147         si_trapno and add si_addr_lsb to _sifields.sigfault.
45148         (si_trapno): Remove macro.
45149         (si_addr_lsb): Define new macro.
45150         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45152 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45154         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45155         instead of TEST_f_l.
45156         (llrint_test_tonearest): Likewise.
45157         (llrint_test_towardzero): Likewise.
45158         (llrint_test_downward): Likewise.
45159         (llrint_test_upward): Likewise.
45160         (llround_test): Likewise.
45162         * math/libm-test.inc (struct test_f_i_data): Add comment.
45163         (RUN_TEST_LOOP_f_b): New macro.
45164         (RUN_TEST_LOOP_f_b_tg): Likewise.
45165         (finite_test_data): New variable.
45166         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45167         (isfinite_test_data): New variable.
45168         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45169         (isinf_test_data): New variable.
45170         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45171         (isnan_test_data): New variable.
45172         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45173         (isnormal_test_data): New variable.
45174         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45175         (issignaling_test_data): New variable.
45176         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45177         (signbit_test_data): New variable.
45178         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45180         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45181         with INVALID_EXCEPTION.
45182         (acosh_test_data): Likewise.
45183         (asin_test_data): Likewise.
45184         (atanh_test_data): Likewise.
45185         (fmod_test_data): Likewise.
45186         (log_test_data): Likewise.
45187         (log10_test_data): Likewise.
45188         (log2_test_data): Likewise.
45189         (pow_test_data): Likewise.
45190         (sqrt_test_data): Likewise.
45191         (y0_test_data): Likewise.
45192         (y1_test_data): Likewise.
45193         (yn_test_data): Likewise.
45195         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45196         function contents.
45198         * math/libm-test.inc (struct test_ff_i_data): New type.
45199         (RUN_TEST_LOOP_ff_i_tg): New macro.
45200         (isgreater_test_data): New variable.
45201         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45202         (isgreaterequal_test_data): New variable.
45203         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45204         (isless_test_data): New variable.
45205         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45206         (islessequal_test_data): New variable.
45207         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45208         (islessgreater_test_data): New variable.
45209         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45210         (isunordered_test_data): New variable.
45211         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45213 2013-05-14  David S. Miller  <davem@davemloft.net>
45215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45217 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45219         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45221         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45222         extra_test to int.
45223         (struct test_f_i_data): Change type of max_ulp to int.
45225         * math/libm-test.inc (test_ffI_f1_data): New type.
45226         (RUN_TEST_LOOP_ffI_f1): New macro.
45227         (remquo_test_data): New variable.
45228         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45230         * setjmp/tst-setjmp-fp.c: New file.
45231         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45232         (link-libm): New variable.
45233         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45235         * math/libm-test.inc (struct test_f_i_data): New type.
45236         (RUN_TEST_LOOP_f_i): New macro.
45237         (RUN_TEST_LOOP_f_i_tg): Likewise.
45238         (fpclassify_test_data): New variable.
45239         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45240         (ilogb_test_data): New variable.
45241         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45243         * math/libm-test.inc (scalbln_test): Correct function name in END
45244         call.
45246         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45247         (RUN_TEST_LOOP_fI_f1): New macro.
45248         (frexp_test_data): New variable.
45249         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45251         * math/libm-test.inc (struct test_fF_f1_data): New type.
45252         (RUN_TEST_LOOP_fF_f1): New macro.
45253         (modf_test_data): New variable.
45254         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45256         * math/libm-test.inc (struct test_f_f1_data): New type.
45257         (RUN_TEST_LOOP_f_f1): New macro.
45258         (gamma_test_data): New variable.
45259         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45260         (lgamma_test_data): New variable.
45261         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45263 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45265         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45266         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45267         (main): Comment "tls" pseudo-hwcap.
45269 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45271         * math/libm-test.inc (struct test_fl_f_data): New type.
45272         (RUN_TEST_LOOP_fl_f): New variable.
45273         (scalbln_test_data): New variable.
45274         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45276         * math/libm-test.inc (struct test_fi_f_data): New type.
45277         (RUN_TEST_LOOP_fi_f): New macro.
45278         (ldexp_test_data): New variable.
45279         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45280         (scalbn_test_data): New variable.
45281         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45283         * math/libm-test.inc (struct test_c_f_data): New type.
45284         (RUN_TEST_LOOP_c_f): New macro.
45285         (cabs_test_data): New variable.
45286         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45287         (carg_test_data): New variable.
45288         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45289         (cimag_test_data): New variable.
45290         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45291         (creal_test_data): New variable.
45292         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45294         * math/libm-test.inc (struct test_if_f_data): New type.
45295         (RUN_TEST_LOOP_if_f): New macro.
45296         (jn_test_data): New variable.
45297         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45298         (yn_test_data): New variable.
45299         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45301         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45303 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45305         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45306         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45308 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45310         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45311         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45312         (bench-deps): Add bench-timing.h.
45313         * benchtests-bench-skeleton.c: Include bench-timing.h.
45314         (main): Use TIMING_* macros instead of clock_gettime.
45315         * benchtests/bench-timing.h: New file.
45317         [BZ #14582]
45318         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45319         Renamed from _LIB_VERSION.
45320         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45322 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45324         * math/libm-test.inc (struct test_fff_f_data): New type.
45325         (RUN_TEST_LOOP_fff_f): New macro.
45326         (fma_test_data): New variable.
45327         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45328         (fma_towardzero_test_data): New variable.
45329         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45330         (fma_downward_test_data): New variable.
45331         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45332         (fma_upward_test_data): New variable.
45333         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45335         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45336         (struct test_c_c_data): New type.
45337         (RUN_TEST_LOOP_c_c): New macro.
45338         (cacos_test_data): New variable.
45339         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45340         (cacosh_test_data): New variable.
45341         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45342         (casin_test_data): New variable.
45343         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45344         (casinh_test_data): New variable.
45345         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45346         (catan_test_data): New variable.
45347         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45348         (catanh_test_data): New variable.
45349         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45350         (ccos_test_data): New variable.
45351         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45352         (ccosh_test_data): New variable.
45353         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45354         (cexp_test_data): New variable.
45355         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45356         (clog_test_data): New variable.
45357         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45358         (clog10_test_data): New variable.
45359         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45360         (conj_test_data): New variable.
45361         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45362         (cproj_test_data): New variable.
45363         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45364         (csin_test_data): New variable.
45365         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45366         (csinh_test_data): New variable.
45367         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45368         (csqrt_test_data): New variable.
45369         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45370         (ctan_test_data): New variable.
45371         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45372         (ctan_tonearest_test_data): New variable.
45373         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45374         (ctan_towardzero_test_data): New variable.
45375         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45376         (ctan_downward_test_data): New variable.
45377         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45378         (ctan_upward_test_data): New variable.
45379         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45380         (ctanh_test_data): New variable.
45381         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45382         (ctanh_tonearest_test_data): New variable.
45383         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45384         (ctanh_towardzero_test_data): New variable.
45385         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45386         (ctanh_downward_test_data): New variable.
45387         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45388         (ctanh_upward_test_data): New variable.
45389         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45390         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45391         of BUILD_COMPLEX.
45393         * math/libm-test.inc (struct test_ff_f_data): New type.
45394         (struct test_ff_f_data_nexttoward): Likewise.
45395         (RUN_TEST_LOOP_2_f): New macro.
45396         (RUN_TEST_LOOP_ff_f): Likewise.
45397         (atan2_test_data): New variable.
45398         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45399         (copysign_test_data): New variable.
45400         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45401         (fdim_test_data): New variable.
45402         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45403         (fmax_test_data): New variable.
45404         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45405         (fmin_test_data): New variable.
45406         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45407         (fmod_test_data): New variable.
45408         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45409         (hypot_test_data): New variable.
45410         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45411         (nextafter_test_data): New variable.
45412         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45413         (nexttoward_test_data): New variable.
45414         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45415         (pow_test_data): New variable.
45416         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45417         (pow_tonearest_test_data): New variable.
45418         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45419         (pow_towardzero_test_data): New variable.
45420         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45421         (pow_downward_test_data): New variable.
45422         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45423         (pow_upward_test_data): New variable.
45424         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45425         (remainder_test_data): New variable.
45426         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45427         (scalb_test_data): New variable.
45428         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45429         * sysdeps/i386/fpu/libm-test-ulps: Update.
45431 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45433         * math/libm-test.inc (fma_test): Use max_value instead of local
45434         variable fltmax.
45435         (nextafter_test): Likewise.
45437         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45438         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45439         (acos_downward_test_data): New variable.
45440         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45441         (acos_upward_test_data): New variable.
45442         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45443         (acosh_test_data): New variable.
45444         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45445         (asin_test_data): New variable.
45446         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45447         (asin_tonearest_test_data): New variable.
45448         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45449         (asin_towardzero_test_data): New variable.
45450         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45451         (asin_downward_test_data): New variable.
45452         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45453         (asin_upward_test_data): New variable.
45454         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45455         (asinh_test_data): New variable.
45456         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45457         (atan_test_data): New variable.
45458         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45459         (atanh_test_data): New variable.
45460         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45461         (cbrt_test_data): New variable.
45462         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45463         (ceil_test_data): New variable.
45464         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45465         (cos_test_data): New variable.
45466         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45467         (cos_tonearest_test_data): New variable.
45468         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45469         (cos_towardzero_test_data): New variable.
45470         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45471         (cos_downward_test_data): New variable.
45472         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45473         (cos_upward_test_data): New variable.
45474         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45475         (cosh_test_data): New variable.
45476         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45477         (cosh_tonearest_test_data): New variable.
45478         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45479         (cosh_towardzero_test_data): New variable.
45480         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45481         (cosh_downward_test_data): New variable.
45482         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45483         (cosh_upward_test_data): New variable.
45484         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45485         (erf_test_data): New variable.
45486         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45487         (erfc_test_data): New variable.
45488         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45489         (exp_test_data): New variable.
45490         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45491         (exp_tonearest_test_data): New variable.
45492         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45493         (exp_towardzero_test_data): New variable.
45494         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45495         (exp_downward_test_data): New variable.
45496         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45497         (exp_upward_test_data): New variable.
45498         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45499         (exp10_test_data): New variable.
45500         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45501         (exp2_test_data): New variable.
45502         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45503         (expm1_test_data): New variable.
45504         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45505         (fabs_test_data): New variable.
45506         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45507         (floor_test_data): New variable.
45508         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45509         (j0_test_data): New variable.
45510         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45511         (j1_test_data): New variable.
45512         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45513         (log_test_data): New variable.
45514         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45515         (log10_test_data): New variable.
45516         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45517         (log1p_test_data): New variable.
45518         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45519         (log2_test_data): New variable.
45520         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45521         (logb_test_data): New variable.
45522         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45523         (logb_downward_test_data): New variable.
45524         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45525         (nearbyint_test_data): New variable.
45526         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45527         (rint_test_data): New variable.
45528         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45529         (rint_tonearest_test_data): New variable.
45530         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45531         (rint_towardzero_test_data): New variable.
45532         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45533         (rint_downward_test_data): New variable.
45534         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45535         (rint_upward_test_data): New variable.
45536         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45537         (round_test_data): New variable.
45538         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45539         (sin_test_data): New variable.
45540         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45541         (sin_tonearest_test_data): New variable.
45542         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45543         (sin_towardzero_test_data): New variable.
45544         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45545         (sin_downward_test_data): New variable.
45546         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45547         (sin_upward_test_data): New variable.
45548         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45549         (sinh_test_data): New variable.
45550         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45551         (sinh_tonearest_test_data): New variable.
45552         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45553         (sinh_towardzero_test_data): New variable.
45554         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45555         (sinh_downward_test_data): New variable.
45556         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45557         (sinh_upward_test_data): New variable.
45558         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45559         (sqrt_test_data): New variable.
45560         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45561         (tan_test_data): New variable.
45562         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45563         (tan_tonearest_test_data): New variable.
45564         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45565         (tan_towardzero_test_data): New variable.
45566         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45567         (tan_downward_test_data): New variable.
45568         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45569         (tan_upward_test_data): New variable.
45570         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45571         (tanh_test_data): New variable.
45572         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45573         (tgamma_test_data): New variable.
45574         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45575         (trunc_test_data): New variable.
45576         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45577         (y0_test_data): New variable.
45578         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45579         (y1_test_data): New variable.
45580         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45581         (significand_test_data): New variable.
45582         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45584 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45586         [BZ #12387]
45587         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45589 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45591         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45593 2013-05-10  Andreas Jaeger  <aj@suse.de>
45595         [BZ #15448]
45596         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45597         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45599 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45601         * math/gen-libm-test.pl (adjust_arg): New function.
45602         (special_functions): Handle generating output in both functions
45603         and arrays.
45604         (parse_args): Likewise.
45605         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45606         $in_func argument to parse_args.
45607         * math/libm-test.inc (struct test_f_f_data): New type.
45608         (IF_ROUND_INIT_): New macro.
45609         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45610         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45611         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45612         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45613         (ROUND_RESTORE_): Likewise.
45614         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45615         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45616         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45617         (ROUND_RESTORE_FE_UPWARD): Likewise.
45618         (RUN_TEST_LOOP_f_f): New macro.
45619         (acos_test_data): New variable.
45620         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45621         (acos_tonearest_test_data): New variable.
45622         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45624 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45626         * benchtests/bench-skeleton.c (startup): Fix coding style.
45628 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45630         [BZ #6809]
45631         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45632         negative infinity argument.
45633         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45634         negative infinity argument.
45635         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45636         negative infinity argument.
45637         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45638         domain errors.
45640 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45642         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45643         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45644         * iconv/iconv_prog.c (main): Likewise.
45645         * locale/programs/charmap-dir.c (charmap_readdir)
45646         (fopen_uncompressed): Likewise.
45647         * locale/programs/locfile.c (siblings_uncached)
45648         (write_locale_data): Use lstat64 instead of lstat.
45649         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45650         stat.
45652 2013-05-10  Andreas Jaeger  <aj@suse.de>
45654         [BZ #15395]
45655         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45656         localization.
45657         Include <locale.h>.
45659 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45661         * elf/dl-close.c (_dl_close_worker): Add comments.
45663 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45665         [BZ #15359]
45666         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45667         high part of pi/2.
45668         (__ieee754_rem_pio2l): Update comments.
45670         [BZ #15429]
45671         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45672         high part of pi/2.
45673         (__ieee754_rem_pio2l): Update comments.
45675         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45676         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45678         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45679         M_PI_4l.
45681         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45682         (M_PI_34_LOG10El): Likewise.
45683         (M_PI2_LOG10El): Likewise.
45684         (M_PI4_LOG10El): Likewise.
45685         (M_PI_LOG10El): Likewise.
45687 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45691 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45693         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45694         (MINUS_ZERO_INIT): Likewise.
45695         (PLUS_INFTY_INIT): Likewise.
45696         (MINUS_INFTY_INIT): Likewise.
45697         (QNAN_VALUE_INIT): Likewise.
45698         (MAX_VALUE_INIT): Likewise.
45699         (MIN_VALUE_INIT): Likewise.
45700         (MIN_SUBNORM_VALUE_INIT): Likewise.
45701         (plus_zero): Initialize with PLUS_ZERO_INIT.
45702         (minus_zero): Initialize with MINUS_ZERO_INIT.
45703         (plus_infty): Initialize with PLUS_INFTY_INIT.
45704         (minus_infty): Initialize with MINUS_INFTY_INIT.
45705         (qnan_value): Initialize with QNAN_VALUE_INIT.
45706         (max_value): Initialize with MAX_VALUE_INIT.
45707         (min_value): Initialize with MIN_VALUE_INIT.
45708         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45710         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45711         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45712         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45713         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45715         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45716         (RUN_TEST_2_f): Likewise.
45717         (RUN_TEST_ff_f): Likewise.
45718         (RUN_TEST_fi_f): Likewise.
45719         (RUN_TEST_fl_f): Likewise.
45720         (RUN_TEST_fff_f): Likewise.
45721         (RUN_TEST_c_f): Likewise.
45722         (RUN_TEST_f_f1): Likewise.
45723         (RUN_TEST_fF_f1): Likewise.
45724         (RUN_TEST_fI_f1): Likewise.
45725         (RUN_TEST_ffI_f1): Likewise.
45726         (RUN_TEST_c_c): Likewise.
45727         (RUN_TEST_cc_c): Likewise.
45728         (RUN_TEST_f_i): Likewise.
45729         (RUN_TEST_f_i_tg): Likewise.
45730         (RUN_TEST_ff_i_tg): Likewise.
45731         (RUN_TEST_f_b): Likewise.
45732         (RUN_TEST_f_b_tg): Likewise.
45733         (RUN_TEST_f_l): Likewise.
45734         (RUN_TEST_f_L): Likewise.
45735         (RUN_TEST_sincos): Likewise.
45736         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45737         whether to show exceptions.  Do not include ");\n" in return
45738         value.
45739         (special_functions): Output call to RUN_TEST_sincos instead of
45740         check_float calls.  Update calls to new_test.
45741         (parse_args): Output call to single RUN_TEST_* macro instead of
45742         check_* calls and other assignments.  Update calls to new_test.
45744         [BZ #2546]
45745         [BZ #2560]
45746         [BZ #5159]
45747         [BZ #15426]
45748         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45749         input to result for tgamma overflow.
45750         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45751         (gamma_coeff): New variable.
45752         (NCOEFF): New macro.
45753         (gamma_positive): New function.
45754         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45755         underflow here.  Use gamma_positive instead of exp (lgamma) for
45756         other arguments.
45757         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45758         (gamma_coeff): New variable.
45759         (NCOEFF): New macro.
45760         (gammaf_positive): New function.
45761         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45762         underflow here.  Use gamma_positive instead of exp (lgamma) for
45763         other arguments.
45764         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45765         (gamma_coeff): New variable.
45766         (NCOEFF): New macro.
45767         (gammal_positive): New function.
45768         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45769         underflow here.  Use gamma_positive instead of exp (lgamma) for
45770         other arguments.
45771         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45772         (gamma_coeff): New variable.
45773         (NCOEFF): New macro.
45774         (gammal_positive): New function.
45775         (__ieee754_gammal_r): Handle positive infinity, overflow and
45776         underflow here.  Handle NaN the same as positive infinity.  Remove
45777         check x < 0xffffffff for negative integers.  Use gamma_positive
45778         instead of exp (lgamma) for other arguments.
45779         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45780         (gamma_coeff): New variable.
45781         (NCOEFF): New macro.
45782         (gammal_positive): New function.
45783         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45784         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45785         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45787         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45788         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45789         * sysdeps/generic/math_private.h (__gamma_productf): New
45790         prototype.
45791         (__gamma_product): Likewise.
45792         (__gamma_productl): Likewise.
45793         * math/Makefile (libm-calls): Add gamma_product.
45794         * math/libm-test.inc (tgamma_test): Add more tests.
45795         * sysdeps/i386/fpu/libm-test-ulps: Update.
45796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45798 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45800         * benchtests/bench-skeleton.c (main): Preheat CPU.
45802 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45804         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45806 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45808         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45809         and _dl_skip_args_internal.
45811 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45813         * manual/message.texi (Message Translation): Talk about users.
45814         Message to key mapping impacts design.
45816 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45818         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45820         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45822         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45823         * sysdeps/wordsize-64/glob64.c: ... here.
45825         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45826         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45827         New macros.
45829         * debug/getlogin_r_chk.c: Moved to ...
45830         * login/getlogin_r_chk.c: ... here.
45831         * debug/Makefile (routines): Move getlogin_r_chk to ...
45832         * login/Makefile (routines): ... here.
45833         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45834         * login/Versions (libc: GLIBC_2.4): ... here.
45836         * io/poll.c (__poll): Renamed from poll.
45837         Add libc_hidden_def.
45838         (poll): Define as weak alias.
45840         * debug/ptsname_r_chk.c: Moved to ...
45841         * login/ptsname_r_chk.c: ... here.
45842         * debug/Makefile (routines): Move ptsname_r_chk to ...
45843         * login/Makefile (routines): ... here.
45844         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45845         * login/Versions (libc: GLIBC_2.4): ... here.
45847         * posix/getlogin.c: Moved to ...
45848         * login/getlogin.c: ... here.
45849         * posix/getlogin_r.c: Moved to ...
45850         * login/getlogin_r.c: ... here.
45851         * posix/getlogin_r.c: Moved to ...
45852         * login/getlogin_r.c: ... here.
45853         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45854         * login/Makefile (routines): ... here.
45855         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45856         * login/Versions (libc: GLIBC_2.0): ... here.
45858         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45859         (setrlimit): Define as weak alias.
45861         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45862         Call __ names for open, ftruncate, and close.
45863         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45864         (truncate): Define as weak alias.
45866 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45868         * math/gen-libm-test.pl (parse_args): Initialize x before each
45869         test of frexp, modf and remquo.
45871         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45872         test signgam value.
45874 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45876         [BZ #15418]
45877         [BZ #15419]
45878         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45879         internal tests.
45880         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45882 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45884         * elf/dl-writev.h: New file.
45885         * elf/dl-misc.c: Include it.
45886         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45887         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45889 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45891         * math/libm-test.inc (noXFails): Remove variable.
45892         (noXPasses): Likewise.
45893         (BUILD_COMPLEX_INT): Remove macro.
45894         (print_screen): Remove xfail argument.
45895         (print_screen_max_error): Likewise.
45896         (update_stats): Likewise.
45897         (print_max_error): Likewise.  Update calls to other affected
45898         functions.
45899         (print_complex_max_error): Likewise.
45900         (test_single_exception): Update calls to print_screen.
45901         (test_single_errno): Likewise.
45902         (check_float_internal): Remove xfail argument.  Update calls to
45903         other affected functions.
45904         (check_float): Likewise.
45905         (check_complex): Likewise.
45906         (check_int): Likewise.
45907         (check_long): Likewise.
45908         (check_bool): Likewise.
45909         (check_longlong): Likewise.
45910         (main): Don't print noXFails and noXPasses.
45911         * math/gen-libm-test.pl (top level): Don't mention expected
45912         failure handling in comment.
45913         (new_test): Don't handle expected failures.
45914         (parse_args): Don't mention expected failure handling in comment.
45915         (generate_testfile): Don't handle expected failures.
45916         (parse_ulps): Likewise.
45917         (print_ulps_file): Likewise.
45918         (get_failure): Remove function.
45919         (output_test): Don't handle expected failures.
45920         * make/README.libm-test: Don't mention expected failure handling.
45922         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45923         (minus_zero): Likewise.
45924         (plus_infty): Likewise.
45925         (minus_infty): Likewise.
45926         (qnan_value): Likewise.
45927         (max_value): Likewise.
45928         (min_value): Likewise.
45929         (min_subnorm_value): Likewise.
45930         (initialize): Do not initialize those variables dynamically.
45932 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45934         * io/open.c (__open_2): Moved to ...
45935         * io/open_2.c: ... this new file.
45936         * io/open64.c (__open64_2): Moved to ...
45937         * io/open64_2.c: ... this new file.
45938         * io/openat.c (__openat_2): Moved to ...
45939         * io/openat_2.c: ... this new file.
45940         * io/openat64.c (__openat64_2): Moved to ...
45941         * io/openat64_2.c: ... this new file.
45942         * io/Makefile (routines): Add them.
45943         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45944         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45945         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45946         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45947         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45948         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45949         (__openat64): Add hidden_ver.
45950         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45951         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45953         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45954         Separately conditionalize setting of GLRO(dl_sysinfo) so
45955         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45956         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45958 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45960         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45962         definition.
45963         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45964         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45965         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45966         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45967         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45969 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45971         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45972         test signgam value.
45974         * math/libm-test.inc (hypot_test): Do not use
45975         IGNORE_ZERO_INF_SIGN.
45977 2013-05-03  Andreas Jaeger  <aj@suse.de>
45979         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45980         Linux 3.9.
45981         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45982         (PF_MAX): Adjust for VSOCK change.
45984 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45988 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45990         [BZ #15264]
45991         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45992         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45993         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45995 2013-05-02  David S. Miller  <davem@davemloft.net>
45997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45999 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46001         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46003 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46005         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46007 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46009         [BZ #14952]
46010         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46011         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46012         Use __attribute__ ((__gnu_inline__)).
46013         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46014         Don't use __attribute__ ((__gnu_inline__)).
46016 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46018         [BZ #15423]
46019         * math/s_catan.c (__catan): Handle small real or imaginary part of
46020         input specially to avoid spurious underflow.
46021         * math/s_catanf.c (__catanf): Likewise.
46022         * math/s_catanh.c (__catanh): Likewise.
46023         * math/s_catanhf.c (__catanhf): Likewise.
46024         * math/s_catanhl.c (__catanhl): Likewise.
46025         * math/s_catanl.c (__catanl): Likewise.
46026         * math/libm-test.inc (catan_test): Add more tests.
46027         (catanh_test): Likewise.
46028         * sysdeps/i386/fpu/libm-test-ulps: Update.
46029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46031 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46035 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46037         [BZ #15416]
46038         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46039         accurately for denominator in atan2.
46040         * math/s_catanf.c (__catanf): Likewise.
46041         * math/s_catanh.c (__catanh): Likewise.
46042         * math/s_catanhf.c (__catanhf): Likewise.
46043         * math/s_catanhl.c (__catanhl): Likewise.
46044         * math/s_catanl.c (__catanl): Likewise.
46045         * math/libm-test.inc (catan_test): Add more tests.
46046         (catanh_test): Likewise.
46047         * sysdeps/i386/fpu/libm-test-ulps: Update.
46048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46050 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46052         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46054         * benchtests/Makefile (bench): Remove slow benchmarks.
46055         * benchtests/atan-inputs: Add slow benchmark inputs.
46056         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46057         (BENCH_FUNC): Accept variant offset.
46058         (VARIANT): Define.
46059         * benchtests/bench-skeleton.c (main): Run benchmark for each
46060         variant.
46061         * benchtests/cos-inputs: Add slow benchmark inputs.
46062         * benchtests/exp-inputs: Likewise.
46063         * benchtests/pow-inputs: Likewise.
46064         * benchtests/sin-inputs: Likewise.
46065         * benchtests/slowatan-inputs: Remove.
46066         * benchtests/slowatan.c: Remove.
46067         * benchtests/slowcos-inputs: Remove.
46068         * benchtests/slowcos.c: Remove.
46069         * benchtests/slowexp-inputs: Remove.
46070         * benchtests/slowexp.c: Remove.
46071         * benchtests/slowpow-inputs: Remove.
46072         * benchtests/slowpow.c: Remove.
46073         * benchtests/slowsin-inputs: Remove.
46074         * benchtests/slowsin.c: Remove.
46075         * benchtests/slowtan-inputs: Remove.
46076         * benchtests/slowtan.c: Remove.
46077         * benchtests/tan-inputs: Add slow benchmark inputs.
46078         * scripts/bench.pl: Parse comments and directives.
46080         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46081         in CPPFLAGS.
46082         ($(objpfx)bench-%.c): Remove *-ITER.
46083         * benchtests/bench-modf.c: Remove definition of ITER.
46084         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46085         (main): Loop for DURATION seconds instead of fixed number of
46086         iterations.
46087         * scripts/bench.pl: Don't expect iterations in parameters.
46089 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46091         * io/fchdir.c (__fchdir): Renamed from fchdir.
46092         (fchdir): Define as weak alias.
46094 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46096         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46097         (ERRNO_EDOM): Likewise.
46098         (ERRNO_ERANGE): Likewise.
46099         (noErrnoTests): New variable.
46100         (init_max_error): Set errno to 0.
46101         (test_single_errno): New function.
46102         (test_errno): Likewise.
46103         (check_float_internal): Call test_errno.  Set errno to 0.
46104         (check_complex): Refer to errno tests in comment.
46105         (check_int): Call test_errno.  Set errno to 0.
46106         (check_long): Likewise.
46107         (check_bool): Likewise.
46108         (check_longlong): Likewise.
46109         (cos_test): Use ERRNO_* flags for errno tests instead of
46110         check_int.
46111         (expm1_test): Likewise.
46112         (fmod_test): Likewise.
46113         (ilogb_test): Likewise.
46114         (lgamma_test): Likewise.
46115         (pow_test): Likewise.
46116         (remainder_test): Likewise.
46117         (sin_test): Likewise.
46118         (tan_test): Likewise.
46119         (yn_test): Likewise.
46120         (initialize): Set errno to 0.
46121         (main): Print number of errno tests.
46122         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46124 2013-04-29  Andreas Jaeger  <aj@suse.de>
46126         [BZ #15084]
46127         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46128         and RES_USEVC.
46130         [BZ #15085]
46131         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46132         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46133         unimplemented.
46135         [BZ #15380]
46136         * stdlib/random.c (__initstate): Return NULL if
46137         __initstate fails.
46139         [BZ #15086]
46140         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46141         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46142         RES_SNGLKUPREOP.
46144 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46148 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46150         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46151         of individual tests.
46152         (casin_test): Likewise.
46153         (casinh_test): Likewise.
46155 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46157         [BZ #15409]
46158         * math/s_catan.c (__catan): Handle arguments with large real or
46159         imaginary part separately without squaring.
46160         * math/s_catanf.c (__catanf): Likewise.
46161         * math/s_catanh.c (__catanh): Likewise.
46162         * math/s_catanhf.c (__catanhf): Likewise.
46163         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46164         and redefine.
46165         (__catanhl): Handle arguments with large real or imaginary part
46166         separately without squaring.
46167         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46168         and redefine.
46169         (__catanl): Handle arguments with large real or imaginary part
46170         separately without squaring.
46171         * math/libm-test.inc (catan_test): Add more tests.
46172         (catanh_test): Likewise.
46173         * sysdeps/i386/fpu/libm-test-ulps: Update.
46174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46176 2013-04-27  Andreas Jaeger  <aj@suse.de>
46178         [BZ #15007]
46179         * stdlib/stdlib.h: Update guards for qecvt.
46180         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46181         <stdlib.h>.
46183 2013-04-27  Allan McRae  <allan@archlinux.org>
46185         * sysdeps/i386/fpu/libm-test-ulps: Update.
46187 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46189         [BZ #15406]
46190         * math/s_catan.c: Include <float.h>.
46191         (__catan): Ensure underflow exception occurs for underflowed
46192         result.
46193         * math/s_catanf.c: Include <float.h>.
46194         (__catanf): Ensure underflow exception occurs for underflowed
46195         result.
46196         * math/s_catanh.c: Include <float.h>.
46197         (__catanh): Ensure underflow exception occurs for underflowed
46198         result.
46199         * math/s_catanhf.c: Include <float.h>.
46200         (__catanhf): Ensure underflow exception occurs for underflowed
46201         result.
46202         * math/s_catanhl.c: Include <float.h>.
46203         (__catanhl): Ensure underflow exception occurs for underflowed
46204         result.
46205         * math/s_catanl.c: Include <float.h>.
46206         (__catanl): Ensure underflow exception occurs for underflowed
46207         result.
46208         * math/libm-test.inc (catan_test): Add more tests.
46209         (catanh_test): Likewise.
46211         [BZ #15405]
46212         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46213         underflowed result.
46214         * math/s_ccoshf.c (__ccoshf): Likewise.
46215         * math/s_ccoshl.c (__ccoshl): Likewise.
46216         * math/s_csin.c (__csin): Likewise.
46217         * math/s_csinf.c (__csinf): Likewise.
46218         * math/s_csinh.c (__csinh): Likewise.
46219         * math/s_csinhf.c (__csinhf): Likewise.
46220         * math/s_csinhl.c (__csinhl): Likewise.
46221         * math/s_csinl.c (__csinl): Likewise.
46222         * math/libm-test.inc (ccos_test): Add more tests.
46223         (ccosh_test): Likewise.
46224         (csin_test): Likewise.
46225         (csinh_test): Likewise.
46227 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46229         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46230         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46231         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46232         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46233         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46234         powerpc/power5+/fpu folders.
46235         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46238 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46242 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46244         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46245         additions to variable.
46246         [$(config-machine) = x86_64] (modules-names): Likewise.
46247         ($(objpfx)tst-audit3): Remove dependency.
46248         ($(objpfx)tst-audit3.out): Likewise.
46249         ($(objpfx)tst-audit4): Likewise.
46250         ($(objpfx)tst-audit4.out): Likewise.
46251         ($(objpfx)tst-audit5): Likewise.
46252         ($(objpfx)tst-audit5.out): Likewise.
46253         ($(objpfx)tst-audit6): Likewise.
46254         ($(objpfx)tst-audit6.out): Likewise.
46255         ($(objpfx)tst-audit7): Likewise.
46256         ($(objpfx)tst-audit7.out): Likewise.
46257         (tst-audit3-ENV): Remove variable.
46258         (tst-audit4-ENV): Likewise.
46259         (tst-audit5-ENV): Likewise.
46260         (tst-audit6-ENV): Likewise.
46261         (tst-audit7-ENV): Likewise.
46262         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46263         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46264         addition to variable.
46265         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46266         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46267         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46268         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46269         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46270         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46271         tst-audit3, tst-audit4 and tst-audit5.
46272         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46273         tst-audit6 and tst-audit7.
46274         [$(subdir) = elf] (modules-names): Add audit modules for those
46275         tests.
46276         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46277         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46278         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46279         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46280         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46281         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46282         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46283         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46284         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46285         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46286         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46287         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46288         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46289         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46290         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46291         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46292         Likewise.
46293         [$(subdir) = elf && $(config-cflags-avx) = yes]
46294         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46295         [$(subdir) = elf && $(config-cflags-avx) = yes]
46296         (CFLAGS-tst-auditmod4a.c): Likewise.
46297         [$(subdir) = elf && $(config-cflags-avx) = yes]
46298         (CFLAGS-tst-auditmod4b.c): Likewise.
46299         [$(subdir) = elf && $(config-cflags-avx) = yes]
46300         (CFLAGS-tst-auditmod6b.c): Likewise.
46301         [$(subdir) = elf && $(config-cflags-avx) = yes]
46302         (CFLAGS-tst-auditmod6c.c): Likewise.
46303         [$(subdir) = elf && $(config-cflags-avx) = yes]
46304         (CFLAGS-tst-auditmod7b.c): Likewise.
46305         * elf/tst-audit3.c: Move to ...
46306         * sysdeps/x86_64/tst-audit3.c: ... here.
46307         * elf/tst-audit4.c: Move to ...
46308         * sysdeps/x86_64/tst-audit4.c: ... here.
46309         * elf/tst-audit5.c: Move to ...
46310         * sysdeps/x86_64/tst-audit5.c: ... here.
46311         * elf/tst-audit6.c: Move to ...
46312         * sysdeps/x86_64/tst-audit6.c: ... here.
46313         * elf/tst-audit7.c: Move to ...
46314         * sysdeps/x86_64/tst-audit7.c: ... here.
46315         * elf/tst-auditmod3a.c: Move to ...
46316         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46317         * elf/tst-auditmod3b.c: Move to ...
46318         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46319         * elf/tst-auditmod4a.c: Move to ...
46320         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46321         * elf/tst-auditmod4b.c: Move to ...
46322         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46323         * elf/tst-auditmod5a.c: Move to ...
46324         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46325         * elf/tst-auditmod5b.c: Move to ...
46326         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46327         * elf/tst-auditmod6a.c: Move to ...
46328         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46329         * elf/tst-auditmod6b.c: Move to ...
46330         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46331         * elf/tst-auditmod6c.c: Move to ...
46332         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46333         * elf/tst-auditmod7a.c: Move to ...
46334         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46335         * elf/tst-auditmod7b.c: Move to ...
46336         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46338 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46340         [BZ #15366]
46341         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46342         define unconditionally.
46343         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46344         define unconditionally.
46345         (INT8_C, INT16_C, etc.): Likewise.
46347 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46349         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46350         __ehdr_start with hidden visibility.
46352         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46354 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46356         * math/libm-test.inc (cos_test): Use accurate hex constants.
46357         (sincost_test): Likewise.
46359 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46361         * math/libm-test.inc (catan_test): Add more tests.
46362         (catanh_test): Likewise.
46364         * math/s_catanf.c (__catanf): Use suffixed floating-point
46365         constants.
46366         * math/s_catanhf.c (__catanhf): Likewise.
46367         * math/s_catanhl.c (__catanhl): Likewise.
46368         * math/s_catanl.c (__catanl): Likewise.
46370         [BZ #15394]
46371         * math/s_catan.c (__catan): Calculate imaginary part of result
46372         with log1p not log unless computing log of number close to 0.
46373         * math/s_catanf.c (__catanf): Likewise.
46374         * math/s_catanl.c (__catanl): Likewise.
46375         * math/s_catanh.c (__catanh): Calculate real part of result with
46376         log1p not log unless computing log of number close to 0.
46377         * math/s_catanhf.c (__catanhf): Likewise.
46378         * math/s_catanhl.c (__catanhl): Likewise.
46379         * math/libm-test.inc (catan_test): Add more tests.
46380         (catanh_test): Likewise.
46381         * sysdeps/i386/fpu/libm-test-ulps: Update.
46382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46384 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46386         * benchtests/Makefile: Mention files in which fast and slow
46387         paths of math functions are implemented.
46389 2013-04-23  Roland McGrath  <roland@hack.frob.com>
46391         * sysdeps/posix/timespec_get.c: New file.
46393 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46395         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46396         POWER.
46397         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46398         for POWER.
46399         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46400         powerpc/power5/fpu folders.
46401         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46402         * benchtests/Makefile: Add modf testcase.
46403         * benchtests/bench-modf.c: New file: Benchmark test for mo
46405 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46407         [BZ #14888]
46408         * time/Makefile (tests): Add tst-strptime-whitespace.
46409         * time/strptime_l.c (get_number): Use ISSPACE.
46410         (__strptime_internal): Likewise.
46411         * time/tst-strptime-whitespace.c: New test case.
46413 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
46415         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46416         member.
46417         (_nss_files_init): Set it here.
46419 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
46421         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46422         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46423         unsigned.
46425 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
46427         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46429 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46432         size just once.
46434 2013-04-21  David S. Miller  <davem@davemloft.net>
46436         * po/ru.po: Update Russion translation from translation project.
46438 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46440         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46441         and setfsgid.
46443 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46445         * configure.in: Remove i386 configure warning. Remove i386 case.
46446         * configure: Regenerate.
46447         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46448         Add example to error message.
46449         * sysdeps/i386/configure: Regenerate.
46451 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46453         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46454         slowtan.
46455         * benchtests/cos-inputs: New file.
46456         * benchtests/slowcos-inputs: New file.
46457         * benchtests/slowcos.c: New file.
46458         * benchtests/slowtan-inputs: New file.
46459         * benchtests/slowtan.c: New file.
46460         * benchtests/tan-inputs: New file.
46462 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46464         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46465         considered kosher.
46467 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46469         * benchtests/Makefile: Include cppflags-iterator.mk to add
46470         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46472         * Makefile.in (bench-clean): New target.
46473         * benchtests/Makefile (bench-clean): Likewise.
46475 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46477         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46479 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46481         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46483 2013-04-15  Andreas Schwab  <schwab@suse.de>
46485         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46487         * nscd/pwdcache.c (cache_addpw): Likewise.
46488         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46489         more than recsize.
46491 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46493         * benchtests/Makefile (bench): Write all output to
46494         bench-out.tmp together.
46496 2013-04-15  Andreas Schwab  <schwab@suse.de>
46498         * nscd/nscd.c (main): Don't fork again after closing files.
46500 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46502         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46504         * benchtests/Rules (bench-deps): Collect dependencies into a
46505         single variable.  Add Makefile to dependencies.
46506         ($(objpfx)bench-%.c): Depend on bench-deps.
46508 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46509             Xavier Roche  <roche+kml2@exalead.com>
46511         [BZ #15361]
46512         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46513         just that it's a file descriptor.
46514         * manual/llio.texi (Synchronizing AIO Operations): Update description
46515         for EBADF error from aio_fsync.
46517 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46519         * Rules (bench): Move target definition...
46520         * benchtests/Makefile: ... here.
46522 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46524         * math/libm-test.inc (cos_test): Fix PI/2 test.
46525         (sincos_test): Likewise.
46526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46527         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46529 2013-04-11  Andreas Schwab  <schwab@suse.de>
46531         [BZ #13988]
46532         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46533         accept exponent character only when digits were seen.
46534         * stdio-common/Makefile (tests): Add bug26.
46535         * stdio-common/bug26.c: New file.
46537         [BZ #14293]
46538         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46539         non-freeable.
46541 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46543         * Makeconfig (rtld-prefix): Define built linker prefix.
46544         * Rules (run-bench): Use it.
46545         * math/Makefile (run-regen-ulps): Likewise.
46547         * Rules (bench): Remove eval.
46549 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46550             Roland McGrath  <roland@hack.frob.com>
46551             Ondrej Bilka  <neleai@seznam.cz>
46553         [BZ #15346]
46554         * time/getdate.c: Include ctype.h and alloca.h.
46555         (__getdate_r): Trim leading and trailing spaces of input.
46556         * time/tst-getdate.c (tests): Add tests with leading and
46557         trailing spaces.
46559 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46561         [BZ #14280]
46562         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46563         when computing value.
46565 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46567         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46568         Use testrun.sh to run libm tests.
46570         [BZ #15309]
46571         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46573 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46575         [BZ #15264]
46576         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46578 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46580         * Makefile.in (regen-ulps): New target.
46581         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46582         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46583         [ifneq (no,$(PERL)] (regen-ulps): New target.
46584         [ifeq (no,$(PERL)] (regen-ulps): New target.
46585         * math/libm-test.inc (ulps_file_name): Define.
46586         (output_dir): New variable.
46587         (options): Add "output-dir" option.
46588         (parse_opt): Handle 'o' case.
46589         (main): If output_dir is non-NULL use it as a prefix
46590         otherwise use "".
46591         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46593 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46595         [BZ #10060, #10062]
46596         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46597         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46598         fail configure if __sync_val_compare_and_swap is not inlined.
46599         * sysdeps/i386/configure: Regenerate.
46600         * configure.in: Build for i686 when configured for i386.
46601         * configure: Regenerate.
46602         * README: Remove i386 reference.
46604 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46606         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46609 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46611         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46612         (lmsnanval): New variables.
46613         (F): Add conversion tests.
46614         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46615         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46617         * stdio-common/tstdiomisc.c (F): Properly collect individual
46618         tests' results.
46620         [BZ #14686, #15336]
46621         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46622         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46623         Instead, use input NaN values or generate a qNaN by arithmetic
46624         operation.  Also fix bugs to comply with the standard.
46625         * math/libm-test.inc (remainder_test): Add more tests.
46627         [BZ #15335, #15342]
46628         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46629         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46630         input NaN values or generate a qNaN by arithmetic operation.
46632         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46633         unreachable code.
46635         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46636         definitions.
46638 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46640         [BZ #14478]
46641         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46642         underflowed result.
46643         * math/s_cexpf.c (__cexpf): Likewise.
46644         * math/s_cexpl.c (__cexpl): Likewise.
46645         * math/libm-test.inc (cexp_test): Add more tests.
46647 2013-04-03  Andreas Schwab  <schwab@suse.de>
46649         [BZ #15330]
46650         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46651         order arrays from heap if bigger than alloca cutoff.
46653 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
46655         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46656         (SNAN_TESTS_double): Refer to GCC PR56831.
46657         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46658         GCC PR56828.
46660 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46662         * Rules (bench): Move bench.out after the run is complete.
46664         * Rules (bench): Echo currently running benchmark.
46666         * benchtests/Makefile (bench): Add atan and slowatan.
46667         * benchtests/atan-inputs: New file.
46668         * benchtests/slowatan-inputs: New file.
46669         * benchtests/slowatan.c: New file.
46671         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46673         its value.
46675         [BZ #15305]
46676         * sysdeps/unix/sysv/linux/kernel-features.h
46677         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46678         __ASSUME_XFS_RESTRICTED_CHOWN.
46679         * sysdeps/unix/sysv/linux/pathconf.c
46680         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46681         Save and restore errno.
46683 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46685         [BZ #15327]
46686         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46687         arguments using __kernel_casinh.
46688         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46689         arguments using __kernel_casinhf.
46690         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46691         arguments using __kernel_casinhl.
46692         * math/libm-test.inc (cacosh_test): Add more tests.
46693         * sysdeps/i386/fpu/libm-test-ulps: Update.
46694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46696 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46698         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46701         * bench/Makefile (bench): Add sin and slowsin.
46702         * benchtests/sin-inputs: New file.
46703         * benchtests/slowsin-inputs: New file.
46704         * benchtests/slowsin.c: New file.
46706         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46707         (bench): Add slowexp and slowpow.
46708         (exp-ITER): Increase iterations.
46709         (pow-ITER): Likewise.
46710         * benchtests/exp-inputs: Change input.
46711         * benchtests/pow-inputs: Likewise.
46712         * benchtests/slowexp-inputs: New file.
46713         * benchtests/slowexp.c: New file.
46714         * benchtests/slowpow-inputs: New file.
46715         * benchtests/slowpow.c: New file.
46717 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46719         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46720         instructions.
46721         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46722         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46723         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46724         * benchtests/Makefile: Add rint benchtest.
46725         * benchtests/rint-inputs: Input for rint benchtest.
46727 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46729         * Versions.def (libm): Add GLIBC_2.18.
46730         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46731         hidden libm prototypes.
46732         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46733         * math/Makefile (libm-calls): Add s_issignaling.
46734         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46735         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46736         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46737         declaration.
46738         * math/math.h [__USE_GNU] (issignaling): New macro.
46739         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46740         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46742         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46743         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46744         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46745         * manual/arith.texi (issignaling): New section.
46746         * manual/libm-err-tab.pl (@all_functions): Update comment.
46747         * math/gen-libm-test.pl (parse_args): Apply special handling for
46748         issignaling.
46749         * math/libm-test.inc (print_float, issignaling_test): New
46750         functions.
46751         (check_float_internal): Add issignaling checks.
46752         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46753         default definition.
46754         * sysdeps/powerpc/math-tests.h: New file.
46755         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46756         tests.
46757         * math/test-snan.c (TEST_FUNC): Likewise.
46759 2013-03-30  David S. Miller  <davem@davemloft.net>
46761         * po/de.po: Update from translation team.
46763 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46765         [BZ #10357]
46766         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46767         imaginary part less than 1.0 and real part less than 0.5
46768         specially.
46769         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46770         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46771         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46772         (cacos_test): Add more tests.
46773         (casin_test): Likewise.
46774         (casinh_test): Likewise.
46775         * sysdeps/i386/fpu/libm-test-ulps: Update.
46776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46780         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46781         ONE with its value.
46783         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46784         (__pow_mp): Replace ONE and MONE with their values.
46785         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46787         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46788         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46789         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46790         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46792         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46794         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46795         (__pow_mp): Replace ZERO and MZERO with their values.
46796         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46797         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46798         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46800         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46801         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46802         (__sqr): Likewise.
46804         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46806         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46808 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46810         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46811         Declare with __attribute__ ((weak)).
46812         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46813         Call __call_tls_dtors only if it's not NULL.
46815 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46817         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46818         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46819         magic __ehdr_start linker symbol if it's defined.
46820         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46821         them up here if it was already done.
46823         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46824         (_dl_aux_init): Use const in cast when setting it.
46825         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46826         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46827         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46829         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46830         Declare them here.
46831         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46832         * csu/libc-tls.c: Nor here.
46833         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46835         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46836         (__libc_message): Never call vsyslog.
46838 2013-03-28  Alan Modra  <amodra@gmail.com>
46840         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46841         Define as empty.
46842         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46843         Likewise.
46845 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46847         [BZ #15214]
46848         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46849         underflow.
46850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46852 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         [BZ #15304]
46855         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46856         Don't add gid passed as argument.
46858         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46860 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46862         [BZ #15307]
46863         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46864         imaginary part between 1.0 and 1.5 and real part less than 0.5
46865         specially.
46866         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46867         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46868         * math/libm-test.inc (cacos_test): Add more tests.
46869         (casin_test): Likewise.
46870         (casinh_test): Likewise.
46871         * sysdeps/i386/fpu/libm-test-ulps: Update.
46872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46874 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46876         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46877         constants.
46878         (norm): Likewise.
46879         (denorm): Likewise.
46880         (__dbl_mp): Likewise.
46881         (add_magnitudes): Likewise.
46882         (sub_magnitudes): Likewise.
46883         (__add): Likewise.
46884         (__sub): Likewise.
46885         (__mul): Likewise.
46886         (__sqr): Likewise.
46887         (__inv): Likewise.
46888         (__dvd): Likewise.
46890         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46891         commented code.
46892         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46893         (__dubcos): Likewise.
46894         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46895         (__ieee754_acos): Likewise.
46896         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46898         (__exp1): Likewise.
46899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46901         (log1): Likewise.
46902         (my_log2): Likewise.
46903         (checkint): Likewise.
46904         * sysdeps/ieee754/dbl-64/e_remainder.c
46905         (__ieee754_remainder): Likewise.
46906         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46907         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46908         (bsloww): Likewise.
46909         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46911         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46912         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46913         MANTISSA_STORE_T to store computations on mantissa.  Use
46914         macros for rounding and division.
46915         (denorm): Likewise.
46916         (__dbl_mp): Likewise.
46917         (add_magnitudes): Likewise.
46918         (sub_magnitudes): Likewise.
46919         (__mul): Likewise.
46920         (__sqr): Likewise.
46921         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46922         powers of two in terms of TWOPOW macro.
46923         (mp_no): Make type of mantissa as MANTISSA_T.
46924         [!RADIXI]: Define RADIXI.
46925         [!TWO52]: Define TWO52.
46926         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46928 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46930         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46931         llroundl symbol when building for PPC32.
46933 2013-03-24  Mark H Weaver  <mhw@netris.org>
46935         * manual/arith.texi (Normalization Functions): Fix prototypes for
46936         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46938 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46940         [BZ #13889]
46941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46942         high value to check if expl overflow.
46943         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46944         to check for underflow and overflow.
46945         * math/libm-test.inc: Add exp test.
46947 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46949         [BZ #11120]
46950         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46951         with NOT_IN_libc.
46953 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46955         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46956         symbol.
46958 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46960         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46961         wrap blocks consisting of several statements.
46963         * sysdeps/generic/math-tests.h: New file.
46964         * sysdeps/i386/fpu/math-tests.h: Likewise.
46965         * math/test-snan.c: Include it.
46966         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46968 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46970         [BZ #15285]
46971         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46972         (__ieee754_j0l): Do not improve calculations using cos of twice
46973         input for inputs above LDBL_MAX / 2.0L.
46974         (__ieee754_y0l): Likewise.
46975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46976         (__ieee754_j1l): Do not improve calculations using cos of twice
46977         input for inputs above LDBL_MAX / 2.0L.
46978         (__ieee754_y1l): Likewise.
46979         * math/libm-test.inc (j0_test): Add another test.
46980         (j1_test): Likewise.
46981         (y0_test): Likewise.
46982         (y1_test): Likewise.
46983         * sysdeps/i386/fpu/libm-test-ulps: Update.
46985 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46987         * Rules ($(objpfx)bench-%.c): Include code from a C source
46988         file.
46990 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46992         [BZ #15287]
46993         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46994         imaginary part 1.0 and real part less than 0.5 specially.
46995         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46996         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46997         * math/libm-test.inc (cacos_test): Add more tests.
46998         (casin_test): Likewise.
46999         (casinh_test): Likewise.
47000         * sysdeps/i386/fpu/libm-test-ulps: Update.
47001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47003 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47005         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47006         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47008 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47010         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47011         * config.make.in (config-cflags-sse4): Remove variable.
47012         (config-cflags-avx): Likewise.
47013         (config-cflags-sse2avx): Likewise.
47014         (config-cflags-novzeroupper): Likewise.
47015         (config-asflags-i686): Likewise.
47016         (have-mfma4): Likewise.
47017         (have-as-vis3): Likewise.
47018         (MIG): Likewise.
47019         * configure.in (MIG): Do not AC_SUBST.
47020         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47021         (libc_cv_cc_sse4): Do not AC_SUBST.
47022         (libc_cv_cc_avx): Likewise.
47023         (libc_cv_cc_sse2avx): Likewise.
47024         (libc_cv_cc_novzeroupper): Likewise.
47025         (libc_cv_cc_fma4): Likewise.
47026         (libc_cv_as_i686): Likewise.
47027         (libc_cv_sparc_as_vis3): Likewise.
47028         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47029         LIBC_CONFIG_VAR.
47030         (config-asflags-i686): Likewise.
47031         (config-cflags-avx): Likewise.
47032         (config-cflags-sse2avx): Likewise.
47033         (have-mfma4): Likewise.
47034         (config-cflags-novzeroupper): Likewise.
47035         * sysdeps/mach/configure.in (MIG): Likewise.
47036         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47037         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47038         LIBC_CONFIG_VAR.
47039         (config-cflags-avx): Likewise.
47040         (config-cflags-sse2avx): Likewise.
47041         (have-mfma4): Likewise.
47042         (config-cflags-novzeroupper): Likewise.
47043         * configure: Regenerated.
47044         * sysdeps/i386/configure: Likewise.
47045         * sysdeps/mach/configure: Likewise.
47046         * sysdeps/sparc/configure: Likewise.
47047         * sysdeps/x86_64/configure: Likewise.
47049 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47051         [BZ #14812]
47052         * locale/programs/localedef.c (options): Put N_ translation marker
47053         on argument names, not just descriptions.
47055 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47057         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47059 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47061         [BZ #14176]
47062         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47064 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47066         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47067         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47068         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47069         [!BEFORE_ABORT] (before_abort): New function.
47070         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47071         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47072         (writev_for_fatal): New function.
47073         (WRITEV_FOR_FATAL): New macro; call that.
47074         (backtrace_and_maps): New function.
47075         (BEFORE_ABORT): New macro; call that.
47076         (struct str_list): Type removed.
47077         (__libc_message, __libc_fatal): Functions removed.
47078         Include <sysdeps/posix/libc_fatal.c> instead.
47080 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47082         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47083         constants.
47084         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47085         double constants.
47087 2013-03-19  Andreas Schwab  <schwab@suse.de>
47089         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47090         * sysdeps/gnu/configure: Regenerate.
47092         * configure.in: Substitute libc_cv_rtlddir.
47093         * configure: Regenerate.
47094         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47095         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47096         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47097         * elf/Makefile (install-others, CFLAGS-interp.c)
47098         (ldso_install, common-ldd-rewrite): Likewise.
47099         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47100         $(inst_slibdir)/$(rtld-installed-name).
47101         * scripts/rellns-sh: Add -p option.
47102         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47103         for source.
47105 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47107         * manual/nptl.texi: Renamed to ...
47108         * manual/threads.texi: ... this.
47109         * manual/Makefile (chapters): Update.
47111 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47113         [BZ #14812]
47114         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47115         on argument names, not just descriptions.
47116         * malloc/memusagestat.c (options): Likewise.
47117         * nss/getent.c (options): Likewise.
47119 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47121         [BZ #14812]
47122         * iconv/iconv_prog.c (options): Put N_ translation marker
47123         on argument names, not just descriptions.
47124         * iconv/iconvconfig.c (options): Likewise.
47126 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47128         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47129         implementation which is faster on all x86_64 architectures.
47130         Tested on AMD, Intel Nehalem, SNB, IVB.
47131         * sysdeps/x86_64/strnlen.S: Likewise.
47133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47134         Remove all multiarch strlen and strnlen versions.
47135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47136         Remove strlen and strnlen related parts.
47138         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47139         Inline strlen part.
47140         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47142         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47143         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47144         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47145         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47146         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47147         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47149 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47151         * manual/memory.texi (Malloc Tunable Parameters):
47152         Sort parameters alphabetically. Add comments for missing entries.
47154 2013-03-17  David S. Miller  <davem@davemloft.net>
47156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47158 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47160         [BZ #15283]
47161         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47162         for arguments at most half maximum finite value.
47163         * math/libm-test.inc (j0_test): Add more tests.
47164         (j1_test): Likewise.
47165         (y0_test): Likewise.
47166         (y1_test): Likewise.
47167         * sysdeps/i386/fpu/libm-test-ulps: Update.
47168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47170         [BZ #14155]
47171         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47172         1 / x and functions P and Q for arguments above 0x1p256L.
47173         (__ieee754_y0l): Likewise.
47174         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47175         (__ieee754_y1l): Likewise.
47176         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47177         (j1_test): Likewise.
47178         (y0_test): Likewise.
47179         (y1_test): Likewise.
47181 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47183         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47184         variable.
47186 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47188         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47189         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47190         zero since it's initialized to EXEC_PAGESIZE.
47192         * sysdeps/unix/sysv/linux/ldsodefs.h
47193         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47194         * sysdeps/generic/ldsodefs.h: ... here.
47196 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47198         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47200         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47201         math/test-snan.c.
47202         * math/test-snan.c: Renamed from
47203         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47204         * math/Makefile (tests): Add test-snan.
47205         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47206         test-powerpc-snan.
47208         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47209         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47210         functions.
47211         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47212         __builtin_nan family of functions.
47213         * math/libm-test.inc (initialize): Initialize qnan_value with
47214         __builtin_nan family of functions.
47215         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47216         Remove variables.
47217         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47218         Remove functions.
47219         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47220         storage class.  Initialize qNaN_var and sNaN_var with
47221         __builtin_nan and __builtin_nans families of functions,
47222         respectively.
47224         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47225         (sqrt_test): Remove duplicate test with qNaN input.
47226         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47227         (round_test, signbit_test, significand_test): Note missing +/-Inf
47228         as well as qNaN tests.
47230         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47231         qNaN_var.  Fix a few strings, too.
47232         * math/libm-test.inc (nan_value): Rename to qnan_value.
47233         * math/gen-libm-test.pl (%beautify): Adjust to that.
47234         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47235         * math/test-misc.c (main): Likewise.
47236         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47237         to __qnan_bytes, and __qnan_union, respectively.
47238         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47239         Likewise.
47240         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47241         and lqnanval, respectively.
47242         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47243         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47244         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47245         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47247         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47248         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47249         doubles.
47251         * math/test-misc.c (main): Fix copy'n'pastos.
47252         * misc/tst-efgcvt.c (special): Likewise.
47254         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47255         Remove declarations.
47257 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47259         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47260         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47261         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47262         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47264 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47266         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47267         macro to return vdso values correctly in IFUNC implementations.
47268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47269         Optimization by using IFUNC.
47271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47272             Richard Henderson  <rth@redhat.com>
47273             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47275         * Makefile.in (bench): New target.
47276         * NEWS: Mention the benchmark framework.
47277         * Rules (bench): Likewise.
47278         (binaries-bench): Generate binaries for functions to
47279         benchmark.
47280         * benchtests/Makefile: New makefile for benchmark tests.
47281         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47282         programs.
47283         * benchtests/exp-inputs: New input file for EXP function.
47284         * benchtests/pow-inputs: New input file for POW function.
47285         * scripts/bench.pl: New script to generate source files for
47286         benchmark programs.
47288 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47290         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47291         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47292         computations on mantissa.  Use macros for rounding and
47293         division.
47294         (denorm): Likewise.
47295         (__dbl_mp): Likewise.
47296         (add_magnitudes): Likewise.
47297         (sub_magnitudes): Likewise.
47298         (__mul): Likewise.
47299         (__sqr): Likewise.
47300         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47301         powers of two in terms of TWOPOW macro.
47302         (mp_no): Make type of mantissa as MANTISSA_T.
47303         [!RADIXI]: Define RADIXI.
47304         [!TWO52]: Define TWO52.
47305         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47307         * manual/nptl.texi (cindex): Modify threads to pthreads.
47309 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47311         * sysdeps/x86_64/preconfigure: Regenerated.
47313 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47315         [BZ #14155]
47316         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47317         0x1p28 and above.
47318         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47319         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47320         0x1p28 and above.
47321         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47322         * math/libm-test.inc (j0_test): Do not allow one spurious
47323         underflow exception.
47324         (y1_test): Likewise.
47326 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47328         * manual/Makefile (chapters): Add nptl.
47329         * manual/debug.texi (Debugging Support): Add link to Threads
47330         chapter.
47331         * manual/nptl.texi: New file.
47333         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47335 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47337         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47338         for non-NULL pointer before the memory validity test. Pointed
47339         out by Holger Brunck <holger.brunck@keymile.com>.
47341 2013-03-13  Andreas Schwab  <schwab@suse.de>
47343         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47344         instead of .os.
47346 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47348         * timezone/zic.c: Update from tzcode 2013b.
47350 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47352         * manual/install.texi (Configuring and compiling):
47353         Mention i686 and i586.
47354         * INSTALL: Regenerate.
47356 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47358         * sysdeps/init_array/elf-init.c: New file.
47359         * csu/elf-init.c
47360         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47361         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47363         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47364         __gmon_start__ as global, but as static with a .preinit_array pointer.
47365         * sysdeps/init_array/gmon-start.c: New file.  Use that.
47366         * sysdeps/init_array/crti.S: New file, empty except for comments.
47367         * sysdeps/init_array/crtn.S: Likewise.
47369 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
47371         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47372         definining bcopy.
47373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47374         Remove Prefer_SSE_for_memop.
47375         * sysdeps/x86_64/multiarch/init-arch.h: Remove
47376         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47377         HAS_PREFER_SSE_FOR_MEMOP.
47378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47379         memset-x86-64.
47380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47381         Remove bzero, memset ifunc support.
47382         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47383         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47384         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47385         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47387 2013-03-11  Andreas Schwab  <schwab@suse.de>
47389         [BZ #15234]
47390         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47391         by SHLIB_COMPAT.
47392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47393         (GLIBC_2.16): Remove pthread_atfork.
47395 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
47397         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47398         (ptestcases.h): Likewise.
47400 2013-03-08  Roland McGrath  <roland@hack.frob.com>
47402         * Makeconfig ($(common-objpfx)config.status): Depend on
47403         sysdeps/*/preconfigure{,.in} too.
47405 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
47407         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47408         (__free_hook): Use void * instead of __malloc_ptr_t.
47409         (__malloc_hook): Likewise.
47410         (__realloc_hook): Likewise.
47411         (__memalign_hook): Likewise.
47412         (__after_morecore_hook): Likewise.
47413         * malloc/arena.c (save_malloc_hook): Likewise.
47414         (save_free_hook): Likewise.
47415         * malloc/hooks.c (malloc_hook_ini): Likewise.
47416         (realloc_hook_ini): Likewise.
47417         (memalign_hook_ini): Likewise.
47418         * malloc/malloc.c (malloc_hook_ini): Likewise.
47419         (realloc_hook_ini): Likewise.
47420         (memalign_hook_ini): Likewise.
47421         (__free_hook): Likewise.
47422         (__malloc_hook): Likewise.
47423         (__realloc_hook): Likewise.
47424         (__memalign_hook): Likewise.
47425         (__libc_malloc): Likewise.
47426         (__libc_free): Likewise.
47427         (__libc_realloc): Likewise.
47428         (__libc_memalign): Likewise.
47429         (__libc_valloc): Likewise.
47430         (__libc_pvalloc): Likewise.
47431         (__libc_calloc): Likewise.
47432         (__posix_memalign): Likewise.
47433         * malloc/morecore.c (__sbrk): Likewise.
47434         (__default_morecore): Likewise.
47436         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47438         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47439         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47440         __malloc_ptrdiff_t.
47442         * malloc/malloc.h (__malloc_size_t): Remove macro.
47443         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47444         __malloc_size_t.
47445         (old_memalign_hook): Likewise.
47446         (old_realloc_hook): Likewise.
47447         (struct hdr): Likewise.
47448         (flood): Likewise.
47449         (mallochook): Likewise.
47450         (memalignhook): Likewise.
47451         (reallochook): Likewise.
47452         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47453         (tr_old_realloc_hook): Likewise.
47454         (tr_old_memalign_hook): Likewise.
47455         (tr_mallochook): Likewise.
47456         (tr_reallochook): Likewise.
47457         (tr_memalignhook): Likewise.
47459 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47462         default_ldbl_pack and using as default implementation.
47463         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47464         implementation.
47465         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47466         redundant definition.
47467         (ldbl_insert_mantissa): Likewise.
47468         (ldbl_canonicalize): Likewise.
47469         (ldbl_nearbyint): Likewise.
47470         (ldbl_pack): Rename to ldbl_pack_ppc.
47471         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47472         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47473         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47475 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47478         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47480         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47483         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47484         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47486 2013-03-07  Andreas Jaeger  <aj@suse.de>
47488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47489         bits/mman-linux.h.
47491 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47493         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47494         Include mpa.h and declare __MPEXP.
47495         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47497         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47498         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47499         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47500         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47501         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47503         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47504         (__slowpow): Use long double EXPL and LOGL functions to
47505         compute POW.
47506         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47507         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47508         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47509         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47510         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47511         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47514         intermediate variable to calculate exponent.
47515         (__sqr): Likewise.
47516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47517         Likewise.
47518         (__sqr): Likewise.
47520         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47521         [!NO__SQR]: Define __sqr.
47522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47523         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47524         sysdeps/ieee754/dbl-64/mpa.c.
47525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47527         [BZ #12723]
47528         * posix/Makefile (tests): Add tst-pathconf.
47529         * posix/tst-pathconf.c: New test case.
47530         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47531         _PC_PIPE_BUF.
47532         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47534 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47536         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47538 2013-03-06  Andreas Jaeger  <aj@suse.de>
47540         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47541         definition via __MAP_ANONYMOUS.
47543         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47544         it's not part of Linux headers.
47546         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47547         (MAP_HUGE_MASK): Define.
47549         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47550         Define.
47551         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47553         Define.
47554         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47555         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47556         Define.
47557         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47558         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47559         Define.
47560         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47562         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47563         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47564         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47565         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47566         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47567         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47569         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47570         Handle f2fs.
47572         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47573         Handle f2fs and efivarfs.
47575         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47576         f2fs.
47578         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47579         (EFIVARFS_MAGIC): Add.
47580         (F2FS_LINK_MAX): Add.
47582 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47584         * stdio-common/vfprintf.c: Replace __builtin_expect with
47585         __glibc_unlikely.
47587 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47589         [BZ #13550]
47590         * sysdeps/generic/bp-sym.h: Remove file.
47591         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47592         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47593         <bp-sym.h> and <bp-asm.h>.
47594         (__longjmp): Don't use BP_SYM.
47595         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47596         and <bp-asm.h>.
47597         (memcpy): Don't use BP_SYM.
47598         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47599         <bp-sym.h> and <bp-asm.h>.
47600         (memcpy): Don't use BP_SYM.
47601         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47602         <bp-asm.h>.
47603         (memcpy): Don't use BP_SYM.
47604         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47605         <bp-asm.h>.
47606         (memset): Don't use BP_SYM.
47607         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47608         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47609         (__bzero): Don't use BP_SYM.
47610         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47611         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47612         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47613         <bp-sym.h> and <bp-asm.h>.
47614         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47615         pointers.
47616         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47617         <bp-sym.h> and <bp-asm.h>.
47618         (memcpy): Don't use BP_SYM.
47619         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47620         <bp-sym.h> and <bp-asm.h>.
47621         (memset): Don't use BP_SYM.
47622         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47623         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47624         (__bzero): Don't use BP_SYM.
47625         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47626         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47627         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47628         <bp-sym.h> and <bp-asm.h>.
47629         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47630         pointers.
47631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47632         <bp-sym.h> and <bp-asm.h>.
47633         (memcpy): Don't use BP_SYM.
47634         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47635         <bp-sym.h> and <bp-asm.h>.
47636         (memset): Don't use BP_SYM.
47637         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47638         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47639         (__bzero): Don't use BP_SYM.
47640         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47641         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47642         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47643         <bp-sym.h> and <bp-asm.h>.
47644         (__memchr): Don't use BP_SYM.
47645         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47646         <bp-sym.h> and <bp-asm.h>.
47647         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47648         pointers.
47649         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47650         <bp-sym.h> and <bp-asm.h>.
47651         (memcpy): Don't use BP_SYM.
47652         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47653         <bp-sym.h> and <bp-asm.h>.
47654         (__mempcpy): Don't use BP_SYM.
47655         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47656         <bp-sym.h> and <bp-asm.h>.
47657         (__memrchr): Don't use BP_SYM.
47658         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47659         <bp-sym.h> and <bp-asm.h>.
47660         (memset): Don't use BP_SYM.
47661         (__bzero): Likewise.
47662         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47663         <bp-sym.h> and <bp-asm.h>.
47664         (__rawmemchr): Don't use BP_SYM.
47665         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47666         <bp-sym.h> and <bp-asm.h>.
47667         (__STRCMP): Don't use BP_SYM.
47668         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47669         <bp-sym.h> and <bp-asm.h>.
47670         (strchr): Don't use BP_SYM.
47671         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47672         <bp-sym.h> and <bp-asm.h>.
47673         (__strchrnul): Don't use BP_SYM.
47674         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47675         <bp-sym.h> and <bp-asm.h>.
47676         (strlen): Don't use BP_SYM.
47677         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47678         <bp-sym.h> and <bp-asm.h>.
47679         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47680         pointers.
47681         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47682         <bp-sym.h> and <bp-asm.h>.
47683         (__strnlen): Don't use BP_SYM.
47684         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47685         <bp-sym.h> and <bp-asm.h>.
47686         (__GI__setjmp): Don't use BP_SYM.
47687         (_setjmp): Likewise.
47688         (__sigsetjmp): Likewise.
47689         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47690         (L(start_addresses)): Don't use BP_SYM.
47691         (_start): Likewise.
47692         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47693         <bp-asm.h>.
47694         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47695         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47696         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47697         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47698         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47699         <bp-asm.h>.
47700         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47701         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47702         about bounded pointers.
47703         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47704         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47705         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47706         <bp-asm.h>.
47707         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47708         about bounded pointers.  Remove GKM FIXME comments.
47709         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47710         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47711         <bp-asm.h>.
47712         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47713         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47714         Remove GKM FIXME comments.
47715         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47716         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47717         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47718         <bp-asm.h>.
47719         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47720         about bounded pointers.  Remove GKM FIXME comment.
47721         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47722         and <bp-asm.h>.
47723         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47724         pointers.
47725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47726         <bp-sym.h> and <bp-asm.h>.
47727         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47729         <bp-sym.h> and <bp-asm.h>.
47730         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47731         comment.
47733 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47735         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47736         call free(NULL).
47738 2013-03-05  David S. Miller  <davem@davemloft.net>
47740         * po/es.po: Update from translation team.
47742 2013-03-05  Andreas Jaeger  <aj@suse.de>
47744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47745         <bits/mman-linux.h>.
47746         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47747         is fine.
47748         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47749         <bits/mman-linux.h> to end of file.
47750         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47751         is fine.
47752         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47753         <bits/mman-linux.h> to end of file.
47754         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47755         is fine.
47756         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47757         <bits/mman-linux.h> to end of file.
47759         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47760         (MCL_CURRENT, MCL_FUTURE): Define here.
47762 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47764         [BZ #15232]
47765         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47766         attribute_hidden.
47767         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47769 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47771         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47772         fourth parameter needed for rt_sigprocmask syscall.
47773         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47774         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47775         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47776         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47777         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47778         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47780 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47782         [BZ #13550]
47783         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47784         comment about bounded pointers.
47785         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47786         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47788 2013-03-04  Andreas Jaeger  <aj@suse.de>
47790         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47791         common definitions.
47793         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47794         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47795         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47796         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47797         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47798         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47800 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47802         [BZ #15055]
47803         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47804         __ieee754_sqrl instead of __sqrl.
47806 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47808         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47809         * sysdeps/powerpc/fpu_control.h: ... here.
47810         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47811         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47812         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47813         * sysdeps/powerpc/bits/mathinline.h: ... here.
47815 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47817         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47818         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47819         to just [NEED_DL_SYSINFO_DSO].
47820         * elf/dl-support.c: Likewise.
47821         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47822         * elf/rtld.c (dl_main): Likewise.
47823         * elf/setup-vdso.h (setup_vdso): Likewise.
47824         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47825         * sysdeps/unix/sysv/linux/dl-sysdep.c
47826         (_dl_discover_osversion): Likewise.
47828 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47830         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47831         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47833 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         * NEWS: Mention libm performance improvements and non-x86 PI
47836         futex support.
47838         * csu/libc-start.c (__pthread_initialize_minimal): Change
47839         function arguments.
47840         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47842 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47844         [BZ #13550]
47845         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47846         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47847         <bp-sym.h> and <bp-asm.h>.
47848         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47850         and <bp-asm.h>.
47851         (memcpy): Don't use BP_SYM.
47852         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47853         <bp-asm.h>.
47854         (__mpn_add_n): Don't use BP_SYM.
47855         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47856         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47857         and <bp-asm.h>.
47858         (__mpn_addmul_1): Don't use BP_SYM.
47859         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47860         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47861         <bp-sym.h>.
47862         (_setjmp): Don't use BP_SYM.
47863         (__novmx_setjmp): Likewise.
47864         (__GI__setjmp): Likewise.
47865         (__vmx_setjmp): Likewise.
47866         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47867         <bp-sym.h>.
47868         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47869         (__bzero): Don't use BP_SYM.
47870         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47871         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47872         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47873         <bp-sym.h> and <bp-asm.h>.
47874         (memcpy): Don't use BP_SYM.
47875         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47876         <bp-sym.h> and <bp-asm.h>.
47877         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47878         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47879         <bp-sym.h> and <bp-asm.h>.
47880         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47881         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47882         <bp-asm.h>.
47883         (__mpn_lshift): Don't use BP_SYM.
47884         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47885         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47886         <bp-asm.h>.
47887         (memset): Don't use BP_SYM.
47888         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47889         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47890         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47891         <bp-asm.h>.
47892         (__mpn_mul_1): Don't use BP_SYM.
47893         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47894         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47895         <bp-sym.h> and <bp-asm.h>.
47896         (memcmp): Don't use BP_SYM.
47897         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47898         <bp-sym.h> and <bp-asm.h>.
47899         (memcpy): Don't use BP_SYM.
47900         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47901         <bp-sym.h> and <bp-asm.h>.
47902         (memset): Don't use BP_SYM.
47903         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47904         <bp-sym.h> and <bp-asm.h>.
47905         (strncmp): Don't use BP_SYM.
47906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47907         <bp-sym.h> and <bp-asm.h>.
47908         (memcpy): Don't use BP_SYM.
47909         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47910         <bp-sym.h> and <bp-asm.h>.
47911         (memset): Don't use BP_SYM.
47912         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47913         <bp-sym.h> and <bp-asm.h>.
47914         (__memchr): Don't use BP_SYM.
47915         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47916         <bp-sym.h> and <bp-asm.h>.
47917         (memcmp): Don't use BP_SYM.
47918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47919         <bp-sym.h> and <bp-asm.h>.
47920         (memcpy): Don't use BP_SYM.
47921         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47922         <bp-sym.h> and <bp-asm.h>.
47923         (__mempcpy): Don't use BP_SYM.
47924         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47925         <bp-sym.h> and <bp-asm.h>.
47926         (__memrchr): Don't use BP_SYM.
47927         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47928         <bp-sym.h> and <bp-asm.h>.
47929         (memset): Don't use BP_SYM.
47930         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47931         <bp-sym.h> and <bp-asm.h>.
47932         (__rawmemchr): Don't use BP_SYM.
47933         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47934         <bp-sym.h> and <bp-asm.h>.
47935         (__STRCMP): Don't use BP_SYM.
47936         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47937         <bp-sym.h> and <bp-asm.h>.
47938         (strchr): Don't use BP_SYM.
47939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47940         <bp-sym.h> and <bp-asm.h>.
47941         (__strchrnul): Don't use BP_SYM.
47942         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47943         <bp-sym.h> and <bp-asm.h>.
47944         (strlen): Don't use BP_SYM.
47945         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47946         <bp-sym.h> and <bp-asm.h>.
47947         (strncmp): Don't use BP_SYM.
47948         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47949         <bp-sym.h> and <bp-asm.h>.
47950         (__strnlen): Don't use BP_SYM.
47951         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47952         <bp-asm.h>.
47953         (__mpn_rshift): Don't use BP_SYM.
47954         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47955         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47956         <bp-sym.h> and <bp-asm.h>.
47957         (__sigsetjmp): Don't use BP_SYM.
47958         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47959         (L(start_addresses)): Don't use BP_SYM.
47960         (_start): Likewise.
47961         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47962         <bp-asm.h>.
47963         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47964         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47965         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47966         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47967         <bp-asm.h>.
47968         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47969         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47970         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47971         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47972         <bp-asm.h>.
47973         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47974         comments.
47975         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47976         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47977         <bp-asm.h>.
47978         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47979         FIXME comments.
47980         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47981         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47982         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47983         <bp-asm.h>.
47984         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47985         comment.
47986         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47987         and <bp-asm.h>.
47988         (strncmp): Don't use BP_SYM,
47989         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47990         <bp-asm.h>.
47991         (__mpn_sub_n): Don't use BP_SYM.
47992         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47993         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47994         and <bp-asm.h>.
47995         (__mpn_submul_1): Don't use BP_SYM.
47996         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47998         <bp-sym.h> and <bp-asm.h>.
47999         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48001         <bp-sym.h> and <bp-asm.h>.
48002         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48003         comment.
48005 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48008         Use ZK to minimize writes to Z.
48009         (sub_magnitudes): Simplify code a bit.
48010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48011         Use ZK to minimize writes to Z.
48012         (sub_magnitudes): Simplify code a bit.
48014 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48016         * csu/gmon-start.c: Add special exception to license text.
48018 2013-02-27  Richard Henderson  <rth@redhat.com>
48020         * scripts/config.guess: Update from config.git.
48021         * scripts/config.sub: Likewise.
48023 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48025         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48027         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48029         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48031         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48033         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48035 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48037         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48038         [$(build-shared = yes].
48040 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48042         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48043         (__mul): Reduce iterations for calculating mantissa.
48045         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48046         MPTWO.
48047         (__mpranred): Likewise.
48049         [BZ #15160]
48050         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48051         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48053 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48055         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48056         Define __attribute__.
48058 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48060         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48061         unused.
48062         * posix/regex_internal.h (__attribute): Remove.
48063         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48064         (re_string_context_at): Likewise.
48065         (bitset_not): Use __attribute__ and mark function as possibly
48066         unused.
48067         (bitset_merge): Likewise.
48068         (bitset_mask): Likewise.
48069         (re_string_char_size_at): Likewise.
48070         (re_string_wchar_at): Likewise.
48071         (re_string_elem_size_at): Likewise.
48073 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48075         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48076         code.
48077         (cc32): Likewise.
48079         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48080         (__acr): Likewise.
48081         (__cpy): Likewise.
48082         (norm): Likewise.
48083         (denorm): Likewise.
48084         (__dbl_mp): Likewise.
48085         (add_magnitudes): Likewise.
48086         (sub_magnitudes): Likewise.
48087         (__mul): Likewise.
48088         (__inv): Likewise.
48090         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48091         style.
48093         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48094         style.
48096         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48097         code.
48099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48100         up changes with default code.
48101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48102         Likewise.
48104 2013-02-24  Allan McRae  <allan@archlinux.org>
48106         * manual/socket.texi (The Internet Namespace): Order menu items
48107         to match that in the file.
48109         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48110         node listing of the info page menu.
48112 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48114         [BZ #13550]
48115         * sysdeps/i386/bp-asm.h: Remove file.
48116         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48117         (PARMS): Do not use macros from bp-asm.h.
48118         (S1): Likewise.
48119         (S2): Likewise.
48120         (SIZE): Likewise.
48121         (__mpn_add_n): Do not use BP_SYM
48122         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48123         "bp-asm.h".
48124         (PARMS): Do not use macros from bp-asm.h.
48125         (S1): Likewise.
48126         (SIZE): Likewise.
48127         (__mpn_addmul_1): Do not use BP_SYM
48128         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48129         "bp-asm.h".
48130         (PARMS): Do not use macros from bp-asm.h.
48131         (SIGMSK): Likewise.
48132         (_setjmp): Likewise.  Do not use BP_SYM.
48133         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48134         "bp-asm.h".
48135         (PARMS): Do not use macros from bp-asm.h.
48136         (SIGMSK): Likewise.
48137         (setjmp): Likewise.  Do not use BP_SYM.
48138         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48139         "bp-asm.h".
48140         (PARMS): Do not use macros from bp-asm.h.
48141         (__frexp): Do not use BP_SYM.
48142         (frexp): Likewise.
48143         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48144         "bp-asm.h".
48145         (PARMS): Do not use macros from bp-asm.h.
48146         (__frexpf): Do not use BP_SYM.
48147         (frexpf): Likewise.
48148         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48149         "bp-asm.h".
48150         (PARMS): Do not use macros from bp-asm.h.
48151         (__frexpl): Do not use BP_SYM.
48152         (frexpl): Likewise.
48153         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48154         "bp-asm.h".
48155         (PARMS): Do not use macros from bp-asm.h.
48156         (__remquo): Do not use BP_SYM.
48157         (remquo): Likewise.
48158         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48159         "bp-asm.h".
48160         (PARMS): Do not use macros from bp-asm.h.
48161         (__remquof): Do not use BP_SYM.
48162         (remquof): Likewise.
48163         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48164         "bp-asm.h".
48165         (PARMS): Do not use macros from bp-asm.h.
48166         (__remquol): Do not use BP_SYM.
48167         (remquol): Likewise.
48168         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48169         "bp-asm.h".
48170         (PARMS): Do not use macros from bp-asm.h.
48171         (DEST): Likewise.
48172         (SRC): Likewise.
48173         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48174         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48175         "bp-asm.h".
48176         (PARMS): Do not use macros from bp-asm.h.
48177         (strlen): Do not use BP_SYM.
48178         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48179         "bp-asm.h".
48180         (PARMS): Do not use macros from bp-asm.h.
48181         (S1): Likewise.
48182         (S2): Likewise.
48183         (SIZE): Likewise.
48184         (__mpn_add_n): Do not use BP_SYM.
48185         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48186         "bp-asm.h".
48187         (PARMS): Do not use macros from bp-asm.h.
48188         (S1): Likewise.
48189         (SIZE): Likewise.
48190         (__mpn_addmul_1): Do not use BP_SYM.
48191         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48192         weak_alias.
48193         (bzero): Likewise.
48194         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48195         "bp-asm.h".
48196         (PARMS): Do not use macros from bp-asm.h.
48197         (S): Likewise.
48198         (SIZE): Likewise.
48199         (__mpn_lshift): Do not use BP_SYM.
48200         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48201         "bp-asm.h".
48202         (PARMS): Do not use macros from bp-asm.h.
48203         (DEST): Likewise.
48204         (SRC): Likewise.
48205         (LEN): Likewise.
48206         (memcpy): Likewise.  Do not use BP_SYM.
48207         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48208         libc_hidden_def and weak_alias.
48209         (mempcpy): Do not use BP_SYM in weak_alias.
48210         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48211         "bp-asm.h".
48212         (PARMS): Do not use macros from bp-asm.h.
48213         (DEST): Likewise.
48214         (LEN): Likewise.
48215         [!BZERO_P] (CHR): Likewise.
48216         (memset): Likewise.  Do not use BP_SYM.
48217         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48218         "bp-asm.h".
48219         (PARMS): Do not use macros from bp-asm.h.
48220         (S1): Likewise.
48221         (SIZE): Likewise.
48222         (__mpn_mul_1): Do not use BP_SYM.
48223         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48224         "bp-asm.h".
48225         (PARMS): Do not use macros from bp-asm.h.
48226         (S): Likewise.
48227         (SIZE): Likewise.
48228         (__mpn_rshift): Do not use BP_SYM.
48229         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48230         "bp-asm.h".
48231         (PARMS): Do not use macros from bp-asm.h.
48232         (STR): Likewise.
48233         (CHR): Likewise.
48234         (strchr): Likewise.  Do not use BP_SYM.
48235         (index): Do not use BP_SYM in weak_alias.
48236         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48237         "bp-asm.h".
48238         (PARMS): Do not use macros from bp-asm.h.
48239         (DEST): Likewise.
48240         (SRC): Likewise.
48241         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48242         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48243         "bp-asm.h".
48244         (PARMS): Do not use macros from bp-asm.h.
48245         (strlen): Do not use BP_SYM.
48246         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48247         "bp-asm.h".
48248         (PARMS): Do not use macros from bp-asm.h.
48249         (S1): Likewise.
48250         (S2): Likewise.
48251         (SIZE): Likewise.
48252         (__mpn_sub_n): Do not use BP_SYM.
48253         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48254         "bp-asm.h".
48255         (PARMS): Do not use macros from bp-asm.h.
48256         (S1): Likewise.
48257         (SIZE): Likewise.
48258         (__mpn_submul_1): Do not use BP_SYM.
48259         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48260         "bp-asm.h".
48261         (PARMS): Do not use macros from bp-asm.h.
48262         (S1): Likewise.
48263         (S2): Likewise.
48264         (SIZE): Likewise.
48265         (__mpn_add_n): Do not use BP_SYM.
48266         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48267         weak_alias.
48268         (bzero): Likewise.
48269         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48270         "bp-asm.h".
48271         (PARMS): Do not use macros from bp-asm.h.
48272         (BLK2): Likewise.
48273         (LEN): Likewise.
48274         (memcmp): Do not use BP_SYM.
48275         (bcmp): Do not use BP_SYM in weak_alias.
48276         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48277         "bp-asm.h".
48278         (PARMS): Do not use macros from bp-asm.h.
48279         (DEST): Likewise.
48280         (SRC): Likewise.
48281         (LEN): Likewise.
48282         (memcpy): Likewise.  Do not use BP_SYM.
48283         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48284         "bp-asm.h".
48285         (PARMS): Do not use macros from bp-asm.h.
48286         (DEST): Likewise.
48287         (SRC): Likewise.
48288         (LEN): Likewise.
48289         (memmove): Likewise.  Do not use BP_SYM.
48290         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48291         "bp-asm.h".
48292         (PARMS): Do not use macros from bp-asm.h.
48293         (DEST): Likewise.
48294         (SRC): Likewise.
48295         (LEN): Likewise.
48296         (__mempcpy): Likewise.  Do not use BP_SYM.
48297         (mempcpy): Do not use BP_SYM in weak_alias.
48298         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48299         "bp-asm.h".
48300         (PARMS): Do not use macros from bp-asm.h.
48301         (DEST): Likewise.
48302         (LEN): Likewise.
48303         [!BZERO_P] (CHR): Likewise.
48304         (memset): Likewise.  Do not use BP_SYM.
48305         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48306         "bp-asm.h".
48307         (PARMS): Do not use macros from bp-asm.h.
48308         (STR2): Likewise.
48309         (strcmp): Do not use BP_SYM.
48310         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48311         "bp-asm.h".
48312         (PARMS): Do not use macros from bp-asm.h.
48313         (STR): Likewise.
48314         (DELIM): Likewise.
48315         [USE_AS_STRTOK_R] (SAVE): Likewise.
48316         (FUNCTION): Likewise.  Do not use BP_SYM.
48317         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48318         aliases.
48319         (strtok_r): Likewise.
48320         (__GI___strtok_r): Likewise.
48321         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48322         (PARMS): Do not use macros from bp-asm.h.
48323         (S): Likewise.
48324         (SIZE): Likewise.
48325         (__mpn_lshift): Do not use BP_SYM.
48326         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48327         (PARMS): Do not use macros from bp-asm.h.
48328         (STR): Likewise.
48329         (CHR): Likewise.
48330         (__memchr): Do not use BP_SYM.
48331         (memchr): Do not use BP_SYM in weak_alias.
48332         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48333         (PARMS): Do not use macros from bp-asm.h.
48334         (BLK2): Likewise.
48335         (LEN): Likewise.
48336         (memcmp): Do not use BP_SYM.
48337         (bcmp): Do not use BP_SYM in weak_alias.
48338         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48339         (PARMS): Do not use macros from bp-asm.h.
48340         (S1): Likewise.
48341         (SIZE): Likewise.
48342         (__mpn_mul_1): Do not use BP_SYM.
48343         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48344         "bp-asm.h".
48345         (PARMS): Do not use macros from bp-asm.h.
48346         (STR): Likewise.
48347         (CHR): Likewise.
48348         (__rawmemchr): Do not use BP_SYM.
48349         (rawmemchr): Do not use BP_SYM in weak_alias.
48350         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48351         (PARMS): Do not use macros from bp-asm.h.
48352         (S): Likewise.
48353         (SIZE): Likewise.
48354         (__mpn_rshift): Do not use BP_SYM.
48355         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48356         (PARMS): Do not use macros from bp-asm.h.
48357         (SIGMSK): Likewise.
48358         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48359         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48360         (_start): Do not use BP_SYM.
48361         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48362         (PARMS): Do not use macros from bp-asm.h.
48363         (DEST): Likewise.
48364         (SRC): Likewise.
48365         (__stpcpy): Likewise.  Do not use BP_SYM.
48366         (stpcpy): Do not use BP_SYM in weak_alias.
48367         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48368         "bp-asm.h".
48369         (PARMS): Do not use macros from bp-asm.h.
48370         (DEST): Likewise.
48371         (SRC): Likewise.
48372         (LEN): Likewise.
48373         (__stpncpy): Likewise.  Do not use BP_SYM.
48374         (stpncpy): Do not use BP_SYM in weak_alias.
48375         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48376         (PARMS): Do not use macros from bp-asm.h.
48377         (STR): Likewise.
48378         (CHR): Likewise.
48379         (strchr): Likewise.  Do not use BP_SYM.
48380         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48381         "bp-asm.h".
48382         (PARMS): Do not use macros from bp-asm.h.
48383         (STR): Likewise.
48384         (CHR): Likewise.
48385         (__strchrnul): Likewise.  Do not use BP_SYM.
48386         (strchrnul): Do not use BP_SYM in weak_alias.
48387         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48388         "bp-asm.h".
48389         (PARMS): Do not use macros from bp-asm.h.
48390         (STOP): Likewise.
48391         (strcspn): Do not use BP_SYM.
48392         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48393         "bp-asm.h".
48394         (PARMS): Do not use macros from bp-asm.h.
48395         (STR): Likewise.
48396         (STOP): Likewise.
48397         (strpbrk): Likewise.  Do not use BP_SYM.
48398         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48399         "bp-asm.h".
48400         (PARMS): Do not use macros from bp-asm.h.
48401         (STR): Likewise.
48402         (CHR): Likewise.
48403         (strrchr): Likewise.  Do not use BP_SYM.
48404         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48405         (PARMS): Do not use macros from bp-asm.h.
48406         (SKIP): Likewise.
48407         (strspn): Do not use BP_SYM.
48408         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48409         (PARMS): Do not use macros from bp-asm.h.
48410         (STR): Likewise.
48411         (DELIM): Likewise.
48412         (SAVE): Likewise.
48413         (FUNCTION): Likewise.  Do not use BP_SYM.
48414         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
48415         aliases.
48416         (strtok_r): Likewise.
48417         (__GI___strtok_r): Likewise.
48418         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48419         (PARMS): Do not use macros from bp-asm.h.
48420         (S1): Likewise.
48421         (S2): Likewise.
48422         (SIZE): Likewise.
48423         (__mpn_sub_n): Do not use BP_SYM.
48424         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48425         "bp-asm.h".
48426         (PARMS): Do not use macros from bp-asm.h.
48427         (S1): Likewise.
48428         (SIZE): Likewise.
48429         (__mpn_submul_1): Do not use BP_SYM.
48430         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48431         <bp-sym.h>.
48432         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48433         and <bp-asm.h>.
48434         (PARMS): Do not use macros from bp-asm.h.
48435         (FLAGS): Likewise.
48436         (PTID): Likewise.
48437         (TLS): Likewise.
48438         (CTID): Likewise.
48439         (__clone): Do not use BP_SYM.
48440         (clone): Do not use BP_SYM in weak_alias.
48441         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48442         and <bp-asm.h>.
48443         (PARMS): Do not use macros from bp-asm.h.
48444         (LEN): Likewise.
48445         (__mmap64): Do not use BP_SYM.
48446         (mmap64): Do not use BP_SYM in weak_alias.
48447         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48448         <bp-sym.h> and <bp-asm.h>.
48449         (PARMS): Do not use macros from bp-asm.h.
48450         (__posix_fadvise64_l64): Do not use BP_SYM.
48451         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48452         (PARMS): Do not use macros from bp-asm.h.
48453         (NSOPS): Likewise.
48454         (semtimedop): Do not use BP_SYM.
48455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48456         and <bp-asm.h>.
48458 2013-02-21  Allan McRae  <allan@archlinux.org>
48460         * manual/message.texi (Charset conversion in gettext):
48461         Move @end statement to beginning of line.
48463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48466         static.
48467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48468         Likewise.
48470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48471         (denorm): Likewise.
48472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48475 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48477         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48478         tail-call to the resolved function if pltexit isn't needed.
48480 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48483         or Y being zero as being unlikely.
48484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48485         Likewise.
48487 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48489         * manual/nss.texi (System Databases and Name Service Switch):
48490         Remove frobnicate @pxref.
48492 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48494         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48495         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48497 2013-02-20  Petr Machata  <pmachata@redhat.com>
48499         * elf/elf.h (R_ARM_TARGET1): New macro.
48500         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48501         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48502         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48503         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48504         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48505         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48506         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48507         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48508         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48509         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48510         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48511         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48512         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48513         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48514         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48515         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48516         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48517         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48518         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48519         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48520         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48521         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48522         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48523         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48524         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48525         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48526         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48527         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48528         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48529         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48530         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48531         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48532         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48533         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48534         (R_ARM_THM_GOT_BREL12): Likewise.
48535         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48536         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48537         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48538         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48539         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48540         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48541         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48542         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48543         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48545 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48547         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48548         __attribute_used__ to __attribute__ ((unused)).
48550 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48552         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48553         powerpc mpa.c.
48554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48555         comment formatting.
48556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48558 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48560         [BZ #13550]
48561         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48562         Remove macro.
48563         (ENTER): Remove both macro definitions.
48564         (LEAVE): Likewise.
48565         (CHECK_BOUNDS_LOW): Likewise.
48566         (CHECK_BOUNDS_HIGH): Likewise.
48567         (CHECK_BOUNDS_BOTH): Likewise.
48568         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48569         (RETURN_BOUNDED_POINTER): Likewise.
48570         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48571         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48572         (POP_ERRNO_LOCATION_RETURN): Likewise.
48573         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48574         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48575         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48576         macros.
48577         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48578         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48579         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48580         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48581         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48582         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48583         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48584         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48585         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48586         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48587         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48588         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48589         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48590         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48591         removed macros.
48592         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48593         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48594         macros.
48595         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48596         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48597         * sysdeps/i386/i586/memset.S (memset): Likewise.
48598         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48599         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48600         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48601         macros.
48602         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48603         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48604         Change uses of L(2) to L(out).
48605         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48606         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48607         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48608         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48609         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48610         removed macros.
48611         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48612         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48613         macros.
48614         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48615         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48616         (RETURN): Do not use macro LEAVE.
48617         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48618         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48619         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48620         * sysdeps/i386/i686/memset.S (memset): Likewise.
48621         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48622         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48623         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48624         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48625         Likewise.
48626         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48627         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48628         L(1_2) and L(1_3) into L(1).
48629         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48630         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48631         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48632         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48633         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48634         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48635         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48636         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48637         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48638         macros.
48639         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48640         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48641         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48642         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48643         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48644         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48645         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48646         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48647         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48648         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48649         * sysdeps/i386/strrchr.S (strrchr): Likewise.
48650         * sysdeps/i386/strspn.S (strspn): Likewise.
48651         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48652         conditional code.
48653         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48654         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48655         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48656         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
48657         L(1_3) into L(1_1).
48658         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48659         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48660         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48661         macros.
48662         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48664 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48666         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48667         macro.
48669 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48671         * math/atest-exp.c (exp_mpn): Remove ROUND.
48672         * math/atest-exp2.c (exp_mpn): Likewise.
48673         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48675         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48676         * stdlib/tst-tls-atexit-lib.c: Likewise.
48677         * stdlib/tst-tls-atexit.c: Likewise.
48679 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48681         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48682         and __attribute_alloc_size__.
48684 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48686         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48687         __attribute_alloc_size__.
48688         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48689         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48691 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48693         * include/programs/xmalloc.h: New file.
48694         * catgets/gencat.c: Include it.
48695         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48696         * elf/pldd.c: Likewise.
48697         * iconv/iconv_charmap.c: Likewise.
48698         * iconv/iconvconfig.c: Likewise.
48699         * iconv/strtab.c: Likewise.
48700         * locale/programs/locale.c: Likewise.
48701         * locale/programs/localedef.h: Likewise.
48702         * locale/programs/simple-hash.c: Likewise.
48703         * nscd/nscd.h: Likewise.
48704         * nss/makedb.c: Likewise.
48705         * sysdeps/generic/ldconfig.h: Likewise.
48707 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48709         * Versions.def: Add GLIBC_2.18.
48710         * include/link.h (struct link_map): New member l_tls_dtor_count.
48711         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48712         (__call_tls_dtors): Likewise.
48713         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48714         __cxa_thread_atexit_impl.
48715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48716         Likewise.
48717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48718         Likewise.
48719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48720         Likewise.
48721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48722         Likewise.
48723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48725         Likewise.
48726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48727         Likewise.
48728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48730         Likewise.
48731         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48732         (tests): Add test case tst-tls-atexit.
48733         (modules-names): Add shared library for tst-tls-atexit.
48734         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48735         (GLIBC_PRIVATE): Add __call_tls_dtors.
48736         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48737         for libstdc++.
48738         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48739         * stdlib/tst-tls-atexit.c: New test case.
48740         * stdlib/tst-tls-atexit-lib.c: New test case.
48742         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48744         * elf/Versions (ld): Add _dl_find_dso_for_object.
48745         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48746         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48747         (dl_open_worker): Use _dl_find_dso_for_object.
48748         * elf/dl-sym.c (do_sym): Likewise.
48749         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48751 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48753         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48754         Syntactic changes only.
48755         (_dl_runtime_profile): Do a tail-call to the resolved function.
48757 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48759         [BZ #13550]
48760         * sysdeps/x86_64/bp-asm.h: Remove file.
48761         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48762         <bp-sym.h> and <bp-asm.h>.
48763         (__clone): Do not use BP_SYM.
48764         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48765         <bp-sym.h> and <bp-asm.h>.
48766         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48767         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48768         "bp-asm.h".
48769         (_setjmp): Do not use BP_SYM.
48770         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48771         "bp-asm.h".
48772         (setjmp): Do not use BP_SYM.
48773         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48774         libc_hidden_def.
48775         (mempcpy): Do not use BP_SYM in weak_alias.
48776         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48777         "bp-asm.h".
48778         (strchr): Do not use BP_SYM.
48779         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48780         "bp-asm.h".
48781         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48782         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48783         (_start): Do not use BP_SYM.
48784         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48785         "bp-asm.h".
48786         (strcat): Do not use BP_SYM.
48787         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48788         "bp-asm.h".
48789         (STRCMP): Do not use BP_SYM.
48790         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48791         "bp-asm.h".
48792         (STRCPY): Do not use BP_SYM.
48793         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48794         "bp-asm.h".
48795         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48796         "bp-asm.h".
48797         (FUNCTION): Do not use BP_SYM.
48798         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48799         weak_alias.
48800         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48802 2013-02-17  Andreas Jaeger  <aj@suse.de>
48804         * time/Versions: Sort entries.
48805         * string/Versions: Likewise.
48806         * resolv/Versions: Likewise.
48807         * posix/Versions: Likewise.
48808         * iconv/Versions: Likewise.
48809         * elf/Versions: Likewise.
48810         * wcsmbs/Versions: Likewise.
48812 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48815         loop termination condition.
48817         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48818         variable to calculate EZ.
48819         (__sqr): Likewise.
48821         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48822         the lower precision input.
48824 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48826         [BZ #13550]
48827         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48828         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48829         (run-via-rtld-prefix): Do not handle %-bp tests.
48830         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48831         (all-object-suffixes): Remove .ob.
48832         (bppfx): Remove variable.
48833         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48834         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48835         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48836         [$(build-bounded) = yes] (libtype.ob): Likewise.
48837         * Makerules (elide-routines.ob): Remove variable.
48838         (do-tests-clean): Do not handle *-bp.out.
48839         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48840         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48841         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48842         (tests): Do not include $(tests-bp.out).
48843         (xtests): Do not include $(xtests-bp.out).
48844         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48845         [$(build-bounded) = yes] ($(addprefix
48846         $(objpfx),$(binaries-bounded))): Remove rule.
48847         ($(objpfx)%-bp.out): Remove rule.
48848         * config.make.in (build-bounded): Remove variable.
48849         * crypt/Makefile [$(build-bounded) = yes]
48850         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48851         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48852         append to variable.
48853         [$(build-bounded) = yes] (install-lib): Likewise.
48854         [$(build-bounded) = yes] (generated): Likewise.
48855         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48856         Remove rule.
48857         * intl/Makefile [$(build-bounded) = yes]
48858         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48859         * math/Makefile [$(build-bounded) = yes]
48860         ($(tests:%=$(objpfx)%-bp): Likewise.
48861         * misc/Makefile [$(build-bounded) = yes]
48862         ($(objpfx)tst-tsearch-bp): Likewise.
48863         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48864         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48865         Remove dependency.
48866         * string/Makefile (o-objects.ob): Remove variable.
48867         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48868         (CFLAGS-.ob): Remove variable.
48869         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48870         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48871         both definitions of variable.
48872         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48873         (ASFLAGS-.ob): Remove variable.
48875 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48877         [BZ #13550]
48878         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48879         Remove __BOUNDED_POINTERS__ from condition.
48880         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48881         * string/bits/string2.h [!__NO_STRING_INLINES &&
48882         !__BOUNDED_POINTERS__]: Likewise.
48883         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48884         Likewise.
48885         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48886         Remove conditional code.
48887         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48888         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48889         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48890         condition.
48892         [BZ #13550]
48893         * csu/libc-start.c: Do not include <bp-sym.h>.
48894         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48895         * elf/dl-open.c: Do not include <bp-sym.h>.
48896         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48897         * math/fegetenv.c: Do not include <bp-sym.h>.
48898         (fegetenv): Do not use BP_SYM in versioned symbols.
48899         * nptl/sysdeps/pthread/bits/libc-lockP.h
48900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48901         <bp-sym.h>.
48902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48903         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48905         (__pthread_mutex_destroy): Likewise.
48906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48907         (__pthread_mutex_lock): Likewise.
48908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48909         (__pthread_mutex_trylock): Likewise.
48910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48911         (__pthread_mutex_unlock): Likewise.
48912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48913         (__pthread_mutexattr_init): Likewise.
48914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48915         (__pthread_mutexattr_destroy): Likewise.
48916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48917         (__pthread_mutexattr_settype): Likewise.
48918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48919         (__pthread_rwlock_init): Likewise.
48920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48921         (__pthread_rwlock_destroy): Likewise.
48922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48923         (__pthread_rwlock_rdlock): Likewise.
48924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48925         (__pthread_rwlock_tryrdlock): Likewise.
48926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48927         (__pthread_rwlock_wrlock): Likewise.
48928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48929         (__pthread_rwlock_trywrlock): Likewise.
48930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48931         (__pthread_rwlock_unlock): Likewise.
48932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48933         (__pthread_key_create): Likewise.
48934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48935         (__pthread_setspecific): Likewise.
48936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48937         (__pthread_getspecific): Likewise.
48938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48939         Likewise.
48940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48941         (_pthread_cleanup_push_defer): Likewise.
48942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48943         (_pthread_cleanup_pop_restore): Likewise.
48944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48945         (pthread_setcancelstate): Likewise.
48946         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48947         <bp-sym.h>.
48948         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48949         (memchr): Do not use BP_SYM in weak_alias.
48950         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48951         (fegetenv): Do not use BP_SYM in versioned symbols.
48952         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48953         (fesetenv): Do not use BP_SYM in versioned symbols.
48954         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48955         (feupdateenv): Do not use BP_SYM in versioned symbols.
48956         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48957         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48958         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48959         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48960         (open64): Do not use BP_SYM in weak_alias.
48961         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48962         (fegetenv): Do not use BP_SYM in versioned symbols.
48963         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48964         (fesetenv): Do not use BP_SYM in versioned symbols.
48965         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48966         (feupdateenv): Do not use BP_SYM in versioned symbols.
48967         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48968         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48969         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48970         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48971         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48972         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48973         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48974         <bp-sym.h>.
48975         (__libc_start_main): Do not use BP_SYM.
48977 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48980         redundant return line.
48981         (norm): Likewise.
48982         (denorm): Likewise.
48983         (dbl_mp): Likewise.
48984         (sub_magnitudes): Likewise.
48985         (__add): Likewise.
48986         (__sub): Likewise.
48987         (__mul): Likewise.
48988         (__inv): Likewise.
48989         (__dvd): Likewise.
48990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48991         (norm): Likewise.
48992         (denorm): Likewise.
48993         (dbl_mp): Likewise.
48994         (sub_magnitudes): Likewise.
48995         (__add): Likewise.
48996         (__sub): Likewise.
48997         (__mul): Likewise.
48998         (__inv): Likewise.
48999         (__dvd): Likewise.
49001         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49002         instead of __mul.
49003         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49004         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49005         (cc32): Likewise.
49007         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49008         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49009         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49010         of __mul for squares.
49011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49012         function
49013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49014         Likewise.
49015         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49016         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49018 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49020         [BZ #13550]
49021         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49022         code.
49023         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49024         prototype or function definition.  Rename ubp_* variables and
49025         parameters.  Remove argv definitions conditional on
49026         [__BOUNDED_POINTERS__].
49027         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49028         * elf/dl-runtime.c (_dl_fixup): Likewise.
49029         * include/set-hooks.h (RUN_HOOK): Likewise.
49030         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49031         definition.
49032         * string/strcpy.c (strcpy): Do not use __unbounded.
49033         * sysdeps/generic/frame.h (struct layout): Likewise.
49034         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49035         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49036         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49037         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49038         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49039         (__backtrace): Likewise.
49040         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49041         use __ptrvalue.
49042         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49043         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49044         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49045         Likewise.
49046         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49047         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49048         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49049         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49050         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49051         Do not use __unbounded.
49052         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49053         Rename __unboundedrlimits parameter to rlimits in prototype.
49054         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49055         Do not use __unbounded.
49056         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49057         not use __ptrvalue.
49058         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49059         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49060         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49061         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49062         __ptrvalue or __unbounded.
49063         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49064         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49065         use __unbounded.
49066         (__new_msgctl): Do not use __ptrvalue.
49067         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49068         __unbounded.
49069         (__libc_msgrcv): Do not use __ptrvalue.
49070         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49071         startup_info): Do not use __unbounded.
49072         (__libc_start_main): Likewise.  Rename ubp_* variables and
49073         parameters.  Remove argv definitions conditional on
49074         [__BOUNDED_POINTERS__].
49075         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49076         __ptrvalue.
49077         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49078         use __unbounded.
49079         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49080         or __ptrvalue.
49081         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49082         use __unbounded.
49083         (__new_shmctl): Do not use __ptrvalue.
49084         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49085         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49086         Likewise.
49087         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49088         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49089         (__libc_sigaction): Likewise.
49090         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49091         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49092         Likewise.
49093         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49095 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49097         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49099         * string/mempcpy.c: Implement by calling memcpy.
49101 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49106         evaluation.
49108         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49109         values in the mantissa.
49111         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49112         minimize writes to Z.
49113         (sub_magnitudes): Simplify code a bit.
49115 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49117         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49118         from the message.  The linker prefixes all warnings with that already.
49120 2013-02-12  Andreas Schwab  <schwab@suse.de>
49122         [BZ #15078]
49123         * posix/regexec.c (extend_buffers): Add parameter min_len.
49124         (check_matching): Pass minimum needed length.
49125         (clean_state_log_if_needed): Likewise.
49126         (get_subexp): Likewise.
49127         * posix/Makefile (tests): Add bug-regex34.
49128         (bug-regex34-ENV): Define.
49129         * posix/bug-regex34.c: New file.
49131         [BZ #11561]
49132         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49133         elements compare against the byte sequence of it, not its name.
49134         * posix/Makefile (tests): Add bug-regex35.
49135         (bug-regex35-ENV): Define.
49136         * posix/bug-regex35.c: New file.
49138 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49140         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49141         comment.
49142         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49143         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49144         (CHECK_EOL): Add undef.
49146 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49148         * bits/stdlib-bsearch.h: New file.
49149         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49150         * stdlib/stdlib.h: Likewise.
49152 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49154         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49155         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49156         declaration.
49157         * manual/search.texi (Array Search Function): Add missing const in
49158         lfind prototype.
49159         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49160         declaration to use rlim_t.
49161         (Basic Scheduling Functions): Remove erroneous const from
49162         sched_getparam prototype.  Remove erroneous * from
49163         sched_get_priority_max and sched_get_priority_min prototypes.
49164         (Resource Usage): Fix summary @comment on vtimes to refer to
49165         sys/vtimes.h rather than vtimes.h.
49166         Add missing *s in vtimes prototype.
49167         (Limits on Resources): Fix ulimit prototype to return long int.
49168         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49169         prototypes to use long int rather than double.
49170         (BSD Random): Fix initstate and setstate to use char *, not void *.
49171         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49172         prototype to make second argument 'struct aiocb64 *const[]'.
49173         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49174         (Status of AIO Operations): Remove erroneous const in aio_return and
49175         aio_return64 prototypes.
49176         (Synchronizing I/O): Fix sync prototype to return void.
49177         * manual/startup.texi (Suboptions): Remove an erroneous const in
49178         getsubopt prototype.
49179         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49180         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49181         use size_t rather than int.
49182         (Scanning All Users): Likewise for getpwent_r.
49183         (Setting Groups): Add missing const to setgroups prototype.
49184         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49185         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49186         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49187         'const void *' rather than 'const char *'.
49188         (Host Address Functions): Likewise for inet_ntop.
49189         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49190         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49191         ssize_t for return value.
49192         (Sending Data): Likewise for send, sendto, sendmsg.
49193         (Socket Option Functions): Add a missing const in setsockopt prototype.
49194         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49195         use wchar_t for the argument.
49196         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49197         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49198         take no arguments.
49199         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49200         double/float/long double for second argument.
49201         Fix return types of significand, significandf, significandl.
49202         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49203         argument in fchmod prototype.
49204         (File Owner): Use uid_t and gid_t in fchown prototype.
49205         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49206         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49207         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49208         use 'const struct dirent **' as argument types to CMP function pointer
49209         argument.
49210         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49211         (File Times): Fix summary magic @comment for struct utimbuf and utime
49212         to refer to utime.h, not time.h.
49213         * manual/string.texi (Argz Functions): Add missing const in
49214         argz_extract and argz_next prototypes.
49215         (Finding Tokens in a String): Likewise for basename.
49216         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49217         (Copying and Concatenation): Fix typo in wmemmove prototype.
49218         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49219         (Signal Stack): Remove erroneous const in sigstack prototype.
49220         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49221         prototype.
49222         (Simple Calendar Time): Likewise for stime.
49223         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49224         prototype.
49225         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49226         say sys/sysctl.h instead.
49227         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49228         and vsyslog prototypes.
49230 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49232         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49233         Remove.
49235 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49237         * misc/sys/mman.h: Fix typo in mremap comment.
49239 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49241         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49242         the '\0' terminator.
49244 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49246         [BZ #13550]
49247         * debug/segfault.c: Don't include <bp-checks.h>.
49248         * sysdeps/generic/bp-checks.h: Remove file.
49249         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49250         (__GETDENTS): Don't use CHECK_N.
49251         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49252         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49253         (__getgroups): Don't use CHECK_N.
49254         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49255         (setgroups): Don't use CHECK_N.
49256         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49257         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49258         (__libc_msgrcv): Don't use CHECK_N.
49259         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49260         (__libc_msgsnd): Don't use CHECK_N.
49261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49262         <bp-checks.h>.
49263         (__libc_pread): Don't use CHECK_N.
49264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49265         include <bp-checks.h>.
49266         (__libc_pread64): Don't use CHECK_N.
49267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49268         include <bp-checks.h>.
49269         (__libc_pwrite): Don't use CHECK_N.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49271         include <bp-checks.h>.
49272         (__libc_pwrite64): Don't use CHECK_N.
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49274         <bp-checks.h>.
49275         (__libc_pread): Don't use CHECK_N.
49276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49277         include <bp-checks.h>.
49278         (__libc_pread64): Don't use CHECK_N.
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49280         include <bp-checks.h>.
49281         (__libc_pwrite): Don't use CHECK_N.
49282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49283         include <bp-checks.h>.
49284         (__libc_pwrite64): Don't use CHECK_N.
49285         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49286         (do_pread): Don't use CHECK_N.
49287         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49288         (do_pread64): Don't use CHECK_N.
49289         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49290         (do_pwrite): Don't use CHECK_N.
49291         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49292         (do_pwrite64): Don't use CHECK_N.
49293         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49294         (__libc_readv): Don't use CHECK_N.
49295         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49296         (semop): Don't use CHECK_N.
49297         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49298         <bp-checks.h>.
49299         (semtimedop): Don't use CHECK_N.
49300         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49301         (__libc_pread): Don't use CHECK_N.
49302         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49303         <bp-checks.h>.
49304         (__libc_pread64): Don't use CHECK_N.
49305         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49306         <bp-checks.h>.
49307         (__libc_pwrite): Don't use CHECK_N.
49308         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49309         <bp-checks.h>.
49310         (__libc_pwrite64): Don't use CHECK_N.
49311         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49312         <bp-checks.h>.
49313         (__libc_msgrcv): Don't use CHECK_N.
49314         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49315         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49316         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49317         (__libc_writev): Don't use CHECK_N.
49319 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49321         * string/strcpy.c: Removed unused variable.
49323         * Makeconfig (+sysdep-includes): Define with := rather than =.
49324         Use an existing include/ subdir of each sysdeps dir before it.
49326 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49328         * nscd/connection.c (register_traced_file): Comment function.
49329         [HAVE_INOTIFY] (union __inev): Define.
49330         [HAVE_INOTIFY] (inotify_check_files): New function.
49331         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49332         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49333         clear_db_cache.
49334         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49336 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49338         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49339         loaded if not already and that a failure is permanent.
49341 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49343         [BZ #15006]
49344         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49345         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49347 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49349         [BZ #13550]
49350         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49351         (CHECK_1_NULL_OK): Likewise.
49352         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49353         (__fxstat): Do not use CHECK_1.
49354         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49355         <bp-checks.h>.
49356         (___fxstat64): Do not use CHECK_1.
49357         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49358         <bp-checks.h>.
49359         (__fxstatat): Do not use CHECK_1.
49360         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49361         <bp-checks.h>.
49362         (__fxstatat64): Do not use CHECK_1.
49363         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49364         <bp-checks.h>.
49365         (__fxstat): Do not use CHECK_1.
49366         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49367         <bp-checks.h>.
49368         (__fxstatat): Do not use CHECK_1.
49369         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49370         <bp-checks.h>.
49371         (__getresgid): Do not use CHECK_1.
49372         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49373         <bp-checks.h>.
49374         (__getresuid): Do not use CHECK_1.
49375         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49376         <bp-checks.h>.
49377         (__lxstat): Do not use CHECK_1.
49378         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49379         <bp-checks.h>.
49380         (__old_msgctl): Do not use CHECK_1.
49381         (__new_msgctl): Likewise.
49382         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49383         <bp-checks.h>.
49384         (__new_setrlimit): Do not use CHECK_1.
49385         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49386         <bp-checks.h>.
49387         (__old_shmctl): Do not use CHECK_1.
49388         (__new_shmctl): Likewise.
49389         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49390         <bp-checks.h>.
49391         (__xstat): Do not use CHECK_1.
49392         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49393         (__lxstat): Do not use CHECK_1.
49394         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49395         <bp-checks.h>.
49396         (___lxstat64): Do not use CHECK_1.
49397         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49398         (__old_msgctl): Do not use CHECK_1.
49399         (__new_msgctl): Likewise.
49400         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49401         <bp-checks.h>.
49402         (__gettimeofday): Do not use CHECK_1.
49403         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49404         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49405         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49406         <bp-checks.h>.
49407         (__gettimeofday): Do not use CHECK_1.
49408         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49409         (__old_shmctl): Do not use CHECK_1_NULL_OK.
49410         (__new_shmctl): Do not use CHECK_1.
49411         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49412         <bp-checks.h>.
49413         (do_sigtimedwait): Do not use CHECK_1.
49414         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49415         <bp-checks.h>.
49416         (do_sigwaitinfo): Do not use CHECK_1.
49417         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49418         <bp-checks.h>.
49419         (msgctl): Do not use CHECK_1.
49420         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49421         <bp-checks.h>.
49422         (shmctl): Do not use CHECK_1.
49423         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49424         (ustat): Do not use CHECK_1.
49425         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49426         <bp-checks.h>.
49427         (__fxstat): Do not use CHECK_1.
49428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49429         <bp-checks.h>.
49430         (__fxstatat): Do not use CHECK_1.
49431         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49432         <bp-checks.h>.
49433         (__lxstat): Do not use CHECK_1.
49434         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49435         <bp-checks.h>.
49436         (__xstat): Do not use CHECK_1.
49437         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49438         (__xstat): Do not use CHECK_1.
49439         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49440         (___xstat64): Do not use CHECK_1.
49442         [BZ #13550]
49443         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49444         definitions.
49445         (CHECK_BOUNDS_HIGH): Likewise.
49446         * string/strcpy.c: Do not include <bp-checks.h>.
49447         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49449 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49451         * nscd/nscd-client.h (__nscd_drop_map_ref):
49452         Add __attribute__ ((unused)).
49453         * nis/nss-nisplus.h (niserr2nss): Likewise.
49455         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49456         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49458         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49459         Remove inline keyword.
49460         * include/rounding-mode.h (round_away): Likewise.
49461         * libio/wfileops.c (adjust_wide_data): Likewise.
49462         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49463         (__m128i_strloadu_tolower): Likewise.
49464         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49465         (__m128i_strloadu_tolower): Likewise.
49466         * time/mktime.c (ydhms_diff): Likewise.
49467         * locale/elem-hash.h (elem_hash): Likewise.
49468         * locale/setlocale.c (setdata): Likewise.
49469         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49470         (re_string_wchar_at): Likewise.
49471         (bitset_not, bitset_merge, bitset_mask): Likewise.
49472         [!(__GNUC__ > 3)] (inline): Remove macro.
49473         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49474         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49475         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49476         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49477         * string/memcmp.c (memcmp_bytes): Likewise.
49478         * locale/programs/locarchive.c (compute_hashval): Likewise.
49479         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49480         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49481         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49482         * nss/getent.c (print_rpc, print_protocols): Likewise.
49483         (print_passwd, print_group, print_aliases): Likewise.
49484         * nis/nss-nisplus.h (niserr2nss): Likewise.
49485         * nscd/connections.c (restart_p): Likewise.
49486         Change return type to bool.
49488 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49490         * Makeconfig (all-Depend-files): Add existing
49491         $(sorted-subdirs:=/Depend) files.
49492         (all-subdirs): Remove nss.
49493         * sysdeps/unix/inet/Subdirs: Add it here instead.
49494         * hesiod/Depend: New file.
49496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49497         instead of calling alloca.
49499         * io/lseek.c (__lseek): Rename to __libc_lseek.
49500         Define __lseek as an alias.
49502         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49504 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49506         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49507         else clause and remove check for non-standard endianness.
49509 2013-02-04  David S. Miller  <davem@davemloft.net>
49511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49513 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49515         [BZ #13550]
49516         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49517         (__ubp_memchr): Remove prototype.
49518         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49519         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49520         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49521         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49522         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49523         Remove alias.
49524         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49525         (__ubp_memchr): Likewise.
49526         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49527         (__ubp_memchr): Likewise.
49528         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49529         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49530         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49531         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49532         CHECK_STRING.
49533         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49534         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49535         (__getcwd): Do not use CHECK_STRING.
49536         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49537         <bp-checks.h>.
49538         (__real_chown): Do not use CHECK_STRING.
49539         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49540         <bp-checks.h>.
49541         (fchownat): Do not use CHECK_STRING.
49542         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49543         CHECK_STRING.
49544         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49545         <bp-checks.h>.
49546         (__lchown): Do not use CHECK_STRING.
49547         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49548         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49549         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49550         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49552         include <bp-checks.h>.
49553         (truncate64): Do not use CHECK_STRING.
49554         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49555         <bp-checks.h>.
49556         (__real_chown): Do not use CHECK_STRING.
49557         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49558         <bp-checks.h>.
49559         (__lchown): Do not use CHECK_STRING.
49560         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49561         <bp-checks.h>.
49562         (__chown): Do not use CHECK_STRING.
49563         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49564         <bp-checks.h>.
49565         (truncate64): Do not use CHECK_STRING.
49566         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49567         Likewise.
49568         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49569         (__xmknod): Do not use CHECK_STRING.
49570         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49571         <bp-checks.h>.
49572         (__xmknodat): Do not use CHECK_STRING.
49573         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49574         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49576 2013-02-04  Andreas Schwab  <schwab@suse.de>
49578         [BZ #14142]
49579         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49580         * include/netdb.h: Likewise for h_errno.
49581         * elf/tst-stackguard1.c: Include <tls.h>.
49583 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49585         * elf/link.h (struct link_map): Extend the l_addr comment.
49586         * include/link.h (struct link_map): Likewise.
49588 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49590         [BZ #13550]
49591         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49592         (BOUNDED_1): Remove macro.
49593         * debug/backtrace.c: Don't include <bp-checks.h>.
49594         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49595         (__backtrace): Likewise.
49596         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49597         <bp-checks.h>.
49598         (__backtrace): Don't use BOUNDED_1.
49599         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49600         <bp-checks.h>.
49601         (__backtrace): Don't use BOUNDED_1.
49602         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49603         (__backtrace): Don't use BOUNDED_1.
49604         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49605         (shmat): Don't use BOUNDED_N.
49607 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49609         [BZ #13550]
49610         * sysdeps/generic/bp-start.h: Remove file.
49611         * csu/libc-start.c: Don't include <bp-start.h>.
49612         (LIBC_START_MAIN): Set up __environ directly instead of using
49613         INIT_ARGV_and_ENVIRON.
49614         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49615         <bp-start.h>.
49617         [BZ #13550]
49618         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49619         definitions.
49620         (CHECK_FCNTL): Likewise.
49621         (CHECK_N_PAGES): Likewise.
49623         [BZ #13550]
49624         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49625         definitions.
49626         (CHECK_SIGSET_NULL_OK): Likewise.
49627         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49628         <bp-checks.h>.
49629         (sigpending): Don't use CHECK_SIGSET.
49630         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49631         <bp-checks.h>.
49632         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49633         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49634         <bp-checks.h>.
49635         (do_sigsuspend): Don't use CHECK_SIGSET.
49636         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49637         use CHECK_SIGSET.
49638         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49639         (do_sigwait): Don't use CHECK_SIGSET.
49640         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49641         use CHECK_SIGSET.
49642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49643         include <bp-checks.h>.
49644         (sigpending): Don't use CHECK_SIGSET.
49645         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49646         include <bp-checks.h>.
49647         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49648         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49649         <bp-checks.h>.
49650         (sigpending): Don't use CHECK_SIGSET.
49651         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49652         <bp-checks.h>.
49653         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49655         [BZ #13550]
49656         * sysdeps/generic/bp-semctl.h: Remove file.
49657         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49658         <bp-checks.h> and <bp-semctl.h>.
49659         (__old_semctl): Don't use CHECK_SEMCTL.
49660         (__new_semctl): Likewise.
49661         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49662         and <bp-semctl.h>.
49663         (__old_semctl): Don't use CHECK_SEMCTL.
49664         (__new_semctl): Likewise.
49665         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49666         <bp-checks.h> and <bp-semctl.h>.
49667         (__old_semctl): Don't use CHECK_SEMCTL.
49668         (__new_semctl): Likewise.
49669         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49670         <bp-checks.h> and <bp-semctl.h>.
49671         (semctl): Don't use CHECK_SEMCTL.
49673         [BZ #13550]
49674         * Makerules (elide-bp-thunks): Remove variable.
49675         (elide-routines.oS): Don't use $(elide-bp-thunks).
49676         (elide-routines.os): Likewise.
49677         (elide-routines.o): Likewise.
49678         (elide-routines.op): Likewise.
49679         (elide-routines.og): Likewise.
49680         (objects): Don't use $(bp-thunks).
49681         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49682         include.
49683         (common-generated): Do not add s-proto-bp.d.
49684         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49685         (int): Likewise.
49686         (typ): Likewise.
49687         Do not generate makefile rules for bounded-pointer thunks.
49688         * sysdeps/generic/bp-thunks.h: Remove file.
49689         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49690         * sysdeps/unix/s-proto-bp.S: Likewise.
49692         [BZ #15062]
49693         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49694         parts of result separately when argument is not close to line from
49695         -i to i and one part of argument is small.
49696         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49697         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49698         * math/libm-test.inc (cacos_test): Add more tests.
49699         (casin_test): Likewise.
49700         (casinh_test): Likewise.
49701         * sysdeps/i386/fpu/libm-test-ulps: Update.
49702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49704 2013-01-31  David S. Miller  <davem@davemloft.net>
49706         * po/de.po: Update from translation team.
49708 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49710         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49712 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49714         * configure.in (_AC_PROG_CC_C89): New definition.
49715         * configure: Regenerate.
49717         * configure.in (AC_PROG_CPP): New definition.
49718         * configure: Regenerate.
49720 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49722         * debug/tst-backtrace.h: New file.
49723         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49724         (ret): Remove variable.
49725         (x): Likewise.
49726         (FAIL): Remove macro.
49727         (NO_INLINE): Likewise.
49728         (fn1): Use match function instead of strstr.
49729         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49730         (ret): Remove variable.
49731         (x): Likewise.
49732         (FAIL): Remove macro.
49733         (NO_INLINE): Likewise.
49734         (fn): Use match function instead of strstr.
49735         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49736         (ret): Remove variable.
49737         (x): Likewise.
49738         (FAIL): Remove macro.
49739         (NO_INLINE): Likewise.
49740         (handle_signal): Use match function instead of strstr.
49741         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49742         (ret): Remove variable.
49743         (x): Likewise.
49744         (FAIL): Remove macro.
49745         (NO_INLINE): Likewise.
49746         (handle_signal): Use match function instead of strstr.
49748 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49750         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49752 2013-01-23  David S. Miller  <davem@davemloft.net>
49754         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49755         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49756         argument of CAS if possible.
49757         * sysdeps/sparc/sparc64/bits/atomic.h
49758         (__arch_compare_and_exchange_val_32_acq): Likewise.
49759         (__arch_compare_and_exchange_val_64_acq): Likewise.
49761 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49763         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49764         * sysdeps/posix/ulimit.c: ... this.
49765         Include <limits.h>.
49766         * sysdeps/unix/bsd/ulimit.c: Remove file.
49768 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49770         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49771         (LDFLAGS-tst-array5): Likewise.
49773 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49775         [BZ #15036]
49776         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49777         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49778         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49779         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49781 2013-01-21  David S. Miller  <davem@davemloft.net>
49783         * sysdeps/sparc/backtrace.c: New file.
49784         * sysdeps/sparc/sparc32/backtrace.h: New file.
49785         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49786         * sysdeps/sparc/sparc64/backtrace.h: New file.
49787         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49788         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49789         -funwind-tables.
49791 2013-01-21  Andreas Schwab  <schwab@suse.de>
49793         [BZ #15020]
49794         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49795         closed its stdout.
49797 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49800         "mpa2.h".
49801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49803 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49804             Mark Mitchell  <mark@codesourcery.com>
49805             Tom de Vries  <tom@codesourcery.com>
49806             Paul Pluzhnikov  <ppluzhnikov@google.com>
49808         * debug/tst-backtrace2.c: New file.
49809         * debug/tst-backtrace3.c: Likewise.
49810         * debug/tst-backtrace4.c: Likewise.
49811         * debug/tst-backtrace5.c: Likewise.
49812         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49813         (CFLAGS-tst-backtrace3.c): Likewise.
49814         (CFLAGS-tst-backtrace4.c): Likewise.
49815         (CFLAGS-tst-backtrace5.c): Likewise.
49816         (LDFLAGS-tst-backtrace2): Likewise.
49817         (LDFLAGS-tst-backtrace3): Likewise.
49818         (LDFLAGS-tst-backtrace4): Likewise.
49819         (LDFLAGS-tst-backtrace5): Likewise.
49820         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49821         tst-backtrace4 and tst-backtrace5.
49823 2013-01-18  Anton Blanchard  <anton@samba.org>
49824             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49826         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49827         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49828         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49829         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49831         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49832         "+r" and remove output regs list as redundant.  Add explicit inline
49833         asm to specify register of return val to work around compiler codegen
49834         bug.  Remove (int) cast on return value.  Add return type parameter to
49835         use in macro so that this macro does not truncate return value for
49836         64-bit values.
49837         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49838         pass to INTERNAL_VSYSCALL_NCS.
49839         (INLINE_VSYSCALL): Add 'long int' as return type to
49840         INTERNAL_VSYSCALL_NCS macro invocation.
49841         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49842         INTERNAL_VSYSCALL_NCS macro invocation.
49843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49845 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49847         [BZ #14496]
49848         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49849         Fix application of SIMD FP exception mask.
49851         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49852         mp_no from a power of two.
49853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49854         __mpexp_twomm1.  Use __pow_mp.
49856         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49857         multiplication.
49859 2013-01-17  David S. Miller  <davem@davemloft.net>
49861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49863 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49865         [BZ #15023]
49866         * include/complex.h: Condition contents on [!_COMPLEX_H].
49867         (__kernel_casinhf): New prototype.
49868         (__kernel_casinh): Likewise.
49869         (__kernel_casinhl): Likewise.
49870         * math/Makefile (libm_calls): Add k_casinh.
49871         * math/k_casinh.c: New file.
49872         * math/k_casinhf.c: Likewise.
49873         * math/k_casinhl.c: Likewise.
49874         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49875         finite nonzero arguments.
49876         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49877         finite nonzero arguments.
49878         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49879         finite nonzero arguments.
49880         * math/s_casinh.c: Do not include <float.h>.
49881         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49882         * math/s_casinhf.c: Do not include <float.h>.
49883         (__casinhf): Move code for finite nonzero arguments to
49884         k_casinhf.c.
49885         * math/s_casinhl.c: Do not include <float.h>.
49886         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49887         redefine.
49888         (__casinhl): Move code for finite nonzero arguments to
49889         k_casinhl.c.
49890         * math/libm-test.inc (cacos_test): Add more tests.
49891         * sysdeps/i386/fpu/libm-test-ulps: Update.
49892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49894 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49896         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49897         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49898         [!HAVE_MREMAP]: Remove [defined linux] case.
49899         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49901 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49903         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49905 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49907         * elf/elf.h (R_386_SIZE32): New relocation.
49908         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49909         R_386_SIZE32.
49910         (elf_machine_rela): Likewise.
49911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49912         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49914 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49916         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49917         (FP_FAST_FMA): Do not define.
49918         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49919         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49920         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49921         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49922         !_SOFT_FLOAT]: Likewise.
49923         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49924         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49925         value.
49926         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49927         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49928         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49929         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49930         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49931         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49932         file.
49934 2013-01-16  Andreas Schwab  <schwab@suse.de>
49936         [BZ #14327]
49937         * include/stdlib.h (__mktemp): Add declaration.
49938         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49939         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49941 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49943         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49944         definitions.
49945         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49946         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49947         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49948         definitions here.
49949         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49950         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49951         definitions.
49952         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49953         and ONE.
49954         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49955         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49956         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49957         definitions.
49958         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49959         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49960         definitions.
49961         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49963         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49965 2013-01-15  David S. Miller  <davem@davemloft.net>
49967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49968         trunc{,f} to libm-sysdep_routes.
49969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49971         file.
49972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49974         file.
49975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49976         file.
49977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49979         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49980         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49981         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49982         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49983         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49984         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49987         nearbyint{,f} to libm-sysdep_routes.
49988         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49990         New file.
49991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49992         file.
49993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49994         New file.
49995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49996         file.
49997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49999         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50000         file.
50001         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50002         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50003         file.
50004         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50005         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50006         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50008         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50009         libc_feholdexcept and libc_fesetenv.
50011 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50013         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50015 2013-01-14  David S. Miller  <davem@davemloft.net>
50017         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50018         (SPARC_ASM_VIS2_IFUNC): Likewise.
50019         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50021         use of 'siam' instruction.
50022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50023         Likewise.
50024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50025         Likewise.
50026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50027         Likewise.
50028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50033         file.
50034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50035         file.
50036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50037         file.
50038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50039         file.
50040         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50045         new VIS2 routines.
50046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50049         Likewise.
50050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50055         routines to libm-sysdep_routines.
50056         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50059         fdim/fdimf to libm-sysdep_routines.
50060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50061         file.
50062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50064         file.
50065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50068         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50069         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50070         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50071         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50073 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50075         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50076         to optimize copies.
50078         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50083         local variable MPTWO.
50084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50085         Likewise.
50087 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50089         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50090         GLOB_NOESCAPE.
50092 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50094         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50096 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50098         * manual/pattern.texi (glob_t): Document gl_flags.
50099         (glob64_t): Likewise.
50101 2013-01-11  David S. Miller  <davem@davemloft.net>
50103         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50104         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50105         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50106         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50107         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50108         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50109         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50110         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50111         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50112         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50113         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50114         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50115         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50118         sparc V9 rather than using V8 code.
50119         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50120         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50122         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50123         Move to...
50124         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50125         Here.
50127 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50129         [BZ #14941]
50130         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50131         not in the main loop.
50132         * configure: Regenerated.
50134 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50136         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50137         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50138         to just #else.
50139         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50140         [!__GLIBC_HAVE_LONG_LONG] case.
50141         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50142         condition to just #else.
50143         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50144         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50145         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50146         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50147         unconditional.
50148         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50149         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50150         #elif condition to just #else.
50151         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50152         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50153         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50154         #elif condition to just #else.
50156 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50158         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50159         (EF_MIPS_ARCH_64): Fix value.
50160         (EF_MIPS_ARCH_32R2): New.
50161         (EF_MIPS_ARCH_64R2): New.
50163 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50165         * Makeconfig (+link-pie-before-libc): New.
50166         (+link-pie-after-libc): Likewise.
50167         (+link-pie-tests): Likewise.
50168         (+link-pie): Rewritten.
50169         (link-before-libc): Remove $(config-LDFLAGS).
50170         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50171         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50172         (config-LDFLAGS): Renamed to ...
50173         (rtld-LDFLAGS): This.
50174         (rtld-tests-LDFLAGS): New macro.
50175         (link-libc-rpath-link): Likewise.
50176         (link-libc-tests-rpath-link): Likewise.
50177         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50178         (link-libc): Prepand $(link-libc-rpath-link).
50179         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50180         (test-program-prefix): New macro.
50181         (test-via-rtld-prefix): Likewise.
50182         (test-program-cmd): Likewise.
50183         (host-test-program-cmd): Likewise.
50184         * Makefile ($(common-objpfx)testrun.sh): Replace
50185         $(run-program-prefix) with $(test-program-prefix).
50186         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50187         $(rtld-LDFLAGS).
50188         ($(common-objpfx)shlib.lds): Likewise.
50189         (build-module-helper): Likewise.
50190         ($(common-objpfx)format.lds): Likewise.
50191         * Rules (binaries-pie-tests): New.
50192         (binaries-pie-notests): Likewise.
50193         (binaries-pie): Rewritten.
50194         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50195         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50196         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50197         (make-test-out): Replace $(host-built-program-cmd) with
50198         $(host-test-program-cmd).
50199         * config.make.in (build-hardcoded-path-in-tests): New variable.
50200         * configure.in (--enable-hardcoded-path-in-tests): New configure
50201         option.
50202         (hardcoded_path_in_tests): New AC_SUBST.
50203         * configure: Regenerated.
50204         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50205         $(built-program-cmd) with $(test-program-cmd).
50206         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50207         (test_program_cmd): This.
50208         * elf/Makefile ($(objpfx)order.out): Run test with
50209         $(test-program-prefix).
50210         ($(objpfx)order2.out): Likewise.
50211         ($(objpfx)tst-initorder.out): Likewise.
50212         ($(objpfx)tst-initorder2.out): Likewise.
50213         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50214         $(test-program-cmd).
50215         ($(objpfx)tst-array1-static.out): Likewise.
50216         ($(objpfx)tst-array2.out): Likewise.
50217         ($(objpfx)tst-array3.out): Likewise.
50218         ($(objpfx)tst-array4.out): Likewise.
50219         ($(objpfx)tst-array5.out): Likewise.
50220         ($(objpfx)tst-array5-static.out): Likewise.
50221         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50222         $(test-program-cmd).
50223         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50224         $(run-program-prefix) with $(test-program-prefix).
50225         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50226         (test_program_prefix): This.
50227         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50228         $(run-program-prefix) with $(test-program-prefix).
50229         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50230         (test_program_prefix): This.
50231         * iconvdata/tst-tables.sh: Likewise.
50232         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50233         $(run-program-prefix) with $(test-program-prefix).
50234         ($(objpfx)tst-translit.out): Likewise.
50235         ($(objpfx)tst-gettext2.out): Likewise.
50236         ($(objpfx)tst-gettext4.out): Likewise.
50237         ($(objpfx)tst-gettext6.out): Likewise.
50238         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50239         (test_program_prefix): This.
50240         * intl/tst-gettext2.sh: Likewise.
50241         * intl/tst-gettext4.sh  Likewise.
50242         * intl/tst-gettext6.sh: Likewise.
50243         * intl/tst-translit.sh: Likewise.
50244         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50245         with $(test-program-cmd).
50246         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50247         $(run-program-prefix) with $(test-program-prefix).
50248         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50249         (test_program_prefix): This.
50250         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50251         $(run-program-prefix) with $(test-program-prefix).
50252         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50253         (test_program_prefix): This.
50254         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50255         * posix/Makefile ($(objpfx)globtest.out): Replace
50256         $(run-via-rtld-prefix) and $(test-wrapper) with
50257         $(test-program-prefix) and $(test-via-rtld-prefix).
50258         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50259         $(test-program-prefix).
50260         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50261         $(host-test-program-cmd).
50262         (tst-spawn-ARGS): Likewise.
50263         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50264         $(test-program-prefix).
50265         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50266         (test_via_rtld_prefix): This.
50267         (test_wrapper): Renamed to ...
50268         (test_program_prefix): This.
50269         (run_program_prefix): Replaced by test_program_prefix.
50270         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50271         (test_program_prefix): This.
50272         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50273         with $(host-test-program-cmd).
50274         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50275         $(run-program-prefix) with $(test-program-prefix).
50276         ($(objpfx)tst-printf.out): Likewise.
50277         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50278         $(test-program-cmd).
50279         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50280         (test_program_prefix): This.
50281         * stdio-common/tst-unbputc.sh: Likewise.
50282         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50283         $(run-program-prefix) with $(test-program-prefix).
50284         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50285         (test_program_prefix): This.
50286         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50287         $(built-program-cmd) with $(test-program-cmd).
50289 2013-01-11  Andreas Jaeger  <aj@suse.de>
50291         [BZ #15003]
50292         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50293         value. Sync with Linux 3.7.
50295 2013-01-10  David S. Miller  <davem@davemloft.net>
50297         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50298         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50299         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50301 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50303         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50304         never set.
50305         * configure: Regenerated.
50307 2013-01-10  David S. Miller  <davem@davemloft.net>
50309         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50310         sparc V9 rather than using V8 code.
50311         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50312         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50314 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50316         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50317         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50318         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50319         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50320         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50321         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50322         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50323         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50324         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50325         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50326         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50327         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50328         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50329         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50330         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50331         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50332         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50333         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50334         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50335         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50336         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50337         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50338         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50339         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50340         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50341         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50342         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50344 2013-01-10  David S. Miller  <davem@davemloft.net>
50346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50348 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50350         * posix/Makefile (tests-static): New variable.
50351         (tests): Add $(tests-static).
50352         (tst-exec-static-ARGS): New variable.
50353         (tst-spawn-static-ARGS): Likewise.
50354         * posix/tst-exec-static.c: New file.
50355         * posix/tst-spawn-static.c: Likewise.
50356         * posix/tst-exec.c: Support run directly.
50357         * posix/tst-spawn.c: Likewise.
50359 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50361         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50362         long.
50363         * math/bits/mathcalls.h (llrint): Likewise.
50364         (llround): Likewise.
50365         * stdlib/stdlib.h (struct drand48_data): Likewise.
50366         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50367         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50368         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50369         Likewise.
50370         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50371         Likewise.
50372         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50373         (elf_greg_t): Likewise.
50374         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50375         (__jmp_buf): Likewise.
50376         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50377         definitions.
50378         (llrint): Likewise, for all definitions.
50379         (llrintl): Likewise.
50381         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50382         Remove [__GNUC__] condition.
50383         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50384         condition to just [__USE_ISOC99].
50385         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50387 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50389         [BZ #14200]
50390         * sysdeps/unix/sysv/linux/x86/bits/environments.h
50391         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50392         defined.
50393         (_POSIX_V6_ILP32_OFF32): Likewise.
50394         (_XBS5_ILP32_OFF32): Likewise.
50395         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50396         (__ILP32_OFFBIG_LDFLAGS): Likewise.
50398 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50400         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50403         doubles __mpexp_twomm1.  Adjust usage.
50404         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50405         Remove.
50407 2013-01-10  Andreas Schwab  <schwab@suse.de>
50409         [BZ #14964]
50410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50411         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50413 2013-01-09  David S. Miller  <davem@davemloft.net>
50415         [BZ #15003]
50416         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50417         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50418         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50419         (TCP_FASTOPEN): Define.
50420         (tcp_repair_opt): New structure.
50421         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50422         enum values.
50423         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50424         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50425         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50426         (tcp_cookie_transactions): New structure.
50428 2013-01-09  Anton Blanchard  <anton@samba.org>
50430         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50431         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50433         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50435 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50437         * include/features.h (__USE_ANSI): Remove.
50439 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50441         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50443         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50445 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50447         * sysdeps/s390/fpu/libm-test-ulps: Update.
50449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50451         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50452         (__acr): Likewise.
50453         (__cpy): Likewise.
50454         (norm): Likewise.
50455         (denorm): Likewise.
50456         (__mp_dbl): Likewise.
50457         (__dbl_mp): Likewise.
50458         (add_magnitudes): Likewise.
50459         (sub_magnitudes): Likewise.
50460         (__add): Likewise.
50461         (__sub): Likewise.
50462         (__mul): Likewise.
50463         (__inv): Likewise.
50464         (__dvd): Likewise.
50465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50466         (__acr): Likewise.
50467         (__cpy): Likewise.
50468         (norm): Likewise.
50469         (denorm): Likewise.
50470         (__mp_dbl): Likewise.
50471         (__dbl_mp): Likewise.
50472         (add_magnitudes): Likewise.
50473         (sub_magnitudes): Likewise.
50474         (__add): Likewise.
50475         (__sub): Likewise.
50476         (__mul): Likewise.
50477         (__inv): Likewise.
50478         (__dvd): Likewise.
50479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50480         (__acr): Likewise.
50481         (__cpy): Likewise.
50482         (norm): Likewise.
50483         (denorm): Likewise.
50484         (__mp_dbl): Likewise.
50485         (__dbl_mp): Likewise.
50486         (add_magnitudes): Likewise.
50487         (sub_magnitudes): Likewise.
50488         (__add): Likewise.
50489         (__sub): Likewise.
50490         (__mul): Likewise.
50491         (__inv): Likewise.
50492         (__dvd): Likewise.
50494 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50496         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50497         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50498         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50499         2 && __USE_EXTERN_INLINES]: Likewise.
50501 2013-01-08  Andreas Jaeger  <aj@suse.de>
50503         [BZ# 14985]
50504         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50505         Remove.
50506         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50507         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50509 2013-01-07  Anton Blanchard  <anton@samba.org>
50511         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50512         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50513         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50514         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50515         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50516         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50517         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50518         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50520         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50521         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50522         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50524         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50525         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50526         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50527         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50528         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50529         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50531         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50532         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50534         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50535         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50536         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50537         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50538         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50539         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50540         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50541         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50543         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50544         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50545         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50546         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50547         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50548         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50549         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50550         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50551         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50553         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50555 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50557         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50558         (__MALLOC_PMT): Likewise.
50559         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50560         [__GNUC__], only on [_LIBC].
50561         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50562         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50563         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50564         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50565         forward declaration.
50566         (realloc_hook_ini): Likewise.
50567         (memalign_hook_ini): Likewise.
50568         (__libc_memalign): Do not use __MALLOC_PMT in variable
50569         declaration.
50570         (__libc_valloc): Likewise.
50571         (__libc_pvalloc): Likewise.
50572         (__libc_calloc): Likewise.
50573         (__posix_memalign): Likewise.
50575         [BZ #14996]
50576         * math/s_casinh.c: Include <float.h>.
50577         (__casinh): Do not do computation with squaring and square root
50578         for large arguments.
50579         * math/s_casinhf.c: Include <float.h>.
50580         (__casinhf): Do not do computation with squaring and square root
50581         for large arguments.
50582         * math/s_casinhl.c: Include <float.h>.
50583         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50584         (__casinhl): Do not do computation with squaring and square root
50585         for large arguments.
50586         * math/libm-test.inc (casin_test): Add more tests.
50587         (casinh_test): Likewise.
50588         * sysdeps/i386/fpu/libm-test-ulps: Update.
50589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50591 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50593         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50594         (__x86_64_raw_data_cache_size): Likewise.
50595         (__x86_64_data_cache_size_half): Likewise.
50596         (__x86_64_raw_data_cache_size_half): Likewise.
50597         (__x86_64_shared_cache_size): Likewise.
50598         (__x86_64_raw_shared_cache_size): Likewise.
50599         (__x86_64_shared_cache_size_half): Likewise.
50600         (__x86_64_raw_shared_cache_size_half): Likewise.
50601         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50602         to ...
50603         (__x86_data_cache_size): This.
50604         (__x86_64_raw_data_cache_size): Renamed to ...
50605         (__x86_raw_data_cache_size): This.
50606         (__x86_64_data_cache_size_half): Renamed to ...
50607         (__x86_data_cache_size_half): This.
50608         (__x86_64_raw_data_cache_size_half): Renamed to ...
50609         (__x86_raw_data_cache_size_half): This.
50610         (__x86_64_shared_cache_size): Renamed to ...
50611         (__x86_shared_cache_size): This.
50612         (__x86_64_raw_shared_cache_size): Renamed to ...
50613         (__x86_raw_shared_cache_size): This.
50614         (__x86_64_shared_cache_size_half): Renamed to ...
50615         (__x86_shared_cache_size_half): This.
50616         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50617         (__x86_raw_shared_cache_size_half): This.
50618         * sysdeps/x86_64/memcpy.S: Updated.
50619         * sysdeps/x86_64/memset.S: Likewise.
50620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50621         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50624 2013-01-04  David S. Miller  <davem@davemloft.net>
50626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50628 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50630         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50631         1 to avoid redefinition warning.
50632         (__USE_GNU): Don't define.
50633         (init_signaling_nan): Protoize.
50635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50637 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50639         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50641         (__cpymn): Likewise.
50642         (norm): Remove commented code.
50643         (denorm): Likewise.
50644         (__mp_dbl): Likewise.
50645         (__inv): Likewise.
50646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50647         (__cpymn): Likewise.
50648         (norm): Remove commented code.
50649         (denorm): Likewise.
50650         (__mp_dbl): Likewise.
50651         (__inv): Likewise.
50653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50654         mp_no value for 1.0 and 2.0.
50655         (norm): Use RADIXI instead of radixi.d.
50656         (denorm): Likewise.
50657         (__mul): Use 0.0 instead of zero.d.
50658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50659         mp_no value for 1.0 and 2.0.
50660         (norm): Use RADIXI instead of radixi.d.
50661         (denorm): Likewise.
50662         (__mul): Use 0.0 instead of zero.d.
50664 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50666         [BZ #14994]
50667         * math/s_casinh.c (__casinh): Reduce finite argument to first
50668         quadrant then set signs of results at the end.
50669         * math/s_casinhf.c (__casinhf): Likewise.
50670         * math/s_casinhl.c (__casinhl): Likewise.
50671         * math/libm-test.inc (casin_test): Add more tests.
50672         (casinh_test): Likewise.
50673         * sysdeps/i386/fpu/libm-test-ulps: Update.
50674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50676 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50678         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50680         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50682         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50683         declarations.
50684         (denorm): Likewise.
50685         (__mp_dbl): Likewise.
50686         (__inv): Likewise.
50688         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50689         and adjust the header comment.
50691         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50692         variable name from declaration.
50694 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50697         Initialize COMMON_CPUID_INDEX_7 element.
50698         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50699         (CPUID_RTM): Likewise.
50700         (HAS_RTM): Likewise.
50701         (COMMON_CPUID_INDEX_7): New enum.
50703 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50705         [BZ #14981]
50706         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50707         size is zero, record memory as freed.
50709 2013-01-03  Andreas Jaeger  <aj@suse.de>
50711         * po/ia.po: Add new Interlingua translation.
50713 2012-01-03  Allan McRae  <allan@archlinux.org>
50715         * locale/programs/localedef.c: Fix description of '--posix' flag.
50717 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50719         * NEWS: Update dates in second copyright notice.
50720         * README: Update copyright dates in example.
50721         * manual/libc.texinfo: Update copyright dates.
50722         * scripts/test-installation.pl: Update copyright date in --version
50723         output.
50725         * hurd/ctty-input.c: Fix copyright notice formatting.
50726         * hurd/ctty-output.c: Likewise.
50727         * hurd/dtable.c: Likewise.
50728         * hurd/hurd-raise.c: Likewise.
50729         * hurd/hurdprio.c: Likewise.
50730         * hurd/msgportdemux.c: Likewise.
50731         * misc/sys/file.h: Likewise.
50732         * misc/sys/ioctl.h: Likewise.
50733         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50734         * sysdeps/mach/hurd/chdir.c: Likewise.
50735         * sysdeps/mach/hurd/fchdir.c: Likewise.
50736         * sysdeps/mach/hurd/rename.c: Likewise.
50737         * sysdeps/mach/hurd/rmdir.c: Likewise.
50738         * sysdeps/mach/hurd/seekdir.c: Likewise.
50739         * sysdeps/mach/hurd/setsid.c: Likewise.
50740         * sysdeps/posix/wait3.c: Likewise.
50742         * All files with FSF copyright notices: Update copyright dates
50743         using scripts/update-copyrights.
50744         * intl/plural.c: Regenerated.
50745         * locale/programs/charmap-kw.h: Likewise.
50746         * locale/programs/locfile-kw.h: Likewise.
50748 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50750         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50751         four values.
50753         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50754         calculation loop and add branch prediction.
50756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50757         check access beyond bounds of m1np.
50759         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50760         MPTWO.
50761         (__inv): Remove local variable MPTWO to use the global
50762         constant.
50763         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50765         variable MPTWO.
50766         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50767         MP3HALFS static const.
50769 2013-01-01  David S. Miller  <davem@davemloft.net>
50771         * po/ca.po: Update from translation team.
50773 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50775         * scripts/update-copyrights: New file.
50776         * Makeconfig: Reformat copyright notice.
50777         * ctype/ctype.h: Likewise.
50778         * debug/swprintf_chk.c: Likewise.
50779         * elf/dl-cache.c: Likewise.
50780         * elf/dl-debug.c: Likewise.
50781         * elf/dl-object.c: Likewise.
50782         * grp/initgroups.c: Likewise.
50783         * hurd/Makefile: Likewise.
50784         * hurd/hurd/signal.h: Likewise.
50785         * hurd/hurdfault.c: Likewise.
50786         * hurd/hurdioctl.c: Likewise.
50787         * hurd/hurdlookup.c: Likewise.
50788         * hurd/intr-msg.c: Likewise.
50789         * iconv/gconv_open.c: Likewise.
50790         * libio/swprintf.c: Likewise.
50791         * locale/lc-ctype.c: Likewise.
50792         * locale/nl_langinfo.c: Likewise.
50793         * mach/Machrules: Likewise.
50794         * mach/Makefile: Likewise.
50795         * malloc/obstack.h: Likewise.
50796         * manual/Makefile: Likewise.
50797         * manual/tsort.awk: Likewise.
50798         * misc/bits/stab.def: Likewise.
50799         * nis/nis_print_group_entry.c: Likewise.
50800         * nis/nis_table.c: Likewise.
50801         * nis/nss_compat/compat-pwd.c: Likewise.
50802         * nis/nss_compat/compat-spwd.c: Likewise.
50803         * po/Makefile: Likewise.
50804         * posix/fnmatch.c: Likewise.
50805         * posix/regex.h: Likewise.
50806         * resolv/Makefile: Likewise.
50807         * resolv/nss_dns/dns-network.c: Likewise.
50808         * resolv/res_hconf.c: Likewise.
50809         * scripts/gen-sorted.awk: Likewise.
50810         * soft-fp/soft-fp.h: Likewise.
50811         * stdio-common/printf.h: Likewise.
50812         * stdlib/monetary.h: Likewise.
50813         * stdlib/random.c: Likewise.
50814         * stdlib/random_r.c: Likewise.
50815         * sysdeps/generic/Makefile: Likewise.
50816         * sysdeps/gnu/Makefile: Likewise.
50817         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50820         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50822         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50823         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50824         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50825         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50826         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50827         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50830         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50831         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50833         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50837         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50838         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50840         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50841         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50843         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50845         * sysdeps/mach/hurd/errnos.awk: Likewise.
50846         * sysdeps/mach/hurd/fork.c: Likewise.
50847         * sysdeps/mach/hurd/getcwd.c: Likewise.
50848         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50849         * sysdeps/mach/hurd/mmap.c: Likewise.
50850         * sysdeps/mach/hurd/utimes.c: Likewise.
50851         * sysdeps/mach/hurd/xmknod.c: Likewise.
50852         * sysdeps/posix/profil.c: Likewise.
50853         * sysdeps/posix/readdir_r.c: Likewise.
50854         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50855         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50856         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50857         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50859         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50861         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50863         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50864         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50865         * sysdeps/pthread/lio_listio.c: Likewise.
50866         * sysdeps/sparc/dl-procinfo.h: Likewise.
50867         * sysdeps/unix/i386/sysdep.S: Likewise.
50868         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50869         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50870         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50871         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50873         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50874         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50875         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50876         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50877         * sysdeps/wordsize-32/divdi3.c: Likewise.
50878         * time/sys/time.h: Likewise.
50879         * wcsmbs/Makefile: Likewise.
50881 2013-01-01  David S. Miller  <davem@davemloft.net>
50883         * po/fr.po: Update from translation team.
50885         * catgets/gencat.c: Update copyright year.
50886         * csu/version.c: Likewise.
50887         * debug/catchsegv.sh: Likewise.
50888         * debug/pcprofiledump.c: Likewise.
50889         * debug/xtrace.sh: Likewise.
50890         * elf/ldconfig.c: Likewise.
50891         * elf/ldd.bash.in: Likewise.
50892         * elf/pldd.c: Likewise.
50893         * elf/sotruss.ksh: Likewise.
50894         * elf/sprof.c: Likewise.
50895         * iconv/iconv_prog.c: Likewise.
50896         * iconv/iconvconfig.c: Likewise.
50897         * locale/programs/locale.c: Likewise.
50898         * locale/programs/localedef.c: Likewise.
50899         * login/programs/pt_chown.c: Likewise.
50900         * malloc/memusage.sh: Likewise.
50901         * malloc/memusagestat.c: Likewise.
50902         * malloc/mtrace.pl: Likewise.
50903         * nscd/nscd.c: Likewise.
50904         * nss/getent.c: Likewise.
50905         * nss/makedb.c: Likewise.
50906         * posix/getconf.c: Likewise.
50908 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50910         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50911         numbers.
50913 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50915         * math/bits/mathcalls.h (modf): Use __nonnull.
50917 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50919         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50920         (split): Use macro CN instead of the bare value.
50921         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50922         could be used.
50923         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50924         instead of the bare value.
50925         (power1): Likewise.
50927 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50929         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50930         __ATAN_TWOM.
50931         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50933         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50934         their values.
50935         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50937         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50938         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50940 2012-12-28  Andreas Jaeger  <aj@suse.de>
50942         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50943         values are from Linux 3.7.
50945         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50946         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50948 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50950         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50951         TRUE case.
50953         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50954         (norm): Likewise.
50955         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50956         variables with preprocessor constants.
50957         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50958         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50959         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50961 2012-12-27  Bruno Haible  <bruno@clisp.org>
50963         [BZ #14317]
50964         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50965         only if needed.
50967 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50969         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50970         and use variable directly.
50971         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50973         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50974         MPONE.
50975         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50977         variable MPONE.
50978         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50980         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50981         include directive.  Remove local variable MPONE.
50982         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50983         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50984         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50986 2012-12-25  David S. Miller  <davem@davemloft.net>
50988         * version.h (RELEASE): Set to "development".
50989         (VERSION): Set to "2.17.90".
50990         * NEWS: Add 2.18 section.
50992 2012-12-21  David S. Miller  <davem@davemloft.net>
50994         * po/hr.po: Update from translation team.
50996 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50998         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51000 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51002         * NEWS:  Mention new memcpy for MIPS.
51004 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51006         * manual/contrib.texi (Contributors): Spelling correction.
51008 2012-12-15  David S. Miller  <davem@davemloft.net>
51010         * po/ru.po: Update from translation team.
51012 2012-12-13  David S. Miller  <davem@davemloft.net>
51014         * NEWS: Mention IFUNC testsuite enhancements.
51016         * po/pl.po: Update from translation team.
51017         * po/bg.po: Likewise.
51019         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51020         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51022 2012-12-11  David S. Miller  <davem@davemloft.net>
51024         * po/sv.po: Update from translation team.
51026         * po/vi.po: Update from translation team.
51028         * po/cs.po: Update from translation team.
51030         * po/de.po: Update from translation team.
51031         * po/eo.po: Likewise.
51032         * po/nl.po: Likewise.
51034 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51036         [BZ #14246]
51037         * manual/argp.texi (Argp Helper Functions): Move node to follow
51038         Argp Parsing State.
51040         [BZ #14872]
51041         * manual/conf.texi (Limits on File System Capacity): Mention if
51042         terminating null is included in the max size.
51044 2012-12-10  Andreas Jaeger  <aj@suse.de>
51046         * po/cs.po: Update from translation team.
51048 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51050         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51051         void pointer and cast to uintptr_t.
51052         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51053         path.
51054         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51055         * sysdeps/s390/s390-64/memset.S: Likewise.
51057 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51059         [BZ #14833]
51060         * menual/message.texi (Message Translation): Fix typos.
51061         (Helper programs for gettext): Likewise.
51063 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51065         [BZ #14898]
51066         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51067         Change to -1.
51069 2012-12-07  David S. Miller  <davem@davemloft.net>
51071         * po/libc.pot: Update.
51073 2012-12-07  Richard Henderson  <rth@redhat.com>
51075         [BZ #10114]
51076         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51077         normal/normal case to before the switch.
51078         (_FP_DIV): Likewise.
51080 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51081             Mike Frysinger  <vapier@gentoo.org>
51083         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51084         check for __NR_fadvise64_64.
51086 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51088         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51089         0, not just to plain "0" as a statement.
51090         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51091         with cw.
51093 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51095         * NEWS: Use sourceware.org in Bugzilla URL.
51097 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51100         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51102         * stdio-common/tst-put-error.c (do_test): Add newline to the
51103         padded test to ensure flush.
51105 2012-12-05  Jeff Law  <law@redhat.com>
51107         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51109 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51111         * README: Don't refer to ports add-on as distributed separately.
51112         Mention AArch64 in list of systems supported in the ports add-on.
51114         * LICENSES: Add more non-FSF copyright and license notices.
51116         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51117         ((unused)).
51119         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51121         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51122         10000 as width of padded output.
51124 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51126         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51128         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51129         variable LX with __attribute__ ((unused)).
51130         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51131         Likewise.
51132         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51133         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51134         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51135         with __attribute__ ((unused)).
51137 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51139         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51141 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51143         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51144         (CFLAGS-nldbl-acos.c): New variable.
51145         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51146         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51147         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51148         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51149         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51150         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51151         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51152         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51153         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51154         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51155         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51156         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51157         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51158         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51159         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51160         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51161         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51162         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51163         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51164         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51165         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51166         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51167         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51168         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51169         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51170         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51171         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51172         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51173         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51174         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51175         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51176         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51177         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51178         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51179         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51180         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51181         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51182         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51183         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51184         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51185         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51186         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51187         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51188         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51189         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51190         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51191         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51192         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51193         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51194         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51195         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51196         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51197         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51198         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51199         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51200         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51201         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51202         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51203         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51204         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51205         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51206         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51207         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51208         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51209         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51210         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51211         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51212         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51213         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51214         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51215         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51216         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51217         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51218         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51219         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51220         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51221         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51222         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51223         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51224         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51225         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51226         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51227         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51228         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51229         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51230         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51231         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51232         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51233         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51234         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51235         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51236         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51237         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51238         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51239         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51240         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51241         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51244         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51246         [BZ #14914]
51247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51248         whole low double instead of just low 47 bits when splitting values
51249         into two parts.
51251 2012-12-03  Allan McRae  <allan@archlinux.org>
51253         * manual/stdio.texi (Predefined Printf Handlers): Remove
51254         @hsep and @vsep usage.
51256 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51258         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51259         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51261 2012-12-03  Jeff Law  <law@redhat.com>
51263         * time/sys/time.h (settimeofday): Do not mark TV argument
51264         as __nonnull.
51266 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51268         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51269         when currently writing and seek to current position when not.
51270         * libio/Makefile (tests): Remove bug-fclose1.
51271         * libio/bug-fclose1.c: Delete.
51273 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51275         * manual/arith.texi (feenableexcept): Fix typo.
51276         (fedisableexcept): Likewise.
51278 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51280         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51281         second, differently-typed declaration, rather than a cast.
51283 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51285         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51286         * include/rpc/svc.h: ... here.
51288 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51290         [BZ #13013]
51291         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51292         depending n and resplen2 to catch cases where answer
51293         equals answerp2.
51295 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51297         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51298         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51300 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51302         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51304 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51306         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51308 2012-11-28  Jeff Law  <law@redhat.com>
51310         [BZ #13761]
51311         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51312         dataset_temporary.  Track alloca usage into alloca_used.
51313         If dataset is large allocate and release it via malloc/free.
51315 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51317         [BZ #14197]
51318         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51320 2012-11-28  David S. Miller  <davem@davemloft.net>
51322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51324 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51326         [BZ #14803]
51327         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51328         of pi/2 rounded to nearest to 64 bits.
51329         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51330         nearest to 64 bits.
51331         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51332         bits.
51334 2012-11-28  Jeff Law <law@redhat.com>
51335             Martin Osvald <mosvald@redhat.com>
51337         [BZ #14889]
51338         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51339         * sunrpc/svc.c: Include time.h.
51340         (__svc_accept_failed): New function.
51341         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51342         any reason other than EINTR, call __svc_accept_failed.
51343         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51344         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51346 2012-11-28  Andreas Schwab  <schwab@suse.de>
51348         * scripts/abilist.awk: Also handle indirect functions in .opd
51349         section.
51351 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51353         [BZ #13881]
51354         * sysdeps/x86/fpu/powl_helper.c: New file.
51355         * sysdeps/x86/fpu/Makefile: Likewise.
51356         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51357         (p3): New object.
51358         (__ieee754_powl): Use __powl_helper for finite arguments except
51359         integer exponents below 8.
51360         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51361         (p3): New object.
51362         (__ieee754_powl): Use __powl_helper for finite arguments except
51363         integer exponents below 8.
51364         * math/libm-test.inc (pow_test): Add more tests and enable some
51365         previously disabled tests.
51366         * sysdeps/i386/fpu/libm-test-ulps: Update.
51367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51369 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51370             Carlos O'Donell  <carlos_odonell@mentor.com>
51372         * nss/makedb.c (is_prime): Assert that input is odd and greater
51373         than 4.  Note that fact in a comment too.
51374         (next_prime): Add 4 to input.
51376 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51378         [BZ #11741]
51379         * libio/Makefile (tests): Add test case tst-fwrite-error.
51380         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51381         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51382         * libio/tst-fwrite-error.c: New test case.
51384 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
51386         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51387         before casting to void *.
51388         * include/libc-internal.h (__pointer_type): New macro.
51389         (__integer_if_pointer_type_sub): Likewise.
51390         (__integer_if_pointer_type): Likewise.
51391         (cast_to_integer): Likewise.
51392         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51393         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51394         before casting to atomic64_t.
51395         (atomic_exchange_acq): Likewise.
51396         (__arch_exchange_and_add_body): Likewise.
51397         (__arch_add_body): Likewise.
51398         (atomic_add_negative): Likewise.
51399         (atomic_add_zero): Likewise.
51401 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
51403         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51404         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51405         (add_fdes): Likewise.
51406         (linear_search_fdes): Likewise.
51407         (binary_search_unencoded_fdes): Likewise.
51409 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
51411         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51413 2012-11-24  Adam Conrad  <adconrad@0c3.net>
51415         * configure.in: Autodetect C++ header directories.
51416         * configure: Regenerated.
51418 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
51420         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51422 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
51424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51426 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
51428         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51429         LDBL_MANT_DIG == 106]: Disable some tests.
51430         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51431         Likewise.
51432         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51433         Likewise.
51435         [BZ #14871]
51436         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51437         input for small inputs.  Return +/- pi/2 for large inputs.
51438         * math/libm-test.inc (atan_test): Add more tests.
51440         * sysdeps/generic/unwind-dw2-fde-glibc.c
51441         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51442         __attribute__ ((unused)).
51444         [BZ #14645]
51445         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51446         x * y if x and y are nonzero and z is zero.
51448         [BZ #14811]
51449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51450         nonzero exponents with absolute value below 0x1p-117 to +/-
51451         0x1p-117.
51453         [BZ #14869]
51454         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51455         up arguments below 2**-450, not just those below 2**-500.
51456         * math/libm-test.inc (hypot_test): Add another test.
51458         [BZ #14868]
51459         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51460         Return a+b for ratio over 2**120, not 2**60.
51461         * math/libm-test.inc (hypot_test): Add another test.
51463         * math/libm-test.inc (clog_test): Use
51464         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51465         (clog10_test): Likewise.
51467         [BZ #6778]
51468         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51470 2012-11-22  Andreas Schwab  <schwab@suse.de>
51472         * sysdeps/i386/fpu/libm-test-ulps: Update.
51474 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51476         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51477         printf output with newline.
51479 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51481         [BZ #14865]
51482         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51483         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51484         -z nodlopen, -z initfirst and -z execstack support.
51485         * configure: Regenerated.
51487         * elf/elf.h (DF_1_NODIRECT): New macro.
51488         (DF_1_IGNMULDEF): Likewise.
51489         (DF_1_NOKSYMS): Likewise.
51490         (DF_1_NOHDR): Likewise.
51491         (DF_1_EDITED): Likewise.
51492         (DF_1_NORELOC): Likewise.
51493         (DF_1_SYMINTPOSE): Likewise.
51494         (DF_1_GLOBAUDIT): Likewise.
51495         (DF_1_SINGLETON): Likewise.
51496         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51497         DT_1_SUPPORTED_MASK bits.
51498         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51500 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51502         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51504 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51506         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51507         macro.
51509         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51510         (sendmmsg): Move declarations...
51511         * socket/sys/socket.h: ... here.
51512         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51513         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51514         include it from...
51515         * socket/recvmmsg.c: ... this new file.
51516         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51517         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51518         definition of __sendmmsg hidden.
51519         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51520         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51521         Move ENOSYS stub into and include it from...
51522         * socket/sendmmsg.c: ... this new file.
51523         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51524         (sysdep_routines): Move recvmmsg and sendmmsg...
51525         * socket/Makefile (routines): ... here.
51526         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51527         (GLIBC_PRIVATE): Add __sendmmsg.
51528         * include/sys/socket.h (__sendmmsg): Add declarations.
51529         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51530         sendmmsg.
51532 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51534         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51535         variable I1 with __attribute__ ((unused)).
51536         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51538 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51540         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51541         DUMMY variables with __attribute__ ((unused)).
51543         * bits/byteswap.h: Include <bits/types.h>.
51544         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51546 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51548         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51549         string_t.  Do not manually set errno.
51550         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51551         length with __strnlen.  Make sure to both set errno and return it on
51552         failure.
51554 2012-11-19  David S. Miller  <davem@davemloft.net>
51556         With help from Joseph Myers.
51557         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51558         very large arguments properly.
51559         * math/libm-test.inc (atan_test): New tests.
51560         (atan2_test): New tests.
51561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51564 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51566         [BZ #14856]
51567         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51568         Define to 3.
51570         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51571         [POSIX] (EADDRNOTAVAIL): Likewise.
51572         [POSIX] (EAFNOSUPPORT): Likewise.
51573         [POSIX] (EALREADY): Likewise.
51574         [POSIX] (ECONNABORTED): Likewise.
51575         [POSIX] (ECONNREFUSED): Likewise.
51576         [POSIX] (ECONNRESET): Likewise.
51577         [POSIX] (EDESTADDRREQ): Likewise.
51578         [POSIX] (EDQUOT): Likewise.
51579         [POSIX] (EHOSTUNREACH): Likewise.
51580         [POSIX] (EIDRM): Likewise.
51581         [POSIX] (EISCONN): Likewise.
51582         [POSIX] (ELOOP): Likewise.
51583         [POSIX] (EMULTIHOP): Likewise.
51584         [POSIX] (ENETDOWN): Likewise.
51585         [POSIX] (ENETUNREACH): Likewise.
51586         [POSIX] (ENOBUFS): Likewise.
51587         [POSIX] (ENODATA): Likewise.
51588         [POSIX] (ENOLINK): Likewise.
51589         [POSIX] (ENOMSG): Likewise.
51590         [POSIX] (ENOPROTOOPT): Likewise.
51591         [POSIX] (ENOSR): Likewise.
51592         [POSIX] (ENOSTR): Likewise.
51593         [POSIX] (ENOTCONN): Likewise.
51594         [POSIX] (ENOTSOCK): Likewise.
51595         [POSIX] (EOPNOTSUPP): Likewise.
51596         [POSIX] (EOVERFLOW): Likewise.
51597         [POSIX] (EPROTO): Likewise.
51598         [POSIX] (EPROTONOSUPPORT): Likewise.
51599         [POSIX] (EPROTOTYPE): Likewise.
51600         [POSIX] (ESTALE): Likewise.
51601         [POSIX] (ETIME): Likewise.
51602         [POSIX] (ETXTBSY): Likewise.
51603         [POSIX] (EWOULDBLOCK): Likewise.
51604         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51605         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51606         [POSIX] (SEEK_CUR): Likewise.
51607         [POSIX] (SEEK_END): Likewise.
51608         [POSIX || UNIX98] (mode_t): Do not require.
51609         [POSIX] (off_t): Likewise.
51610         [POSIX] (pid_t): Likewise.
51611         [POSIX] (sys/stat.h): Do not allow header.
51612         [POSIX] (unistd.h): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51614         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51616         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51617         require.
51618         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51619         sigevent): Specify elements.
51620         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51621         entry.
51622         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51623         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51625         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51626         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51627         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51628         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51629         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51630         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51631         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51632         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51634         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51635         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51636         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51637         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51638         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51639         Likewise.
51640         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51641         Likewise.
51642         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51643         Likewise.
51644         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51645         Likewise.
51646         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51647         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51648         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51649         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51650         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51651         Specify lower bound on value.
51652         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51656         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51657         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51658         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51659         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51660         value.
51661         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51662         as optional.
51663         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51664         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51665         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51666         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51667         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51668         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51669         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51670         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51671         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51672         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51673         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51674         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51675         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51676         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51677         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51678         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51679         entry.
51680         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51681         optional.
51682         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51683         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51684         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51685         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51686         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51687         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51688         Likewise.
51689         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51690         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51691         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51692         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51693         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51694         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51695         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51696         as optional.
51697         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51698         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51699         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51700         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51701         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51702         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51703         specify as optional.
51704         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51705         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51706         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51707         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51708         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51709         [XPG3] (NL_LANGMAX): Likewise.
51710         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51711         [POSIX || XPG3] (NL_NMAX): Likewise.
51712         [POSIX || XPG3] (NL_SETMAX): Likewise.
51713         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51714         [XPG3] (NZERO): Likewise.
51715         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51716         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51717         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51718         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51719         (REG_ERANGE): Expect.
51720         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51721         optional-constant.
51722         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51723         Use (void) in prototype.
51724         [POSIX] (*_t): Allow.
51725         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51726         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51727         (WRDE_BADVAL): Expect.
51729         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51730         expect.
51731         [XPG3 || XPG4] (O_RSYNC): Likewise.
51732         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51733         Likewise.
51734         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51735         [XPG3 || XPG4] (sigqueue): Likewise.
51736         [XPG3 || XPG4] (sigtimedwait): Likewise.
51737         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51738         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51739         [XPG3 || XPG4] (vsnprintf): Likewise.
51740         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51741         Likewise.
51742         [XPG3 || XPG4] (blksize_t): Likewise.
51743         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51744         Likewise.
51745         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51746         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51747         [XPG3 || XPG4] (struct itimerspec): Likewise.
51748         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51749         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51750         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51751         [XPG3 || XPG4] (clockid_t): Likewise.
51752         [XPG3 || XPG4] (timer_t): Likewise.
51753         [XPG3 || XPG4] (clock_getres): Likewise.
51754         [XPG3 || XPG4] (clock_gettime): Likewise.
51755         [XPG3 || XPG4] (clock_settime): Likewise.
51756         [XPG3 || XPG4] (nanosleep): Likewise.
51757         [XPG3 || XPG4] (timer_create): Likewise.
51758         [XPG3 || XPG4] (timer_delete): Likewise.
51759         [XPG3 || XPG4] (timer_gettime): Likewise.
51760         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51761         [XPG3 || XPG4] (timer_settime): Likewise.
51762         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51763         [XPG3 || XPG4] (getlogin_r): Likewise.
51764         [XPG3 || XPG4] (pread): Likewise.
51765         [XPG3 || XPG4] (pthread_atfork): Likewise.
51766         [XPG3 || XPG4] (pwrite): Likewise.
51768         [BZ #14835]
51769         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51770         <bits/siginfo.h>.
51772 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51774         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51775         finalizing MALLSTREAM.
51777         * sysdeps/mach/hurd/syncfs.c: New file.
51779 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51781         [BZ #14719]
51782         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51783         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51784         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51785         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51786         (_nss_dns_gethostbyname4_r): Likewise.
51787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51788         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51790 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51792         [BZ #13763]
51793         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51795 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51797         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51798         * elf/cache.c (print_entry): Print ",AArch64" for
51799         FLAG_AARCH64_LIB64
51801         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51802         * elf/cache.c (print_entry): Print ",hard-float" for
51803         FLAG_ARM_LIBHF.
51805 2012-11-18  David S. Miller  <davem@davemloft.net>
51807         With help from Joseph Myers.
51808         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51809         cutoff to 2**-13.
51810         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51811         cutoff to 2**-25.
51812         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51813         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51814         small.
51815         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51816         * math/libm-test.inc (y0_test): New tests.
51817         (y1_test): New tests.
51818         * sysdeps/i386/fpu/libm-test-ulps: Update.
51819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51822 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51824         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51825         64-bit targets.
51826         * configure: Regenerated.
51828 2012-11-17  David S. Miller  <davem@davemloft.net>
51830         [BZ #14811]
51831         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51832         nonzero exponents with absolute value below 0x1p-128 to +/-
51833         0x1p-128.
51835 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51837         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51839         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51841         * posix/getconf-speclist.c: New file.
51842         * posix/posix-envs.def: Likewise.
51843         * posix/confstr.c (START_ENV_GROUP): New macro.
51844         (END_ENV_GROUP): Likewise.
51845         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51846         (KNOWN_PRESENT_ENV_STRING): Likewise.
51847         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51848         (UNKNOWN_ENVIRONMENT): Likewise.
51849         (confstr): Include posix-envs.def instead of handling
51850         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51851         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51852         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51853         (END_ENV_GROUP): Likewise.
51854         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51855         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51856         (UNKNOWN_ENVIRONMENT): Likewise.
51857         (__sysconf): Include posix-envs.def instead of handling associated
51858         cases directly here.
51859         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51860         preprocessing getconf-speclist.c rather than running getconf or
51861         generating empty file.
51863 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51865         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51867 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51869         [BZ #14672]
51870         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51872 2012-11-16  David S. Miller  <davem@davemloft.net>
51874         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51875         smaller than LDBL_EPSILON/2.0L, just return xm1.
51877 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51879         * elf/tst-array1.c (init): Set constructor priority to 1000.
51880         (fini): Set destructor priority to 1000.
51881         * elf/tst-array2dep.c: Likewise.
51883 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51885         [BZ #11741]
51886         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51887         (_IO_new_file_xsputn): Also return EOF if none of the input
51888         data was written when overflow failed.
51889         * libio/iopadn.c (_IO_padn): Likewise.
51890         * libio/iowpadn.c (_IO_wpadn): Likewise.
51891         * stdio-common/tst-put-error.c: Add copyright notice.
51892         (do_test): Add case for printing padded string.
51893         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51894         _IO_padn returned error.
51895         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51896         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51897         return EOF.
51899 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51901         * libio/libioP.h: Add comment note that the references to C++
51902         bits are now obsolete.
51904 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51906         * math/libm-test.inc (check_complex): Use asprintf.
51908 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51910         * debug/pcprofiledump.c (print_version): Update copyright year.
51911         * malloc/memusagestat.c (print_version): Likewise.
51913 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51915         [BZ #14831]
51916         * elf/Makefile (tests): Add tst-audit8.
51917         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51918         ($(objpfx)tst-audit8.out): New target.
51919         (tst-audit8-ENV): New variable.
51920         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51921         audit if l_reloc_result is NULL.
51922         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51923         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51924         * elf/tst-audit8.c: New file.
51926 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51928         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51929         * misc/Makefile (CFLAGS-select.c): Define.
51930         * posix/Makefile (CFLAGS-pause.c): Define.
51932 2012-11-13  David S. Miller  <davem@davemloft.net>
51934         * crypt/Makefile: Move test targets after toplevel Rules
51935         inclusion.  Grab any necessary sysdep routines when linking.
51936         * crypt/md5.c (md5_process_block): Remove define, we will always
51937         name it __md5_process_block.
51938         (md5_finish_ctx): Update md5_process_block call.
51939         (md5_stream): Likewise.
51940         (md5_process_bytes): Likewise.
51941         (md5_process_block): Rename to __md5_process_block and move to ...
51942         * crypt/md5-block.c: ... here.
51943         * crypt/sha256.c (sha256_process_block): Move to ...
51944         * crypt/sha256-block.c: ... here.
51945         * crypt/sha512.c (sha512_process_block): Move to ...
51946         * crypt/sha512-block.c: ... here.
51947         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51948         path.
51949         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51950         * sysdeps/sparc/sparc64/multiarch/Makefile
51951         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51952         crypt subdir.
51953         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51954         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51955         multiarch changes.
51956         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51957         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51958         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51959         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51960         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51961         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51962         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51963         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51964         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51965         file.
51966         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51967         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51968         file.
51969         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51971 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51973         * timezone/tzselect.ksh: Update from tzcode git revision
51974         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51975         * timezone/zdump.c: Likewise.
51976         * timezone/zic.c: Likewise.
51977         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51978         in TZVERSION setting, not $(PKGVERSION).
51979         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51980         REPORT_BUGS_TO settings.
51982         [BZ #14838]
51983         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51984         macro.
51986 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51988         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51989         detection to immediately after _FP_ROUND().
51990         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51991         bits are 0.
51993 2012-11-11  David S. Miller  <davem@davemloft.net>
51995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51996         inttypes.h
51997         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51998         __close rather than their public counterparts.
52000 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52002         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52003         file.
52004         [UNIX98] (sem_timedwait): Do not expect.
52005         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52006         [XPG4 || UNIX98] (sockatmark): Do not expect.
52007         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52008         (clock_getcpuclockid): Do not expect.
52009         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52010         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52011         Do not expect.
52012         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52013         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52014         [UNIX98] (vwscanf): Likewise.
52015         [UNIX98] (vswscanf): Likewise.
52017 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52019         * timezone/version.h: Remove file.
52020         * timezone/README: Do not refer to version.h.
52021         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52022         $(objpfx)version.h.
52023         ($(objpfx)zdump.o): Likewise.
52024         ($(objpfx)version.h): New target.
52026         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52027         2012i.
52028         * timezone/README: Don't mention modification to tzselect.ksh.
52029         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52030         work on unmodified tzselect.ksh.  Substitute version numbers in
52031         tzselect.ksh.
52033         * Makefile (format-me): Remove.
52034         (INSTALL): Adjust indentation.  Use commands directly instead of
52035         using $(format-me).
52037         * aclocal.m4 (ACX_PKGVERSION): New macro.
52038         (ACX_BUGURL): Likewise.
52039         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52040         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52041         (REPORT_BUGS_TO): Likewise.
52042         * configure: Regenerated.
52043         * config.h.in (PKGVERSION): New macro.
52044         (REPORT_BUGS_TO): Likewise.
52045         * config.make.in (PKGVERSION): New variable.
52046         (PKGVERSION_TEXI): Likewise.
52047         (REPORT_BUGS_TO): Likewise.
52048         (REPORT_BUGS_TEXI): Likewise.
52049         * Makefile (format-me): Use -I$(common-objpfx)manual.
52050         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52051         ($(common-objpfx)manual/%): New target.
52052         (manual/%): Remove target.
52053         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52054         (print_version): Use PKGVERSION.
52055         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52056         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52057         and REPORT_BUGS_TO.
52058         ($(objpfx)xtrace): Likewise.
52059         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52060         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52061         (print_version): Use PKGVERSION.
52062         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52063         (do_version): Use PKGVERSION.
52064         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52065         REPORT_BUGS_TO.
52066         (common-ldd-rewrite): Likewise.
52067         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52068         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52069         (print_version): Use PKGVERSION.
52070         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52071         * elf/pldd.c (argp_program_bug_address): Remove variable.
52072         (more_help): New function.
52073         (argp): Use more_help.
52074         (print_version): Use PKGVERSION.
52075         * elf/sln.c (main): Use PKGVERSION.
52076         (usage): Use REPORT_BUGS_TO.
52077         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52078         (top level): Use PKGVERSION.
52079         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52080         (print_version): Use PKGVERSION.
52081         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52082         (print_version): Use PKGVERSION.
52083         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52084         (print_version): Use PKGVERSION.
52085         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52086         (print_version): Use PKGVERSION.
52087         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52088         (print_version): Use PKGVERSION.
52089         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52090         (print_version): Use PKGVERSION.
52091         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52092         and BUGURL.
52093         ($(objpfx)memusage): Likewise.
52094         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52095         (do_version): Use PKGVERSION.
52096         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52097         (print_version): Use PKGVERSION.
52098         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52099         ($PKGVERSION): New variable.
52100         ($REPORT_BUGS_TO): Likewise.
52101         (usage): Use $REPORT_BUGS_TO.
52102         (top level): Use $PKGVERSION.
52103         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52104         ($(objpfx)pkgvers.texi): New rule.
52105         ($(objpfx)stamp-pkgvers): Likewise.
52106         * manual/install.texi: Include pkgvers.texi.
52107         (--with-pkgversion): Document new configure option.
52108         (--with-bugurl): Likewise.
52109         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52110         than necessarily for this particular distribution.  Use
52111         REPORT_BUGS_TO for where to report bugs.
52112         * INSTALL: Regenerated.
52113         * manual/libc.texinfo: Include pkgvers.texi.
52114         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52115         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52116         (print_version): Use PKGVERSION.
52117         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52118         (print_version): Use PKGVERSION.
52119         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52120         (print_version): Use PKGVERSION.
52121         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52122         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52123         macro.
52124         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52125         (print_version): Use PKGVERSION.
52126         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52127         (print_version): Use PKGVERSION.
52128         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52129         and PKGVERSION.
52131         * timezone/checktab.awk: Update from tzcode 2012i.
52132         * timezone/ialloc.c: Likewise.
52133         * timezone/private.h: Likewise.
52134         * timezone/scheck.c: Likewise.
52135         * timezone/tzfile.h: Likewise.
52136         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52137         (TZVERSION): Hardcode tzcode version number.
52138         * timezone/zdump.c: Update from tzcode 2012i.
52139         * timezone/zic.c: Likewise.
52140         * timezone/version.h: New file.
52141         * timezone/README: Describe version.h.  Update upstream location.
52143         [BZ #14824]
52144         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52145         (mktemp): Enable declaration.
52146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52147         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52148         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52149         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52150         Likewise.
52151         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52152         Likewise.
52153         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52154         Likewise.
52155         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52156         Likewise.
52157         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52158         Likewise.
52159         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52160         Likewise.
52162         [BZ #14821]
52163         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52164         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52165         for copies of such integer values.
52166         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52167         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52169 2012-11-09  Andreas Jaeger  <aj@suse.de>
52171         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52172         definitions and declarations that are provided by
52173         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52175 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52177         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52178         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52179         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52180         definition.
52182 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52184         * elf/elf.h: Update comment before AArch64 relocations.
52186 2012-11-07  David S. Miller  <davem@davemloft.net>
52188         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52189         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52190         (__start_context): Declare.
52191         (__makecontext_ret): Delete.
52192         (__makecontext): Hook up __start_context instead of
52193         __makecontext_ret.
52194         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52195         (sysdep_routines): Add __start_context when in stdlib.
52197 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52199         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52200         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52201         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52202         hardcoded "nm".
52203         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52204         (READELF): New variable.  Use it instead of hardcoded "readelf".
52206 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52208         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52209         * sysdeps/x86/Makefile: Here.
52210         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52211         * sysdeps/x86/tst-xmmymm.sh: This.
52213 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52215         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52216         expectations.
52217         [UNIX98] (pthread_barrier_t): Do not expect.
52218         [UNIX98] (pthread_barrierattr_t): Likewise.
52219         [UNIX98] (pthread_spinlock_t): Likewise.
52220         [UNIX98] (pthread_barrier_destroy): Likewise.
52221         [UNIX98] (pthread_barrier_init): Likewise.
52222         [UNIX98] (pthread_barrier_wait): Likewise.
52223         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52224         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52225         [UNIX98] (pthread_barrierattr_init): Likewise.
52226         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52227         [UNIX98] (pthread_getcpuclockid): Likewise.
52228         [UNIX98] (pthread_mutex_timedlock): Likewise.
52229         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52230         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52231         [UNIX98] (pthread_sigmask): Likewise.
52232         [UNIX98] (pthread_spin_destroy): Likewise.
52233         [UNIX98] (pthread_spin_init): Likewise.
52234         [UNIX98] (pthread_spin_lock): Likewise.
52235         [UNIX98] (pthread_spin_trylock): Likewise.
52236         [UNIX98] (pthread_spin_unlock): Likewise.
52237         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52238         Do not expect.
52239         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52240         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52241         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52242         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52243         [XPG3 || XPG4] (pthread_key_t): Likewise.
52244         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52245         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52246         [XPG3 || XPG4] (pthread_once_t): Likewise.
52247         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52248         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52249         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52250         [XPG3 || XPG4] (pthread_t): Likewise.
52252         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52253         not expect.
52254         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52256         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52257         Change function return type to int.
52259         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52260         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52261         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52262         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52263         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52264         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52265         [!POSIX] (posix_madvise): Likewise.
52266         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52267         && !UNIX98].
52268         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52269         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52270         (mode_t): Likewise.
52271         (posix_mem_offset): Likewise.
52272         (posix_typed_mem_get_info): Likewise.
52273         (posix_typed_mem_open): Likewise.
52275         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52276         Change condition to [XOPEN2K8].
52278         * conform/conformtest.pl: Preprocess allow-header data with -x c
52279         instead of from stdin.
52280         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52281         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52282         [C99-based standards] (cerfc): Likewise.
52283         [C99-based standards] (cexp2): Likewise.
52284         [C99-based standards] (cexpm1): Likewise.
52285         [C99-based standards] (clog10): Likewise.
52286         [C99-based standards] (clog1p): Likewise.
52287         [C99-based standards] (clog2): Likewise.
52288         [C99-based standards] (clgamma): Likewise.
52289         [C99-based standards] (ctgamma): Likewise.
52290         [C99-based standards] (cerff): Likewise.
52291         [C99-based standards] (cerfcf): Likewise.
52292         [C99-based standards] (cexp2f): Likewise.
52293         [C99-based standards] (cexpm1f): Likewise.
52294         [C99-based standards] (clog10f): Likewise.
52295         [C99-based standards] (clog1pf): Likewise.
52296         [C99-based standards] (clog2f): Likewise.
52297         [C99-based standards] (clgammaf): Likewise.
52298         [C99-based standards] (ctgammaf): Likewise.
52299         [C99-based standards] (cerfl): Likewise.
52300         [C99-based standards] (cerfcl): Likewise.
52301         [C99-based standards] (cexp2l): Likewise.
52302         [C99-based standards] (cexpm1l): Likewise.
52303         [C99-based standards] (clog10l): Likewise.
52304         [C99-based standards] (clog1pl): Likewise.
52305         [C99-based standards] (clog2l): Likewise.
52306         [C99-based standards] (clgammal): Likewise.
52307         [C99-based standards] (ctgammal): Likewise.
52308         * conform/data/inttypes.h-data [C99-based standards]: Include
52309         stdint.h-data.  Remove all expectations for stdint.h contents.
52310         [C99-based standards] (PRI*): Do not allow.
52311         [C99-based standards] (SCN*): Likewise.
52312         [C99-based standards] (*_t): Likewise.
52313         [C99-based-standards] (PRId8): Expect macro.
52314         [C99-based-standards] (PRIi8): Likewise.
52315         [C99-based-standards] (PRIo8): Likewise.
52316         [C99-based-standards] (PRIu8): Likewise.
52317         [C99-based-standards] (PRIx8): Likewise.
52318         [C99-based-standards] (PRIX8): Likewise.
52319         [C99-based-standards] (SCNd8): Likewise.
52320         [C99-based-standards] (SCNi8): Likewise.
52321         [C99-based-standards] (SCNo8): Likewise.
52322         [C99-based-standards] (SCNu8): Likewise.
52323         [C99-based-standards] (SCNx8): Likewise.
52324         [C99-based-standards] (PRIdLEAST8): Likewise.
52325         [C99-based-standards] (PRIiLEAST8): Likewise.
52326         [C99-based-standards] (PRIoLEAST8): Likewise.
52327         [C99-based-standards] (PRIuLEAST8): Likewise.
52328         [C99-based-standards] (PRIxLEAST8): Likewise.
52329         [C99-based-standards] (PRIXLEAST8): Likewise.
52330         [C99-based-standards] (SCNdLEAST8): Likewise.
52331         [C99-based-standards] (SCNiLEAST8): Likewise.
52332         [C99-based-standards] (SCNoLEAST8): Likewise.
52333         [C99-based-standards] (SCNuLEAST8): Likewise.
52334         [C99-based-standards] (SCNxLEAST8): Likewise.
52335         [C99-based-standards] (PRIdFAST8): Likewise.
52336         [C99-based-standards] (PRIiFAST8): Likewise.
52337         [C99-based-standards] (PRIoFAST8): Likewise.
52338         [C99-based-standards] (PRIuFAST8): Likewise.
52339         [C99-based-standards] (PRIxFAST8): Likewise.
52340         [C99-based-standards] (PRIXFAST8): Likewise.
52341         [C99-based-standards] (SCNdFAST8): Likewise.
52342         [C99-based-standards] (SCNiFAST8): Likewise.
52343         [C99-based-standards] (SCNoFAST8): Likewise.
52344         [C99-based-standards] (SCNuFAST8): Likewise.
52345         [C99-based-standards] (SCNxFAST8): Likewise.
52346         [C99-based-standards] (PRId16): Likewise.
52347         [C99-based-standards] (PRIi16): Likewise.
52348         [C99-based-standards] (PRIo16): Likewise.
52349         [C99-based-standards] (PRIu16): Likewise.
52350         [C99-based-standards] (PRIx16): Likewise.
52351         [C99-based-standards] (PRIX16): Likewise.
52352         [C99-based-standards] (SCNd16): Likewise.
52353         [C99-based-standards] (SCNi16): Likewise.
52354         [C99-based-standards] (SCNo16): Likewise.
52355         [C99-based-standards] (SCNu16): Likewise.
52356         [C99-based-standards] (SCNx16): Likewise.
52357         [C99-based-standards] (PRIdLEAST16): Likewise.
52358         [C99-based-standards] (PRIiLEAST16): Likewise.
52359         [C99-based-standards] (PRIoLEAST16): Likewise.
52360         [C99-based-standards] (PRIuLEAST16): Likewise.
52361         [C99-based-standards] (PRIxLEAST16): Likewise.
52362         [C99-based-standards] (PRIXLEAST16): Likewise.
52363         [C99-based-standards] (SCNdLEAST16): Likewise.
52364         [C99-based-standards] (SCNiLEAST16): Likewise.
52365         [C99-based-standards] (SCNoLEAST16): Likewise.
52366         [C99-based-standards] (SCNuLEAST16): Likewise.
52367         [C99-based-standards] (SCNxLEAST16): Likewise.
52368         [C99-based-standards] (PRIdFAST16): Likewise.
52369         [C99-based-standards] (PRIiFAST16): Likewise.
52370         [C99-based-standards] (PRIoFAST16): Likewise.
52371         [C99-based-standards] (PRIuFAST16): Likewise.
52372         [C99-based-standards] (PRIxFAST16): Likewise.
52373         [C99-based-standards] (PRIXFAST16): Likewise.
52374         [C99-based-standards] (SCNdFAST16): Likewise.
52375         [C99-based-standards] (SCNiFAST16): Likewise.
52376         [C99-based-standards] (SCNoFAST16): Likewise.
52377         [C99-based-standards] (SCNuFAST16): Likewise.
52378         [C99-based-standards] (SCNxFAST16): Likewise.
52379         [C99-based-standards] (PRId32): Likewise.
52380         [C99-based-standards] (PRIi32): Likewise.
52381         [C99-based-standards] (PRIo32): Likewise.
52382         [C99-based-standards] (PRIu32): Likewise.
52383         [C99-based-standards] (PRIx32): Likewise.
52384         [C99-based-standards] (PRIX32): Likewise.
52385         [C99-based-standards] (SCNd32): Likewise.
52386         [C99-based-standards] (SCNi32): Likewise.
52387         [C99-based-standards] (SCNo32): Likewise.
52388         [C99-based-standards] (SCNu32): Likewise.
52389         [C99-based-standards] (SCNx32): Likewise.
52390         [C99-based-standards] (PRIdLEAST32): Likewise.
52391         [C99-based-standards] (PRIiLEAST32): Likewise.
52392         [C99-based-standards] (PRIoLEAST32): Likewise.
52393         [C99-based-standards] (PRIuLEAST32): Likewise.
52394         [C99-based-standards] (PRIxLEAST32): Likewise.
52395         [C99-based-standards] (PRIXLEAST32): Likewise.
52396         [C99-based-standards] (SCNdLEAST32): Likewise.
52397         [C99-based-standards] (SCNiLEAST32): Likewise.
52398         [C99-based-standards] (SCNoLEAST32): Likewise.
52399         [C99-based-standards] (SCNuLEAST32): Likewise.
52400         [C99-based-standards] (SCNxLEAST32): Likewise.
52401         [C99-based-standards] (PRIdFAST32): Likewise.
52402         [C99-based-standards] (PRIiFAST32): Likewise.
52403         [C99-based-standards] (PRIoFAST32): Likewise.
52404         [C99-based-standards] (PRIuFAST32): Likewise.
52405         [C99-based-standards] (PRIxFAST32): Likewise.
52406         [C99-based-standards] (PRIXFAST32): Likewise.
52407         [C99-based-standards] (SCNdFAST32): Likewise.
52408         [C99-based-standards] (SCNiFAST32): Likewise.
52409         [C99-based-standards] (SCNoFAST32): Likewise.
52410         [C99-based-standards] (SCNuFAST32): Likewise.
52411         [C99-based-standards] (SCNxFAST32): Likewise.
52412         [C99-based-standards] (PRId64): Likewise.
52413         [C99-based-standards] (PRIi64): Likewise.
52414         [C99-based-standards] (PRIo64): Likewise.
52415         [C99-based-standards] (PRIu64): Likewise.
52416         [C99-based-standards] (PRIx64): Likewise.
52417         [C99-based-standards] (PRIX64): Likewise.
52418         [C99-based-standards] (SCNd64): Likewise.
52419         [C99-based-standards] (SCNi64): Likewise.
52420         [C99-based-standards] (SCNo64): Likewise.
52421         [C99-based-standards] (SCNu64): Likewise.
52422         [C99-based-standards] (SCNx64): Likewise.
52423         [C99-based-standards] (PRIdLEAST64): Likewise.
52424         [C99-based-standards] (PRIiLEAST64): Likewise.
52425         [C99-based-standards] (PRIoLEAST64): Likewise.
52426         [C99-based-standards] (PRIuLEAST64): Likewise.
52427         [C99-based-standards] (PRIxLEAST64): Likewise.
52428         [C99-based-standards] (PRIXLEAST64): Likewise.
52429         [C99-based-standards] (SCNdLEAST64): Likewise.
52430         [C99-based-standards] (SCNiLEAST64): Likewise.
52431         [C99-based-standards] (SCNoLEAST64): Likewise.
52432         [C99-based-standards] (SCNuLEAST64): Likewise.
52433         [C99-based-standards] (SCNxLEAST64): Likewise.
52434         [C99-based-standards] (PRIdFAST64): Likewise.
52435         [C99-based-standards] (PRIiFAST64): Likewise.
52436         [C99-based-standards] (PRIoFAST64): Likewise.
52437         [C99-based-standards] (PRIuFAST64): Likewise.
52438         [C99-based-standards] (PRIxFAST64): Likewise.
52439         [C99-based-standards] (PRIXFAST64): Likewise.
52440         [C99-based-standards] (SCNdFAST64): Likewise.
52441         [C99-based-standards] (SCNiFAST64): Likewise.
52442         [C99-based-standards] (SCNoFAST64): Likewise.
52443         [C99-based-standards] (SCNuFAST64): Likewise.
52444         [C99-based-standards] (SCNxFAST64): Likewise.
52445         [C99-based-standards] (PRIdMAX): Likewise.
52446         [C99-based-standards] (PRIiMAX): Likewise.
52447         [C99-based-standards] (PRIoMAX): Likewise.
52448         [C99-based-standards] (PRIuMAX): Likewise.
52449         [C99-based-standards] (PRIxMAX): Likewise.
52450         [C99-based-standards] (PRIXMAX): Likewise.
52451         [C99-based-standards] (SCNdMAX): Likewise.
52452         [C99-based-standards] (SCNiMAX): Likewise.
52453         [C99-based-standards] (SCNoMAX): Likewise.
52454         [C99-based-standards] (SCNuMAX): Likewise.
52455         [C99-based-standards] (SCNxMAX): Likewise.
52456         [C99-based-standards] (PRIdPTR): Likewise.
52457         [C99-based-standards] (PRIiPTR): Likewise.
52458         [C99-based-standards] (PRIoPTR): Likewise.
52459         [C99-based-standards] (PRIuPTR): Likewise.
52460         [C99-based-standards] (PRIxPTR): Likewise.
52461         [C99-based-standards] (PRIXPTR): Likewise.
52462         [C99-based-standards] (SCNdPTR): Likewise.
52463         [C99-based-standards] (SCNiPTR): Likewise.
52464         [C99-based-standards] (SCNoPTR): Likewise.
52465         [C99-based-standards] (SCNuPTR): Likewise.
52466         [C99-based-standards] (SCNxPTR): Likewise.
52467         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52468         allow.
52469         * conform/data/stdint.h-data: Update comments to clarify
52470         requirements.
52471         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52472         type.
52473         [C99-based standards] (INT8_MAX): Likewise.
52474         [C99-based standards] (INT16_MIN): Likewise.
52475         [C99-based standards] (INT16_MAX): Likewise.
52476         [C99-based standards] (INT32_MIN): Likewise.
52477         [C99-based standards] (INT32_MAX): Likewise.
52478         [C99-based standards] (INT64_MIN): Likewise.
52479         [C99-based standards] (INT64_MAX): Likewise.
52480         [C99-based standards] (UINT8_MAX): Likewise.
52481         [C99-based standards] (UINT16_MAX): Likewise.
52482         [C99-based standards] (UINT32_MAX): Likewise.
52483         [C99-based standards] (UINT64_MAX): Likewise.
52484         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52485         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52486         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52487         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52488         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52489         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52490         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52491         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52492         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52493         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52494         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52495         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52496         [C99-based standards] (INT_FAST8_MIN): Likewise.
52497         [C99-based standards] (INT_FAST8_MAX): Likewise.
52498         [C99-based standards] (INT_FAST16_MIN): Likewise.
52499         [C99-based standards] (INT_FAST16_MAX): Likewise.
52500         [C99-based standards] (INT_FAST32_MIN): Likewise.
52501         [C99-based standards] (INT_FAST32_MAX): Likewise.
52502         [C99-based standards] (INT_FAST64_MIN): Likewise.
52503         [C99-based standards] (INT_FAST64_MAX): Likewise.
52504         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52505         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52506         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52507         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52508         [C99-based standards] (INTPTR_MIN): Likewise.
52509         [C99-based standards] (INTPTR_MAX): Likewise.
52510         [C99-based standards] (UINTPTR_MAX): Likewise.
52511         [C99-based standards] (INTMAX_MIN): Likewise.
52512         [C99-based standards] (INTMAX_MAX): Likewise.
52513         [C99-based standards] (UINTMAX_MAX): Likewise.
52514         [C99-based standards] (PTRDIFF_MIN): Likewise.
52515         [C99-based standards] (PTRDIFF_MAX): Likewise.
52516         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52517         [C99-based standards] (SIZE_MAX): Likewise.
52518         [C99-based standards] (WCHAR_MAX): Likewise.
52519         [C99-based standards] (WINT_MAX): Likewise.
52520         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52521         constraint on value.
52522         [C99-based standards] (WCHAR_MIN): Likewise.
52523         [C99-based standards] (WINT_MIN): Likewise.
52524         [C99-based standards] (*_t): Allow.
52525         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52526         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52527         Include math.h-data and complex.h-data.  Remove all expectations
52528         of math.h and complex.h contents.
52529         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52530         at end of line.
52531         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52532         (struct tm): Expect tag.
52533         [C99-based-standards] (wcstof): Expect function.
52534         [C99-based-standards] (wcstold): Likewise.
52535         [C99-based-standards] (wcstoll): Likewise.
52536         [C99-based-standards] (wcstoull): Likewise.
52537         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52538         macro-int-constant.  Specify type.
52539         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52540         constraint on value.
52541         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52542         Specify type.
52543         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52544         Specify value.
52545         [ISO C standards]: Do not allow headers.
52546         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52547         wcs[abcdefghijklmnopqrstuvwxyz]*.
52548         [ISO C standards] (*_t): Do not allow.
52549         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52550         Expect function.
52551         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52552         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52553         Specify type.
52554         [ISO C standards]: Do not allow headers.
52555         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52556         is[abcdefghijklmnopqrstuvwxyz]*.
52557         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52558         to[abcdefghijklmnopqrstuvwxyz]*.
52559         [ISO C standards] (*_t): Do not allow.
52560         * conform/data/stdalign.h-data: New file.
52561         * conform/data/stdbool.h-data: Likewise.
52562         * conform/data/stdnoreturn.h-data: Likewise.
52564 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52566         [BZ #14815]
52567         * manual/filesys.texi (Directory Entries): Typo fix.
52568         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52570 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52572         * elf/elf.h (EM_AARCH64): New macro.
52573         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52574         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52575         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52576         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52577         (R_AARCH64_TLSDESC): Likewise.
52578         (NT_ARM_TLS): Likewise.
52579         (NT_ARM_HW_BREAK): Likewise.
52580         (NT_ARM_HW_WATCH): Likewise.
52582 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52584         [BZ #14811]
52585         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52586         (__ieee754_powl): Saturate nonzero exponents with absolute value
52587         below 0x1p-79 to +/- 0x1p-79.
52588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52589         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52590         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52591         nonzero exponents with absolute value below 0x1p-32 to +/-
52592         0x1p-32.
52593         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52594         (__ieee754_powl): Saturate nonzero exponents with absolute value
52595         below 0x1p-79 to +/- 0x1p-79.
52596         * math/libm-test.inc (pow_test): Add more tests.
52598 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52600         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52601         _dl_s390_cap_flags with kernel. Increase string length.
52602         (_dl_s390_platforms): Add z196 and zEC12.
52604 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52606         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52607         Change XOPEN21K to XOPEN2K.
52609 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52611         * string/memmove.c: Use memcpy when possible.
52613 2012-11-06  Andreas Jaeger  <aj@suse.de>
52615         * po/eo.po: Update from translation team.
52617 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52619         [BZ #14793]
52620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52621         exponent and small x and y exponents, scale x or y up.  Increase
52622         by 2 the exponent used in scaling up.
52623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52625         * math/libm-test.inc (fma_test): Add more tests.
52626         (fma_test_towardzero): Likewise.
52627         (fma_test_downward): Likewise.
52628         (fma_test_upward): Likewise.
52630 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52632         [BZ #14805]
52633         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52634         fenv_t *.
52636         [BZ #14801]
52637         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52638         namespace for names of struct fields.
52639         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52640         fenv_t fields.
52641         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52642         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52644 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52646         [BZ #3665]
52647         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52649 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52651         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52652         PTR_DEMANGLE.
52654         [BZ #5246]
52655         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52656         PTR_DEMANGLE.
52658 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
52660         [BZ #14797]
52661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52662         definitely overflow as x * y not x * y + z.
52663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52664         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52665         * math/libm-test.inc (fma_test): Add more tests.
52666         (fma_test_towardzero): Likewise.
52667         (fma_test_downward): Likewise.
52668         (fma_test_upward): Likewise.
52670 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52672         [BZ #157]
52674         * include/stub-tag.h: Remove file.
52675         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52676         '#include' of it.
52677         * manual/maint.texi (Porting): Don't reference it.
52678         * Makerules ($(objpfx)stubs): Likewise.
52679         * dirent/closedir.c: Don't include <stub-tag.h>.
52680         * dirent/dirfd.c: Likewise.
52681         * dirent/fdopendir.c: Likewise.
52682         * dirent/getdents.c: Likewise.
52683         * dirent/getdents64.c: Likewise.
52684         * dirent/opendir.c: Likewise.
52685         * dirent/readdir.c: Likewise.
52686         * dirent/readdir64.c: Likewise.
52687         * dirent/readdir64_r.c: Likewise.
52688         * dirent/readdir_r.c: Likewise.
52689         * dirent/rewinddir.c: Likewise.
52690         * dirent/seekdir.c: Likewise.
52691         * dirent/telldir.c: Likewise.
52692         * gmon/profil.c: Likewise.
52693         * grp/setgroups.c: Likewise.
52694         * inet/if_index.c: Likewise.
52695         * io/access.c: Likewise.
52696         * io/chdir.c: Likewise.
52697         * io/chmod.c: Likewise.
52698         * io/chown.c: Likewise.
52699         * io/close.c: Likewise.
52700         * io/dup.c: Likewise.
52701         * io/dup2.c: Likewise.
52702         * io/dup3.c: Likewise.
52703         * io/euidaccess.c: Likewise.
52704         * io/faccessat.c: Likewise.
52705         * io/fchdir.c: Likewise.
52706         * io/fchmod.c: Likewise.
52707         * io/fchmodat.c: Likewise.
52708         * io/fchown.c: Likewise.
52709         * io/fchownat.c: Likewise.
52710         * io/fcntl.c: Likewise.
52711         * io/flock.c: Likewise.
52712         * io/fstatfs.c: Likewise.
52713         * io/fstatfs64.c: Likewise.
52714         * io/fstatvfs.c: Likewise.
52715         * io/fstatvfs64.c: Likewise.
52716         * io/futimens.c: Likewise.
52717         * io/fxstat.c: Likewise.
52718         * io/fxstat64.c: Likewise.
52719         * io/fxstatat.c: Likewise.
52720         * io/fxstatat64.c: Likewise.
52721         * io/getcwd.c: Likewise.
52722         * io/isatty.c: Likewise.
52723         * io/lchmod.c: Likewise.
52724         * io/lchown.c: Likewise.
52725         * io/link.c: Likewise.
52726         * io/linkat.c: Likewise.
52727         * io/lseek.c: Likewise.
52728         * io/lseek64.c: Likewise.
52729         * io/lxstat64.c: Likewise.
52730         * io/mkdir.c: Likewise.
52731         * io/mkdirat.c: Likewise.
52732         * io/mkfifo.c: Likewise.
52733         * io/mkfifoat.c: Likewise.
52734         * io/open.c: Likewise.
52735         * io/open64.c: Likewise.
52736         * io/openat.c: Likewise.
52737         * io/openat64.c: Likewise.
52738         * io/pipe.c: Likewise.
52739         * io/pipe2.c: Likewise.
52740         * io/poll.c: Likewise.
52741         * io/posix_fadvise.c: Likewise.
52742         * io/posix_fadvise64.c: Likewise.
52743         * io/posix_fallocate.c: Likewise.
52744         * io/posix_fallocate64.c: Likewise.
52745         * io/read.c: Likewise.
52746         * io/readlink.c: Likewise.
52747         * io/readlinkat.c: Likewise.
52748         * io/rmdir.c: Likewise.
52749         * io/sendfile.c: Likewise.
52750         * io/sendfile64.c: Likewise.
52751         * io/statfs.c: Likewise.
52752         * io/statfs64.c: Likewise.
52753         * io/statvfs.c: Likewise.
52754         * io/statvfs64.c: Likewise.
52755         * io/symlink.c: Likewise.
52756         * io/symlinkat.c: Likewise.
52757         * io/ttyname.c: Likewise.
52758         * io/ttyname_r.c: Likewise.
52759         * io/umask.c: Likewise.
52760         * io/unlink.c: Likewise.
52761         * io/unlinkat.c: Likewise.
52762         * io/utime.c: Likewise.
52763         * io/utimensat.c: Likewise.
52764         * io/write.c: Likewise.
52765         * io/xmknod.c: Likewise.
52766         * io/xmknodat.c: Likewise.
52767         * io/xstat.c: Likewise.
52768         * io/xstat64.c: Likewise.
52769         * login/getpt.c: Likewise.
52770         * login/grantpt.c: Likewise.
52771         * login/unlockpt.c: Likewise.
52772         * math/e_acoshl.c: Likewise.
52773         * math/e_acosl.c: Likewise.
52774         * math/e_asinl.c: Likewise.
52775         * math/e_atan2l.c: Likewise.
52776         * math/e_atanhl.c: Likewise.
52777         * math/e_coshl.c: Likewise.
52778         * math/e_expl.c: Likewise.
52779         * math/e_fmodl.c: Likewise.
52780         * math/e_gammal_r.c: Likewise.
52781         * math/e_hypotl.c: Likewise.
52782         * math/e_j0l.c: Likewise.
52783         * math/e_j1l.c: Likewise.
52784         * math/e_jnl.c: Likewise.
52785         * math/e_lgammal_r.c: Likewise.
52786         * math/e_log10l.c: Likewise.
52787         * math/e_log2l.c: Likewise.
52788         * math/e_logl.c: Likewise.
52789         * math/e_powl.c: Likewise.
52790         * math/e_rem_pio2l.c: Likewise.
52791         * math/e_sinhl.c: Likewise.
52792         * math/e_sqrtl.c: Likewise.
52793         * math/fclrexcpt.c: Likewise.
52794         * math/fedisblxcpt.c: Likewise.
52795         * math/feenablxcpt.c: Likewise.
52796         * math/fegetenv.c: Likewise.
52797         * math/fegetexcept.c: Likewise.
52798         * math/fegetround.c: Likewise.
52799         * math/feholdexcpt.c: Likewise.
52800         * math/fesetenv.c: Likewise.
52801         * math/fesetround.c: Likewise.
52802         * math/feupdateenv.c: Likewise.
52803         * math/fgetexcptflg.c: Likewise.
52804         * math/fraiseexcpt.c: Likewise.
52805         * math/fsetexcptflg.c: Likewise.
52806         * math/ftestexcept.c: Likewise.
52807         * math/k_cosl.c: Likewise.
52808         * math/k_rem_pio2l.c: Likewise.
52809         * math/k_sinl.c: Likewise.
52810         * math/k_tanl.c: Likewise.
52811         * math/s_asinhl.c: Likewise.
52812         * math/s_atanl.c: Likewise.
52813         * math/s_cbrtl.c: Likewise.
52814         * math/s_erfl.c: Likewise.
52815         * math/s_expm1l.c: Likewise.
52816         * math/s_log1pl.c: Likewise.
52817         * math/s_tanhl.c: Likewise.
52818         * misc/acct.c: Likewise.
52819         * misc/brk.c: Likewise.
52820         * misc/chflags.c: Likewise.
52821         * misc/chroot.c: Likewise.
52822         * misc/fchflags.c: Likewise.
52823         * misc/fgetxattr.c: Likewise.
52824         * misc/flistxattr.c: Likewise.
52825         * misc/fremovexattr.c: Likewise.
52826         * misc/fsetxattr.c: Likewise.
52827         * misc/fsync.c: Likewise.
52828         * misc/ftruncate.c: Likewise.
52829         * misc/futimes.c: Likewise.
52830         * misc/futimesat.c: Likewise.
52831         * misc/getdomain.c: Likewise.
52832         * misc/getdtsz.c: Likewise.
52833         * misc/gethostid.c: Likewise.
52834         * misc/gethostname.c: Likewise.
52835         * misc/getloadavg.c: Likewise.
52836         * misc/getpagesize.c: Likewise.
52837         * misc/getsysstats.c: Likewise.
52838         * misc/getxattr.c: Likewise.
52839         * misc/gtty.c: Likewise.
52840         * misc/ioctl.c: Likewise.
52841         * misc/lgetxattr.c: Likewise.
52842         * misc/listxattr.c: Likewise.
52843         * misc/llistxattr.c: Likewise.
52844         * misc/lremovexattr.c: Likewise.
52845         * misc/lsetxattr.c: Likewise.
52846         * misc/lutimes.c: Likewise.
52847         * misc/madvise.c: Likewise.
52848         * misc/mincore.c: Likewise.
52849         * misc/mlock.c: Likewise.
52850         * misc/mlockall.c: Likewise.
52851         * misc/mmap.c: Likewise.
52852         * misc/mprotect.c: Likewise.
52853         * misc/msync.c: Likewise.
52854         * misc/munlock.c: Likewise.
52855         * misc/munlockall.c: Likewise.
52856         * misc/munmap.c: Likewise.
52857         * misc/preadv.c: Likewise.
52858         * misc/preadv64.c: Likewise.
52859         * misc/ptrace.c: Likewise.
52860         * misc/pwritev.c: Likewise.
52861         * misc/pwritev64.c: Likewise.
52862         * misc/readv.c: Likewise.
52863         * misc/reboot.c: Likewise.
52864         * misc/remap_file_pages.c: Likewise.
52865         * misc/removexattr.c: Likewise.
52866         * misc/revoke.c: Likewise.
52867         * misc/select.c: Likewise.
52868         * misc/setdomain.c: Likewise.
52869         * misc/setegid.c: Likewise.
52870         * misc/seteuid.c: Likewise.
52871         * misc/sethostid.c: Likewise.
52872         * misc/sethostname.c: Likewise.
52873         * misc/setregid.c: Likewise.
52874         * misc/setreuid.c: Likewise.
52875         * misc/setxattr.c: Likewise.
52876         * misc/sstk.c: Likewise.
52877         * misc/stty.c: Likewise.
52878         * misc/swapoff.c: Likewise.
52879         * misc/swapon.c: Likewise.
52880         * misc/sync.c: Likewise.
52881         * misc/syncfs.c: Likewise.
52882         * misc/syscall.c: Likewise.
52883         * misc/truncate.c: Likewise.
52884         * misc/ualarm.c: Likewise.
52885         * misc/usleep.c: Likewise.
52886         * misc/ustat.c: Likewise.
52887         * misc/utimes.c: Likewise.
52888         * misc/vhangup.c: Likewise.
52889         * misc/writev.c: Likewise.
52890         * posix/_exit.c: Likewise.
52891         * posix/alarm.c: Likewise.
52892         * posix/execve.c: Likewise.
52893         * posix/fexecve.c: Likewise.
52894         * posix/fork.c: Likewise.
52895         * posix/fpathconf.c: Likewise.
52896         * posix/getaddrinfo.c: Likewise.
52897         * posix/getegid.c: Likewise.
52898         * posix/geteuid.c: Likewise.
52899         * posix/getgid.c: Likewise.
52900         * posix/getgroups.c: Likewise.
52901         * posix/getlogin.c: Likewise.
52902         * posix/getlogin_r.c: Likewise.
52903         * posix/getpgid.c: Likewise.
52904         * posix/getpid.c: Likewise.
52905         * posix/getppid.c: Likewise.
52906         * posix/getresgid.c: Likewise.
52907         * posix/getresuid.c: Likewise.
52908         * posix/getsid.c: Likewise.
52909         * posix/getuid.c: Likewise.
52910         * posix/glob64.c: Likewise.
52911         * posix/nanosleep.c: Likewise.
52912         * posix/pathconf.c: Likewise.
52913         * posix/pause.c: Likewise.
52914         * posix/posix_madvise.c: Likewise.
52915         * posix/pread.c: Likewise.
52916         * posix/pread64.c: Likewise.
52917         * posix/pwrite.c: Likewise.
52918         * posix/pwrite64.c: Likewise.
52919         * posix/sched_getaffinity.c: Likewise.
52920         * posix/sched_getp.c: Likewise.
52921         * posix/sched_gets.c: Likewise.
52922         * posix/sched_primax.c: Likewise.
52923         * posix/sched_primin.c: Likewise.
52924         * posix/sched_rr_gi.c: Likewise.
52925         * posix/sched_setaffinity.c: Likewise.
52926         * posix/sched_setp.c: Likewise.
52927         * posix/sched_sets.c: Likewise.
52928         * posix/sched_yield.c: Likewise.
52929         * posix/setgid.c: Likewise.
52930         * posix/setlogin.c: Likewise.
52931         * posix/setpgid.c: Likewise.
52932         * posix/setresgid.c: Likewise.
52933         * posix/setresuid.c: Likewise.
52934         * posix/setsid.c: Likewise.
52935         * posix/setuid.c: Likewise.
52936         * posix/sleep.c: Likewise.
52937         * posix/spawni.c: Likewise.
52938         * posix/sysconf.c: Likewise.
52939         * posix/times.c: Likewise.
52940         * posix/wait.c: Likewise.
52941         * posix/wait3.c: Likewise.
52942         * posix/wait4.c: Likewise.
52943         * posix/waitpid.c: Likewise.
52944         * resolv/gai_sigqueue.c: Likewise.
52945         * resource/getpriority.c: Likewise.
52946         * resource/getrlimit.c: Likewise.
52947         * resource/getrusage.c: Likewise.
52948         * resource/nice.c: Likewise.
52949         * resource/setpriority.c: Likewise.
52950         * resource/setrlimit.c: Likewise.
52951         * resource/ulimit.c: Likewise.
52952         * rt/aio_cancel.c: Likewise.
52953         * rt/aio_fsync.c: Likewise.
52954         * rt/aio_read.c: Likewise.
52955         * rt/aio_sigqueue.c: Likewise.
52956         * rt/aio_suspend.c: Likewise.
52957         * rt/aio_write.c: Likewise.
52958         * rt/clock_getres.c: Likewise.
52959         * rt/clock_gettime.c: Likewise.
52960         * rt/clock_nanosleep.c: Likewise.
52961         * rt/clock_settime.c: Likewise.
52962         * rt/lio_listio.c: Likewise.
52963         * rt/mq_close.c: Likewise.
52964         * rt/mq_getattr.c: Likewise.
52965         * rt/mq_notify.c: Likewise.
52966         * rt/mq_open.c: Likewise.
52967         * rt/mq_receive.c: Likewise.
52968         * rt/mq_send.c: Likewise.
52969         * rt/mq_setattr.c: Likewise.
52970         * rt/mq_timedreceive.c: Likewise.
52971         * rt/mq_timedsend.c: Likewise.
52972         * rt/mq_unlink.c: Likewise.
52973         * rt/shm_open.c: Likewise.
52974         * rt/shm_unlink.c: Likewise.
52975         * rt/timer_create.c: Likewise.
52976         * rt/timer_delete.c: Likewise.
52977         * rt/timer_getoverr.c: Likewise.
52978         * rt/timer_gettime.c: Likewise.
52979         * rt/timer_settime.c: Likewise.
52980         * setjmp/__longjmp.c: Likewise.
52981         * setjmp/setjmp.c: Likewise.
52982         * signal/kill.c: Likewise.
52983         * signal/killpg.c: Likewise.
52984         * signal/raise.c: Likewise.
52985         * signal/sigaction.c: Likewise.
52986         * signal/sigaltstack.c: Likewise.
52987         * signal/sigblock.c: Likewise.
52988         * signal/sigignore.c: Likewise.
52989         * signal/sigintr.c: Likewise.
52990         * signal/signal.c: Likewise.
52991         * signal/sigpause.c: Likewise.
52992         * signal/sigpending.c: Likewise.
52993         * signal/sigqueue.c: Likewise.
52994         * signal/sigreturn.c: Likewise.
52995         * signal/sigset.c: Likewise.
52996         * signal/sigsetmask.c: Likewise.
52997         * signal/sigstack.c: Likewise.
52998         * signal/sigsuspend.c: Likewise.
52999         * signal/sigtimedwait.c: Likewise.
53000         * signal/sigvec.c: Likewise.
53001         * signal/sigwait.c: Likewise.
53002         * signal/sigwaitinfo.c: Likewise.
53003         * signal/sysv_signal.c: Likewise.
53004         * socket/accept.c: Likewise.
53005         * socket/accept4.c: Likewise.
53006         * socket/bind.c: Likewise.
53007         * socket/connect.c: Likewise.
53008         * socket/getpeername.c: Likewise.
53009         * socket/getsockname.c: Likewise.
53010         * socket/getsockopt.c: Likewise.
53011         * socket/isfdtype.c: Likewise.
53012         * socket/listen.c: Likewise.
53013         * socket/recv.c: Likewise.
53014         * socket/recvfrom.c: Likewise.
53015         * socket/recvmsg.c: Likewise.
53016         * socket/send.c: Likewise.
53017         * socket/sendmsg.c: Likewise.
53018         * socket/sendto.c: Likewise.
53019         * socket/setsockopt.c: Likewise.
53020         * socket/shutdown.c: Likewise.
53021         * socket/sockatmark.c: Likewise.
53022         * socket/socket.c: Likewise.
53023         * socket/socketpair.c: Likewise.
53024         * stdio-common/ctermid.c: Likewise.
53025         * stdio-common/cuserid.c: Likewise.
53026         * stdio-common/remove.c: Likewise.
53027         * stdio-common/rename.c: Likewise.
53028         * stdio-common/renameat.c: Likewise.
53029         * stdio-common/tempname.c: Likewise.
53030         * stdlib/getcontext.c: Likewise.
53031         * stdlib/makecontext.c: Likewise.
53032         * stdlib/setcontext.c: Likewise.
53033         * stdlib/swapcontext.c: Likewise.
53034         * stdlib/system.c: Likewise.
53035         * streams/fattach.c: Likewise.
53036         * streams/fdetach.c: Likewise.
53037         * streams/getmsg.c: Likewise.
53038         * streams/getpmsg.c: Likewise.
53039         * streams/putmsg.c: Likewise.
53040         * streams/putpmsg.c: Likewise.
53041         * sysdeps/unix/bsd/getpt.c: Likewise.
53042         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53043         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53044         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53046         Likewise.
53047         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53048         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53049         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53050         * sysvipc/msgctl.c: Likewise.
53051         * sysvipc/msgget.c: Likewise.
53052         * sysvipc/msgrcv.c: Likewise.
53053         * sysvipc/msgsnd.c: Likewise.
53054         * sysvipc/semctl.c: Likewise.
53055         * sysvipc/semget.c: Likewise.
53056         * sysvipc/semop.c: Likewise.
53057         * sysvipc/semtimedop.c: Likewise.
53058         * sysvipc/shmat.c: Likewise.
53059         * sysvipc/shmctl.c: Likewise.
53060         * sysvipc/shmdt.c: Likewise.
53061         * sysvipc/shmget.c: Likewise.
53062         * termios/tcdrain.c: Likewise.
53063         * termios/tcflow.c: Likewise.
53064         * termios/tcflush.c: Likewise.
53065         * termios/tcgetattr.c: Likewise.
53066         * termios/tcgetpgrp.c: Likewise.
53067         * termios/tcsendbrk.c: Likewise.
53068         * termios/tcsetattr.c: Likewise.
53069         * termios/tcsetpgrp.c: Likewise.
53070         * time/adjtime.c: Likewise.
53071         * time/clock.c: Likewise.
53072         * time/getitimer.c: Likewise.
53073         * time/gettimeofday.c: Likewise.
53074         * time/setitimer.c: Likewise.
53075         * time/settimeofday.c: Likewise.
53076         * time/stime.c: Likewise.
53077         * time/time.c: Likewise.
53079 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53081         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53082         /usr/old/bin.
53084         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53085         instead of spaces.
53086         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53088 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53090         [BZ #14796]
53091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53092         FE_TONEAREST before applying Dekker multiplication and Knuth
53093         addition.  Clear inexact exceptions and check for exact zero
53094         results afterwards.
53095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53098         * math/libm-test.inc (fma_test): Add more tests.
53099         (fma_test_towardzero): Likewise.
53100         (fma_test_downward): Likewise.
53101         (fma_test_upward): Likewise.
53102         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53103         function.
53104         (libc_fesetround): New macro.
53105         (libc_fesetroundf): Likewise.
53106         (libc_fesetroundl): Likewise.
53107         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53108         function.
53109         (libc_fesetround_387): Likewise.
53110         (libc_fesetroundf): New macro.
53111         (libc_fesetround): Likewise.
53112         (libc_fesetroundl): Likewise.
53113         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53114         function.
53115         (libc_fesetroundf): New macro.
53116         (libc_fesetround): Likewise.
53117         (libc_fesetroundl): Likewise.
53118         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53119         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53120         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53121         libm_hidden_ver.
53122         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53123         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53124         libm_hidden_def.
53125         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53126         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53127         libm_hidden_ver.
53128         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53129         libm_hidden_def.
53131         [BZ #3439]
53132         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53133         integer constant usable in #if and use that to give value to enum
53134         constant.
53135         (FE_DIVBYZERO): Likewise.
53136         (FE_UNDERFLOW): Likewise.
53137         (FE_OVERFLOW): Likewise.
53138         (FE_INVALID): Likewise.
53139         (FE_INVALID_SNAN): Likewise.
53140         (FE_INVALID_ISI): Likewise.
53141         (FE_INVALID_IDI): Likewise.
53142         (FE_INVALID_ZDZ): Likewise.
53143         (FE_INVALID_IMZ): Likewise.
53144         (FE_INVALID_COMPARE): Likewise.
53145         (FE_INVALID_SOFTWARE): Likewise.
53146         (FE_INVALID_SQRT): Likewise.
53147         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53148         (FE_TONEAREST): Likewise.
53149         (FE_TOWARDZERO): Likewise.
53150         (FE_UPWARD): Likewise.
53151         (FE_DOWNWARD): Likewise.
53152         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53153         (FE_DIVBYZERO): Likewise.
53154         (FE_OVERFLOW): Likewise.
53155         (FE_UNDERFLOW): Likewise.
53156         (FE_INEXACT): Likewise.
53157         (FE_TONEAREST): Likewise.
53158         (FE_DOWNWARD): Likewise.
53159         (FE_UPWARD): Likewise.
53160         (FE_TOWARDZERO): Likewise.
53161         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53162         (FE_UNDERFLOW): Likewise.
53163         (FE_OVERFLOW): Likewise.
53164         (FE_DIVBYZERO): Likewise.
53165         (FE_INVALID): Likewise.
53166         (FE_TONEAREST): Likewise.
53167         (FE_TOWARDZERO): Likewise.
53168         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53169         (FE_OVERFLOW): Likewise.
53170         (FE_UNDERFLOW): Likewise.
53171         (FE_DIVBYZERO): Likewise.
53172         (FE_INEXACT): Likewise.
53173         (FE_TONEAREST): Likewise.
53174         (FE_TOWARDZERO): Likewise.
53175         (FE_UPWARD): Likewise.
53176         (FE_DOWNWARD): Likewise.
53177         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53178         (FE_DIVBYZERO): Likewise.
53179         (FE_OVERFLOW): Likewise.
53180         (FE_UNDERFLOW): Likewise.
53181         (FE_INEXACT): Likewise.
53182         (FE_TONEAREST): Likewise.
53183         (FE_DOWNWARD): Likewise.
53184         (FE_UPWARD): Likewise.
53185         (FE_TOWARDZERO): Likewise.
53187 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53189         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53191 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53193         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53194         commands.  Quote $PWD.
53195         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53196         -x" by "export".
53197         (remove_newlines): Remove.
53199 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53201         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53202         * stdlib/stdlib.h (atof): Moved to ...
53203         * include/bits/stdlib-float.h: Here.  New file.
53204         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53205         * stdlib/bits/stdlib-float.h: New file.
53206         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53207         -mno-sse -mno-mmx.
53208         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53209         <xmmintrin.h>.
53211 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53213         * conform/conformtest.pl (@headers): Add fenv.h.
53214         * conform/data/fenv.h-data: New file.
53215         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53216         include of <math/fenv.h>.
53218         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53219         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53220         && !UNIX98].  Enables tests for XOPEN2K8.
53221         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53222         POSIX2008]: Likewise.
53224         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53225         (struct rusage): Do not expect type or its members.
53227         [BZ #3439]
53228         * math/math.h (FP_NAN): Define macro to integer constant usable in
53229         #if and use that to give value to enum constant.
53230         (FP_INFINITE): Likewise.
53231         (FP_ZERO): Likewise.
53232         (FP_SUBNORMAL): Likewise.
53233         (FP_NORMAL): Likewise.
53235 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53237         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53238         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53239         arguments.
53241 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53243         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53244         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53245         autoconf-time if not.
53246         * configure.in: Remove AC_PREREQ.
53248 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53250         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53251         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53252         of the internal implementation.
53254 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53256         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53257         except include of <misc/sys/syslog.h>.
53259 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53262         function returns with a NULL context exit with zero.
53264 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53266         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53268 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53270         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53271         (run_program_cmd): This.
53272         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53273         (tst_langinfo): New variable.  Use it.
53275 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53277         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53278         floating point opcodes.
53280 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53282         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53283         variable.
53285         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53287         * sysdeps/mach/hurd/powerpc: Remove directory.
53288         * sysdeps/mach/powerpc: Likewise.
53290 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53292         * scripts/check-local-headers.sh: Ignore c++ headers.
53294 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53296         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53297         __libc_cleanup_region_start argument.
53299 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53301         [BZ #14784]
53302         [BZ #14785]
53303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53304         x * y using scaling, not as x * y + z.
53305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53307         * math/libm-test.inc (fma_test): Add more tests.
53308         (fma_test_towardzero): Likewise.
53309         (fma_test_downward): Likewise.
53310         (fma_test_upward): Likewise.
53312 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53314         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53316 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53318         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53319         New variable.
53321 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53323         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53325 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53328         Fix sort order.
53329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53330         Likewise.
53332 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53335         Fix the order of the list for glibc 2.17.
53336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53337         Likewise.
53339 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53343 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53345         [BZ #14610]
53346         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53347         for low part of x being zero before using __atanl (y).
53348         * math/libm-test.inc (atan2_test): Add another test.
53350         * manual/install.texi (Configuring and compiling): Document
53351         general use of test-wrapper and test-wrapper-env.
53352         * INSTALL: Regenerated.
53354         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53355         (__fma): Do not extract and scale down low bits on after-rounding
53356         systems when result rounded to normal precision would have normal
53357         exponent.
53358         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53359         (__fmal): Do not extract and scale down low bits on after-rounding
53360         systems when result rounded to normal precision would have normal
53361         exponent.
53362         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53363         (__fmal): Do not extract and scale down low bits on after-rounding
53364         systems when result rounded to normal precision would have normal
53365         exponent.
53366         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53367         macro.
53368         (fma_test): Add more tests.
53369         (fma_test_towardzero): Likewise.
53370         (fma_test_downward): Likewise.
53371         (fma_test_upward): Likewise.
53373 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
53375         * sysdeps/i386/tininess.h: Renamed to ...
53376         * sysdeps/x86/tininess.h: This.
53377         * sysdeps/x86_64/tininess.h: Removed.
53379 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53381         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53382         input.  Use $(build-program-cmd).
53383         ($(objpfx)tst-array1-static.out): Likewise.
53384         ($(objpfx)tst-array2.out): Likewise.
53385         ($(objpfx)tst-array3.out): Likewise.
53386         ($(objpfx)tst-array4.out): Likewise.
53387         ($(objpfx)tst-array5.out): Likewise.
53388         ($(objpfx)tst-array5-static.out): Likewise.
53390 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
53392         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53393         if defined.
53395         * nss/nsswitch.h (nss_interface_function): Provide new
53396         macro for use with NSS functions.
53397         * grp/initgroups.c: Use new macro.
53398         * nss/getXXbyYY.c: Likewise.
53399         * nss/getXXbyYY_r.c: Likewise.
53400         * nss/getXXent.c: Likewise.
53401         * nss/getXXent_r.c: Likewise.
53402         * sysdeps/posix/getaddrinfo.c: Likewise.
53404 2012-10-30  Andreas Jaeger  <aj@suse.de>
53406         * po/ru.po: Update Russion translation from translation project.
53408 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53410         [BZ #14152]
53411         [BZ #14783]
53412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53413         result and shift together with sticky bit instead of replicating
53414         round-to-nearest rounding.
53415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53417         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
53418         missing underflow exceptions.
53419         (fma_test_towardzero): Add more tests.
53420         (fma_test_downward): Likewise.
53421         (fma_test_upward): Likewise.
53423         [BZ #14047]
53424         * sysdeps/generic/tininess.h: New file.
53425         * sysdeps/i386/tininess.h: Likewise.
53426         * sysdeps/sh/tininess.h: Likewise.
53427         * sysdeps/x86_64/tininess.h: Likewise.
53428         * stdlib/tst-strtod-underflow.c: Likewise.
53429         * stdlib/tst-tininess.c: Likewise.
53430         * stdlib/strtod_l.c: Include <tininess.h>.
53431         (round_and_return): Do not set errno for exact underflow cases.
53432         Force an underflow exception when setting errno for underflow.
53433         Determine underflow based on rounding to normal precision if
53434         TININESS_AFTER_ROUNDING.
53435         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53436         ERANGE for exact underflow cases.
53437         * stdlib/Makefile (tests): Add tst-tininess and
53438         tst-strtod-underflow.
53439         ($(objpfx)tst-tininess): Use $(link-libm).
53440         ($(objpfx)tst-strtod-underflow): Likewise.
53442 2012-10-30  Andreas Jaeger  <aj@suse.de>
53444         [BZ#14767]
53445         * elf/Makefile (tests): Remove conditional for have-initfini-array
53446         since this is now always required and the variable does not exist
53447         anymore.
53448         (tests-static): Likewise.
53449         (modules-names): Likewise.
53451         * po/eo.po: Add Esperanto translation from translation project.
53453         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53454         merged with constructor/destructor.
53455         (init_array): Likewise.
53456         * elf/tst-array2dep.c (fini_array): Likewise.
53457         (init_array): Likewise.
53459 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53461         * manual/message.texi: Delete @cartouche tags.
53463 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53465         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53466         EOPNOTSUPP.
53467         * sysdeps/mach/hurd/fsync.c: Likewise.
53469         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53470         [_POSIX_REALTIME_SIGNALS]: Change condition to
53471         [_POSIX_REALTIME_SIGNALS > 0].
53473 2012-10-27  Andreas Jaeger  <aj@suse.de>
53475         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53476         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53478         [__WORDSIZE != 64]: Likewise.
53480 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53482         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53483         *  iconvdata/tst-tables.sh: Likewise.
53485 2012-10-25  David S. Miller  <davem@davemloft.net>
53487         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53488         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53489         of strtoull.
53491         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53492         ifunc-impl-list.c
53493         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53494         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53495         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53496         file.
53498 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53500         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53501         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53502         __getdirentries.
53504 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53505             Jim Blandy  <jimb@codesourcery.com>
53507         * scripts/cross-test-ssh.sh: New file.
53508         * manual/install.texi (Configuring and compiling): Document use of
53509         cross-test-ssh.sh.
53510         * INSTALL: Regenerated.
53512 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53514         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53515         EOPNOTSUPP.
53517 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53519         * Makeconfig (run-program-prefix): Fix comment.
53521 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53522             Jim Blandy  <jimb@codesourcery.com>
53524         * Makeconfig (test-wrapper): New variable,
53525         (test-wrapper-env): Likewise.
53526         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53527         (run-built-tests): Define to yes.
53528         (run-program-prefix): Use $(test-wrapper).
53529         (built-program-cmd): Likewise.
53530         * Rules (make-test-out): Use $(test-wrapper-env) and
53531         $(host-built-program-cmd).
53532         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53533         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53534         tst-pathopt.sh.
53535         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53536         $(test-wrapper-env) to tst-rtld-load-self.sh.
53537         ($(objpfx)order2.out): Use $(test-wrapper).
53538         ($(objpfx)tst-initorder.out): Likewise.
53539         ($(objpfx)tst-initorder2.out): Likewise.
53540         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53541         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53542         (test_wrapper_env): New variable.  Use it to run ld.so.
53543         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53544         Use it to run ld.so.
53545         (test_wrapper_env): Likewise.
53546         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53547         $(test-wrapper) to run-iconv-test.sh.
53548         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53549         (ICONV): Use $test_wrapper.
53550         * posix/Makefile ($(objpfx)globtest.out): Pass
53551         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53552         globtest.sh, not $(run-program-prefix).
53553         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53554         (test_wrapper): Likewise.
53555         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53556         set together with run_via_rtld_prefix.
53557         (run_program_prefix): Define in terms of test_wrapper and
53558         run_via_rtld_prefix.
53560 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53562         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53563         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53564         Targets removed.
53566         [BZ #14743]
53567         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53568         Declare __clock_getres, __clock_gettime, __clock_settime,
53569         __clock_nanosleep, and __clock_getcpuclockid.
53570         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53571         Remove librt_hidden_def (clock_gettime).
53572         * sysdeps/unix/clock_gettime.c: Likewise.
53573         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53574         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53575         * rt/clock_getres.c: Define __clock_getres as an alias.
53576         * sysdeps/posix/clock_getres.c: Likewise.
53577         * rt/clock_settime.c: Define __clock_settime as an alias.
53578         * sysdeps/unix/clock_settime.c: Likewise.
53579         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53580         * sysdeps/unix/clock_nanosleep.c: Likewise.
53581         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53582         * rt/clock-compat.c: New file.
53583         * rt/Makefile (librt-routines): Add clock-compat and move
53584         $(clock-routines) to ...
53585         (routines): ... here, new variable.
53586         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53587         Don't add get_clockfreq here.
53588         * rt/Versions (libc: GLIBC_2.17): New version set.
53589         Add clock_* symbols here.
53590         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53591         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53592         (GLIBC_2.17): Add clock_* symbols.
53593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53597         Likewise.
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53599         Likewise.
53600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53604         * NEWS: Mention the move.
53606         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53607         Use __open, __read, __close rather than their public counterparts.
53608         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53609         (__get_clockfreq_via_cpuinfo): Likewise.
53610         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53611         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53613         * config.h.in (HAVE_IFUNC): New #undef.
53614         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53615         was successful.
53616         * configure: Regenerated.
53618 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53620         * configure.in: Move READELF check to start of file.
53621         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53622         libc_cv_asm_gnu_indirect_function in the process.
53623         * configure: Regenerated.
53625 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53627         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53628         send the output to /dev/null.
53629         (libc_cv_cc_with_libunwind): Likewise.
53630         (libc_cv_as_noexecstack): Likewise.
53631         * configure: Regenerate.
53633 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53635         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53637         * posix/globtest.sh (TMPDIR): Do not set.
53638         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53639         (testout): Likewise.
53641 2012-10-24  Andreas Jaeger  <aj@suse.de>
53643         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53644         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53645         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53646         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53647         posix_fadvise64, posix_fallocate64.
53649         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53650         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53651         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53652         Likewise.
53653         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53654         Likewise.
53655         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53658         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53659         <bits/fcntl-linux.h>.
53660         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53663         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53664         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53665         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53666         [__WORDSIZE != 64]: Likewise.
53668 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53670         * Makeconfig (run-built-tests): New variable.
53671         * Rules [$(cross-compiling) = yes]: Change condition to
53672         [$(run-built-tests) = no].
53673         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53674         to [$(run-built-tests) = yes].
53675         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53676         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53677         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53678         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53679         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53680         * io/Makefile [$(cross-compiling) = no]: Likewise.
53681         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53682         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53683         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53684         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53685         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53686         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53687         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53688         * string/Makefile [$(cross-compiling) = no]: Likewise.
53690         * posix/Makefile ($(objpfx)globtest.out): Pass
53691         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53692         $(rtld-installed-name).
53693         * posix/globtest.sh (elf_objpfx): Remove variable.
53694         (rtld_installed_name): Likewise.
53695         (library_path): Likewise.
53696         (run_program_prefix): New variable.  Use for running globtest
53697         binary.
53699 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53700             Joseph Myers  <joseph@codesourcery.com>
53702         * Makeconfig (host-built-program-cmd): New variable.
53703         * elf/Makefile (tst-stackguard1-ARGS): Use
53704         $(host-built-program-cmd).
53705         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53706         (tst-spawn-ARGS): Likewise.
53707         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53709 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53710             Jim Blandy  <jimb@codesourcery.com>
53712         * Makeconfig (run-via-rtld-prefix): New variable.
53713         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53714         (built-program-cmd): Likewise.
53716 2012-10-22  Andreas Jaeger  <aj@suse.de>
53718         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53719         __O_RSYNC if it exists, otherwise to O_SYNC.
53721 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53722             Joseph Myers  <joseph@codesourcery.com>
53724         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53725         /dev/null.
53726         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53727         from /dev/null
53728         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53729         /dev/null.
53731 2012-10-22  Andreas Jaeger  <aj@suse.de>
53733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53734         Define always.
53735         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53738         bits/fcntl-linux.h.
53740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53741         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53744         to __O_LARGEFILE.
53745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53746         to __O_LARGEFILE.
53748 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53749             Joseph Myers  <joseph@codesourcery.com>
53751         * config.make.in (NM): New variable.
53753 2012-10-21  Andreas Jaeger  <aj@suse.de>
53755         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53756         definitions and declarations that are provided by
53757         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53759 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53761         [BZ #14683]
53762         * elf/Makefile (tests-static): Add tst-leaks1-static.
53763         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53764         ($(objpfx)tst-leaks1-static): New rule.
53765         ($(objpfx)tst-leaks1-static-mem): Likewise.
53766         (tst-leaks1-static-ENV): New macro.
53767         * elf/dl-open.c (dl_open_worker): Check the main application
53768         only if SHARED is defined.
53769         * elf/tst-leaks1-static.c: New file.
53771 2012-10-20  Andreas Jaeger  <aj@suse.de>
53773         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53774         generic values for Linux.
53775         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53776         and declarations that are provided by <bits/fcntl-linux.h> and
53777         include <bits/fcntl-linux.h>.
53778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53781 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53783         * io/fcntl.h: Move include of <bits/types.h> to the top and
53784         include it unconditionally.
53786 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53788         * wcsmbs/Makefile (tests-ifunc): New variable.
53789         (tests): Add $(tests-ifunc).
53790         * wcsmbs/test-wcschr-ifunc.c: New file.
53791         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53792         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53793         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53794         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53795         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53797         * string/Makefile (tests-ifunc): New variable.
53798         (tests): Add $(tests-ifunc).
53799         * string/test-memccpy.c (TEST_NAME): New macro.
53800         * string/test-memchr.c (TEST_NAME): Likewise.
53801         * string/test-memcmp.c (TEST_NAME): Likewise.
53802         * string/test-memcpy.c (TEST_NAME): Likewise.
53803         * string/test-memmem.c (TEST_NAME): Likewise.
53804         * string/test-memmove.c (TEST_NAME): Likewise.
53805         * string/test-memset.c (TEST_NAME): Likewise.
53806         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53807         * string/test-stpcpy.c (TEST_NAME): Likewise.
53808         * string/test-stpncpy.c (TEST_NAME): Likewise.
53809         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53810         * string/test-strcasestr.c (TEST_NAME): Likewise.
53811         * string/test-strcat.c (TEST_NAME): Likewise.
53812         * string/test-strchr.c (TEST_NAME): Likewise.
53813         * string/test-strcmp.c(TEST_NAME): Likewise.
53814         * string/test-strcpy.c (TEST_NAME): Likewise.
53815         * string/test-strcspn.c (TEST_NAME): Likewise.
53816         * string/test-strlen.c (TEST_NAME): Likewise.
53817         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53818         * string/test-strncmp.c (TEST_NAME): Likewise.
53819         * string/test-strncpy.c (TEST_NAME): Likewise.
53820         * string/test-strnlen.c (TEST_NAME): Likewise.
53821         * string/test-strpbrk.c (TEST_NAME): Likewise.
53822         * string/test-strrchr.c (TEST_NAME): Likewise.
53823         * string/test-strspn.c (TEST_NAME): Likewise.
53824         * string/test-strstr.c (TEST_NAME): Likewise.
53825         * string/test-bcopy-ifunc.c: New file.
53826         * string/test-bzero-ifunc.c: Likewise.
53827         * string/test-memccpy-ifunc.c: Likewise.
53828         * string/test-memchr-ifunc.c: Likewise.
53829         * string/test-memcmp-ifunc.c: Likewise.
53830         * string/test-memcpy-ifunc.c: Likewise.
53831         * string/test-memmem-ifunc.c: Likewise.
53832         * string/test-memmove-ifunc.c: Likewise.
53833         * string/test-mempcpy-ifunc.c: Likewise.
53834         * string/test-memset-ifunc.c: Likewise.
53835         * string/test-rawmemchr-ifunc.c: Likewise.
53836         * string/test-stpcpy-ifunc.c: Likewise.
53837         * string/test-stpncpy-ifunc.c: Likewise.
53838         * string/test-strcasecmp-ifunc.c: Likewise.
53839         * string/test-strcasestr-ifunc.c: Likewise.
53840         * string/test-strcat-ifunc.c: Likewise.
53841         * string/test-strchr-ifunc.c: Likewise.
53842         * string/test-strchrnul-ifunc.c: Likewise.
53843         * string/test-strcmp-ifunc.c: Likewise.
53844         * string/test-strcpy-ifunc.c: Likewise.
53845         * string/test-strcspn-ifunc.c: Likewise.
53846         * string/test-strlen-ifunc.c: Likewise.
53847         * string/test-strncasecmp-ifunc.c: Likewise.
53848         * string/test-strncat-ifunc.c: Likewise.
53849         * string/test-strncmp-ifunc.c: Likewise.
53850         * string/test-strncpy-ifunc.c: Likewise.
53851         * string/test-strnlen-ifunc.c: Likewise.
53852         * string/test-strpbrk-ifunc.c: Likewise.
53853         * string/test-strrchr-ifunc.c: Likewise.
53854         * string/test-strspn-ifunc.c: Likewise.
53855         * string/test-strstr-ifunc.c: Likewise.
53857         * debug/Makefile (tests-ifunc): New variable.
53858         (tests): Add $(tests-ifunc).
53859         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53860         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53861         * debug/test-stpcpy_chk-ifunc.c: New file.
53862         * debug/test-strcpy_chk-ifunc.c: Likewise.
53864 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53866         [BZ #13601]
53867         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53868         header is not read in.
53870 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53872         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53873         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53874         directly.  Pass built executable to script as
53875         $(built-program-cmd).
53876         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53877         $testprogram without using LD_LIBRARY_PATH and $ldso.
53879         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53880         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53881         $(rtld-installed-name).
53882         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53883         (rtld_installed_name): Likewise.
53884         (library_path): Likewise.
53885         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53886         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53887         $(run-program-prefix) to tst-tables.sh.
53888         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53889         it to run tst-table-from and tst-table-to.
53890         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53891         Pass it to tst-table.sh.
53892         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53893         $(run-program-prefix) to tst-gettext.sh.
53894         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53895         tst-translit.sh.
53896         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53897         tst-gettext2.sh.
53898         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53899         to run tst-gettext.
53900         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53901         to run tst-gettext2.
53902         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53903         to run tst-translit.
53904         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53905         $(run-program-prefix) to tst-mtrace.sh.
53906         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53907         to run tst-mtrace.
53908         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53909         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53910         $(rtld-installed-name).
53911         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53912         (rtld_installed_name): Likewise.
53913         (run_program_prefix): New variable.  Use it to run wordexp-test.
53915         * Makeconfig (ARCH): Remove all definitions.
53916         (machine): Likewise.
53917         [ARCH]: Remove conditional code.
53918         [!objdir]: Give error.
53919         [!objdir] (objpfx): Remove.
53920         [!objdir] (common-objpfx): Likewise.
53921         [!objdir] (common-objdir): Likewise.
53922         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53923         AC_CONFIG_FILES call.
53924         * configure: Regenerated.
53926         [BZ #13888]
53927         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53928         or TMPDIR.
53929         (testout): Likewise.
53931         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53932         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53933         $(rtld-installed-name).
53934         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53935         (rtld_installed_name): Likwise.
53936         (runit): Remove function.
53937         (run_getconf): New variable,  Use it for running getconf binary.
53939 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53941         [BZ #14716]
53942         * string/test-memmem.c (check_result): New function.
53943         (do_one_test): Use it.
53944         (check1): New function.
53945         (test_main): Use it.
53947 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53949         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53951 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53953         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53954         (_G_LSEEK64): Likewise.
53955         (_G_MMAP64): Likewise.
53956         (_G_FSTAT64): Likewise.
53957         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53958         (_G_LSEEK64): Likewise.
53959         (_G_MMAP64): Likewise.
53960         (_G_FSTAT64): Likewise.
53961         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53962         unconditional.  Call __mmap64 directly.
53963         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53964         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53965         __lseek64 directly.
53966         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53967         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53968         __mmap64 directly.
53969         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53970         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53971         __lseek64 directly.
53972         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53973         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53974         __lseek64 directly.
53975         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53976         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53977         __lseek64 directly.
53978         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53979         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53980         __fxstat64 directly.
53981         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53982         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53983         unconditional.
53984         (freopen64) [!_G_OPEN64]: Remove conditional code.
53985         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53986         unconditional.
53987         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53988         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53989         unconditional.
53990         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53991         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53992         unconditional.
53993         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53994         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53995         unconditional.
53996         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53997         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53998         unconditional.
53999         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54000         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54001         unconditional.
54002         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54003         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54004         unconditional.
54005         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54007 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54009         [BZ #12140]
54010         * manual/memory.texi (Malloc Tunable Parameters): Add note
54011         about free list pointers overwriting some perturb bytes.
54012         Wording suggested by Roland McGrath.
54014 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54016         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54017         (lgamma_test): Likewise.
54018         (tgamma_test): Likewise.
54020 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54022         [BZ #14700]
54023         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54024         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54026 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54028         * NEWS: Mention BZ #14716.
54029         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54030         when removing AVAILABLE1_USES_J macro.
54032 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54034         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54035         (__bswap_64): __uint64_t for unsigned 64-bit int.
54037 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54039         * include/string.h (memmem): Declare libc hidden alias.
54040         * string/memmem.c (memmem): Define libc hidden alias.
54041         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54042         __read, __close instead of open, read, close.
54044 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54047         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54048         global and hidden.
54049         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54050         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54051         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54052         Likewise.
54053         (__rawmemchr_sse2): Likewise.
54054         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54055         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54056         (__strchr_sse2): Likewise.
54057         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54058         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54059         (__strcasecmp_sse2): Likewise.
54060         (__strncasecmp_sse2): Likewise.
54061         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54062         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54063         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54064         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54065         (__strrchr_sse2): Likewise.
54066         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54067         ifunc-impl-list.c.
54068         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54069         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54070         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54071         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54072         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54073         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54074         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54075         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54076         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54077         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54078         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54079         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54080         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54081         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54082         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54083         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54084         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54085         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54086         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54087         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54088         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54089         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54090         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54091         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54092         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54093         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54094         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54095         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54096         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54097         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54099         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54100         global and hidden.
54101         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54102         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54103         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54104         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54105         Likewise.
54106         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54107         Likewise.
54108         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54109         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54110         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54111         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54112         ifunc-impl-list.c.
54113         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54114         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54115         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54116         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54117         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54118         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54119         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54120         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54121         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54122         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54123         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54124         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54125         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54126         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54127         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54128         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54129         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54130         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54131         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54132         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54133         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54134         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54135         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54136         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54137         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54138         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54139         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54140         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54141         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54142         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54143         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54144         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54145         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54146         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54147         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54148         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54149         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54150         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54151         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54152         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54153         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54155         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54156         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54157         * include/ifunc-impl-list.h: New file.
54158         * misc/ifunc-impl-list.c: Likewise.
54159         * misc/Makefile (routines): Add ifunc-impl-list.
54160         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54161         * string/test-string.h: Include <ifunc-impl-list.h>.
54162         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54163         TEST_NAME]: New variables.
54164         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54165         are defined.
54166         (test_init): Call __libc_ifunc_impl_list to initialize
54167         func_list if TEST_IFUNC and TEST_NAME are defined.
54169         * string/Makefile (strop-tests): Add bcopy and bzero.
54170         * string/test-bcopy.c: New file.
54171         * string/test-bzero.c: Likewise.
54172         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54173         defined.
54174         * string/test-memset.c: Support bzero test if TEST_BZERO is
54175         defined.
54176         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54177         __libc_memmove.
54178         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54179         __libc_memset.
54180         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54181         of memset.
54183 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54185         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54186         * configure: Regenerated.
54188         * Makeconfig (+link-static-before-libc): Don't include
54189         $(link-static-libc).
54191         * libio/libio.h (_IO_pos_t): Remove.
54193 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54195         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54196         McGrath.
54198 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54200         * crypt/crypt-entry.c: Include fips-private.h.
54201         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54202         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54203         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54204         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54206 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54208         * crypt/crypt-private.h: Include stdbool.h.
54209         (_ufc_setup_salt_r): Return bool.
54210         * crypt/crypt-entry.c: Include errno.h.
54211         (__crypt_r): Return NULL with EINVAL for bad salt.
54212         * crypt/crypt_util.c (bad_for_salt): New.
54213         (_ufc_setup_salt_r): Check that salt is long enough and within
54214         the specified alphabet.
54215         * crypt/badsalttest.c: New file.
54216         * crypt/Makefile (tests): Add it.
54217         ($(objpfx)badsalttest): New.
54219 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54221         * NEWS: Add entry for BZ #14602.
54223 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54225         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54226         type-generic.
54227         * math/libm-test.inc: Update comment listing what functions and
54228         macros are tested.
54229         (isgreater_test): New function.
54230         (isgreaterequal_test): Likewise.
54231         (isless_test): Likewise.
54232         (islessequal_test): Likewise.
54233         (islessgreater_test): Likewise.
54234         (isunordered_test): Likewise.
54235         (main): Call the new functions.
54237 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54239         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54240         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54241         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54242         * sysdeps/i386/configure: Regenerated.
54243         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54244         * sysdeps/mach/configure: Regenerated.
54245         * sysdeps/mach/hurd/configure: Regenerated.
54246         * sysdeps/powerpc/configure: Regenerated.
54247         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54248         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54249         * sysdeps/s390/s390-32/configure: Regenerated.
54250         * sysdeps/s390/s390-64/configure: Regenerated.
54251         * sysdeps/sh/configure: Regenerated.
54252         * sysdeps/sparc/configure: Regenerated.
54253         * sysdeps/unix/sysv/linux/configure: Regenerated.
54254         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54255         * sysdeps/x86_64/configure: Regenerated.
54257         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54258         defined.  Don't check if MAP is NULL.
54260 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54262         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54263         (_G_stat64): Likewise.
54264         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54265         (_G_stat64): Likewise.
54266         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54267         instead of struct _G_stat64.
54268         * libio/fileops.c (mmap_remap_check): Likewise.
54269         (decide_maybe_mmap): Likewise.
54270         (_IO_new_file_seekoff): Likewise.
54271         (_IO_file_stat): Likewise.
54272         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54273         _G_off64_t.
54274         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54275         instead of struct _G_stat64.
54276         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54278 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54280         [BZ #14602]
54281         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54282         Replace with ...
54283         (CHECK_EOL): New macro.
54284         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54285         CHECK_EOL.
54286         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54287         Replace with CHECK_EOL.
54288         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54289         Replace with CHECK_EOL.
54291 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54293         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54294         type-generic.
54295         * math/libm-test.inc: Update comment listing what functions and
54296         macros are tested.
54297         (finite_test): New function.
54298         (isinf_test): Likewise.
54299         (isnan_test): Likewise.
54300         (fpclassify_test): Test subnormal input.
54301         (isfinite_test): Likewise.
54302         (isnormal_test): Likewise.
54303         (main): Call the new functions.
54305 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54307         [BZ #14660]
54308         * Makerules (%.dynsym): Force C locale when running
54309         $(OBJDUMP) --dynamic-syms.
54311 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54313         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54314         <stdint.h>.
54316 2012-10-06  David S. Miller  <davem@davemloft.net>
54318         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54319         upper 32-bits of the length value in %o2 since we use branch-on-register
54320         tests which consider the entire 64-bit register.
54322 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54324         * string/test-strstr.c (check2): Add a test for page boundary.
54326 2012-10-05  David S. Miller  <davem@davemloft.net>
54328         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54329         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54330         file.
54331         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54332         sysdep_routines.
54333         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54334         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54335         and bzero when HWCAP_SPARC_CRYPTO is present.
54337 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54339         [BZ #14602]
54340         * string/test-strstr.c (check2): New function.
54341         (test_main): Call check2.
54343         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54344         and bug-strchr1.
54345         * string/bug-strcasestr1.c (do_test): Moved to ...
54346         * string/test-strcasestr.c (check1): Here.  New function.
54347         (do_one_test): Break out result checking code into ...
54348         (check_result): This.  New function.
54349         (do_one_test): Call check_result.
54350         (test_main): Call check1.
54351         * string/bug-strchr1.c (do_test): Moved to ...
54352         * string/test-strchr.c (check1): Here.  New function.
54353         (do_one_test): Break out result checking code into ...
54354         (check_result): This.  New function.
54355         (do_one_test): Call check_result.
54356         (test_main): Call check1.
54357         * string/bug-strstr1.c (main): Moved to ...
54358         * string/test-strstr.c (check1): Here.  New function.
54359         (do_one_test): Break out result checking code into ...
54360         (check_result): This.  New function.
54361         (do_one_test): Call check_result.
54362         (test_main): Call check1.
54363         * string/bug-strcasestr1.c: Removed.
54364         * string/bug-strchr1.c: Likewise.
54365         * string/bug-strstr1.c: Likewise.
54367         * elf/Makefile (dl-routines): Add hwcaps.
54368         * elf/dl-support.c (_dl_important_hwcaps): Removed.
54369         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54370         (_dl_important_hwcaps): Moved to ...
54371         * elf/dl-hwcaps.c: Here.  New file.
54372         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54374         [BZ #14557]
54375         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54376         if IS_IN_rtld isn't defined.
54378         * elf/dl-support.c (_dl_sysinfo_map): New.
54379         Include "get-dynamic-info.h" and "setup-vdso.h".
54380         (_dl_non_dynamic_init): Call setup_vdso.
54381         * elf/dynamic-link.h: Don't include <assert.h>.
54382         (elf_get_dynamic_info): Moved to ...
54383         * elf/get-dynamic-info.h: Here.  New file.
54384         * elf/dynamic-link.h: Include "get-dynamic-info.h".
54385         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54386         * elf/setup-vdso.h: Here.  New file.
54387         * elf/rtld.c: Include "setup-vdso.h".
54388         (dl_main): Call setup_vdso.
54390 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
54392         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54393         creal in comment listing functions tested.  List finite, isinf,
54394         isnan, isless, islessequal, isgreater, isgreaterequal,
54395         islessgreater, isunordered, lgamma_r and pow10 as functions and
54396         macros not tested.  Mention which functions not tested are aliases
54397         for other functions.  Fix typo.  Note that signs of NaNs are not
54398         tested.
54400         * scripts/config.guess: Update from config.git.
54401         * scripts/config.sub: Likewise.
54403 2012-10-04  Roland McGrath  <roland@hack.frob.com>
54405         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54406         * misc/madvise.c (madvise): Renamed to __madvise.
54407         Make madvise a weak alias.
54408         * include/sys/mman.h: Declare __madvise.
54409         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54410         * sysdeps/unix/syscalls.list
54411         (madvise): Make __madvise the strong name, and madvise a weak alias.
54412         * sysdeps/unix/sysv/linux/syscalls.list
54413         (madvise, mmap): Remove redundant entries.
54414         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54415         * malloc/malloc.c (mtrim): Likewise.
54416         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54418 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54420         * sysdeps/mach/hurd/dl-cache.c: File removed.
54421         * config.h.in (USE_LDCONFIG): New #undef.
54422         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54423         * configure: Regenerated.
54424         * elf/Makefile (dl-routines): Add dl-cache only under
54425         [$(use-ldconfig) = yes].
54426         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54427         cache on [USE_LDCONFIG].
54428         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54429         [USE_LDCONFIG].
54430         * elf/rtld.c (dl_main): Likewise.
54432 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54434         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54435         _SC_LEVEL4_CACHE_LINESIZE.
54437 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54439         * sysdeps/unix/bsd/confstr.h: File removed.
54441 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54443         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54444         sys/sdt-config.h.
54446 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54448         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54449         Make 'mapoff' field ElfW(Off) rather than off_t.
54451 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54453         * nscd/Makefile: Remove nscd-cflags and all its users.
54454         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54455         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54457         [BZ #10631]
54458         * malloc.c (malloc_printerr): Clarify error message.
54460 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54462         [BZ #14648]
54463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54464         Set bit_FMA_Usable if FMA is supported.
54465         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54466         macro.
54467         (bit_FMA4_Usable): Updated.
54468         (index_FMA_Usable): New macro.
54469         (CPUID_FMA): Likewise.
54470         (HAS_FMA): Defined with bit_FMA_Usable.
54472 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54474         * bits/types.h (__swblk_t): Type removed.
54475         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54476         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54478         (__SWBLK_T_TYPE): Likewise.
54479         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54480         (__SWBLK_T_TYPE): Likewise.
54481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54482         (__SWBLK_T_TYPE): Likewise.
54483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54484         (__SWBLK_T_TYPE): Likewise.
54486 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54487             Honza Horak <hhorak@redhat.com>
54489         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54490         (xdr_mapname): Use YPMAXMAP as maxsize.
54491         (xdr_peername): Use YPMAXPEER as maxsize.
54492         (xdr_keydat): Use YPAXRECORD as maxsize.
54493         (xdr_valdat): Use YPMAXRECORD as maxsize.
54495 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54497         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54499         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54500         * csu/init-first.c: ... here.
54501         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54502         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54503         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54504         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54505         * sysdeps/i386/init-first.c: File removed.
54506         * sysdeps/sh/init-first.c: File removed.
54508 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54510         [BZ #14645]
54511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54512         if x * y might underflow to zero and z is zero.
54513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54515         * math/libm-test.inc (min_subnorm_value): New variable.
54516         (fma_test): Add more tests.
54517         (fma_test_towardzero): Likewise.
54518         (fma_test_downward): Likewise.
54519         (fma_test_upward): Likewise.
54520         (initialize): Set min_subnorm_value.
54522 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54524         [BZ #14638]
54525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54526         0 + 0.
54527         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54528         mode for addition resulting in exact zero.
54529         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54531         exact 0 + 0.
54532         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54534         * math/libm-test.inc (fma_test): Add more tests.
54535         (fma_test_towardzero): New function.
54536         (fma_test_downward): Likewise.
54537         (fma_test_upward): Likewise.
54538         (main): Call the new functions.
54540 2012-09-28  David S. Miller  <davem@davemloft.net>
54542         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54544 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54546         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54547         instead of SIGALRM.
54549         * sysdeps/gnu/_G_config.h: Moved to ...
54550         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54551         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54552         * sysdeps/generic/_G_config.h: ... here.
54554         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54556         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54558         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54559         Conditionalize target on [libnss_test1.so-version].
54561         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54563         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54564         (elfobjdir): Move out of conditionals.
54566         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54567         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54568         (__nss_lookup_function): Conditionalize label remove_from_tree on
54569         [!DO_STATIC_NSS || SHARED], matching its only use.
54571 2012-09-28  David S. Miller  <davem@davemloft.net>
54573         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54574         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54575         file.
54576         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54577         sysdep_routines.
54578         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54579         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54580         when HWCAP_SPARC_CRYPTO is present.
54582 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54584         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54586 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54588         [BZ #6530]
54589         * stdio-common/vfprintf.c (process_string_arg): Revert
54590         2000-07-22 change.
54592 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54594         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54595         for testcase.
54596         * stdio-common/tst-sprintf.c: Include <locale.h>
54597         (main): Test sprintf's handling of incomplete multibyte
54598         characters.
54600 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54602         * elf/dl-runtime.c (VERSYMIDX): Removed.
54603         * elf/dl-version.c (VERSYMIDX): Likewise.
54604         * elf/do-rel.h (VERSYMIDX): Likewise.
54605         (VALIDX): Likewise.
54606         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54607         * elf/rtld.c (VALIDX): Likewise.
54608         (ADDRIDX): Likewise.
54609         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54610         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54611         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54612         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54613         (VALIDX): Likewise.
54614         (ADDRIDX): Likewise.
54616 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54618         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54620 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54622         [BZ #11438]
54623         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54624         to global scope.
54625         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54626         addresses are in the same scope as 192.0.2/24.
54627         * posix/gai.conf: Document new scope table defaults.
54629 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54631         [BZ #5298]
54632         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54633         for ftell.  Compute offsets from write pointers instead.
54634         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54636 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54638         [BZ #14543]
54639         * libio/Makefile (tests): New test case tst-fseek.
54640         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54641         combination works in wide mode.
54642         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54643         state when the external buffer state changes.
54645 2012-09-27  David S. Miller  <davem@davemloft.net>
54647         [BZ #14376]
54648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54649         pass reloc->r_addend in as the 'high' argument to
54650         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54654 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54656         * rt/tst-aio2.c: Include <pthread.h>.
54657         * rt/tst-aio3.c: Likewise.
54659 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54661         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54663 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54665         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54666         contents on [SHARED].
54668 2012-09-26  Marek Polacek  <polacek@redhat.com>
54670         [BZ #14530]
54671         [BZ #13741]
54672         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54673         for C++ and GCC <4.3 as well as for non GCC compilers.
54675 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54679 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54681         * Makefile.in (all, install): Declare with .PHONY.
54682         Reported by Michael Hope <michael.hope@linaro.org>.
54684 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54686         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54687         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54688         system header.
54689         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54690         Likewise.
54691         (sydep_routines): Add the new and the internal functions.
54692         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54693         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54695         (GLIBC_2.17): Add the new function.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54697         (GLIBC_2.17): Likewise.
54698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54699         (GLIBC_2.17): Likewise.
54700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54701         (GLIBC_2.17): Likewise.
54702         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54704 2012-09-25  Alan Modra  <amodra@gmail.com>
54706         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54707         Add release barrier before setting once_control to say
54708         initialisation is done.  Add hints on lwarx.  Use macro in
54709         place of isync.
54710         (clear_once_control): Add release barrier.
54712 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54714         [BZ #13629]
54715         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54716         specially.
54717         * math/s_clog10.c (__clog10): Likewise.
54718         * math/s_clog10f.c (__clog10f): Likewise.
54719         * math/s_clog10l.c (__clog10l): Likewise.
54720         * math/s_clogf.c (__clogf): Likewise.
54721         * math/s_clogl.c (__clogl): Likewise.
54722         * math/Makefile (libm-calls): Add x2y2m1.
54723         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54724         (__x2y2m1): Likewise.
54725         (__x2y2m1l): Likewise.
54726         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54727         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54730         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54731         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54732         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54733         * sysdeps/i386/fpu/libm-test-ulps: Update.
54734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54736         [BZ #14621]
54737         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54738         int as type of variable DEPTH.
54739         (glob): Use size_t instead of int as type of variables NEWCOUNT
54740         and OLD_PATHC.
54742 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54744         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54745         Add s_sincosf-sse2.
54746         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54747         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54748         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54749         macros for using routine as __sincosf_ia32.
54750         Use macro for function declaration and weak_alias.
54751         * sysdeps/i386/fpu/libm-test-ulps: Update.
54753         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54756         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54757         subnormal argument.
54758         * math/s_cexpf.c (__cexpf): Likewise.
54759         * math/s_csinf.c (__csinf): Likewise.
54760         * math/s_csinhf.c (__csinhf): Likewise.
54761         * math/s_ctanf.c (__ctanf): Likewise.
54762         * math/s_ctanhf.c (__ctanhf): Likewise.
54763         * math/s_ccosh.c (__ccoshf): Likewise.
54764         * math/s_cexp.c (__cexpl): Likewise.
54765         * math/s_csin.c (__csin): Likewise.
54766         * math/s_csinh.c (__csinh): Likewise.
54767         * math/s_ctan.c (__ctan): Likewise.
54768         * math/s_ctanh.c (ctanh): Likewise.
54769         * math/s_ccoshl.c (__ccoshl): Likewise.
54770         * math/s_cexpl.c (__cexpl): Likewise.
54771         * math/s_csinl.c (__csinl): Likewise.
54772         * math/s_csinhl.c (__csinhl): Likewise.
54773         * math/s_ctanl.c (__ctanl): Likewise.
54774         * math/s_ctanhl.c (__ctanhl): Likewise.
54776 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54778         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54779         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54780         (_IO_off_t): Define to __off_t, not _G_off_t.
54781         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54782         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54783         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54784         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54785         type of __dummy and __dummy2 fields.
54786         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54787         (_G_ssize_t): Likewise.
54788         (_G_off_t): Likewise.
54789         (_G_pid_t): Likewise.
54790         (_G_uid_t): Likewise.
54791         (_G_wchar_t): Likewise.
54792         (_G_wint_t): Likewise.
54793         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54794         (_G_ssize_t): Likewise.
54795         (_G_off_t): Likewise.
54796         (_G_pid_t): Likewise.
54797         (_G_uid_t): Likewise.
54798         (_G_wchar_t): Likewise.
54799         (_G_wint_t): Likewise.
54800         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54801         (_G_ssize_t): Likewise.
54802         (_G_off_t): Likewise.
54803         (_G_pid_t): Likewise.
54804         (_G_uid_t): Likewise.
54805         (_G_wchar_t): Likewise.
54806         (_G_wint_t): Likewise.
54808 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54810         * malloc/arena.c: Include malloc-sysdep.h.
54811         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54812         is sufficient to shrink the heap or an unmap is needed.
54813         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54814         new function check_may_shrink_heap.
54815         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54816         new function check_may_shrink_heap.
54818 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54820         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54821         comments.
54823 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54825         * catgets/test-gencat.sh: Add "set -e".
54826         * elf/tst-pathopt.sh: Likewise.
54827         * grp/tst_fgetgrent.sh: Likewise.
54828         * iconvdata/run-iconv-test.sh: Likewise.
54829         * intl/tst-gettext.sh: Likewise.
54830         * intl/tst-gettext2.sh: Likewise.
54831         * intl/tst-gettext4.sh: Likewise.
54832         * intl/tst-gettext6.sh: Likewise.
54833         * intl/tst-translit.sh: Likewise.
54834         * io/ftwtest-sh: Likewise.
54835         * libio/test-freopen.sh: Likewise.
54836         * malloc/tst-mtrace.sh: Likewise.
54837         * posix/globtest.sh: Likewise.
54838         * posix/tst-getconf.sh: Likewise.
54839         * posix/wordexp-tst.sh: Likewise.
54840         * stdio-common/tst-printf.sh: Likewise.
54841         * stdio-common/tst-unbputc.sh: Likewise.
54842         * stdlib/tst-fmtmsg.sh: Likewise.
54843         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54844         * catgets/Makefile: Do not specify -e option when running
54845         testsuite shell scripts.
54846         * elf/Makefile: Likewise.
54847         * grp/Makefile: Likewise.
54848         * iconvdata/Makefile: Likewise.
54849         * intl/Makefile: Likewise.
54850         * io/Makefile: Likewise.
54851         * libio/Makefile: Likewise.
54852         * malloc/Makefile: Likewise.
54853         * posix/Makefile: Likewise.
54854         * stdio-common/Makefile: Likewise.
54855         * stdlib/Makefile: Likewise.
54856         * sysdeps/x86_64/Makefile: Likewise.
54858         * io/ftwtest-sh: Add copyright header.
54859         * posix/globtest.sh: Likewise.
54860         * posix/tst-getconf.sh: Likewise.
54861         * posix/wordexp-tst.sh: Likewise.
54862         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54864 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54866         [BZ #13679]
54867         * Makeconfig (+link): Defined as $(+link-static) if
54868         $(build-shared) isn't yes.
54869         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54870         isn't yes.
54871         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54873         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54875         [BZ #14562]
54876         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54877         new chunk size with MALLOC_ALIGN_MASK.
54879 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54881         [BZ #5044]
54882         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54883         <rounding-mode.h>.
54884         (__printf_fphex): Determine rounding using get_rounding_mode and
54885         round_away.
54886         * stdio-common/tst-printf-round.c (struct hex_test): New
54887         structure.
54888         (hex_tests): New variable.
54889         (test_hex_in_one_mode): New function.
54890         (do_test): Also run tests for hex float output.
54892 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54894         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54895         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54896         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54897         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54898         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54899         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54900         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54901         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54903 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54905         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54906         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54907         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54908         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54910 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54912         [BZ #14579]
54913         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54914         mode only.
54915         * elf/tst-rtld-load-self.sh: New test.
54916         * elf/Makefile: Run it.
54918 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54920         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54921         (tst-writev-ENV): Remove.
54922         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54924 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54926         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54928 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54930         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54931         unconditional.
54932         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54933         Likewise.
54934         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54935         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54936         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54937         Likewise.
54939 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54941         [BZ #14587]
54942         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54943         * config.make.in (have-cpp-asm-debuginfo): Removed.
54944         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54945         * configure: Regenerated.
54947 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54949         [BZ #5044]
54950         * stdio-common/printf_fp.c: Include <stdbool.h> and
54951         <rounding-mode.h>.
54952         (___printf_fp): Determine rounding using get_rounding_mode and
54953         round_away.
54954         * stdio-common/tst-printf-round.c: New file.
54955         * stdio-common/Makefile (tests): Add tst-printf-round.
54956         (link-libm): New variable.
54957         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54959 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54961         [BZ #14576]
54962         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54963         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54964         Likewise.
54965         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54966         Likewise.
54968 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54970         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54971         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54972         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54973         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54975 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54977         [BZ #14518]
54978         * include/rounding-mode.h: New file.
54979         * sysdeps/generic/get-rounding-mode.h: Likewise.
54980         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54981         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54982         (MAX_VALUE): New macro.
54983         (MIN_VALUE): Likewise.
54984         (overflow_value): New function.
54985         (underflow_value): Likewise.
54986         (round_and_return): Use overflow_value and underflow_value to
54987         determine return values in overflow and underflow cases.  Use
54988         round_away to determine rounding depending on rounding mode.
54989         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54990         determine return values in overflow and underflow cases.
54991         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54992         (struct test_results): New structure.
54993         (struct test): Use struct test_results to store expected results
54994         for all rounding modes.
54995         (TEST): Include expected results for all rounding modes.
54996         (test_in_one_mode): New function.
54997         (do_test): Use test_in_one_mode to compute and check results.
54998         Check results for all rounding modes.
54999         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55000         $(link-libm).
55002 2012-12-09  Allan McRae  <allan@archlinux.org>
55004         * sysdeps/i386/fpu/libm-test-ulps: Update
55006 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55008         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55009         (_G_int32_t): Likewise.
55010         (_G_uint16_t): Likewise.
55011         (_G_uint32_t): Likewise.
55012         (_G_HAVE_BOOL): Likewise.
55013         (_G_HAVE_ATEXIT): Likewise.
55014         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55015         (_G_HAVE_IO_FILE_OPEN): Likewise.
55016         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55017         (_G_int32_t): Likewise.
55018         (_G_uint16_t): Likewise.
55019         (_G_uint32_t): Likewise.
55020         (_G_HAVE_BOOL): Likewise.
55021         (_G_HAVE_ATEXIT): Likewise.
55022         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55023         (_G_HAVE_IO_FILE_OPEN): Likewise.
55024         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55025         (_G_int32_t): Likewise.
55026         (_G_uint16_t): Likewise.
55027         (_G_uint32_t): Likewise.
55028         (_G_HAVE_BOOL): Likewise.
55029         (_G_HAVE_ATEXIT): Likewise.
55030         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55031         (_G_HAVE_IO_FILE_OPEN): Likewise.
55033 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55035         * csu/libc-tls.c: Update copyright years.
55037 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55039         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55040         [!_G_USING_THUNKS]: Remove conditional code.
55041         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55042         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55044         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55045         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55046         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55047         (_G_VTABLE_LABEL_PREFIX): Likewise.
55048         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55049         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55050         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55051         (_G_VTABLE_LABEL_PREFIX): Likewise.
55052         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55053         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55054         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55055         (_G_VTABLE_LABEL_PREFIX): Likewise.
55056         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55058 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55060         * libio/Makefile: Include ../Makeconfig before tests.
55061         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55062         only if $(build-shared) is yes.
55064         * iconv/gconv_db.c: Update copyright years.
55066 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55068         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55069         unwind info if defined PIC. Fix special cases description.
55070         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55072         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55073         DP_HI_MASK entry.
55074         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55076 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55078         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55080         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55081         is NULL.
55083         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55084         (LDLIBS-tst-chk4): This.
55085         (LDFLAGS-tst-chk5): Renamed to ...
55086         (LDLIBS-tst-chk5): This.
55087         (LDFLAGS-tst-chk6): Renamed to ...
55088         (LDLIBS-tst-chk6): This.
55089         (LDFLAGS-tst-lfschk4): Renamed to ...
55090         (LDLIBS-tst-lfschk4): This.
55091         (LDFLAGS-tst-lfschk5): Renamed to ...
55092         (LDLIBS-tst-lfschk5): This.
55093         (LDFLAGS-tst-lfschk6): Renamed to ...
55094         (LDLIBS-tst-lfschk6): This.
55096         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55097         on $(common-objpfx)soversions.mk.
55099 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55101         [BZ #10014]
55102         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55103         example host name.
55105 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55107         * malloc/arena.c (arena_get_retry): New function that gets
55108         another arena for the caller to try its request on.
55109         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55110         current arena cannot fulfill the request.
55111         (__libc_memalign): Likewise.
55112         (__libc_memalign): Likewise.
55113         (__libc_pvalloc): Likewise.
55114         (__libc_calloc): Likewise.
55116 2012-09-05  John Tobey  <john.tobey@gmail.com>
55118         [BZ #13542]
55119         * manual/arith.texi (Operations on Complex): Fix description
55120         of carg branch cut.
55122 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55124         [BZ #10014]
55125         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55126         host name.
55128         [BZ #10038]
55129         * manual/memory.texi (Memory): Make order of menu items match
55130         order of sections.
55132 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55134         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55135         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55136         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55138 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55140         * csu/libc-tls.c (static_dtv): Renamed to ...
55141         (_dl_static_dtv): This.  Make it global.
55142         (_dl_initial_dtv): Removed.
55143         (__libc_setup_tls): Updated.
55144         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55145         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55146         DL_INITIAL_DTV.
55148 2012-09-06  Petr Machata  <pmachata@redhat.com>
55150         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55151         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55152         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55153         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55155 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55157         [BZ #14545]
55158         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55159         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55160         freeing dtv[-1].
55162 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55164         [BZ #14544]
55165         * Makeconfig (link-static-before-libc): Replace $(+prector)
55166         with $(+prectorT).
55167         (link-static-after-libc): Replace $(+postctor) with
55168         $(+postctorT).
55169         (link-bounded): Replace $(+prector)/$(+postctor) with
55170         $(+prectorT)/$(+postctorT).
55171         (+prectorT): New macro.
55172         (+postctorT): Likewise.
55174 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55176         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55177         (round_str): Handle values above the maximum for IBM long double
55178         as inexact.
55179         * stdlib/tst-strtod-round.c (tests): Regenerated.
55181 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55183         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55184         assembler flag.
55185         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55186         zarch_nohighgprs around the zarch optimized routines.
55187         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55188         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55189         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55190         for zarch.
55192 2012-09-05  David S. Miller  <davem@davemloft.net>
55194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55196         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55197         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55198         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55199         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55200         entries.
55202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55204         * malloc/arena.c: Fold copyright years.
55205         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55207 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55209         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55211 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55213         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55215 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55217         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55218         change internal state upon failure.
55220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55222         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55223         * malloc/memusage.c (mmap): Likewise.
55224         (mmap64, mremap): Likewise.  Adjust name in comment.
55226 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55228         * libio/fileops.c: Fix typos in comments.
55229         * libio/oldfileops.c: Likewise.
55230         * libio/wfileops.c: Likewise.
55232 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55234         [BZ #1349]
55235         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55236         (tst-malloc-usable-ENV): Set environment for test case.
55237         * malloc/hooks.c (malloc_check_get_size): New function to get
55238         requested size.
55239         * malloc/malloc.c (musable): Use malloc_check_get_size.
55240         * malloc/tst-malloc-usable.c: New test case.
55242 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55244         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55246 2012-09-05  Allan McRae  <allan@archlinux.org>
55248         [BZ #13966]
55249         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55250         determine header location.
55251         * configure: Regenerated.
55253 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55255         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55256         float format.
55257         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55258         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55259         format.
55260         (test): Regenerate.
55262 2012-09-04  David S. Miller  <davem@davemloft.net>
55264         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55265         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55266         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55268 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55270         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55271         failures.
55273         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55275 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55277         [BZ #9914]
55278         * libio/iogetdelim.c: Include <limits.h>.
55279         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55280         + len + 1 would overflow.
55282 2012-09-03  Andreas Jaeger  <aj@suse.de>
55284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55285         * sysdeps/i386/fpu/libm-test-ulps: Update.
55287 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55289         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55290         Add s_sinf-sse2, s_conf-sse2.
55292         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55293         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55294         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55295         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55297         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55298         for using routine as __sinf_ia32.
55299         Use macro for function declaration and weak_alias.
55300         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55301         for using routine as __cosf_ia32.
55302         Use macro for function declaration and weak_alias.
55304         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55305         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55307         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55308         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55311         * math/libm-test.inc (cos_test): Add more test cases.
55312         (sin_test): Likewise.
55313         (sincos_test): Likewise.
55315 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55317         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55318         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55319         hidden.
55320         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55322 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55324         [BZ #14538]
55325         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55326         first element of the GOT.
55327         (elf_machine_load_address): Return the difference between
55328         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55330 2012-09-01  Allan McRae  <allan@archlinux.org>
55332         [BZ #13412]
55333         * configure.in (AWK): Require gawk version 3.0 or later.
55334         * configure: Regenerated.
55336 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55338         * sysdeps/unix/sysv/linux/kernel-features.h
55339         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55340         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55341         [__NR_clock_getres]: Make code unconditional.
55342         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55343         (clock_getcpuclockid): Remove code left unreachable by removal of
55344         conditionals.
55345         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55346         code unconditional.
55347         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55348         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55349         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55350         Make code unconditional.
55351         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55352         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55353         * sysdeps/unix/sysv/linux/clock_settime.c
55354         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55355         conditional code.
55356         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55357         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55359 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55361         [BZ #14476]
55362         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55363         scripts/test-installation.pl.
55365         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55366         and $ld_so_version if it is set.
55368 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55370         [BZ #14516]
55371         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55372         failure if reading from procfs failed.
55373         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55375 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55377         * sysdeps/unix/sysv/linux/kernel-features.h
55378         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55379         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55380         Remove conditional code.
55381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55382         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55383         Remove conditional code.
55384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55385         * sysdeps/unix/sysv/linux/i386/fxstat.c
55386         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55388         * sysdeps/unix/sysv/linux/i386/fxstatat.c
55389         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55391         * sysdeps/unix/sysv/linux/i386/lxstat.c
55392         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55394         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55395         Remove conditional code.
55396         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55397         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55398         Remove conditional code.
55399         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55400         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55401         <kernel-features.h>.
55402         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55403         Remove.
55404         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55405         Remove conditional code.
55406         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55407         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55408         Remove conditional.
55410 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
55412         [BZ #5400]
55413         * NEWS: Add fixed bug number.
55415 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55417         [BZ #14519]
55418         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55419         underflowing exponent in case of negative sign.
55420         * stdlib/tst-strtod-round-data: Add more tests.
55421         * stdlib/tst-strtod-round.c (tests): Regenerated.
55423         [BZ #3479]
55424         * stdlib/strtod_l.c (NDIG): Remove.
55425         (HEXNDIG): Likewise.
55426         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55427         smallest representable value.
55428         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55429         lie within an exact representation of 1/2 ulp of the result.
55430         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55431         unconditionally.
55432         (TENS_P9_IDX): Define unconditionally.
55433         (TENS_P9_SIZE): Likewise.
55434         (TENS_P10_IDX): Likewise.
55435         (TENS_P10_SIZE): Likewise.
55436         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55437         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55438         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55439         entries for 10^2^13 and 10^2^14.
55440         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55441         (TENS_P13_IDX): Define.
55442         (TENS_P13_SIZE): Likewise.
55443         (TENS_P14_IDX): Likewise.
55444         (TENS_P14_SIZE): Likewise.
55445         (_fpioconst_pow10): Change array size to
55446         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55447         unconditional.
55448         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55449         1024]: Add entries for 10^2^13 and 10^2^14.
55450         [LAST_POW10 > _LAST_POW10]: Remove #error.
55451         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55452         (_fpioconst_pow10): Change array size to
55453         FPIOCONST_POW10_ARRAY_SIZE.
55454         * stdlib/gen-fpioconst.c: New file.
55455         * stdlib/gen-tst-strtod-round.c: Likewise.
55456         * stdlib/tst-strtod-round-data: Likewise.
55457         * stdlib/tst-strtod-round.c: Likewise.
55458         * stdlib/Makefile (tests): Add tst-strtod-round.
55460         [BZ #14459]
55461         * stdlib/strtod_l.c: Include <stdint.h>.
55462         (NDEBUG): Do not define.
55463         (round_and_return): Change EXPONENT parameter to type intmax_t.
55464         Rearrange calculations to avoid internal overflow possibilities.
55465         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55466         Rearrange calculations to avoid internal overflow possibilities.
55467         Assert that number fits inside MPNSIZE limbs.
55468         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55469         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55470         calculations and add assertions to avoid internal overflow
55471         possibilities.  Add casts to avoid signed/unsigned operations.
55472         * stdlib/tst-strtod-overflow.c: New file.
55473         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55475 2012-08-25  Marek Polacek  <polacek@redhat.com>
55477         * time/time.h: Fix some typos in comments.
55479 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55481         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55482         * posix/tst-rfc3484-2.c: Likewise.
55483         * posix/tst-rfc3484-3.c: Likewise.
55485 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55487         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55488         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55490 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55492         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55493         #include of fxstatat64.c.
55495 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55497         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55498         * shadow/getspent_r.c: Likewise.
55499         * shadow/getspnam.c: Likewise.
55500         * shadow/getspnam_r.c: Likewise.
55501         * gshadow/getsgent.c: Likewise.
55502         * gshadow/getsgent_r.c: Likewise.
55503         * gshadow/getsgnam.c: Likewise.
55504         * gshadow/getsgnam_r.c: Likewise.
55505         * inet/getnetbyad.c: Likewise.
55506         * inet/getnetbyad_r.c: Likewise.
55507         * inet/getnetbynm.c: Likewise.
55508         * inet/getnetbynm_r.c: Likewise.
55509         * inet/getnetent.c: Likewise.
55510         * inet/getnetent_r.c: Likewise.
55511         * inet/getproto.c: Likewise.
55512         * inet/getproto_r.c: Likewise.
55513         * inet/getprtent.c: Likewise.
55514         * inet/getprtent_r.c: Likewise.
55515         * inet/getprtname.c: Likewise.
55516         * inet/getprtname_r.c: Likewise.
55517         * inet/getrpcbyname.c: Likewise.
55518         * inet/getrpcbyname_r.c: Likewise.
55519         * inet/getrpcbynumber.c: Likewise.
55520         * inet/getrpcbynumber_r.c: Likewise.
55521         * inet/getrpcent.c: Likewise.
55522         * inet/getrpcent_r.c: Likewise.
55523         * inet/getaliasent.c: Likewise.
55524         * inet/getaliasent_r.c: Likewise.
55525         * inet/getaliasname.c: Likewise.
55526         * inet/getaliasname_r.c: Likewise.
55527         * nscd/getgrgid_r.c: Likewise.
55528         * nscd/getgrnam_r.c: Likewise.
55529         * nscd/gethstbyad_r.c: Likewise.
55530         * nscd/gethstbynm3_r.c: Likewise.
55531         * nscd/getpwnam_r.c: Likewise.
55532         * nscd/getpwuid_r.c: Likewise.
55533         * nscd/getsrvbynm_r.c: Likewise.
55534         * nscd/getsrvbypt_r.c: Likewise.
55535         * nscd/gai.c: Likewise.
55537         * configure.in (build_nscd): New substituted variable, set
55538         by --disable-build-nscd and defaults to $use_nscd.
55539         * configure: Regenerated.
55540         * config.make.in (build-nscd): New substituted variable.
55541         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55542         Change conditional to require [$(build-nscd) = yes] as well.
55543         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55545         [BZ# 13696]
55546         * configure.in (use_nscd): New substituted variable, set by
55547         --disable-nscd.  If enabled, define USE_NSCD.
55548         * configure: Regenerated.
55549         * config.h.in: Add USE_NSCD.
55550         * config.make.in (use-nscd): New substituted variable.
55551         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55552         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55553         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55554         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55555         (CFLAGS-getgrnam_r.c): Likewise.
55556         (CFLAGS-initgroups.c): Likewise.
55557         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55558         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55559         Variables removed.
55560         * inet/getnetgrent_r.c
55561         (nscd_setnetgrent): New function, broken out of ...
55562         (setnetgrent): ... here.  Call it.
55563         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55564         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55565         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55566         * nscd/Makefile (routines, aux): Move definitions after include of
55567         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55568         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55569         Conditionalize on [USE_NSCD].
55570         (is_nscd, nscd_init_cb): Likewise.
55571         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55572         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55573         * nss/nss_db/db-init.c: Likewise.
55574         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55575         [USE_NSCD].
55576         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55577         (make_request): Use it.
55578         (cache_valid_p): New function.
55579         (__check_pf): Use it.
55580         * NEWS: Add item for --disable-nscd.
55582 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55584         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55585         to support sed >= 4.2.1-20-ga9bf076.
55586         * configure: Regenerated.
55588 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55590         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55591         Conditionalize whole body on [IREL].
55593 2012-08-22  Jeff Law <law@redhat.com>
55595         [BZ #14505]
55596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55597         if the family is PF_UNSPEC.
55599 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55601         * Makerules (lib-version): Rename from V.
55602         (install-lib-nosubdir): Change V to lib-version.
55604 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55606         [BZ #14252]
55607         * powerpc32/power6/wcschr.c: New file.
55608         * powerpc32/power6/wcscpy.c: New file.
55609         * powerpc32/power6/wcsrchr.c: New file.
55610         * powerpc64/power6/wcschr.c: New file.
55611         * powerpc64/power6/wcscpy.c: New file.
55612         * powerpc64/power6/wcsrchr.c: New file.
55614 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55616         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55617         (two_way_short_needle): Use it.
55618         * string/strstr.c (AVAILABLE1_USES_J): Define.
55619         * string/strcasestr.c: Likewise.
55621         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55622         array references.
55623         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55625         [BZ #11607]
55626         * NEWS: Add an entry.
55627         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55628         define their defaults.
55629         (two_way_short_needle): Detect end-of-string on-the-fly.
55630         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55631         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55632         * string/bug-strcasestr1.c: New test.
55633         * string/Makefile: Run it.
55635 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55637         [BZ #11607]
55638         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55639         the first character.
55641 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55643         * csu/elf-init.c (__libc_csu_irel): Function removed.
55644         * csu/libc-start.c (apply_irel): New function.
55645         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55647 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
55649         * sysdeps/unix/sysv/linux/kernel-features.h
55650         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55651         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55652         <kernel-features.h>.
55653         [__NR_fadvise64_64]: Make code unconditional.
55654         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55655         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55656         !__NR_fadvise64_64)]: Likewise.
55657         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55658         !__NR_fadvise64_64))]: Likewise.
55659         [__NR_fadvise64]: Make code unconditional.
55660         [!__NR_fadvise64]: Remove conditional code.
55661         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55662         <kernel-features.h>.
55663         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55664         unconditional.
55665         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55666         conditional code.
55667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55668         not include <kernel-features.h>.
55669         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55670         unconditional.
55671         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55672         conditional code.
55673         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55674         include <kernel-features.h>.
55675         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55676         unconditional.
55677         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55678         conditional code.
55680 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55682         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55683         slight instruction rearrangements per scrollpipe analysis.
55684         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55686 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55688         * manual/syslog.texi (syslog; vsyslog, closelog):
55689         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55690         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55692         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55693         DSOCAPS to match condition on defining it.
55695 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55697         * sysdeps/unix/sysv/linux/kernel-features.h
55698         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55700         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55701         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55703         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55704         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55706         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55707         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55709         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55710         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55712         * sysdeps/unix/sysv/linux/kernel-features.h
55713         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55714         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55715         unconditional.
55716         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55717         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55718         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55719         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55720         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55721         Make code unconditional.
55722         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55723         (__mmap64) [!__NR_mmap2]: Likewise.
55724         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55725         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55726         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55727         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55728         [__NR_mmap2]: Make code unconditional.
55729         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55730         (__mmap64) [!__NR_mmap2]: Likewise.
55732 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55734         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55736 2012-08-18  Andreas Jaeger  <aj@suse.de>
55738         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55740 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55742         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55743         * include/unistd.h (__have_sock_cloexec): Likewise.
55744         (__have_pipe2): Likewise.
55745         (__have_dup3): Likewise.
55747 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55749         [BZ #9685]
55750         * include/unistd.h (__have_pipe2): Change define into an extern int.
55751         (__have_dup3): Likewise.
55752         * socket/have_sock_cloexec.c: Include fcntl.h.
55753         (__have_pipe2): New variable.
55754         (__have_dup3): Likewise.
55756 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55758         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55760 2012-08-17  Marek Polacek  <polacek@redhat.com>
55762         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55763         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55765 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55767         * configure.in: Add AC_SUBST for sysheaders.
55768         * configure: Regenerated.
55769         * config.make.in (sysheaders): New substituted variable.
55771         * sysdeps/unix/mkfifo.c: Moved ...
55772         * sysdeps/posix/mkfifo.c: ... here.
55773         * sysdeps/unix/mkfifoat.c: Moved ...
55774         * sysdeps/posix/mkfifoat.c: ... here.
55776         * sysdeps/unix/utime.c: Moved ...
55777         * sysdeps/posix/utime.c: ... here.
55779         * sysdeps/unix/time.c: Moved ...
55780         * sysdeps/posix/time.c: ... here.
55781         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55782         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55784         * sysdeps/unix/nice.c: Moved ...
55785         * sysdeps/posix/nice.c: ... here.
55787         * sysdeps/unix/alarm.c: Moved ...
55788         * sysdeps/posix/alarm.c: ... here.
55790         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55792 2012-08-17  Jeff Law <law@redhat.com>
55794         * intl/Makefile (codeset_mo): New variable.
55795         ($(codeset_mo)): New target.
55796         (tst-codeset.out): Depend on that.  Remove explicit rule.
55797         (tst-gettext3.out, tst-gettext5.out): Likewise.
55798         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55799         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55800         * intl/tst-codeset.sh: Remove.
55801         * intl/tst-gettext3.sh: Likewise.
55802         * intl/tst-gettext5.sh: Likewise.
55804 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55806         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55807         * sysdeps/unix/syscalls.list: ... here.
55809         * sysdeps/posix/getaddrinfo.c
55810         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55811         (gaiconf_init, gaiconf_reload): Use them.
55812         [!_STATBUF_ST_NSEC]
55813         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55814         Define using time_t rather than struct timespec.
55816         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55817         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55818         Macros removed.
55819         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55820         [!NO_THREADS].
55821         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55822         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55823         Likewise.
55825         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55826         __libc_cleanup_push argument.
55828         * bits/param.h: New file.
55829         * misc/sys/param.h: New file.
55830         * include/sys/param.h: New file.
55831         * misc/Makefile (headers): Add bits/param.h.
55832         * sysdeps/generic/sys/param.h: File removed.
55833         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55834         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55835         * sysdeps/mach/hurd/bits/param.h: New file.
55836         * sysdeps/mach/hurd/sys/param.h: File removed.
55838         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55839         last change.
55841         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55842         [_IO_MTSAFE_IO].
55843         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55844         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55845         New macros.
55847         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55848         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55849         rather than -D_IO_MTSAFE_IO conditionally.
55850         * stdio-common/Makefile (CPPFLAGS): Likewise.
55851         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55852         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55853         Use $(libio-mtsafe).
55854         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55855         of -D_IO_MTSAFE_IO.
55856         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55857         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55858         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55859         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55860         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55861         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55862         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55863         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55864         (CFLAGS-fread_u_chk.c): Likewise.
55865         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55866         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55867         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55868         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55869         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55870         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55871         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55872         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55873         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55875         * libio/Makefile: Test [$(libc-reentrant) = yes]
55876         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55878         * Makeconfig
55879         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55880         * sysdeps/pthread/configure: File removed.
55881         * sysdeps/pthread/Makeconfig: New file.
55882         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55883         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55885 2012-08-16  Gary Benson  <gbenson@redhat.com>
55887         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55888         unmapping the first object in a namespace.
55890 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55892         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55893         (__internal_setnetgrent): ... this.  Add internal_function to
55894         definition.  Add libc_hidden_def.
55895         (setnetgrent): Update caller.
55896         (internal_endnetgrent): Renamed to ...
55897         (__internal_endnetgrent): ... this.  Add internal_function to
55898         definition.  Add libc_hidden_def.
55899         (endnetgrent): Update caller.
55900         (internal_getnetgrent_r): Renamed to ...
55901         (__internal_getnetgrent_r): ... this.  Add internal_function to
55902         definition.  Add libc_hidden_def.
55903         (__getnetgrent_r): Update caller.
55904         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55906 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55908         * stdlib/longlong.h: Update from GCC.
55910 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55912         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55913         on _QL, which is set by umul_ppmm but never used.
55914         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55915         variables, which are set by GMP macros but never used.
55916         * stdio-common/_itowa.c (_itowa): Likewise.
55917         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55918         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55920 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55922         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55923         struct La_sh_regs is not constant.
55924         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55925         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55926         and struct La_sparc64_regs are not constant.
55928 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55930         * sysdeps/unix/sysv/linux/kernel-features.h
55931         (__ASSUME_POSIX_TIMERS): Remove.
55932         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55934         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55935         Make code unconditional.
55936         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55937         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55938         Make code unconditional.
55939         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55940         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55941         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55942         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55943         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55944         Make code unconditional.
55945         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55946         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55947         (__libc_missing_posix_timers): Remove.
55949 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55951         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55952         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55954         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55956         * elf/dl-sym.c: Include <stdlib.h>.
55958         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55959         constants, which avoids warnings in 32-bit builds.
55961         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55962         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55964         * misc/lseek.c: File moved to ...
55965         * io/lseek.c: ... here.
55967         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55969         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55970         shifting LEN more than 31 bits at once.
55972 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55974         [BZ #14195]
55975         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55976         segmentation fault for a case of two empty input strings.
55977         * string/test-strncasecmp.c (check1): Renamed to...
55978         (bz12205): ...this.
55979         (bz14195): Add new testcase for two empty input strings and N > 0.
55980         (test_main): Call new testcase, adapt for renamed function.
55982 2012-08-15  Andreas Jaeger  <aj@suse.de>
55984         [BZ #14090]
55985         * crypt/md5test2.c: New test, based on test supplied by Serge
55986         Belyshev <belyshev@depni.sinp.msu.ru>.
55987         * crypt/Makefile (xtests): Add md5test-giant..
55988         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55990 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55992         [BZ #14090]
55993         * crypt/md5.c (md5_process_block): Don't assume the buffer
55994         length is less than 2**32.
55995         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55996         length is less than 2**64.
55998 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56000         * string/str-two-way.h: Include <sys/param.h>.
56001         (MAX): Macro removed.
56003         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56004         Move #define and #undef of memmove to just before and after
56005         including <string.h>.
56007         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56008         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56009         and after including <string.h>.  Move declarations of
56010         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56011         to before #include "string/memmove.c".
56013         * include/dirent.h: Declare __getdirentries.
56015         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56016         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56018 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56020         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56021         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56022         * sysdeps/i386/configure: Regenerated.
56023         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56024         STABS_CURRENT_FILE, and STABS_FUN.
56025         (END): Remove call to STABS_FUN_END.
56026         (STABS_CURRENT_FILE1): Delete.
56027         (STABS_CURRENT_FILE): Likewise.
56028         (STABS_FUN): Likewise.
56029         (STABS_FUN_END): Likewise.
56030         (STABS_FUN2): Likewise.
56031         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56032         * sysdeps/x86_64/configure: Regenerated.
56034 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56036         * elf/dl-open.c: Include <atomic.h>.
56037         * elf/dl-lookup.c: Likewise.
56039 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56041         * sysdeps/unix/sysv/linux/kernel-features.h
56042         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56043         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56044         unconditionally.
56045         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56046         unconditionally.
56047         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56048         condition on __ASSUME_CLONE_THREAD_FLAGS.
56050 2012-08-14  Andreas Jaeger  <aj@suse.de>
56052         * sysdeps/i386/fpu/libm-test-ulps: Update.
56054 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56056         * include/atomic.h (atomic_exchange_and_add): Split into ...
56057         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56058         New atomic macros.
56060 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56064 2012-08-13  Jeff Law <law@redhat.com>
56066         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56067         null byte in the output string.
56069 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56071         * sysdeps/unix/sysv/linux/kernel-features.h
56072         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56073         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56074         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56075         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56076         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56077         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56078         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56080 2012-08-09  Jeff Law <law@redhat.com>
56082         [BZ #13939]
56083         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56084         When avoid_arena is set, don't retry in the that arena.  Pick the
56085         next one, whatever it might be.
56086         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56087         (arena_lock): Pass in new parameter to arena_get2.
56088         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56089         arena_get2.
56090         (__libc_malloc): Unify retrying after main arena failure with
56091         __libc_memalign version.
56092         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56094 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56096         [BZ #14166]
56097         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56098         to __redirect_strstr.
56099         (__strstr_sse42): Use typeof __redirect_strstr.
56100         (__strstr_ia32): Likewise.
56101         (__libc_strstr): New prototype.
56102         (strstr): Renamed to ...
56103         (__libc_strstr): This.
56104         (strstr): New strong alias of __libc_strstr.
56105         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56106         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56107         __redirect_time.
56108         Include <time.h>.
56109         (__libc_time): New prototype.
56110         (time_ifunc): Replace time with __libc_time.
56111         (time): New strong alias and hidden definition of __libc_time.
56112         (__GI_time): Remove strong alias.
56113         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56114         Include <stddef.h>.
56115         (memmove): Redefined to __redirect_memmove.
56116         (__memmove_sse2): Use typeof __redirect_memmove.
56117         (__memmove_ssse3): Likewise.
56118         (__memmove_ssse3_back): Likewise.
56119         (__libc_memmove): New prototype.
56120         (memmove): Renamed to ...
56121         (__libc_memmove): This.
56122         (memmove): New strong alias of __libc_memmove.
56124 2012-08-08  Mark Salter  <msalter@redhat.com>
56126         * elf/elf.h
56127         (R_MN10300_TLS_GD): Define.
56128         (R_MN10300_TLS_LD): Likewise.
56129         (R_MN10300_TLS_LDO): Likewise.
56130         (R_MN10300_TLS_GOTIE): Likewise.
56131         (R_MN10300_TLS_IE): Likewise.
56132         (R_MN10300_TLS_LE): Likewise.
56133         (R_MN10300_TLS_DTPMOD): Likewise.
56134         (R_MN10300_TLS_DTPOFF): Likewise.
56135         (R_MN10300_TLS_TPOFF): Likewise.
56136         (R_MN10300_SYM_DIFF): Likewise.
56137         (R_MN10300_ALIGN): Likewise.
56138         (R_MN10300_NUM): Update.
56140 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56142         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56143         Remove.
56145 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56147         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56149         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56150         sysdeps/unix -> sysdeps/posix move.
56151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56153 2012-08-07      Allan McRae     <allan@archlinux.org>
56155         [BZ #14303]
56156         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56157         (SUNOS_CPP): Likewise.
56158         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56159         not found.
56160         (open_input): Call CPP using execvp.
56162 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56164         * sysdeps/unix/sysv/linux/kernel-features.h
56165         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56166         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56167         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56168         (__ASSUME_WAITID_SYSCALL): Likewise.
56169         * sysdeps/unix/sysv/linux/dl-execstack.c
56170         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56171         code unconditional.
56172         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56173         conditional code.
56174         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56175         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56176         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56177         code.
56178         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56179         unconditional.
56180         [__ASSUME_WAITID_SYSCALL]: Likewise.
56181         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56183 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56185         * sysdeps/unix/closedir.c: Renamed to ...
56186         * sysdeps/posix/closedir.c: ... here.
56187         * sysdeps/unix/dirfd.c: Renamed to ...
56188         * sysdeps/posix/dirfd.c: ... here.
56189         * sysdeps/unix/dirstream.h: Renamed to ...
56190         * sysdeps/posix/dirstream.h: ... here.
56191         * sysdeps/unix/fdopendir.c: Renamed to ...
56192         * sysdeps/posix/fdopendir.c: ... here.
56193         * sysdeps/unix/opendir.c: Renamed to ...
56194         * sysdeps/posix/opendir.c: ... here.
56195         * sysdeps/unix/readdir.c: Renamed to ...
56196         * sysdeps/posix/readdir.c: ... here.
56197         * sysdeps/unix/readdir_r.c: Renamed to ...
56198         * sysdeps/posix/readdir_r.c: ... here.
56199         * sysdeps/unix/rewinddir.c: Renamed to ...
56200         * sysdeps/posix/rewinddir.c: ... here.
56201         * sysdeps/unix/seekdir.c: Renamed to ...
56202         * sysdeps/posix/seekdir.c: ... here.
56203         * sysdeps/unix/telldir.c: Renamed to ...
56204         * sysdeps/posix/telldir.c: ... here.
56205         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56206         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56207         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56208         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56210         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56211         * bits/fcntl.h: ... here.
56213         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56214         not 0.
56215         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56216         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56217         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56218         (struct flock): Move l_start, l_len to the beginning.
56219         Use __pid_t for l_pid.
56220         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56221         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56222         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56223         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56224         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56225         [__USE_LARGEFILE64] (struct flock64): New type.
56226         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56228         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56229         * bits/dirent.h: ... here.
56231         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56232         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56234 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56236         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56237         Change from 2.6.0 to 2.6.16.
56238         * sysdeps/unix/sysv/linux/configure: Regenerated.
56239         * sysdeps/unix/sysv/linux/kernel-features.h
56240         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56241         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56242         version.
56243         (__ASSUME_UTIMES): Likewise.
56244         (__ASSUME_CLONE_STOPPED): Remove.
56245         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56246         architectures, not kernel version.
56247         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56248         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56249         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56250         (__ASSUME_WAITID_SYSCALL): Likewise.
56251         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56252         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56253         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56254         refer to older versions.
56256 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56258         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56259         Define alphasort64 as an alias.
56260         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56261         Define versionsort64 as an alias.
56262         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56263         Define scandir64 as an alias.
56264         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56265         Define scandirat64 as an alias.
56266         * dirent/alphasort64.c (alphasort64):
56267         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56268         * dirent/versionsort64.c: Likewise.
56269         * dirent/scandir64.c: Likewise.
56270         * dirent/scandirat64.c: Likewise.
56271         * sysdeps/wordsize-64/alphasort.c: File removed.
56272         * sysdeps/wordsize-64/alphasort64.c: File removed.
56273         * sysdeps/wordsize-64/scandir.c: File removed.
56274         * sysdeps/wordsize-64/scandir64.c: File removed.
56275         * sysdeps/wordsize-64/scandirat.c: File removed.
56276         * sysdeps/wordsize-64/scandirat64.c: File removed.
56277         * sysdeps/wordsize-64/versionsort.c: File removed.
56278         * sysdeps/wordsize-64/versionsort64.c: File removed.
56279         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56280         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56281         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56282         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56283         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56284         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56285         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56286         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56288         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56290         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56292         [defined __arch64__ || defined __sparcv9]
56293         (__INO_T_MATCHES_INO64_T): New macro.
56294         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56295         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56296         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56297         * sysdeps/unix/sysv/linux/bits/dirent.h
56298         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56299         (_DIRENT_MATCHES_DIRENT64): New macro.
56301         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56302         Define lockf64 as an alias.
56303         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56304         Define fseeko64 as an alias.
56305         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56306         Define ftello64 as an alias.
56307         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56308         Define _IO_fgetpos64 and fgetpos64 as aliases.
56309         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56310         Define _IO_fsetpos64 and fsetpos64 as aliases.
56311         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56312         Conditionalize body on this.
56313         * libio/fseeko64.c: Likewise.
56314         * libio/ftello64.c: Likewise.
56315         * libio/iofgetpos64.c: Likewise.
56316         * libio/iofsetpos64.c: Likewise.
56317         * sysdeps/wordsize-64/lockf.c: File removed.
56318         * sysdeps/wordsize-64/lockf64.c: File removed.
56319         * sysdeps/wordsize-64/fseeko.c: File removed.
56320         * sysdeps/wordsize-64/fseeko64.c: File removed.
56321         * sysdeps/wordsize-64/ftello.c: File removed.
56322         * sysdeps/wordsize-64/ftello64.c: File removed.
56323         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56324         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56325         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56326         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56327         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56328         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56329         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56330         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56331         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56332         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56333         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56334         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56335         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56336         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56338         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56340         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56342         [defined __arch64__ || defined __sparcv9]
56343         (__OFF_T_MATCHES_OFF64_T): New macro.
56344         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56345         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56347         (__OFF_T_MATCHES_OFF64_T): New macro.
56349 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56351         * stdlib/secure-getenv.c (__secure_getenv): Replace
56352         GLIBC_2_16 with GLIBC_2_17.
56354 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56356         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56357         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56359 2012-08-03  David S. Miller  <davem@davemloft.net>
56361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56363 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56366         Remove.
56367         (__ASSUME_CORRECT_SI_PID): Likewise.
56368         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56369         (__ASSUME_TMPFS_NAME): Likewise.
56370         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56371         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56372         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56373         (HAVE_AUX_SECURE): Make definition unconditional.
56374         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56375         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56377 2012-08-03  Roland McGrath  <roland@hack.frob.com>
56379         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56380         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56381         * sysdeps/mach/hurd/eloop-threshold.h: New file.
56382         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56383         __eloop_threshold instead of SYMLOOP_MAX.
56385         * sysdeps/generic/eloop-threshold.h: New file.
56386         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56387         of MAXSYMLINKS.
56388         * elf/chroot_canon.c (chroot_canon): Likewise.
56390 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56392         [BZ #13717]
56393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56394         Change to 2.6.0 everywhere.
56395         * sysdeps/unix/sysv/linux/configure: Regenerated.
56396         * sysdeps/unix/sysv/linux/kernel-features.h
56397         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56398         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56399         kernel versions.
56400         (__ASSUME_POSIX_TIMERS): Define unconditionally.
56401         (__ASSUME_FUTEX_REQUEUE): Remove.
56402         (__ASSUME_STATFS64): Define unconditionally.
56403         (__ASSUME_AT_SECURE): Likewise.
56404         (__ASSUME_CORRECT_SI_PID): Likewise.
56405         (__ASSUME_TGKILL): Define without depending on kernel version for
56406         i386.
56407         (__ASSUME_UTIMES): Likewise.
56408         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56409         kernel version.
56410         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56411         (__ASSUME_TMPFS_NAME): Likewise.
56412         * README: Update reference to Linux kernel versions.
56414 2012-08-02  Marek Polacek  <polacek@redhat.com>
56416         [BZ# 14150]
56417         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
56418         libc_cv_asm_type_prefix with %.
56419         * configure: Regenerated.
56420         * include/libc-symbols.h: Remove comment about
56421         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56422         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56423         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56424         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56425         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56426         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56427         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56428         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56429         * elf/tst-unique2mod1.c: Likewise.
56430         * elf/tst-unique1mod2.c: Likewise.
56431         * elf/tst-unique1mod1.c: Likewise.
56432         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56433         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56434         Replace ASM_TYPE_DIRECTIVE with .type.
56435         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56436         * sysdeps/i386/sysdep.h: Likewise.
56437         * sysdeps/x86_64/sysdep.h: Likewise.
56438         * sysdeps/sh/sysdep.h: Likewise.
56439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56440         Do not define ASM_TYPE_DIRECTIVE.
56441         * sysdeps/powerpc/sysdep.h: Likewise.
56442         * sysdeps/powerpc/powerpc32/sysdep.h:
56443         Replace ASM_TYPE_DIRECTIVE with .type.
56444         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56445         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56446         * sysdeps/i386/fpu/e_powf.S: Likewise.
56447         * sysdeps/i386/fpu/e_expl.S: Likewise.
56448         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56449         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56450         * sysdeps/i386/fpu/e_pow.S: Likewise.
56451         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56452         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56453         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56454         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56455         * sysdeps/i386/fpu/e_log2.S: Likewise.
56456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56457         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56458         * sysdeps/i386/fpu/e_powl.S: Likewise.
56459         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56460         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56461         * sysdeps/i386/fpu/e_logl.S: Likewise.
56462         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56463         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56464         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56465         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56466         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56467         * sysdeps/i386/fpu/e_log.S: Likewise.
56468         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56469         * sysdeps/i386/fpu/e_logf.S: Likewise.
56470         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56471         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56472         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56473         * sysdeps/i386/fpu/e_log10.S: Likewise.
56474         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56475         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56476         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56477         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56478         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56479         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56480         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56481         * sysdeps/i386/i686/strtok.S: Likewise.
56482         * sysdeps/i386/i386-mcount.S: Likewise.
56483         * sysdeps/i386/strtok.S: Likewise.
56484         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56485         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56486         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56487         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56488         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56489         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56490         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56491         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56492         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56493         * sysdeps/x86_64/_mcount.S: Likewise.
56494         * sysdeps/x86_64/strtok.S: Likewise.
56495         * sysdeps/sh/_mcount.S: Likewise.
56497 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56499         * libio/iofopen.c: Include <fcntl.h>.
56500         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56501         (_IO_fopen64, fopen64): Define as aliases.
56502         * libio/iofopen64.c: Include <fcntl.h>.
56503         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56504         Conditionalize body on this.
56505         * sysdeps/wordsize-64/iofopen.c: File removed.
56506         * sysdeps/wordsize-64/iofopen64.c: File removed.
56508 2012-08-01  Marek Polacek  <polacek@redhat.com>
56510         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56511         Use dlfcn directly instead of a variable.
56512         (binfmt-subdir): Do not define.
56513         (dlfcn): Likewise.
56515 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56518         Remove all definitions.
56519         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56520         <kernel-features.h>.
56521         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56522         (miss_F_GETOWN_EX): Remove all definitions.
56523         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56524         macro definition.
56525         [!__ASSUME_FCNTL64]: Remove conditional code.
56526         [__ASSUME_FCNTL64]: Make code unconditional.
56527         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56528         <kernel-features.h>.
56529         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56530         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56531         (lockf64) [__NR_fcntl64]: Make code unconditional.
56532         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56534         * sysdeps/unix/sysv/linux/kernel-features.h
56535         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56536         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56537         Make code unconditional.
56538         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56539         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56541         [__NR_vfork]: Make code unconditional.
56542         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56543         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56545         [__NR_vfork]: Make code unconditional.
56546         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56547         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56549 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56551         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56552         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56554         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56555         Define mkstemp64 as an alias.
56556         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56557         Define mkstemps64 as an alias.
56558         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56559         Define mkostemp64 as an alias.
56560         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56561         Define mkostemps64 as an alias.
56562         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56563         Conditionalize body on this.
56564         * misc/mkostemp64.c: Likewise.
56565         * misc/mkostemps64.c: Likewise.
56566         * misc/mkstemps64.c: Likewise.
56567         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56568         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56569         * sysdeps/wordsize-64/mkostemp.c: File removed.
56570         * sysdeps/wordsize-64/mkstemp.c: File removed.
56571         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56572         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56573         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56574         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56576         [BZ #14138]
56577         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56578         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56579         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56580         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56582         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56583         compat_symbol macros from <shlib-compat.h> rather than the underlying
56584         default_symbol_version and symbol_version macros, so that DEFAULT
56585         lines in shlib-versions are respected.
56586         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56588 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56590         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56591         Declare with warn_unused_result.
56592         (setgid, setregid, setegid, setresgid): Likewise.
56593         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56594         Likewise.
56595         * WUR-REPORT: Remove set*id functions.
56597 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56599         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56601 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56603         [BZ #10191]
56604         * include/sys/socket.h (__libc_accept, __libc_accept4):
56605         Add attribute_hidden.
56606         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56608         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56609         use of PTR_MANGLE.
56610         * inet/getnetgrent_r.c (setup): Likewise.
56612         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56614 2012-07-31  David S. Miller  <davem@davemloft.net>
56616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56618 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56620         [BZ #13629]
56621         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56622         value between 1.0 and 2.0 and smaller part has absolute value less
56623         than 1.0.
56624         * math/s_clog10.c (__clog10): Likewise.
56625         * math/s_clog10f.c (__clog10f): Likewise.
56626         * math/s_clog10l.c (__clog10l): Likewise.
56627         * math/s_clogf.c (__clogf): Likewise.
56628         * math/s_clogl.c (__clogl): Likewise.
56629         * math/libm-test.inc (clog_test): Add more tests.
56630         (clog10_test): Likewise.
56631         * sysdeps/i386/fpu/libm-test-ulps: Update.
56632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56634 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56636         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56637         Exit with zero in case no suitable GID is found, and write a
56638         message to standard error.
56640 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56642         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56643         rather than to 1.
56644         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56645         (MAXPATHLEN): Removed.
56646         (NOGROUP, NODEV): New macros.
56647         (setbit, clrbit, isset, isclr): New macros.
56648         (howmany, roundup, powerof2): New macros.
56649         (DEV_BSIZE): New macro.
56651         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56652         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56654         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56655         definition on [!__NO_LONG_DOUBLE_MATH].
56657         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56658         PTR_MANGLE and PTR_DEMANGLE.
56660         * socket/accept4.c (accept4): Rename to __libc_accept4.
56661         Define accept4 as a weak alias.
56663         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56664         on [_DIRENT_HAVE_D_TYPE].
56665         * io/ftw.c (ftw_dir): Likewise.
56667         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56669         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56671         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56672         Use the BSD numbers rather than the arbitrary ones we had.
56673         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56674         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56675         (SIGXCPU, SIGXFSZ): New macros.
56676         (_NSIG): Now 32.
56678         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56679         initializer on [_LIBC_REENTRANT].
56681         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56682         definitions inside [_POSIX_MAPPED_FILES].
56684         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56686         * dirent/opendir.c: Include <fcntl.h>.
56688         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56689         (__libc_getspecific): Likewise.
56690         (__libc_key_create): Likewise.
56692         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56693         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56694         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56695         (tmpfile64): Define as alias.
56696         * sysdeps/wordsize-64/tmpfile.c: File removed.
56697         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56698         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56699         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56701         * stdio-common/vfscanf.c: Include <stdbool.h>.
56702         * nss/makedb.c: Likewise.
56703         * stdio-common/_i18n_number.h: Likewise.
56704         * argp/argp-help.c: Likewise.
56705         * posix/wordexp.c: Likewise.
56706         * sysdeps/posix/spawni.c: Likewise.
56707         * nss/nss_files/files-initgroups.c: Likewise.
56708         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56709         * nss/nss_files/files-initgroups.c: Likewise.
56710         * nss/nss_db/db-netgrp.c: Likewise.
56711         * nss/nss_db/db-initgroups.c: Likewise.
56712         * io/fchmodat.c: Include <sys/stat.h>.
56714         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56715         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56717         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56718         [HAVE_MMAP].
56720         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56721         Add multiple inclusion protection.
56723 2012-07-27  David S. Miller  <davem@davemloft.net>
56725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56727 2012-07-27  Gary Benson  <gbenson@redhat.com>
56729         [BZ #14298]
56730         * elf/rtld.c: Include <stap-probe.h>.
56731         (dl_main): Added static probes "init_start" and "init_complete".
56732         * elf/dl-load.c: Include <stap-probe.h>.
56733         (lose): Take new parameter "nsid".
56734         Added static probe "map_failed".
56735         (_dl_map_object_from_fd): Pass namespace id to lose.
56736         Added static probe "map_start".
56737         (open_verify): Pass namespace id to lose.
56738         * elf/dl-open.c: Include <stap-probe.h>.
56739         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56740         and "reloc_complete".
56741         * elf/dl-close.c: Include <stap-probe.h>.
56742         (_dl_close_worker): Added static probes "unmap_start" and
56743         "unmap_complete".
56744         * elf/rtld-debugger-interface.txt: New file documenting the above.
56746 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56748         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56749         rather than a string variable.
56750         * sunrpc/rpc_main.c (h_output): Likewise.
56751         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56753 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56755         * inet/check_native.c: New file.
56757 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56759         [BZ #13629]
56760         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56761         if larger part has absolute value 1.0.
56762         * math/s_clog10.c (__clog10): Likewise.
56763         * math/s_clog10f.c (__clog10f): Likewise.
56764         * math/s_clog10l.c (__clog10l): Likewise.
56765         * math/s_clogf.c (__clogf): Likewise.
56766         * math/s_clogl.c (__clogl): Likewise.
56767         * math/libm-test.inc (clog_test): Add more tests.
56768         (clog10_test): Likewise.
56769         * sysdeps/i386/fpu/libm-test-ulps: Update.
56770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56772         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56773         (pltexit): Likewise.
56774         (La_regs): Likewise.
56775         (La_retval): Likewise.
56776         (int_retval): Likewise.
56777         Update #error for removed macros to refer only to definitions in
56778         tst-audit.h.
56779         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56780         macro.
56781         (pltexit): Likewise.
56782         (La_regs): Likewise.
56783         (La_retval): Likewise.
56784         (int_retval): Likewise.
56785         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56786         macro.
56787         (pltexit): Likewise.
56788         (La_regs): Likewise.
56789         (La_retval): Likewise.
56790         (int_retval): Likewise.
56791         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56792         macro.
56793         (pltexit): Likewise.
56794         (La_regs): Likewise.
56795         (La_retval): Likewise.
56796         (int_retval): Likewise.
56797         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56798         macro.
56799         (pltexit): Likewise.
56800         (La_regs): Likewise.
56801         (La_retval): Likewise.
56802         (int_retval): Likewise.
56803         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56804         macro.
56805         (pltexit): Likewise.
56806         (La_regs): Likewise.
56807         (La_retval): Likewise.
56808         (int_retval): Likewise.
56809         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56810         macro.
56811         (pltexit): Likewise.
56812         (La_regs): Likewise.
56813         (La_retval): Likewise.
56814         (int_retval): Likewise.
56815         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56816         macro definitions in tst-audit.h.
56817         * sysdeps/i386/tst-audit.h: New file.
56818         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56819         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56820         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56821         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56822         * sysdeps/sh/tst-audit.h: Likewise.
56823         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56824         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56825         * sysdeps/x86_64/tst-audit.h: Likewise.
56827 2012-07-26  Andreas Jaeger  <aj@suse.de>
56829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56830         ptrace.
56832         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56833         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56834         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56835         PTRACE_O_MASK.
56836         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56837         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56838         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56840         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56841         value.
56843         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56844         _sigsys.
56845         (si_call_addr, si_syscall, si_arch): Define new macro.
56846         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56847         _sigsys.
56848         (si_call_addr, si_syscall, si_arch): Define new marcro.
56849         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56850         _sigsys.
56851         (si_call_addr, si_syscall, si_arch): Define new macro.
56852         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56853         _sigsys.
56854         (si_call_addr, si_syscall, si_arch): Define new macro.
56856 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56858         [BZ #13717]
56859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56860         Change to 2.4.21 where previously 2.4.1.
56861         * sysdeps/unix/sysv/linux/configure: Regenerated.
56862         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56863         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56864         Linux kernel version.
56865         (__ASSUME_STD_AUXV): Remove.
56866         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56867         kernel version.
56868         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56869         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56870         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56871         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56872         (__ASSUME_NETLINK_SUPPORT): Likewise.
56873         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56874         (__no_netlink_support): Remove conditional definition.
56875         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56876         Remove.
56877         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56878         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56879         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56880         (if_nameindex_ioctl): Remove.
56881         (if_nameindex_netlink): Do not handle __no_netlink_support.
56882         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56883         code.
56884         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56885         Remove conditional code.
56886         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56887         code.
56888         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56889         unconditional.
56890         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56891         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56892         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56893         Remove.
56894         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56895         [!__ASSUME_STD_AUXV]: Remove conditional code.
56896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56897         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56898         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56900         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56901         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56902         code.
56903         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56905         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56906         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56907         conditional code.
56908         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56910         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56911         code.
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56913         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56914         conditional code.
56915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56916         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56917         code unconditional.
56918         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56919         conditional code.
56920         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56921         unconditional.
56922         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56923         conditional code.
56924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56925         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56926         unconditional.
56927         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56928         conditional code.
56929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56930         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56931         code unconditional.
56932         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56933         conditional code.
56934         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56935         unconditional.
56936         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56937         conditional code.
56938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56939         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56940         code unconditional.
56941         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56942         conditional code.
56943         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56944         unconditional.
56945         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56946         conditional code.
56948 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56950         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56951         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56952         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56953         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56954         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56955         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56956         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56957         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56958         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56959         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56960         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56961         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56962         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56963         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56964         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56965         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56966         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56967         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56968         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56970         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56971         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56972         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56974 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56976         * Versions.def: Add GLIBC_2.17.
56977         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56978         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56979         Introduce __libc_secure_getenv.
56980         * stdlib/Versions (2.17): Add secure_getenv
56981         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56982         * stdlib/secure-getenv.c: Rename __secure_getenv to
56983         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56984         symbol __secure_getenv for GLIBC_2.0.
56985         * stdlib/tst-secure-getenv.c: New.
56986         * stdlib/Makefile (tests): Add testcase.
56987         * manual/startup.texi (Environment Access): Document
56988         secure_getenv.
56989         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56990         __libc_secure_getenv.
56991         * inet/ruserpass.c (ruserpass): Likewise.
56992         * malloc/mtrace.c (mtrace): Likewise.
56993         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56994         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56995         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56996         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56997         HAVE_SECURE_GETENV.
56998         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56999         __secure_getenv to __libc_secure_getenv.
57000         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57002         Likewise.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57004         Likewise.
57005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57007         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57013 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57015         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57016         (struct La_i86_retval): Likewise.
57017         (struct La_x86_64_regs): Likewise.
57018         (struct La_x86_64_retval): Likewise.
57019         (struct La_x32_regs): Likewise.
57020         (struct La_x32_retval): Likewise.
57021         (struct La_ppc32_regs): Likewise.
57022         (struct La_ppc32_retval): Likewise.
57023         (struct La_ppc64_regs): Likewise.
57024         (struct La_ppc64_retval): Likewise.
57025         (struct La_sh_regs): Likewise.
57026         (struct La_sh_retval): Likewise.
57027         (struct La_s390_32_regs): Likewise.
57028         (struct La_s390_32_retval): Likewise.
57029         (struct La_s390_64_regs): Likewise.
57030         (struct La_s390_64_retval): Likewise.
57031         (struct La_sparc32_regs): Likewise.
57032         (struct La_sparc32_retval): Likewise.
57033         (struct La_sparc64_regs): Likewise.
57034         (struct La_sparc64_retval): Likewise.
57035         (struct audit_ifaces): Remove architecture-specific pltenter and
57036         pltexit members.
57037         * sysdeps/i386/ldsodefs.h: New file.
57038         * sysdeps/powerpc/ldsodefs.h: Likewise.
57039         * sysdeps/s390/ldsodefs.h: Likewise.
57040         * sysdeps/sh/ldsodefs.h: Likewise.
57041         * sysdeps/sparc/ldsodefs.h: Likewise.
57042         * sysdeps/x86_64/ldsodefs.h: Likewise.
57044 2012-07-25  Marek Polacek  <polacek@redhat.com>
57046         [BZ #6808]
57047         * math/libm-test.inc (yn_test): Add another test.
57048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57049         to ERANGE when the result is +-Inf.
57050         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57051         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57052         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57053         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57055 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57057         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57058         equal to 0.
57059         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57060         clock_t.
57061         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57063 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57065         * configure.in <sysdeps resolving>: Correct printing
57066         Implies_before.
57067         * configure: Regenerate.
57069 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57071         * math/w_ilogb.c: Include <limits.h>.
57072         * math/w_ilogbl.c: Likewise.
57074 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57076         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57077         va_copy.  Document allowing for unavailable va_copy only as
57078         pre-C99 compatibility.
57079         * manual/string.texi (Copying and Concatenation): Use va_copy
57080         instead of __va_copy in concat example.
57082 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57084         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57085         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57086         it if not null.
57088         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57089         with O_NOLINK passed to __file_name_lookup.
57091         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57092         with O_NOLINK passed to __file_name_lookup.
57094         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57095         negative N or less than NGIDS.
57097         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57098         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57099         enough.  Use memcpy instead of strncpy.
57101 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57103         * elf/Makefile (check-data): Remove.
57104         (localplt.data): New vpath directive.
57105         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57106         instead of $(check-data).
57107         * scripts/data/localplt-generic.data: Move to ...
57108         * sysdeps/generic/localplt.data: ... here.
57109         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57110         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57111         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57113         ... here.
57114         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57116         ... here.
57117         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57119         ... here.
57120         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57122         ... here.
57123         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57125         ... here.
57126         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57128         ... here.
57130 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57132         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57133         PPC32 and PPC64 files.
57134         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57135         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57137 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57139         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57140         __makecontext_ret to ...
57141         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57142         ... here and call exit if uc_link is NULL.  New file.
57143         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57144         __makecontext_ret.S.
57145         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57146         __makecontext_ret to ...
57147         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57148         ... here and call exit if uc_link is NULL.  New file.
57149         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57150         __makecontext_ret.S.
57152 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57154         * elf/elf.h (R_390_IRELATIVE): New definition.
57155         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57156         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57157         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57159         (elf_machine_lazy_rel): Likewise.
57160         * sysdeps/s390/dl-irel.h: New file.
57161         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57162         * sysdeps/s390/s390-64/memset.S: New asm code.
57163         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57164         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57166         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57167         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57168         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57169         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57170         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57171         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57172         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57173         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57174         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57175         * sysdeps/s390/s390-32/memset.S: New asm code.
57176         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57178 2012-07-17  Marek Polacek  <polacek@redhat.com>
57180         [BZ #14349]
57181         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57182         * sysdeps/s390/s390-64/configure.in: Likewise.
57183         * sysdeps/sparc/configure.in: Likewise.
57184         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57185         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57186         * sysdeps/i386/configure.in: Likewise.
57187         * sysdeps/x86_64/configure.in: Likewise.
57188         * sysdeps/sh/configure.in: Likewise.
57189         * sysdeps/s390/s390-32/configure: Regenerated.
57190         * sysdeps/s390/s390-64/configure: Likewise.
57191         * sysdeps/x86_64/configure: Likewise.
57192         * sysdeps/sh/configure: Likewise.
57193         * sysdeps/powerpc/powerpc64/configure: Likewise.
57194         * sysdeps/powerpc/powerpc32/configure: Likewise.
57195         * sysdeps/sparc/configure: Likwise.
57196         * sysdeps/i386/configure: Likewise.
57198         * elf/dl-open.c: Comment fixes.
57200 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57202         * Makefile [CXX] (check-data): Remove.
57203         [CXX] (c++-types.data): New vpath directive.
57204         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57205         vpath.  Do not allow for C++ type data being missing.
57206         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57207         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57208         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57209         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57210         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57211         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57212         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57214         ... here.
57215         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57217         ... here.
57218         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57220         ... here.
57221         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57223         ... here.
57224         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57226         ... here.
57227         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57229         ... here.
57230         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57232         ... here.
57233         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57236         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57237         definitions to architecture-specific files.
57238         (TLS_IE): Likewise.
57239         (TLS_LD): Likewise.
57240         (TLS_GD): Likewise.
57241         * sysdeps/i386/tls-macros.h: New file.
57242         * sysdeps/powerpc/tls-macros.h: Likewise.
57243         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57244         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57245         * sysdeps/sh/tls-macros.h: Likewise.
57246         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57247         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57248         * sysdeps/x86_64/tls-macros.h: Likewise.
57250 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57252         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57253         zero value for regular exit case.
57255         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57256         (__start_context): Preserve zero value for regular exit case.
57258 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57259             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57261         * manual/setjmp.texi (setcontext): Clarify normal process
57262         termination when uc_link is the null pointer.
57263         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57264         exit call.
57266 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57268         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57269         preprocessor.  Test for each exception mask separately.
57271 2012-07-16  Andreas Jaeger  <aj@suse.de>
57273         * po/ru.po: Update from translation team.
57275 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57277         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57278         equal to 0.
57279         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57280         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57281         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57282         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57283         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57285 2012-07-13  Andreas Jaeger  <aj@suse.de>
57287         * po/fr.po: Update from translation team.
57289 2012-07-12  Marek Polacek  <polacek@redhat.com>
57291         [BZ #14173]
57292         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57293         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57294         loop condition.
57296 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57298         [BZ #13717]
57299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57300         Change to 2.4.1 where previously 2.4.0.
57301         * sysdeps/unix/sysv/linux/configure: Regenerated.
57302         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57303         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57304         version.
57305         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57306         (__ASSUME_AT_CLKTCK): Remove.
57307         (__ASSUME_AT_PAGESIZE): Likewise.
57308         (__ASSUME_AT_XID): Likewise.
57309         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57310         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57311         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57312         unconditionally.
57313         (HAVE_AUX_PAGESIZE): Likewise.
57314         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57315         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57316         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57318 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57320         [BZ #14307]
57321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57322         the temporary buffer used to invoke __gethostbyname2_r,
57323         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57324         host_data / struct gaih_addrtuple.
57325         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57326         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57327         header file nss/nsswitch.h.
57328         * nss/nsswitch.h (global scope): Add definition of implementation
57329         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57330         resolv/nss_dns/dns-host.c).
57332 2012-07-11  Andreas Jaeger  <aj@suse.de>
57334         * po/fr.po: Update from translation team.
57336         * po/sv.po: Update from translation team
57337         * po/fr.po: Another update from translation team.
57339 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57341         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57342         for subnormals or multiply small sinh result by itself.
57343         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57346 2012-07-11  David S. Miller  <davem@davemloft.net>
57348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57350 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57352         [BZ #14347]
57353         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57354         (INTERNAL_MARK): Shift it here.
57356 2012-07-10  Marek Polacek  <polacek@redhat.com>
57358         [BZ #14151]
57359         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57360         libc_cv_asm_global_directive with .globl.
57361         * configure: Regenerated.
57362         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57363         with .globl.
57364         * sysdeps/i386/configure: Regenerated.
57365         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57366         with .globl.
57367         * sysdeps/x86_64/configure: Regenerated.
57368         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57369         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57370         * elf/tst-unique2mod2.c: Likewise.
57371         * elf/tst-unique2mod1.c: Likewise.
57372         * elf/tst-unique1mod2.c: Likewise.
57373         * elf/tst-unique1mod1.c: Likewise.
57374         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57375         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57376         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57377         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57378         * sysdeps/mach/sysdep.h: Likewise.
57379         * sysdeps/i386/sysdep.h: Likewise.
57380         * sysdeps/i386/i386-mcount.S: Likewise.
57381         * sysdeps/x86_64/_mcount.S: Likewise.
57382         * sysdeps/x86_64/sysdep.h: Likewise.
57383         * sysdeps/sh/_mcount.S: Likewise.
57384         * sysdeps/sh/sysdep.h: Likewise.
57385         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57386         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57387         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57388         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57389         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57390         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57391         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57392         * locale/localeinfo.h: Likewise.
57393         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57394         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57396 2012-07-09  Roland McGrath  <roland@hack.frob.com>
57398         [BZ #14336]
57399         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57400         system".
57401         * manual/message.texi (The Uniforum approach): Likewise.
57402         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57403         (glibc iconv Implementation): Likewise.
57405 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
57407         [BZ #14337]
57408         * math/s_clog.c (__clog): Avoid scaling a value down where that
57409         could result in underflow.
57410         * math/s_clog10.c (__clog10): Likewise.
57411         * math/s_clog10f.c (__clog10f): Likewise.
57412         * math/s_clog10l.c (__clog10l): Likewise.
57413         * math/s_clogf.c (__clogf): Likewise.
57414         * math/s_clogl.c (__clogl): Likewise.
57415         * math/libm-test.inc (clog_test): Add more tests.
57416         (clog10_test): Likewise.
57417         * sysdeps/i386/fpu/libm-test-ulps: Update.
57418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57420 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
57422         [BZ #14283]
57423         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57424         by 7 not 8 to examine high bit of fractional part.
57426         [BZ #14042]
57427         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57428         for call to __mcount_internal.
57429         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57430         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57431         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57433 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57435         [BZ #14154]
57436         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57437         approximation for values within 0x1p-13f of an odd multiple of
57438         pi/4.
57439         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57440         exception.  Add more tests.
57441         * sysdeps/i386/fpu/libm-test-ulps: Update.
57443         [BZ #6778]
57444         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57445         inputs and return -1 for them.  Do not check for +Inf in case not
57446         reachable for +Inf.
57447         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57448         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57449         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57450         and return -1 for them.  Do not check for +Inf in case not
57451         reachable for +Inf.
57452         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57453         define.
57454         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57455         and return -1 for them.  Do not check for +Inf in case not
57456         reachable for +Inf.
57457         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57458         spurious underflow.
57459         * sysdeps/i386/fpu/libm-test-ulps: Update.
57460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57462 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57464         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57466 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57468         [BZ #14157]
57469         [BZ #14331]
57470         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57471         could result in spurious underflow.  Scale down values above
57472         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57473         * math/s_csqrtf.c (__csqrtf): Likewise.
57474         * math/s_csqrtl.c (__csqrtl): Likewise.
57475         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57476         spurious underflow.
57477         * sysdeps/i386/fpu/libm-test-ulps: Update.
57478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57480 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57482         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57483         xopen-msg.sed.
57484         * catgets/xopen-msg.awk: New file.
57485         * catgets/xopen-msg.sed: Removed.
57487         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57488         po2text.sed.
57489         * intl/po2test.awk: New file.
57490         * intl/po2test.sed: Removed.
57492 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57494         [BZ #14328]
57495         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57496         or multiply small sinh result by itself.
57497         * math/s_ctanf.c (__ctanf): Likewise.
57498         * math/s_ctanh.c (__ctanh): Likewise.
57499         * math/s_ctanhf.c (__ctanhf): Likewise.
57500         * math/s_ctanhl.c (__ctanhl): Likewise.
57501         * math/s_ctanl.c (__ctanl): Likewise.
57502         * math/libm-test.inc (ctan_test_tonearest): New function.
57503         (ctan_test_towardzero): Likewise.
57504         (ctan_test_downward): Likewise.
57505         (ctan_test_upward): Likewise.
57506         (ctanh_test_tonearest): Likewise.
57507         (ctanh_test_towardzero): Likewise.
57508         (ctanh_test_downward): Likewise.
57509         (ctanh_test_upward): Likewise.
57510         (main): Call these new functions.
57511         * sysdeps/i386/fpu/libm-test-ulps: Update.
57512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57514 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57516         * .gitignore: Delete /ports entry.
57518 2012-07-03  Andreas Jaeger  <aj@suse.de>
57520         * po/bg.po: Update from translation team.
57521         * po/cs.po: Likewise.
57522         * po/de.po: Likewise.
57523         * po/hr.po: Likewise.
57524         * po/nl.pl: Likewise.
57525         * po/pl.po: Likewise.
57526         * po/vi.po: Likewise.
57528 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57530         * Makeconfig [!+link] (+link-before-libc): New variable.
57531         [!+link] (+link-after-libc): Likewise.
57532         [!+link] (+link-tests): Likewise.
57533         [!+link] (+link): Define in terms of $(+link-before-libc) and
57534         $(+link-after-libc).
57535         [!+link-static] (+link-static-before-libc): New variable.
57536         [!+link-static] (+link-static-after-libc): Likewise.
57537         [!+link-static] (+link-static-tests): Likewise.
57538         [!+link-static] (+link-static): Define in terms of
57539         $(+link-static-before-libc) and $(+link-static-after-libc).
57540         [build-shared] (link-libc-before-gnulib): New variable.
57541         [build-shared] (link-libc-tests): Likewise.
57542         [build-shared] (link-libc): Define in terms of
57543         $(link-libc-before-gnulib).
57544         [!build-shared] (link-libc-tests): New variable.
57545         (link-libc-static-tests): New variable.
57546         [!gnulib] (gnulib-arch): New variable.
57547         [!gnulib] (gnulib-tests): Likewise.
57548         [!gnulib] (static-gnulib-arch): Likewise.
57549         [!gnulib] (static-gnulib-tests): Likewise.
57550         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57551         Define with "=" instead of ":=".
57552         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57553         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57554         * Rules (binaries-all-notests): New variable.
57555         (binaries-all-tests): Likewise.
57556         (binaries-static-notests): Likewise.
57557         (binaries-static-tests): Likewise.
57558         (binaries-all): Define using $(binaries-all-notests) and
57559         $(binaries-all-tests).
57560         (binaries-static): Define using $(binaries-static-notests) and
57561         $(binaries-static-tests).
57562         (binaries-shared-tests): New variable.
57563         (binaries-shared-notests): Likewise.
57564         (binaries-shared): Remove variable.
57565         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57566         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57567         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57568         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57569         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57570         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57571         * elf/Makefile (sln-modules): New variable.
57572         (extra-objs): Add $(sln-modules:=.o).
57573         (ldconfig-modules): Add static-stubs.
57574         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57575         * elf/static-stubs.c: New file.
57577         [BZ #14283]
57578         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57579         by 7 not 8 to examine high bit of fractional part.  Use volatile
57580         variables when splitting into final array of floats if
57581         __FLT_EVAL_METHOD__ != 0.
57582         * math/libm-test.inc (cos_test): Add another test.
57583         (sin_test): Likewise.
57584         * sysdeps/i386/fpu/libm-test-ulps: Update.
57586         [BZ #14273]
57587         * math/libm-test.inc (cosh_test): Add more tests.
57589         * version.h (RELEASE): Set to "development".
57590         (VERSION): Set to "2.16.90".
57592 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57594         * NEWS: Update copyright. Remove last-updated date.
57595         Mention math library bug fixes and timezone data changes.
57596         * README: Mention GNU/Hurd, x32, and HPPA support status.
57598 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57600         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57602 2012-06-27  Andreas Jaeger  <aj@suse.de>
57604         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57606 2012-06-25  Andreas Jaeger  <aj@suse.de>
57608         * sysdeps/s390/fpu/libm-test-ulps: Update.
57610 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57611             Thomas Schwinge  <thomas@codesourcery.com>
57613         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57614         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57615         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57616         fanotify_mark.
57618 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57620         * sysdeps/mach/start.c: Remove file.
57621         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57622         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57623         * sysdeps/sh/init-first.c: Likewise.
57625         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57626         registers for frame unwinding purposes, add CFI directives.
57627         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57628         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57629         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57630         Likewise.
57632         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57633         __fortify_fail returning.
57634         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57636         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57637         sysdeps/sh/____longjmp_chk.S.
57638         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57639         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57640         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57641         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57643         * sysdeps/sh/abort-instr.h: New file.
57644         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57645         process in case exit returns.
57647         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57648         initialize the GOT register before use.
57650         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57651         calculation of ARGC > 4.
57653         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57654         meaningful names to some local labels.
57656 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57657             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57659         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57660         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57661         (__arch_compare_and_exchange_val_16_acq): Likewise.
57662         (__arch_compare_and_exchange_val_32_acq): Likewise.
57663         (atomic_exchange_and_add): Fix gUSA sequence.
57664         (atomic_add): Likewise.
57665         (atomic_add_negative): Likewise.
57666         (atomic_add_zero): Likewise.
57667         (atomic_bit_test_set): Likewise.
57669 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57671         [BZ #13579]
57672         * include/link.h (struct link_map): Add l_free_initfini.
57673         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57674         l_initfini.
57675         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57676         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57677         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57678         set.
57680 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57682         * configure.in: Use AC_LANG_SOURCE.
57683         * configure: Regenerate.
57685 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57687         * configure.in (libc_cv_localstatedir): New substituted variable.
57688         * configure: Regenerated.
57689         * config.make.in (localstatedir): New variable, substituted from
57690         libc_cv_localstatedir.
57691         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57692         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57693         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57694         * sysdeps/gnu/configure: Regenerated.
57696 2012-06-21  Jeff Law  <law@redhat.com>
57698         [BZ #14277]
57699         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57700         free.  Simplify list management for _LIBC case.
57702 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57704         [BZ #14273]
57705         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57706         Clear sign bit of 64-bit integer value before comparing against
57707         overflow value.
57709         * sysdeps/mach/configure: Regenerated.
57711 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57713         [BZ #14278]
57714         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57716 2012-06-21  Jeff Law  <law@redhat.com>
57718         [BZ #13882]
57719         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57720         uint16_t for elements in the "seen" array to avoid char overflows.
57721         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57722         * elf/dl-open.c (dl_open_worker): Likewise.
57724 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57726         * scripts/list-sources.sh: Scan PORTS for translations.
57727         * po/libc.pot: Regenerated.
57729 2012-06-21  Andreas Jaeger  <aj@suse.de>
57731         [BZ #12194]
57732         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57733         warning.
57734         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57735         * bits/byteswap-16.h (__bswap_16): Likewise.
57736         * bits/byteswap.h (__bswap_constant_16): Likewise.
57738 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57740         [BZ #14117]
57741         * sysdeps/i386/fpu_control.h: Removed.
57742         * sysdeps/x86_64/fpu_control.h: Moved to ...
57743         * sysdeps/x86/fpu_control.h: Here.
57745         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57746         (_FPU_SETCW): Likewise.
57748 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57750         [BZ #14117]
57751         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57752         * sysdeps/x86/fpu/bits/mathinline.h: This.
57753         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57755         [BZ #14050]
57756         [BZ #14117]
57757         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57758         functions if __x86_64__ is defined.
57760 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57762         * string/endian.h: Add !__ASSEMBLER__ condition for including
57763         conversion interfaces.
57765 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57767         [BZ #14241]
57768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57769         of ABS(x) in calculating zero to negative powers other than odd
57770         integers.
57771         * math/libm-test.inc (pow_test): Add more tests.
57773 2012-06-15  Andreas Jaeger  <aj@suse.de>
57775         * manual/contrib.texi (Contributors): Update entry of Liubov
57776         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57777         Machado Filho.
57779 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57781         * string/string.h: Add __wur to GNU version of strerror_r.
57783 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57785         [BZ #14229]
57786         * string/Makefile (tests): Add tst-strtok_r.
57787         * string/tst-strtok_r.c: New file.
57788         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57789         RAX_LP/RDX_LP on SAVE_PTR.
57791 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57793         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57795 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57797         * libm_test.inc (csqrt_test): Allow more spurious underflow
57798         exceptions.
57799         (j0_test): Likewise.
57800         (j1_test): Likewise.
57801         (y0_test): Likewise.
57802         (y1_test): Likewise.
57804 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57806         * po/Makefile (libc.pot): Use UTF-8 charset.
57808 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57810         [BZ #14210]
57811         Suppress sign-conversion warning from FD_SET.
57812         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57813         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57814         not unsigned long int.
57815         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57817 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57819         [BZ #14050]
57820         [BZ #14117]
57821         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57822         __extern_always_inline instead of __extern_inline.
57823         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57824         (__signbit): Likewise.
57825         (__signbitl): Support C++ namespace.
57826         (lrintf): New inline function.
57827         (lrint): Likewise.
57828         (llrintf): Likewise.
57829         (llrint): Likewise.
57830         (fmaxf): Likewise.
57831         (fmax): Likewise.
57832         (fminf): Likewise.
57833         (fmin): Likewise.
57834         (rint): Likewise.
57835         (rintf): Likewise.
57836         (ceil): Likewise.
57837         (ceilf): Likewise.
57838         (floor): Likewise.
57839         (floorf): Likewise.
57840         (nearbyint): Likewise.
57841         (nearbyintf): Likewise.
57843 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57845         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57846         non-default versions.
57848 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57850         [BZ #14218]
57851         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57853 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57855         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57856         (FE_UPWARD, FE_DOWNWARD): Don't define.
57857         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57858         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57860         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57861         reading it.
57862         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57863         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57865 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57867         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57868         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57869         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57870         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57872 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57874         [BZ #14117]
57875         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57876         * sysdeps/i386/fpu/Implies: New file.
57877         * sysdeps/x86_64/fpu/Implies: Likewise.
57878         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57879         * sysdeps/x86/fpu/bits/fenv.h: This.
57881         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57882         __SSE_MATH__.
57884 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57886         [BZ #14134]
57887         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57888         character 0xffff that matches the last element of the
57889         conversion table.
57891 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57894         fmodl commit.
57896 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57899         values higher than 25.6283.
57901 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57903         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57904         subnormal exponent extraction and add some __builtin_expect.
57905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57906         Fix for subnormal mantissa calculation.
57908 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57910         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57911         cpu2 is -1 and errno is not ENOSYS.
57913 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57915         [BZ #14117]
57916         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57917         * sysdeps/x86/bits/string.h: This.
57918         * sysdeps/x86_64/bits/string.h: Removed.
57920         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57921         if not compiling for x86-64, but compiling for >= i486.
57923         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57924         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57926         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57927         New macro from Linux kernel 3.4.0.
57928         (FP_XSTATE_MAGIC2): Likewise.
57929         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57930         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57931         (struct _fpx_sw_bytes): New struct.
57932         (struct _xsave_hdr): Likewise.
57933         (struct _ymmh_state): Likewise.
57934         (struct _xstate): Likewise.
57936         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57937         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57938         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57939         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57940         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57941         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57943         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57944         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57945         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57946         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57947         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57948         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57950 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57952         [BZ #13743]
57953         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57954         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57955         (sysdep_headers): Include sys/platform/ppc.h.
57956         * sysdeps/powerpc/test-gettimebase.c: Test for
57957         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57958         * manual/Makefile (appendices): Include platform.texi.
57959         * manual/contrib.texi (Contributors): Update @node pointers.
57960         * manual/maint.texi (Maintenance): Likewise.
57961         (Platform): New node.
57962         * manual/platform.texi: New file.  Document the new features.
57964 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57965             Jakub Jelinek  <jakub@redhat.com>
57967         [BZ #14188]
57968         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57969         where __builtin_expect is unavailable.
57971 2012-06-03  David S. Miller  <davem@davemloft.net>
57973         * stdlib/longlong.h: Updated from GCC.
57975 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57977         [BZ #14042]
57978         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57979         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57980         __mcount_internal.
57981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57982         (GLIBC_2.16): Likewise.
57984 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57986         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57988 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57991         (default-abi): New variable.
57992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57993         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57994         variable.
57995         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57996         Likewise.
57997         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57998         Likewise.
57999         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58000         Likewise.
58002         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58003         definition.  Document in comment.
58005 2012-06-01  David S. Miller  <davem@davemloft.net>
58007         * stdlib/longlong.h: Updated from GCC.
58009 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58011         [BZ #14117]
58012         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58013         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58014         sys/debugreg.h sys/io.h here.
58015         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58016         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58017         sys/io.h.
58018         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58019         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58020         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58021         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58022         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58023         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58025         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58026         Define only if __x86_64__ is defined.
58028 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58030         [BZ #14048]
58031         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58032         Use int64_t for variable i.
58033         * math/libm-test.inc (fmod_test): Add more tests.
58035         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58036         z computation is not scheduled after fetestexcept.
58037         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58038         Use math_force_eval instead of asm to ensure calculation scheduled
58039         before exception test.
58040         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58041         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58043 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58046         computation is not scheduled after fetestexcept.
58048 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58050         [BZ #14117]
58051         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58052         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58054 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58056         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58057         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58059 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58061         [BZ #14117]
58062         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58063         <bits/wordsize.h>.
58064         (__WCHAR_MIN): Support __WORDSIZE == 64.
58065         (__WCHAR_MAX): Likewise.
58067         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58068         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58070         [BZ #14183]
58071         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58072         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58074         [BZ #14117]
58075         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58076         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58078         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58079         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58081         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58082         Defined to 1 if __x86_64__ isn't defined.
58083         (_STAT_VER_LINUX_OLD): New.
58084         (st_atime): Remove duplicate.
58085         (st_mtime): Likewise.
58086         (st_ctime): Likewise.
58088 2012-05-31  David S. Miller  <davem@davemloft.net>
58090         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58091         entries.
58093 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58095         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58096         gen-libm-test.pl.
58098         [BZ #14132]
58099         * elf/dl-reloc.c: Include <_itoa.h>.
58100         (_dl_reloc_bad_type): Remove use of INTUSE.
58101         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58102         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58103         * stdio-common/psiginfo.c (psiginfo): Likewise.
58104         * stdio-common/psignal.c (psignal): Likewise.
58105         * string/strsignal.c (strsignal): Likewise.
58106         * include/signal.h (_sys_siglist): Declare hidden proto.
58107         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58108         INTVARDEF with libc_hidden_data_def.
58109         * stdio-common/itoa-udigits.c: Likewise.
58110         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58111         (_itoa_lower_digits_internal): Remove declaration.
58112         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58113         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58114         (_sys_sigabbrev_internal): Remove aliases.
58115         (_sys_siglist): Define hidden alias.
58117 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58120         bits/sysctl.h.
58122 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58124         [BZ #14117]
58125         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58126         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58128         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58129         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58130         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58131         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58132         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58133         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58135         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58136         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58137         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58139         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58140         with __addr.
58141         (insw): Likewise.
58142         (insl): Likewise.
58143         (outsb): Likewise.
58144         (outsw): Likewise.
58145         (outsl): Likewise.
58147         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58148         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58149         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58151         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58152         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58153         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58154         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58155         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58156         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58158         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58159         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58161         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58162         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58164         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58165         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58166         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58168         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58169         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58170         to ...
58171         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58173         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58174         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58175         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58177         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58178         for x86-64.
58179         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58181 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58183         * math/math.h (M_El): Use two more decimal places.
58184         (M_LOG2El): Likewise.
58185         (M_LOG10El): Likewise.
58186         (M_LN2l): Likewise.
58187         (M_LN10l): Likewise.
58188         (M_PIl): Likewise.
58189         (M_PI_2l): Likewise.
58190         (M_PI_4l): Likewise.
58191         (M_1_PIl): Likewise.
58192         (M_2_PIl): Likewise.
58193         (M_2_SQRTPIl): Likewise.
58194         (M_SQRT2l): Likewise.
58195         (M_SQRT1_2l): Likewise.
58197 2012-05-31  David S. Miller  <davem@davemloft.net>
58199         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58200         values between float registers.
58201         * sysdeps/sparc/sparc64/memset.S: Likewise.
58202         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58204 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58206         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58207         -D_FORTIFY_SOURCE=1.
58208         (CPPFLAGS-tst-longjmp_chk.c): Define.
58209         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58210         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58211         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58212         CFLAGS-tst-wchar-h.c.
58214 2012-05-31  Marek Polacek  <polacek@redhat.com>
58216         [BZ #14132]
58217         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58218         __endmntent_internal): Remove declaration.
58219         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58220         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58221         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58223 2012-05-30  David S. Miller  <davem@davemloft.net>
58225         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58226         (___Q_simulate_exceptions): Use real FP ops rather than writing
58227         into the %fsr.
58228         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58229         Likewise.
58231 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58233         [BZ #14117]
58234         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58235         * sysdeps/x86/bits/xtitypes.h: This.
58237         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58238         * sysdeps/x86/bits/wordsize.h: This.
58240         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58241         * sysdeps/x86/bits/huge_vall.h: This.
58243         * sysdeps/i386/bits/select.h: Removed.
58244         * sysdeps/x86_64/bits/select.h: Renamed to ...
58245         * sysdeps/x86/bits/select.h: This.
58247         * sysdeps/i386/bits/setjmp.h: Removed.
58248         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58249         * sysdeps/x86/bits/setjmp.h: This.
58251         * sysdeps/i386/bits/mathdef.h: Removed.
58252         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58253         * sysdeps/x86/bits/mathdef.h: This.
58255 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58257         [BZ #14132]
58258         * include/sys/socket.h (__connect_internal)
58259         (__libc_sa_len_internal): Remove declaration.
58260         (__connect, __libc_sa_len): Declare hidden_proto.
58261         (SA_LEN): Remove use of INTUSE.
58262         * socket/connect.c: Add libc_hidden_def.
58263         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58264         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58265         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58266         alias.
58267         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58268         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58269         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58270         of adding _internal alias.
58272 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58274         [BZ #14117]
58275         * sysdeps/i386/bits/link.h: Removed.
58276         * sysdeps/i386/bits/linkmap.h: Likewise.
58277         * sysdeps/x86_64/bits/link.h: Renamed to ...
58278         * sysdeps/x86/bits/link.h: This.
58279         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58280         * sysdeps/x86/bits/linkmap.h: This.
58282         * sysdeps/i386/bits/endian.h: Removed.
58283         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58284         * sysdeps/x86/bits/endian.h: This.
58286         * sysdeps/i386/bits/byteswap.h: Removed.
58287         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58288         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58289         * sysdeps/x86/bits/byteswap.h: This.
58290         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58291         * sysdeps/x86/bits/byteswap-16.h: This.
58292         * sysdeps/i386/Implies: Add x86.
58293         * sysdeps/x86_64/Implies: Likewise.
58295 2012-05-30  David S. Miller  <davem@davemloft.net>
58297         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58298         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58299         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58300         (FP_TRAPPING_EXCEPTIONS): Define.
58301         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58302         (FP_TRAPPING_EXCEPTIONS): Define.
58303         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58304         subnormals only when inexact has been signalled or underflow
58305         exceptions are enabled.
58306         (_FP_PACK_CANONICAL): Likewise.
58308 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58310         [BZ #14183]
58311         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58312         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58314 2012-05-30  Richard Henderson  <rth@twiddle.net>
58316         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58317         with #ifndef NOT_IN_libc.
58319         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58320         marked to avoid plt entry.
58322 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58324         [BZ #14112]
58325         * Makeconfig (default-abi): New macro.
58326         (abi-includes): Likewise.
58327         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58328         $(abi-$(default-abi)-lib-soname) for soname if defined.
58329         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58330         abi-variants.
58331         * Makefile (installed-stubs): Likewise.
58332         * include/stubs-biarch.h: Removed.
58333         * scripts/lib-names.awk: Only handle one library at a time.
58334         * scripts/soversions.awk: Remove WORDSIZE support.
58335         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58336         entries.
58337         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58338         Removed.
58339         (syscall-list-default-condition): Likewise.
58340         (syscall-list-default-condition): Likewise.
58341         (syscall-list-includes): Likewise.
58342         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58343         syscall-list-* with abi-*.  Handle undefined abi-variants.
58344         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58345         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58346         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58347         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58348         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58349         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58350         Removed.
58351         (syscall-list-32-options): Likewise.
58352         (syscall-list-32-condition): Likewise.
58353         (syscall-list-64-options): Likewise.
58354         (syscall-list-64-condition): Likewise.
58355         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58356         macro.
58357         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58358         Renamed to ...
58359         (abi-*): This.
58360         (abi-64-ld-soname): New macro.
58361         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58362         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58363         Renamed to ...
58364         (abi-*): This.
58365         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58366         * sysdeps/x86_64/x32/shlib-versions: Likewise.
58368 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
58370         * sysdeps/unix/sysv/linux/kernel-features.h
58371         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58372         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58373         include <kernel-features.h>.
58374         [!__NR_ftruncate64]: Remove conditional code.
58375         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58376         [__NR_ftruncate64]: Make code unconditional.
58377         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58378         * sysdeps/unix/sysv/linux/truncate64.c: Do not
58379         include <kernel-features.h>.
58380         [!__NR_ftruncate64]: Remove conditional code.
58381         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58382         [__NR_ftruncate64]: Make code unconditional.
58383         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58385         include <kernel-features.h>.
58386         [!__NR_ftruncate64]: Remove conditional code.
58387         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58388         [__NR_ftruncate64]: Make code unconditional.
58389         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58391         include <kernel-features.h>.
58392         [!__NR_ftruncate64]: Remove conditional code.
58393         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58394         [__NR_ftruncate64]: Make code unconditional.
58395         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58397         * configure.in (libc_cv_fpie): Weaken to a compile test using
58398         LIBC_TRY_CC_OPTION.
58399         * configure: Regenerated.
58401 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58407         Refreshed.
58408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58414         Refreshed.
58416 2012-05-27  David S. Miller  <davem@davemloft.net>
58418         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58419         (___Q_zero): New.
58420         (__Q_simulate_exceptions): Return void.  Change to simulate
58421         exceptions by writing into the %fsr.
58422         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58423         (__Qp_handle_exceptions): Likewise.
58424         (numbers): Delete.
58425         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58426         __Qp_handle_exceptions.
58427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58428         __Qp_handle_exceptions.
58429         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58430         as unused and give dummy FP_RND_NEAREST initializer.
58431         (FP_INHIBIT_RESULTS): Define.
58432         (___Q_simulate_exceptions): Update declaration.
58433         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58434         formatting.
58435         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58436         as unused and give dummy FP_RND_NEAREST initializer.
58437         (__Qp_handle_exceptions): Update declaration.
58438         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58439         formatting.
58441 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58443         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58444         the temporary FPU control word.
58445         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58446         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58447         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58448         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58449         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58450         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58451         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58453         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58454         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58455         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58457 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58459         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58460         fields.
58462 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58464         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58465         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58466         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58467         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58468         Likewise.
58469         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58470         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58471         Likewise.
58473 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58475         * po/h.po: Update from translation team.
58477 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58479         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58481         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58482         handling of denormals.
58483         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58484         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58485         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58486         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58488         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58489         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58490         Likewise.
58492 2012-05-26  Marek Polacek  <polacek@redhat.com>
58494         [BZ #14152]
58495         * math/libm-test.inc (fma_test): Don't always expect underflow
58496         exception.
58498 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58500         [BZ #12416]
58501         * elf/tst-execstack.c: Include stackinfo.h.
58502         (do_test): Adjust test case to ensure that pthread_getattr_np
58503         behaviour remains the same after marking stack executable.
58505 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58507         * sysdeps/unix/sysv/linux/kernel-features.h
58508         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58509         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58510         kernel-features.h.
58511         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58512         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58513         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58514         kernel-features.h.
58515         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58516         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58518 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58520         * configure.in: Define the default includes to being none.
58521         * configure: Regenerated.
58523 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58525         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58526         * sysdeps/x86_64/setjmp.S: Likewise.
58527         * sysdeps/i386/bsd-setjmp.S: Likewise.
58528         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58529         * sysdeps/i386/setjmp.S: Likewise.
58530         * sysdeps/i386/__longjmp.S: Likewise.
58531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58532         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58534         * include/stap-probe.h: New file.
58535         * configure.in: Handle --enable-systemtap.
58536         * configure: Regenerated.
58537         * config.h.in (USE_STAP_PROBE): New #undef.
58538         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58539         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58540         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58542 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58544         [BZ #13717]
58545         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58546         to 2.4.0 where earlier.
58547         * sysdeps/unix/sysv/linux/configure: Regenerated.
58548         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58549         <kernel-features.h>.
58550         [__ASSUME_32BITUIDS]: Make code unconditional.
58551         [!__ASSUME_32BITUIDS]: Remove conditional code.
58552         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58553         <kernel-features.h>.
58554         [__ASSUME_32BITUIDS]: Make code unconditional.
58555         [!__ASSUME_32BITUIDS]: Remove conditional code.
58556         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58557         [__ASSUME_32BITUIDS]: Make code unconditional.
58558         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58559         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58560         <kernel-features.h>.
58561         [__ASSUME_32BITUIDS]: Make code unconditional.
58562         [!__ASSUME_32BITUIDS]: Remove conditional code.
58563         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58564         <kernel-features.h>.
58565         [__ASSUME_32BITUIDS]: Make code unconditional.
58566         [!__ASSUME_32BITUIDS]: Remove conditional code.
58567         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58568         <kernel-features.h>.
58569         [__ASSUME_32BITUIDS]: Make code unconditional.
58570         [!__ASSUME_32BITUIDS]: Remove conditional code.
58571         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58572         <kernel-features.h>.
58573         [__ASSUME_32BITUIDS]: Make code unconditional.
58574         [!__ASSUME_32BITUIDS]: Remove conditional code.
58575         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58576         <kernel-features.h>.
58577         [__ASSUME_32BITUIDS]: Make code unconditional.
58578         [!__ASSUME_32BITUIDS]: Remove conditional code.
58579         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58580         <kernel-features.h>.
58581         [__ASSUME_32BITUIDS]: Make code unconditional.
58582         [!__ASSUME_32BITUIDS]: Remove conditional code.
58583         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58584         <kernel-features.h>.
58585         [__ASSUME_32BITUIDS]: Make code unconditional.
58586         [!__ASSUME_32BITUIDS]: Remove conditional code.
58587         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58588         <kernel-features.h>.
58589         [__ASSUME_32BITUIDS]: Make code unconditional.
58590         [!__ASSUME_32BITUIDS]: Remove conditional code.
58591         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58592         <kernel-features.h>.
58593         [__ASSUME_32BITUIDS]: Make code unconditional.
58594         [!__ASSUME_32BITUIDS]: Remove conditional code.
58595         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58596         <kernel-features.h>.
58597         [__ASSUME_32BITUIDS]: Make code unconditional.
58598         [!__ASSUME_32BITUIDS]: Remove conditional code.
58599         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58600         <kernel-features.h>.
58601         [__NR_setresgid] (__setresgid): Do not declare.
58602         [__ASSUME_32BITUIDS]: Make code unconditional.
58603         [!__ASSUME_32BITUIDS]: Remove conditional code.
58604         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58605         <kernel-features.h>.
58606         [__NR_setresuid] (__setresuid): Do not declare.
58607         [__ASSUME_32BITUIDS]: Make code unconditional.
58608         [!__ASSUME_32BITUIDS]: Remove conditional code.
58609         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58610         <kernel-features.h>.
58611         [__ASSUME_32BITUIDS]: Make code unconditional.
58612         [!__ASSUME_32BITUIDS]: Remove conditional code.
58613         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58614         <kernel-features.h>.
58615         [__ASSUME_32BITUIDS]: Make code unconditional.
58616         [!__ASSUME_32BITUIDS]: Remove conditional code.
58617         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58618         <kernel-features.h>.
58619         [__ASSUME_32BITUIDS]: Make code unconditional.
58620         [!__ASSUME_32BITUIDS]: Remove conditional code.
58621         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58622         <kernel-features.h>.
58623         [__ASSUME_32BITUIDS]: Make code unconditional.
58624         [!__ASSUME_32BITUIDS]: Remove conditional code.
58625         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58626         <kernel-features.h>.
58627         [__ASSUME_32BITUIDS]: Make code unconditional.
58628         [!__ASSUME_32BITUIDS]: Remove conditional code.
58629         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58630         <kernel-features.h>.
58631         [__ASSUME_32BITUIDS]: Make code unconditional.
58632         [!__ASSUME_32BITUIDS]: Remove conditional code.
58633         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58634         <kernel-features.h>.
58635         [__ASSUME_32BITUIDS]: Make code unconditional.
58636         [!__ASSUME_32BITUIDS]: Remove conditional code.
58637         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58638         <kernel-features.h>.
58639         [__ASSUME_32BITUIDS]: Make code unconditional.
58640         [!__ASSUME_32BITUIDS]: Remove conditional code.
58641         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58642         <kernel-features.h>.
58643         [__ASSUME_32BITUIDS]: Make code unconditional.
58644         [!__ASSUME_32BITUIDS]: Remove conditional code.
58645         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58646         <kernel-features.h>.
58647         [__ASSUME_32BITUIDS]: Make code unconditional.
58648         [!__ASSUME_32BITUIDS]: Remove conditional code.
58649         * sysdeps/unix/sysv/linux/kernel-features.h
58650         (__ASSUME_SETRESUID_SYSCALL): Remove.
58651         (__ASSUME_SETRESGID_SYSCALL): Likewise.
58652         (__ASSUME_32BITUIDS): Likewise.
58653         (__ASSUME_LDT_WORKS): Likewise.
58654         (__ASSUME_O_DIRECTORY): Likewise.
58655         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58656         architecture but not kernel version.
58657         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58658         (__ASSUME_MMAP2_SYSCALL): Likewise.
58659         (__ASSUME_STAT64_SYSCALL): Likewise.
58660         (__ASSUME_IPC64): Likewise.
58661         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58662         <kernel-features.h>.
58663         [__ASSUME_32BITUIDS]: Make code unconditional.
58664         [!__ASSUME_32BITUIDS]: Remove conditional code.
58665         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58666         <kernel-features.h>.
58667         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58668         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58669         132096]: Remove conditional code.
58670         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58671         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58672         <kernel-features.h>.
58673         [__ASSUME_32BITUIDS]: Make code unconditional.
58674         [!__ASSUME_32BITUIDS]: Remove conditional code.
58675         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58676         <kernel-features.h>.
58677         [__ASSUME_32BITUIDS]: Make code unconditional.
58678         [!__ASSUME_32BITUIDS]: Remove conditional code.
58679         * sysdeps/unix/sysv/linux/setegid.c: Do not include
58680         <kernel-features.h>.
58681         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58682         unconditional.
58683         (__setresgid): Do not declare.
58684         [__ASSUME_32BITUIDS]: Make code unconditional.
58685         [!__ASSUME_32BITUIDS]: Remove conditional code.
58686         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58687         <kernel-features.h>.
58688         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58689         unconditional.
58690         (__setresuid): Do not declare.
58691         [__ASSUME_32BITUIDS]: Make code unconditional.
58692         [!__ASSUME_32BITUIDS]: Remove conditional code.
58693         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58694         <kernel-features.h>.
58695         [__ASSUME_32BITUIDS]: Make code unconditional.
58696         [!__ASSUME_32BITUIDS]: Remove conditional code.
58697         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58698         <kernel-features.h>.
58699         [__ASSUME_32BITUIDS]: Make code unconditional.
58700         [!__ASSUME_32BITUIDS]: Remove conditional code.
58702 2012-05-25  Richard Henderson  <rth@twiddle.net>
58704         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58705         dl_hwcap to ifunc resolver.
58706         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58707         elf_ifunc_invoke.
58708         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58709         dl_hwcap to ifunc resolver.
58710         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58712 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58714         [BZ #14153]
58715         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58716         for |x| <= 2**-26, not 2**-57.
58717         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58718         exception.
58720 2012-05-24  Jeff Law  <law@redhat.com>
58722         * stdio-common/Makefile (tests): Add bug25.
58723         * stdio-common/bug25.c: New test.
58725 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58727         [BZ #13576]
58728         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58729         multiple of MALLOC_ALIGNMENT in size.
58730         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58732 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58734         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58735         Require >= 256.
58736         (FILENAME_MAX): Use macro-int-constant.
58737         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58738         (_IOFBF): Use macro-int-constant.
58739         (_IOLBF): Likewise.
58740         (_IONBF): Likewise.
58741         (SEEK_CUR): Likewise.
58742         (SEEK_END): Likewise.
58743         (SEEK_SET): Likewise.
58744         (TMP_MAX): Likewise.
58745         (EOF): Use macro-int-constant.  Require < 0.
58746         (NULL): Use macro-constant.  Require == 0.
58747         (stdin): Require type to be FILE *.
58748         (stdout): Likewise.
58749         (stderr): Likewise.
58750         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58751         macro-int-constant.
58752         (EXIT_SUCCESS): Likewise.
58753         (NULL): Use macro-constant.  Require == 0.
58754         (RAND_MAX): Use macro-int-constant.
58755         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58756         [C99-based standards] (strtof): Require function.
58757         [C99-based standards] (strtold): Likewise.
58758         [C99-based standards] (strtoll): Likewise.
58759         [C99-based standards] (strtoull): Likewise.
58760         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58761         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58762         [ISO || ISO99 || ISO11] (math.h): Likewise.
58763         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58764         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58767 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58769         [BZ #14132]
58770         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58771         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58772         * intl/dgettext.c (DCGETTEXT): Likewise.
58773         * intl/gettext.c (DCGETTEXT): Likewise.
58774         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58775         * posix/regex_internal.h (gettext): Likewise.
58776         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58777         Remove declaration.
58778         * include/argz.h (__argz_count_internal)
58779         (__argz_stringify_internal): Remove declaration.
58780         (__argz_count, __argz_stringify): Declare hidden proto.
58781         * intl/dcgettext.c: Remove use of INTDEF.
58782         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58783         * string/argz-stringify.c: Likewise.
58784         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58785         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58786         Declare hidden proto.
58787         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58788         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58789         Declare hidden proto.
58790         * include/stdio.h (__asprintf_internal): Don't declare.
58791         (__asprintf): Don't define as macro.  Declare hidden proto.
58792         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58793         (__fsetlocking): Declare hidden proto.
58794         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58795         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58796         hidden proto.
58797         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58798         (_IO_setlinebuf): Remove use of INTUSE.
58799         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58800         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58801         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58802         Remove declaration.
58803         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58804         (_IO_do_flush): Remove use of INTUSE.
58805         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58806         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58807         (_IO_adjust_column, _IO_least_wmarker)
58808         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58809         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58810         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58811         (_IO_default_doallocate, _IO_wdefault_doallocate)
58812         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58813         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58814         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58815         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58816         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58817         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58818         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58819         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58820         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58821         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58822         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58823         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58824         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58825         proto.
58826         (_IO_flush_all_internal, _IO_adjust_column_internal)
58827         (_IO_default_uflow_internal, _IO_default_finish_internal)
58828         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58829         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58830         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58831         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58832         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58833         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58834         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58835         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58836         (_IO_file_close_internal, _IO_file_close_it_internal)
58837         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58838         (_IO_file_init_internal, _IO_file_attach_internal)
58839         (_IO_file_fopen_internal, _IO_file_read_internal)
58840         (_IO_file_sync_internal, _IO_file_seek_internal)
58841         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58842         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58843         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58844         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58845         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58846         (_IO_list_all_internal, _IO_link_in_internal)
58847         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58848         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58849         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58850         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58851         (_IO_do_write_internal, _IO_padn_internal)
58852         (_IO_getline_info_internal, _IO_getline_internal)
58853         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58854         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58855         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58856         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58857         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58858         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58859         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58860         with libc_hidden_ver, remove use of INTUSE.
58861         * libio/genops.c: Likewise.
58862         * libio/freopen.c: Likewise.
58863         * libio/freopen64.c: Likewise.
58864         * libio/iofclose.c: Likewise.
58865         * libio/iofdopen.c: Likewise.
58866         * libio/iofflush.c: Likewise.
58867         * libio/iofflush_u.c: Likewise.
58868         * libio/iofgets.c: Likewise.
58869         * libio/iofgets_u.c: Likewise.
58870         * libio/iofopen.c: Likewise.
58871         * libio/iofopncook.c: Likewise.
58872         * libio/iofread.c: Likewise.
58873         * libio/iofread_u.c: Likewise.
58874         * libio/ioftell.c: Likewise.
58875         * libio/iofwrite.c: Likewise.
58876         * libio/iogetline.c: Likewise.
58877         * libio/iogets.c: Likewise.
58878         * libio/iogetwline.c: Likewise.
58879         * libio/iopadn.c: Likewise.
58880         * libio/iopopen.c: Likewise.
58881         * libio/ioseekoff.c: Likewise.
58882         * libio/ioseekpos.c: Likewise.
58883         * libio/iosetbuffer.c: Likewise.
58884         * libio/iosetvbuf.c: Likewise.
58885         * libio/ioungetc.c: Likewise.
58886         * libio/ioungetwc.c: Likewise.
58887         * libio/iovdprintf.c: Likewise.
58888         * libio/iovsprintf.c: Likewise.
58889         * libio/iovsscanf.c: Likewise.
58890         * libio/memstream.c: Likewise.
58891         * libio/obprintf.c: Likewise.
58892         * libio/oldfileops.c: Likewise.
58893         * libio/oldiofclose.c: Likewise.
58894         * libio/oldiofdopen.c: Likewise.
58895         * libio/oldiofopen.c: Likewise.
58896         * libio/oldiopopen.c: Likewise.
58897         * libio/oldstdfiles.c: Likewise.
58898         * libio/putc.c: Likewise.
58899         * libio/setbuf.c: Likewise.
58900         * libio/setlinebuf.c: Likewise.
58901         * libio/stdfiles.c: Likewise.
58902         * libio/strops.c: Likewise.
58903         * libio/vasprintf.c: Likewise.
58904         * libio/vscanf.c: Likewise.
58905         * libio/vsnprintf.c: Likewise.
58906         * libio/vswprintf.c: Likewise.
58907         * libio/wfiledoalloc.c: Likewise.
58908         * libio/wfileops.c: Likewise.
58909         * libio/wgenops.c: Likewise.
58910         * libio/wmemstream.c: Likewise.
58911         * libio/wstrops.c: Likewise.
58912         * libio/__fpurge.c: Likewise.
58913         * libio/__fsetlocking.c: Likewise.
58914         * assert/assert.c: Likewise.
58915         * debug/fgets_chk.c: Likewise.
58916         * debug/fgets_u_chk.c: Likewise.
58917         * debug/fread_chk.c: Likewise.
58918         * debug/fread_u_chk.c: Likewise.
58919         * debug/gets_chk.c: Likewise.
58920         * debug/obprintf_chk.c: Likewise.
58921         * debug/vasprintf_chk.c: Likewise.
58922         * debug/vdprintf_chk.c: Likewise.
58923         * debug/vsnprintf_chk.c: Likewise.
58924         * debug/vsprintf_chk.c: Likewise.
58925         * malloc/mtrace.c: Likewise.
58926         * misc/error.c: Likewise.
58927         * misc/syslog.c: Likewise.
58928         * stdio-common/asprintf.c: Likewise.
58929         * stdio-common/fxprintf.c: Likewise.
58930         * stdio-common/getw.c: Likewise.
58931         * stdio-common/isoc99_fscanf.c: Likewise.
58932         * stdio-common/isoc99_scanf.c: Likewise.
58933         * stdio-common/isoc99_vfscanf.c: Likewise.
58934         * stdio-common/isoc99_vscanf.c: Likewise.
58935         * stdio-common/isoc99_vsscanf.c: Likewise.
58936         * stdio-common/printf-prs.c: Likewise.
58937         * stdio-common/printf_fp.c: Likewise.
58938         * stdio-common/printf_fphex.c: Likewise.
58939         * stdio-common/printf_size.c: Likewise.
58940         * stdio-common/putw.c: Likewise.
58941         * stdio-common/scanf.c: Likewise.
58942         * stdio-common/sprintf.c: Likewise.
58943         * stdio-common/tmpfile.c: Likewise.
58944         * stdio-common/vfprintf.c: Likewise.
58945         * stdio-common/vfscanf.c: Likewise.
58946         * stdlib/strfmon_l.c: Likewise.
58947         * sunrpc/openchild.c: Likewise.
58948         * sunrpc/xdr_stdio.c: Likewise.
58949         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58950         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58952 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58954         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58956         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58957         in the third column, to generate for the shared library an IFUNC
58958         that uses _dl_vdso_vsym.
58959         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58960         * Makeconfig (object-suffixes-noshared): New variable.
58962         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58963         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58964         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58965         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58967         [BZ #14132]
58968         * include/sys/time.h (__gettimeofday): Remove macro.
58969         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58970         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58971         Remove INTDEF.
58972         (__gettimeofday): Add libc_hidden_def.
58973         (gettimeofday): Add libc_hidden_weak.
58974         * sysdeps/mach/gettimeofday.c: Likewise.
58975         * sysdeps/posix/gettimeofday.c: Likewise.
58976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58977         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58978         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58979         (__gettimeofday_internal): Remove strong_alias.
58980         (__gettimeofday): Add libc_hidden_def.
58981         (gettimeofday): Add libc_hidden_weak.
58982         * sysdeps/unix/syscalls.list (gettimeofday):
58983         Remove __gettimeofday_internal alias.
58985 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58986             H.J. Lu  <hongjiu.lu@intel.com>
58988         [BZ #12495]
58989         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58990         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58991         (largebin_index_32_big): New.
58992         (largebin_index): Use it for 16-byte alignment.
58993         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58994         correction with front_misalign.
58996 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59000         Likewise.
59001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59002         Likewise.
59003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59004         Likewise.
59005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59006         Likewise.
59007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59008         Likewise.
59009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59010         Likewise.
59011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59012         Likewise.
59013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59014         Likewise.
59015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59016         Likewise.
59017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59018         Likewise.
59019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59020         Likewise.
59021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59022         Likewise.
59024         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59025         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59027 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59029         [BZ #10846]
59030         [BZ #14036]
59031         * math/libm-test.inc (exp_test): Add test from bug 14036.
59032         (pow_test): Add test from bug 10846.
59034         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59035         and other flags.
59036         (special_function): Do not include flags in test name.
59037         (parse_args): Likewise.
59038         * sysdeps/i386/fpu/libm-test-ulps: Update.
59039         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59040         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59041         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59044         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59045         exceptions.
59046         * math/libm-test.inc ("Philosophy"): Update comment about
59047         exception testing.
59048         (UNDERFLOW_EXCEPTION): New macro.
59049         (UNDERFLOW_EXCEPTION_OK): Likewise.
59050         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59051         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59052         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59053         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59054         (INVALID_EXCEPTION_OK): Update value.
59055         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59056         (OVERFLOW_EXCEPTION_OK): Likewise.
59057         (IGNORE_ZERO_INF_SIGN): Likewise.
59058         (test_exceptions): Handle underflow exceptions.
59059         (acos_test): Update for underflow exception expectations.
59060         (cexp_test): Likewise.
59061         (clog_test): Likewise.
59062         (clog10_test): Likewise.
59063         (csqrt_test): Likewise.
59064         (ctan_test): Likewise.
59065         (ctanh_test): Likewise.
59066         (exp_test): Likewise.
59067         (exp10_test): Likewise.
59068         (exp2_test): Likewise.
59069         (expm1_test): Likewise.
59070         (fma_test): Likewise.
59071         (j0_test): Likewise.
59072         (jn_test): Likewise.
59073         (nexttoward_test): Likewise.
59074         (pow_test): Likewise.
59075         (scalbn_test): Likewise.
59076         (scalbln_test): Likewise.
59077         (tan_test): Likewise.
59078         (y1_test): Likewise.
59079         * sysdeps/i386/fpu/libm-test-ulps: Update.
59080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59082 2012-05-23  David S. Miller  <davem@davemloft.net>
59084         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59085         (__libc_sigaction): Remove unused local variables.
59087 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59089         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59091 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59093         mktime: avoid signed integer overflow
59094         * time/mktime.c (__mktime_internal): Do not mishandle the case
59095         where diff == INT_MIN.
59097         mktime: simplify computation of average
59098         * time/mktime.c (ranged_convert): Use new time_t_avg function
59099         instead of rolling our own (probably-slower) code.
59101         mktime: do not assume signed right shift propagates sign bit
59102         * time/mktime.c (isdst_differ): New static function.
59103         (__mktime_internal): No need to normalize tm_isdst now.
59104         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59105         tm_isdst values.
59107         mktime: merge another wrapv change from gnulib
59108         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59109         from some compilers.
59111         mktime: remove incorrect attempt at unusual arithmetics
59112         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59113         The code didn't really work on such machines anyway.
59114         (TYPE_MINIMUM): Assume two's complement.
59115         (twos_complement_arithmetic): Verify that long_int and time_t
59116         are two's complement (or unsigned, in the latter case).
59118         mktime: check signed shifts on long_int and time_t, too
59119         * time/mktime.c (SHR): Check that shifts work as desired
59120         on the types long_int and time_t too, as SHR is used on
59121         such types.
59123         mktime: do not assume 'long' is wide enough
59124         * time/mktime.c (verify): Move decl up.
59125         (long_int): New type.
59126         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59127         to remove assumption in the code that 'long' is wide enough to
59128         store year values.  This assumption is not true on x32 and on
59129         some non-glibc platforms.
59131         mktime: merge wrapv change from gnulib
59132         * time/mktime.c (WRAPV): New macro.
59133         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59134         (guess_time_tm, __mktime_internal): Do not assume that signed
59135         integer overflow wraps around; modern compilers generate code
59136         where this assumption is no longer valid.
59138 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59140         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59141         Replace "jmp L(pseudo_end)" with "ret".
59142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59143         Likewise.
59145 2012-05-23  Andreas Jaeger  <aj@suse.de>
59147         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59148         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59150 2012-05-23  Andreas Jaeger  <aj@suse.de>
59151             Maximilian Attems  <max@stro.at>
59153         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59154         New macros.
59156 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59158         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59159         code so that pseudo_end is just ret and the stack pointer is
59160         correct also for static library in error case.
59162 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59164         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59165         move to syscalls.list.
59166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59171         * manual/install.texi (Running make install): Do not mention Linux
59172         kernel version for which pt_chown is not needed.
59173         (Linux): Do not mention problems with nscd with 2.0 kernels.
59174         * INSTALL: Regenerated.
59176 2012-05-23  Andreas Jaeger  <aj@suse.de>
59178         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59179         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59180         macro.
59181         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59182         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59183         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59184         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59185         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59186         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59188         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59189         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59190         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59191         * sysdeps/unix/sysv/linux/bits/in.h
59192         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59194 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59196         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59197         (PREPARE_VERSION): Just use assert instead, it will be elided
59198         under [NDEBUG] anyway.
59200 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59202         * sysdeps/unix/sysv/linux/Makefile: Include
59203         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59204         (sysdep_routines): Remove sysctl.
59205         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59206         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59207         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59208         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59209         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59211 2012-05-22  Andreas Jaeger  <aj@suse.de>
59213         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59214         that pseudo_end is just ret and the stack pointer is correct also
59215         for static library in error case.
59217 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59219         [BZ #14122]
59220         * nss/nsswitch.c (defconfig_entries): New variable.
59221         (__nss_database_lookup): Don't leak defconfig entries.
59222         (nss_parse_service_list): Don't leak on error paths.
59223         (free_database_entries): New function.
59224         (free_defconfig): New function.
59225         (free_mem): Move common code to free_database_entries.
59227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59229         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59230         Add arch_prctl.
59231         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59233         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59234         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59236         New macro.
59237         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59238         (INTERNAL_SYSCALL_TYPES): Likewise.
59239         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59240         (LOAD_REGS_TYPES_[1-6]): Likewise.
59241         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59242         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59244 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59246         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59247         copysignl for GLIBC_2_0.
59248         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59249         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59251         logbl for GLIBC_2_0.
59252         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59253         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59255 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59257         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59258         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59260         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59261         Use "neg %eax".
59263         * time/mktime.c: Update copyright years.
59265 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59267         mktime: merge comment-quoting-style change from gnulib
59268         * time/mktime.c: Quote 'like this' in comments.
59269         The GNU coding standards suggest that we no longer quote `like this',
59270         as "`" and "'" are typically rendered asymmetrically nowadays.
59271         The typical gnulib style is to quote 'like this' when quoting
59272         code, and "like this" when quoting English.
59274         * time/mktime.c (compile-command): Add "-I.".
59276         mktime: merge mktime-internal.h change from gnulib
59277         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59279         mktime: merge time_r change from gnulib
59280         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59282         mktime: merge DEBUG change from gnulib
59283         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59284         case system <time.h> has a #define.
59286         mktime: merge <sys/types.h> change from gnulib
59287         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59288         since <time.t> is now guaranteed to define time_t.
59290         mktime: merge HAVE_CONFIG_H change from gnulib
59291         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59293 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59296         Use "neg %eax".
59298         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59299         __rlim_t cast.
59300         (struct rusage): Use anonymous union to pad each field to
59301         __syscall_slong_t.
59303 2012-05-21  David S. Miller  <davem@davemloft.net>
59305         * Makefules (o-iterator): Remove .s cases.
59306         (compile-command.s): Delete.
59307         (COMPILE.s): Delete.
59308         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59310 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59312         * configure.in (libc_cv_predef_stack_protector): Only consider
59313         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59314         * configure: Regenerated.
59316 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59319         New macro.  Use R*LP on int and pointer.
59320         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59321         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59322         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59323         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59325         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59326         [__WORDSIZE_TIME64_COMPAT32] instead of
59327         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59328         (struct utmp): Likewise.
59329         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59330         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59331         Renamed to ...
59332         (__WORDSIZE_TIME64_COMPAT32): This.
59333         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59334         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59335         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59336         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59337         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59338         (__WORDSIZE_TIME64_COMPAT32): New macro.
59340 2012-05-21  Andreas Jaeger  <aj@suse.de>
59342         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59343         only if [SHARED]. Add prototype for __wcschr_ia32.
59345 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59347         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59348         of %rbp unmolested in the jmp_buf while mangling the low bits.
59349         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59350         unmolested high bits of %rbp while demangling the low bits.
59351         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59353 2012-05-21  Andreas Jaeger  <aj@suse.de>
59355         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59356         * sunrpc/svc_simple.c: Use it for registerrpc.
59357         * sunrpc/xcrypt.c: Use it for passwd2des.
59359         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59361 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59363         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59364         Don't define if [__SYSCALL_WORDSIZE != 32].
59365         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59366         New macro.
59368 2012-05-21  Bruno Haible  <bruno@clisp.org>
59369             Andreas Jaeger  <aj@suse.de>
59371         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59372         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59373         inptr and inend for must_buffer_ch.
59374         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59375         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59376         * stdio-common/Makefile (tests): Remove bug15.
59377         (bug15-ENV): Remove macro.
59378         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59379         anymore.
59381 2012-05-19  Andreas Jaeger  <aj@suse.de>
59382             Roland McGrath  <roland@hack.frob.com>
59384         * manual/contrib.texi: Completely rewritten. It contains now an
59385         alphabetical list of contributors and their contributions.
59387 2012-05-21  Richard Henderson  <rth@twiddle.net>
59389         * misc/getauxval.c (__getauxval): Use unsigned long int.
59390         * misc/sys/auxv.h: Include <sys/cdefs.h>.
59391         (getauxval): Use unsigned long int.
59393 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59395         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59397 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59399         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59400         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59401         __alignof__ (long double).
59403 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59407 2012-05-20  Richard Henderson  <rth@twiddle.net>
59409         * misc/getauxval.c: New file.
59410         * misc/sys/auxv.h: New file.
59411         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59412         (routines): Add getauxval.
59413         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59414         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59415         * elf/dl-sysdep.c (_dl_auxv): Remove.
59416         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59417         * elf/dl-support.c (_dl_auxv): New variable.
59418         (_dl_aux_init): Initialize it.
59419         * manual/startup.texi (Auxiliary Vector): New node.
59420         * sysdeps/generic/bits/hwcap.h: New file.
59421         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59422         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
59423         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59424         * sysdeps/sparc/sysdep.h: ... here.  Include it.
59425         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59426         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59428         Update.
59429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59432         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59438 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59442 2012-05-19  David S. Miller  <davem@davemloft.net>
59444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59446 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59448         [BZ #14123]
59449         * math/s_ccosh.c: Include <float.h>
59450         (__ccosh): Avoid internal overflow calculating sinh and cosh
59451         values before multiplying by sin and cos values.
59452         * math/s_ccoshf.c: Likewise.
59453         * math/s_ccoshl.c: Likewise.
59454         * math/s_csin.c: Likewise.
59455         * math/s_csinf.c: Likewise.
59456         * math/s_csinl.c: Likewise.
59457         * math/s_csinh.c: Likewise.
59458         * math/s_csinhf.c: Likewise.
59459         * math/s_csinhl.c: Likewise.
59460         * math/libm-test.inc (ccos_test): Add more tests.
59461         (ccosh_test): Likewise.
59462         (csin_test): Likewise.
59463         (csinh_test): Likewise.
59464         * sysdeps/i386/fpu/libm-test-ulps: Update.
59465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59467 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59469         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59470         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59472         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59474 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59476         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59477         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59478         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59479         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59480         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59481         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59482         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59483         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59484         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59485         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59486         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59487         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59488         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59489         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59490         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59491         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59492         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59493         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59494         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59495         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59496         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59497         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59498         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59499         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59500         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59501         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59502         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59503         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59504         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59505         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59506         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59508 2012-05-18  Andreas Jaeger  <aj@suse.de>
59510         * csu/.gitignore: Delete.
59512 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59514         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59515         (timex): Use __syscall_slong_t.
59517 2012-05-18  Andreas Jaeger  <aj@suse.de>
59518             Carlos O'Donell  <carlos_odonell@mentor.com>
59520         * manual/install.texi (Configuring and compiling): Update
59521         description about files modified in the source directory.
59522         * INSTALL: Regenerated.
59524 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59526         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59527         value.  Use "or" to set return value to -1.
59528         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59529         negate return value.
59531 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59533         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59534         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59535         failure if the compiler has Graphite support disabled.
59536         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59537         Likewise.
59538         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59539         (CFLAGS-memmove.c): Likewise.
59540         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59541         Likewise.
59543 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59545         * sysdeps/x86_64/x32/_itoa.h: New file.
59547         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59548         getdents system call only if kernel and user dirents have the
59549         same d_ino and d_off.
59551         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59552         LLONG_MAX != LONG_MAX.
59553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59554         (_fitoa_word): Likewise.
59556         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59557         years.
59558         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59559         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59560         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59562         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59563         include <bits/wordsize.h>.  Check __x86_64__ instead of
59564         __WORDSIZE.
59565         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59566         if __x86_64__ is defined.  Use anonymous union on fpstate.
59568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59569         anonymous union.
59571 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59573         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59574         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59575         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59576         Refer to _rtld_local_ro instead of _rtld_global_ro.
59577         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59578         Likewise.
59579         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59580         Likewise.
59581         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59582         Likewise.
59583         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59584         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59585         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59587         [BZ #10882]
59588         * sysdeps/powerpc/powerpc32/dl-machine.c
59589         (__elf_machine_runtime_setup) [PROF]: Don't reference
59590         _dl_prof_resolve.
59592 2012-05-18  Andreas Jaeger  <aj@suse.de>
59594         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59595         function only available for GCCs before 3.4 since GCC 3.4
59596         introduced a builtin.
59597         (lrint): Likewise.
59598         (llrintf): Likewise.
59599         (llrint): Likewise.
59600         (fmaxf): Likewise.
59601         (fmax): Likewise.
59602         (fminf): Likewise.
59603         (fmin): Likewise.
59604         (rint): Likewise.
59605         (rintf): Likewise.
59606         (nearbyint): Likewise.
59607         (nearbyintf): Likewise.
59608         (ceil): Likewise.
59609         (ceilf): Likewise.
59610         (floor): Likewise.
59611         (floorf): Likewise.
59613 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59615         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59616         on both fields and cast pointer to __syscall_ulong_t.
59618         * bits/types.h (__fsword_t): New type.
59619         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59620         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59622         (__FSWORD_T_TYPE): Likewise.
59623         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59624         (__FSWORD_T_TYPE): Likewise.
59625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59626         (__FSWORD_T_TYPE): Likewise.
59627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59628         (__FSWORD_T_TYPE): Likewise.
59629         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59630         __SWORD_TYPE with __fsword_t.
59631         (statfs64): Likewise.
59633 2012-05-17  David S. Miller  <davem@davemloft.net>
59635         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59637 2012-05-17  Andreas Jaeger  <aj@suse.de>
59639         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59640         warning.
59642 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59644         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59646 2012-05-17  Andreas Jaeger  <aj@suse.de>
59648         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59649         when it is used.
59651 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59653         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59655 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59657         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59658         * sysdeps/x86_64/tst-mallocalign1.c: New file.
59660 2012-05-17  Andreas Jaeger  <aj@suse.de>
59661             Carlos O'Donell  <carlos_odonell@mentor.com>
59663         [BZ #14059]
59664         * sysdeps/x86_64/multiarch/init-arch.h
59665         (bit_YMM_Usable): Rename to...
59666         (bit_AVX_Usable): ... this.
59667         (bit_FMA4_Usable): New macro.
59668         (bit_XMM_state): New macro.
59669         (bit_YMM_state): New macro.
59670         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59671         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59672         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59673         (CPUID_OSXSAVE): New macro.
59674         (CPUID_AVX): New macro.
59675         (CPUID_FMA4): New macro.
59676         (index_YMM_Usable): Rename to...
59677         (index_AVX_Usable): ... this.
59678         (HAS_AVX): Use HAS_ARCH_FEATURE.
59679         (HAS_FMA4): Likewise.
59680         (HAS_YMM_USABLE): Remove.
59681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59682         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59683         are present.
59684         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59685         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59686         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59687         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59688         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59690 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59692         * math/libm-test.c: Support platforms without multiple rounding modes.
59693         * math/bug-nextafter.c: Support platforms without FP exceptions.
59694         * math/bug-nexttoward.c: Likewise.
59695         * math/test-fenv.c: Likewise.
59696         * math/test-misc.c: Likewise.
59697         * stdlib/bug-getcontext.c: Likewise.
59699 2012-05-17  Andreas Jaeger  <aj@suse.de>
59701         * manual/examples/search.c (critter_cmp): Change signature to
59702         avoid warnings.
59703         * manual/string.texi (Collation Functions): Likewise.
59705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59707         * bits/types.h: Fold copyright years.
59708         * bits/typesizes.h: Likewise.
59709         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59710         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59711         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59713         * time/time.h: Likewise.
59715 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59717         [BZ #208]
59718         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59719         in instead of returning them.  Return void.
59720         (__libc_mallinfo): Accumulate over all arenas.
59721         (__malloc_stats): Adjust for change in int_mallinfo interface.
59723 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59725         [BZ #10375]
59726         * configure.in (NM): Add AC_CHECK_TOOL for it.
59727         (libc_extra_cflags): New substituted variable.
59728         Check for -fstack-protector being used implicitly.
59729         * configure: Regenerated.
59730         * config.make.in (config-extra-cflags): New variable,
59731         gets @libc_extra_cflags@.
59732         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59734         [BZ #10375]
59735         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59736         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59737         * configure: Regenerated.
59738         * config.make.in (CPPUNDEFS): New substituted variable.
59739         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59740         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59741         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59745         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59746         (mq_attr): Use __syscall_slong_t.
59748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59750         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59751         Check __x86_64__ instead of __WORDSIZE.
59752         (_STAT_VER_LINUX): Likewise.
59753         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59754         __syscall_ulong_t and __syscall_slong_t.
59755         (stat64): Likewise.
59757 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59759         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59761 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59763         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59765 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59767         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59768         __syscall_ulong_t.
59770         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59771         include <bits/wordsize.h>.  Check __x86_64__ instead of
59772         __WORDSIZE.
59773         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59774         defined.
59775         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59777         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59778         include <bits/wordsize.h>.  Check __x86_64__ instead of
59779         __WORDSIZE.
59780         (user_regs_struct): Use "__extension__ unsigned long long"
59781         instead of "unsigned long" if __x86_64__ is defined.
59782         (user): Likewise.  Pad after pointer field if __ILP32__ is
59783         defined.
59785 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59787         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59788         versions 5 to 9.
59789         * configure: Regenerated.
59790         * manual/install.texi (texinfo): Increase version requirement to
59791         4.5 or later.
59792         * INSTALL: Regenerated.
59794         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59798         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59800         * sysdeps/x86_64/x32/ffs.c: New file.
59802         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59803         __syscall_ulong_t.
59804         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59805         defined.  Use __syscall_ulong_t.
59806         (shminfo): Use __syscall_ulong_t.
59807         (shm_info): Likewise.
59809         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59810         __syscall_ulong_t.
59812         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59813         <bits/wordsize.h>.
59814         (msgqnum_t): Use __syscall_ulong_t.
59815         (msglen_t): Likewise.
59816         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59817         __syscall_ulong_t.
59819         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59820         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59822         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59824         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59825         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59827         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59828         __syscall_slong_t.
59830         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59831         include <bits/wordsize.h>.  Check __x86_64__ instead of
59832         __WORDSIZE.
59834         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59835         "unsigned long long int" if __x86_64__ is defined.
59836         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59838         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59839         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59840         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59842         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59843         <stdint.h>.
59844         (GET_PC): Cast to uintptr_t first.
59845         (GET_FRAME): Likewise.
59846         (GET_STACK): Likewise.
59848         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59849         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59850         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59851         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59852         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59853         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59854         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59855         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59856         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59857         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59858         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59859         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59860         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59861         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59862         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59863         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59864         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59865         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59866         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59867         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59868         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59869         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59870         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59871         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59872         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59873         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59874         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59875         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59876         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59878 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59880         * Makerules (+depfiles): Also collect depfiles from .oS in
59881         $(extra-objs).
59882         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59883         .oS, $(libnldbl-routines)).
59885         * Makerules (native-compile-mkdep-flags): Define.
59886         * sunrpc/Makefile (extra-objs): Add $(addprefix
59887         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59888         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59889         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59890         calling $(make-target-directory).
59892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59894         * bits/types.h (__snseconds_t): Removed.
59895         * time/time.h (struct timespec): Replace __snseconds_t with
59896         __syscall_slong_t.
59897         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59898         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59899         Likewise.
59900         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59901         (__SNSECONDS_T_TYPE): Likewise.
59902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59903         (__SNSECONDS_T_TYPE): Likewise.
59904         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59905         (__SNSECONDS_T_TYPE): Likewise.
59907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59909         * sysdeps/mach/hurd/bits/typesizes.h
59910         (__SYSCALL_SLONG_TYPE): New macro.
59911         (__SYSCALL_ULONG_TYPE): Likewise.
59913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59915         * bits/types.h (__syscall_slong_t): New type.
59916         (__syscall_ulong_t): Likewise.
59918         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59919         (__SYSCALL_ULONG_TYPE): Likewise.
59920         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59921         (__SYSCALL_SLONG_TYPE): Likewise.
59922         (__SYSCALL_ULONG_TYPE): Likewise.
59923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59924         (__SYSCALL_SLONG_TYPE): Likewise.
59925         (__SYSCALL_ULONG_TYPE): Likewise.
59926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59927         (__SYSCALL_SLONG_TYPE): Likewise.
59928         (__SYSCALL_ULONG_TYPE): Likewise.
59930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59932         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59933         Add sigaltstack-offsets.sym.
59934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59935         <sigaltstack-offsets.h>.
59936         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59937         longjmp_msg pointer.
59938         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59939         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59940         signal stack.
59941         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59943 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59945         * elf/stackguard-macros.h: Remove file.
59946         * sysdeps/generic/stackguard-macros.h: New file.
59947         * sysdeps/i386/stackguard-macros.h: Likewise.
59948         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59949         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59950         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59951         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59952         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59953         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59954         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59955         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59956         <elf/stackguard-macros.h>.
59958         [BZ #14109]
59959         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59960         __aligned__ in attribute.
59961         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59962         (gregset_t): Likewise.
59964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59966         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59967         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59968         * sysdeps/x86_64/x32/Implies-after: New file.
59970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59972         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59973         and access return value for _dl_profile_fixup.  Use R10_LP to
59974         load frame size.
59976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59978         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59982         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59983         * sysdeps/x86_64/x32/sysdep.h: New file.
59985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59987         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59988         * sysdeps/x86_64/setjmp.S: Likewise.
59990 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59992         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59993         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59994         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59995         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59996         remove unused global constant.
59998 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60000         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60001         include of <not-cancel.h>.
60003 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60005         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60007 2012-05-15  Jeff Law  <law@redhat.com>
60008             Andreas Jaeger  <aj@suse.de>
60010         [BZ #13594]
60011         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60012         out from...
60013         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60014         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60015         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60016         code changing __hst_map_handle.map.
60018 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60020         * configure.in (sysnames): Look for Implies-before and Implies-after
60021         files.
60022         * configure: Regenerated.
60024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60026         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60027         8-byte data alignment with LP_SIZE alignment.
60029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60031         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60032         into R10_LP.
60034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60036         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60040         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60041         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60042         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60043         Likewise.
60044         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60048         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60049         (stackinfo_sub_sp): Likewise.
60051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60053         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60054         RAX_LP.
60056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60059         into R*_LP.
60061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60063         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60064         sizes into R*_LP.
60066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60068         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60072         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60073         into R11_LP and load __x86_64_shared_cache_size_half into
60074         R8_LP.
60076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60079         R8_LP.
60081 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60084         logb for POWER7.
60085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60086         logbf for POWER7.
60087         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60088         logbl for POWER7.
60089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60090         powerpc32/power7/fpu/s_logb.c via #include.
60091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60092         powerpc32/power7/fpu/s_logbf.c via #include.
60093         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60094         powerpc32/power7/fpu/s_logbl.c via #include.
60096 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60098         * README.libm: Remove file.
60100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60102         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60103         count for x32.  Use R*_LP and omit operand-size suffix.
60105 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60107         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60108         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60109         * sysdeps/x86_64/x32/shlib-versions: New file.
60111 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60113         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60114         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60115         Use _dl_fatal_printf instead.
60117 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60119         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60120         set if not set by the user.  Do not allow for being unset.
60121         * sysdeps/unix/sysv/linux/configure: Regenerated.
60123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60125         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60126         the `q' suffix from lea and replace .quad with ASM_ADDR.
60128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60131         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60132         instead of $17.
60133         (PTR_DEMANGLE): Likewise.
60135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60137         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60138         (LP_OP): Likewise.
60139         (ASM_ADDR): Likewise.
60140         (RAX_LP): Likewise.
60141         (RBP_LP): Likewise.
60142         (RBX_LP): Likewise.
60143         (RCX_LP): Likewise.
60144         (RDI_LP): Likewise.
60145         (RSI_LP): Likewise.
60146         (RSP_LP): Likewise.
60147         (R8_LP): Likewise.
60148         (R9_LP): Likewise.
60149         (R10_LP): Likewise.
60150         (R10_LP): Likewise.
60151         (R11_LP): Likewise.
60152         (R12_LP): Likewise.
60153         (R13_LP): Likewise.
60154         (R14_LP): Likewise.
60155         (R15_LP): Likewise.
60157 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60159         * sysdeps/x86_64/x32/dl-machine.h: New file.
60161 2012-05-14  Andreas Jaeger  <aj@suse.de>
60163         * manual/Makefile (subdir): Remove export of subdir.
60164         (all): Remove target.
60165         (.PHONY): Remove all from list.
60166         (mkinstalldirs): Remove.
60167         (.PHONY): Remove installdirs from list.
60168         ($(inst_infodir)/libc.info): Use make-target-directory.
60169         (installdirs): Remove.
60170         (subdir_%): Remove.
60171         (glibc-targets): Remove.
60172         (lib): Remove.
60173         (stubs): Remove.
60174         ($(objpfx)stubs ../po/manual.pot): Remove.
60175         ($(objpfx)stamp%): Remove.
60176         (make-target-directory): Remove.
60177         (subdir_install): Remove.
60178         (routines): Remove.
60179         (aux): Remove.
60180         (sources): Remove.
60181         (objects): Remove.
60182         (headers): Remove.
60184         [BZ #13750]
60185         * manual/.gitignore: Remove, it's not needed anymore.
60186         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60187         all files in it.
60188         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60189         directory.
60190         (texis): Renamed to $(objpfx)texis.
60191         (texis-path): New, contains path to generated files.
60192         (chapters.%): Use texis-path for complete path, add extra argument
60193         libc-texinfo.sh.
60194         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60195         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60196         (summary,texi, stamp-summary): Use complete path of
60197         files. Generate files in build dir.
60198         (dir-add.texi): Build in build dir.
60199         (libm-err.texi,stamp-libm-err): Likewise.
60200         (version.texi, stamp-version): Likewise.
60201         (.%c.texi): Likewise.
60202         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60203         (mostlyclean): Remove target.
60204         (realclean): Remove target.
60205         (generated): Add new variable with contents from mostlyclean and
60206         realclean, remove entries duplicated in common-mostlyclean, add
60207         stamp-libm-err and stamp-version.
60208         (generated-dirs): Add libc directory.
60209         ($(inst_infodir)/libc.info): Install files from build dir.
60211         * manual/install.texi (Configuring and compiling): Adjust since
60212         the info files are not part of the tar ball anymore.
60214 2012-05-14  Andreas Jaeger  <aj@suse.de>
60216         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60217         variable.
60219 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60221         [BZ #13717]
60222         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60223         to 2.2.0 where earlier.
60224         * sysdeps/unix/sysv/linux/configure: Regenerated.
60225         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60226         Remove conditional code.
60227         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60228         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60229         Remove conditional code.
60230         [!__NR_lchown]: Likewise.
60231         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60232         [__NR_lchown]: Likewise.
60233         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60234         comment referencing __ASSUME_LCHOWN_SYSCALL.
60235         * sysdeps/unix/sysv/linux/i386/sigaction.c
60236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60238         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60239         Remove conditional code.
60240         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60241         (__protocol_available): Remove #if 0 code.
60242         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60243         conditional code.
60244         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60245         * sysdeps/unix/sysv/linux/kernel-features.h
60246         (__ASSUME_GETCWD_SYSCALL): Don't define.
60247         (__ASSUME_REALTIME_SIGNALS): Likewise.
60248         (__ASSUME_PREAD_SYSCALL): Likewise.
60249         (__ASSUME_PWRITE_SYSCALL): Likewise.
60250         (__ASSUME_POLL_SYSCALL): Likewise.
60251         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60252         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60253         non-SPARC.
60254         (__ASSUME_SIOCGIFNAME): Don't define.
60255         (__ASSUME_MSG_NOSIGNAL): Likewise.
60256         (__ASSUME_SENDFILE): Define unconditionally.
60257         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60258         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60259         conditional code.
60260         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60261         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60262         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60263         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60264         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60265         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60266         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60268         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60271         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60280         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60283         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60286         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60289         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60290         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60291         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60292         Remove conditional code.
60293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60294         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60295         Remove conditional code.
60296         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60297         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60298         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60299         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60300         Remove conditional code.
60301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60302         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60303         Remove conditional code.
60304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60305         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60306         Remove conditional code.
60307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60308         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60309         Remove conditional code.
60310         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60311         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60312         Remove conditional code.
60313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60314         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60315         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60316         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60317         * sysdeps/unix/sysv/linux/sigaction.c
60318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60320         * sysdeps/unix/sysv/linux/sigpending.c
60321         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60322         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60323         * sysdeps/unix/sysv/linux/sigprocmask.c
60324         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60325         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60326         * sysdeps/unix/sysv/linux/sigsuspend.c
60327         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60328         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60329         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60330         (__libc_missing_rt_sigs): Remove.
60331         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60332         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60333         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60334         Remove conditional code.
60335         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60336         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60337         return 1.
60338         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60339         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60340         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60341         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60343 2012-05-14  Andreas Jaeger  <aj@suse.de>
60345         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60346         it's not used in glibc.
60347         (__coshm1): Likewise.
60348         (__acosh1p): Likewise.
60349         (__sgn): Likewise.
60351         * manual/string.texi (Copying and Concatenation): Add missing
60352         variable in concat example.
60353         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60357         [BZ #14103]
60358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60359         __builtin_clzl with __builtin_clzll.
60361 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60363         [BZ #14104]
60364         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60365         libc_freeres_ptr.
60367 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60369         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60370         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60371         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60372         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60374 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
60376         * NEWS: Update ia64 info.
60378 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
60380         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60381         used as bcopy.
60383 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
60385         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60386         * sysdeps/unix/syscalls.list (dup3): Likewise.
60387         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60388         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60390 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60392         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60393         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60395 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60397         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60398         thread pointer.
60399         (TLS_IE): Use mov/add instead of movq/addq to load thread
60400         pointer.
60401         (TLS_GD_PREFIX): New.
60402         (TLS_GD): Use it.
60404 2012-05-11  David S. Miller  <davem@davemloft.net>
60406         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60407         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60408         (_FPU_SETCW): Likewise.
60410 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60412         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60413         is 32-byte aligned.
60415 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
60417         [BZ #11837]
60418         * iconvdata/gb18030.c: Update tables.
60419         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
60420         characters specially.
60421         (BODY for TO_LOOP): Add encoding of missing ranges.
60423 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
60425         [BZ #13673]
60426         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60427         * sysdeps/mach/hurd/dup3.c: Likewise.
60428         * sysdeps/mach/hurd/readlinkat.c: Likewise.
60429         * sysdeps/powerpc/memmove.c:: Likewise.
60431 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60433         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60434         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60436 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60438         * elf/elf.h (R_X86_64_RELATIVE64): New.
60439         (R_X86_64_NUM): Updated.
60440         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60441         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60442         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60443         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60444         tst-quad1pie tst-quad2pie
60445         (modules-names): Add tst-quadmod1 tst-quadmod2.
60446         ($(objpfx)tst-quad1): New dependency.
60447         ($(objpfx)tst-quad2): Likewise.
60448         ($(objpfx)tst-quad1pie): Likewise.
60449         ($(objpfx)tst-quad2pie): Likewise.
60450         * sysdeps/x86_64/tst-quad1.c: New file.
60451         * sysdeps/x86_64/tst-quad1pie.c: New file.
60452         * sysdeps/x86_64/tst-quad2.c: Likewise.
60453         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60454         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60455         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60456         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60457         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60461         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60462         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60463         * streams/stropts.h (t_scalar_t): Define type.
60465         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60466         (_PATH_PRESERVE): Set to "/var/lib".
60467         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60469         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60470         instead of int.
60472         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60473         if __dir_mkfile succeeded.
60475         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60476         checking for _hurd_dtablesize.  Unlock it right after having
60477         finished _hurd_dtable allocation.
60479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60481         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60482         * sysdeps/mach/hurd/configure: Regenerated.
60483         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60484         special-casing to...
60485         * sysdeps/gnu/configure.in: ... this new file.
60486         * sysdeps/unix/sysv/linux/configure: Regenerated.
60487         * sysdeps/gnu/configure: New generated file.
60489         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60490         for Linux: use nsec instead of usec, as well as:
60491         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60492         members of type struct timespec.
60493         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60494         New macros.
60495         (struct stat64): Likewise.
60496         (_STATBUF_ST_NSEC): New macro.
60497         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60499         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60500         __strtoul_internal rather than strtoul.
60502 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60504         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60505         and reject them.
60507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60509         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60510         which preserves existing values.
60511         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60513 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60515         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60516         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60517         greater than FD_SETSIZE.
60519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60521         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60522         allocated, call __vm_protect to finish enabling the existing space, and
60523         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60524         allocate the remainder.
60526 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60528         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60529         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60533         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60534         sysdeps/mach/hurd/readlink.c.
60536         * posix/tst-sysconf.c (posix_options): Only use
60537         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60538         _POSIX_SYNCHRONIZED_IO when they are defined
60539         * sysdeps/mach/hurd/bits/posix_opt.h:
60540         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60541         (_XOPEN_REALTIME): Undefine macro.
60542         (_XOPEN_REALTIME_THREADS): Undefine macro.
60543         (_XOPEN_SHM): Undefine macro.
60544         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60545         macro to -1.
60546         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60547         macro to -1.
60548         (_POSIX_ASYNC_IO): Undefine macro.
60549         (_POSIX_PRIORITIZED_IO): Undefine macro.
60550         (_POSIX_SPIN_LOCKS): Define macro to -1.
60552         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60553         SA_NODEFER, SA_RESETHAND.
60554         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60555         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60556         F_DUPFD_CLOEXEC.
60558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60560         * elf/Makefile (pldd-modules): Define unconditionally.
60562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60564         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60568         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60569         Return ENOENT when name is empty.
60570         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60572 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60574         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60576         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60580         Fix mlock in all cases except non-readable pages.
60581         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60582         instead of VM_PROT_ALL as parameter to __vm_wire function.
60584         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60585         (__mkdir): When path is `/', just fail with EEXIST.
60586         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60590         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60591         <sys/uio.h> (for writev).
60592         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60593         and <sys/param.h> (for MIN).
60595 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60597         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60598         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60599         if interrupted.
60601 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60603         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60604         Depend on against $(link-rpcuserlibs).
60606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60608         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60609         (__libc_stack_end): Do not use attribute_relro.
60610         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60611         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60612         to libthread-provided value.
60613         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60614         attribute_relro.
60616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60618         [BZ #3748]
60619         * bits/libc-lock.h (__libc_once_get): New macro.
60620         * sysdeps/mach/bits/libc-lock.h: Likewise.
60621         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60622         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60623         instead of using implementation details.
60625         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60626         * libio/freopen.c: Likewise.
60627         * libio/freopen64.c: Likewise.
60628         * misc/syslog.c: Likewise.
60629         * nscd/connections.c: Likewise.
60630         * nscd/netgroupcache.c: Likewise.
60631         * sysdeps/posix/getcwd.c: Likewise.
60633 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60635         * math/w_ilogbf.c: Add #include <limits.h>.
60637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60639         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60640         path instead of returning without unlocking.
60642         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60643         immediate-write ioctls.
60644         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60648         * sysdeps/mach/hurd/i386/init-first.c (init): Use
60649         __builtin_frame_address instead of making assumptions about the
60650         location of the return address relative to DATA.  Force early load of
60651         the return address.
60652         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60653         __builtin_frame_address.
60655         dup3 for GNU Hurd.
60656         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60657         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
60658         implement dup3 and do some further code clean-ups.
60659         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60660         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60664         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60666         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60667         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60668         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60669         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60670         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60671         d->port.lock.
60673         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60674         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60675         when handler == SIG_ERR, not when handler != SIG_ERR.
60677 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60679         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60680         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60681         definitions.
60683         accept4 for GNU Hurd.
60684         * include/sys/socket.h (__libc_accept4): New prototype.
60685         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60686         to implement __libc_accept4.
60687         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60688         __libc_accept4.
60689         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60691         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60692         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60693         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60694         signal-defines.sym.
60696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60698         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60702         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60703         assertion on O_CLOEXEC flag.
60704         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60705         * hurd/intern-fd.c: Likewise.
60706         * hurd/port2fd.c: Likewise.
60708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60710         [BZ #3906]
60711         * bits/in.h (IPV6_PKTINFO): Define new macro.
60712         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60714 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60716         [BZ #13954]
60717         [BZ #13955]
60718         [BZ #13956]
60719         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60720         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60721         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60722         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60724         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60725         * math/libm-test.inc (logb_test) : Additional logb tests.
60727 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60728             Andreas Jaeger  <aj@suse.de>
60730         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60731         * configure: Regenerated.
60732         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60733         * config.make.in (link-obsolete-rpc): New substituted variable.
60734         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60735         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60736         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60737         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60738         so that libc.a contains the symbols.
60739         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60740         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60741         * sunrpc/auth_none.c: Likewise.
60742         * sunrpc/auth_unix.c: Likewise.
60743         * sunrpc/authdes_prot.c: Likewise.
60744         * sunrpc/authuxprot.c: Likewise.
60745         * sunrpc/clnt_gen.c: Likewise.
60746         * sunrpc/clnt_perr.c: Likewise.
60747         * sunrpc/clnt_raw.c: Likewise.
60748         * sunrpc/clnt_simp.c: Likewise.
60749         * sunrpc/clnt_tcp.c: Likewise.
60750         * sunrpc/clnt_udp.c: Likewise.
60751         * sunrpc/clnt_unix.c: Likewise.
60752         * sunrpc/des_crypt.c: Likewise.
60753         * sunrpc/des_soft.c: Likewise.
60754         * sunrpc/get_myaddr.c: Likewise.
60755         * sunrpc/key_call.c: Likewise.
60756         * sunrpc/key_prot.c: Likewise.
60757         * sunrpc/netname.c: Likewise.
60758         * sunrpc/pm_getmaps.c: Likewise.
60759         * sunrpc/pm_getport.c: Likewise.
60760         * sunrpc/pmap_clnt.c: Likewise.
60761         * sunrpc/pmap_prot.c: Likewise.
60762         * sunrpc/pmap_prot2.c: Likewise.
60763         * sunrpc/pmap_rmt.c: Likewise.
60764         * sunrpc/publickey.c: Likewise.
60765         * sunrpc/rpc_cmsg.c: Likewise.
60766         * sunrpc/rpc_common.c: Likewise.
60767         * sunrpc/rpc_dtable.c: Likewise.
60768         * sunrpc/rpc_prot.c: Likewise.
60769         * sunrpc/rpc_thread.c: Likewise.
60770         * sunrpc/rtime.c: Likewise.
60771         * sunrpc/svc.c: Likewise.
60772         * sunrpc/svc_auth.c: Likewise.
60773         * sunrpc/svc_raw.c: Likewise.
60774         * sunrpc/svc_run.c: Likewise.
60775         * sunrpc/svc_tcp.c: Likewise.
60776         * sunrpc/svc_udp.c: Likewise.
60777         * sunrpc/svc_unix.c: Likewise.
60778         * sunrpc/svcauth_des.c: Likewise.
60779         * sunrpc/xcrypt.c: Likewise.
60780         * sunrpc/xdr.c: Likewise.
60781         * sunrpc/xdr_array.c: Likewise.
60782         * sunrpc/xdr_float.c: Likewise.
60783         * sunrpc/xdr_intXX_t.c: Likewise.
60784         * sunrpc/xdr_mem.c: Likewise.
60785         * sunrpc/xdr_rec.c: Likewise.
60786         * sunrpc/xdr_ref.c: Likewise.
60787         * sunrpc/xdr_sizeof.c: Likewise.
60788         * sunrpc/xdr_stdio.c: Likewise.
60790 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60792         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60793         change.  Update copyright years.
60795 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60797         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60799 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60800             Joseph Myers  <joseph@codesourcery.com>
60801             Paul Pluzhnikov  <ppluzhnikov@google.com>
60803         [BZ #14012]
60804         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60805         requiring rpcgen.
60806         [cross-compiling] (extra-libs): Likewise.
60807         [cross-compiling] (extra-libs-others): Likewise.
60808         [cross-compiling] (librpcsvc-routines): Likewise.
60809         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60810         [cross-compiling] (omit-deps): Likewise.
60811         (sunrpc-CPPFLAGS): New variable.
60812         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60813         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60814         (cross-rpcgen-objs): New variable.
60815         (extra-objs): Append $(cross-rpcgen-objs).
60816         ($(cross-rpcgen-objs)): New rule.
60817         ($(objpfx)cross-rpcgen): Likewise.
60818         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60819         comment.
60820         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60821         ($(objpfx)x%.stmp): Likewise.
60822         * sunrpc/proto.h [IS_IN_build] (_): Define.
60823         [IS_IN_build] (_libc_intl_domainname): Likewise.
60825 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60828         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60829         and R_X86_64_TPOFF64.
60831 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60833         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60834         sysdeps/unix/sysv/syscalls.list.
60835         (stime): Likewise.
60836         (utime): Likewise.
60837         * sysdeps/unix/sysv/syscalls.list: Remove file.
60839 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60841         [BZ #3440]
60842         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60843         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60844         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60845         (__LC_IDENTIFICATION): Make these macros useful in #if
60846         expressions, as required by C99.
60848 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60850         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60851         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60852         after this.
60854 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60856         * stdlib/longlong.h: Updated from GCC.
60858 2012-05-09  Andreas Jaeger  <aj@suse.de>
60860         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60861         default is first entry.
60862         (run_mode): Set type.
60863         (main): Remove informal message about syslog.
60864         (options): Fix typo.
60866         [BZ #14053]
60867         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60868         to asm.
60869         (lrint): Likewise.
60870         (llrintf): Likewise.
60871         (llrint): Likewise.
60872         (rint): Likewise.
60873         (rintf): Likewise.
60874         (nearbyint): Likewise.
60875         (nearbyintf): Likewise.
60877 2012-05-09  Andreas Jaeger  <aj@suse.de>
60878             Pedro Alves  <palves@redhat.com>
60880         * nscd/nscd.c (run_mode): Use enum.
60881         (main): Cleanup coding style issue.
60883 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60884             Andreas Jaeger  <aj@suse.de>
60886         * nscd/nscd.c (go_background): Replaced with...
60887         (run_mode): ... this.
60888         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60889         (options): Add -F --foreground.
60890         (main): Implement it.
60891         (parse_opt): Parse it.
60893 2012-05-09  Andreas Jaeger  <aj@suse.de>
60895         [BZ #14083]
60896         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60897         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60898         -Wconversion warning.
60899         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60900         Likewise.
60902 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60904         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60905         == 0.
60906         (LC_ALL): Use macro-int-constant.
60907         (LC_COLLATE): Likewise.
60908         (LC_CTYPE): Likewise.
60909         (LC_MESSAGES): Likewise.
60910         (LC_MONETARY): Likewise.
60911         (LC_NUMERIC): Likewise.
60912         (LC_TIME): Likewise.
60913         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60914         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60915         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60916         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60917         Specify type.
60918         [C99-based standards] (float_t): Expect type.
60919         [C99-based standards] (double_t): Expect type.
60920         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60921         type.
60922         [C99-based standards] (HUGE_VALL): Likewise.
60923         [C99-based standards] (INFINITY): Likewise.
60924         [C99-based standards] (NAN): Likewise.
60925         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60926         [C99-based standards] (FP_NAN): Likewise.
60927         [C99-based standards] (FP_NORMAL): Likewise.
60928         [C99-based standards] (FP_SUBNORMAL): Likewise.
60929         [C99-based standards] (FP_ZERO): Likewise.
60930         [C99-based standards] (FP_FAST_FMA): Use
60931         optional-macro-int-constant.  Specify type.  Require == 1.
60932         [C99-based standards] (FP_FAST_FMAF): Likewise.
60933         [C99-based standards] (FP_FAST_FMAL): Likewise.
60934         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60935         [C99-based standards] (FP_ILOGBNAN): Likewise.
60936         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60937         Specify type.
60938         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60939         [C99-based standards] (math_errhandling): Specify type.
60940         [ISO99 || ISO11] (signgam): Do not allow.
60941         [non-C99-based standards] (copysignf): Do not allow.
60942         [non-C99-based standards] (exp2f): Likewise.
60943         [non-C99-based standards] (log2f): Likewise.
60944         [non-C99-based standards] (modff): Allow.
60945         [non-C99-based standards] (erff): Do not allow.
60946         [non-C99-based standards] (erfcf): Likewise.
60947         [non-C99-based standards] (gammaf): Likewise.
60948         [non-C99-based standards] (hypotf): Likewise.
60949         [non-C99-based standards] (j0f): Likewise.
60950         [non-C99-based standards] (j1f): Likewise.
60951         [non-C99-based standards] (jnf): Likewise.
60952         [non-C99-based standards] (lgammaf): Likewise.
60953         [non-C99-based standards] (tgammaf): Likewise.
60954         [non-C99-based standards] (y0f): Likewise.
60955         [non-C99-based standards] (y1f): Likewise.
60956         [non-C99-based standards] (ynf): Likewise.
60957         [non-C99-based standards] (isnanf): Likewise.
60958         [non-C99-based standards] (acoshf): Likewise.
60959         [non-C99-based standards] (asinhf): Likewise.
60960         [non-C99-based standards] (atanhf): Likewise.
60961         [non-C99-based standards] (cbrtf): Likewise.
60962         [non-C99-based standards] (expm1f): Likewise.
60963         [non-C99-based standards] (ilogbf): Likewise.
60964         [non-C99-based standards] (log1pf): Likewise.
60965         [non-C99-based standards] (logbf): Likewise.
60966         [non-C99-based standards] (nextafterf): Likewise.
60967         [non-C99-based standards] (remainderf): Likewise.
60968         [non-C99-based standards] (rintf): Likewise.
60969         [non-C99-based standards] (scalbf): Likewise.
60970         [non-C99-based standards] (copysignl): Likewise.
60971         [non-C99-based standards] (exp2l): Likewise.
60972         [non-C99-based standards] (log2l): Likewise.
60973         [non-C99-based standards] (modfl): Allow.
60974         [non-C99-based standards] (erfl): Do not allow.
60975         [non-C99-based standards] (erfcl): Likewise.
60976         [non-C99-based standards] (gammal): Likewise.
60977         [non-C99-based standards] (hypotl): Likewise.
60978         [non-C99-based standards] (j0l): Likewise.
60979         [non-C99-based standards] (j1l): Likewise.
60980         [non-C99-based standards] (jnl): Likewise.
60981         [non-C99-based standards] (lgammal): Likewise.
60982         [non-C99-based standards] (tgammal): Likewise.
60983         [non-C99-based standards] (y0l): Likewise.
60984         [non-C99-based standards] (y1l): Likewise.
60985         [non-C99-based standards] (ynl): Likewise.
60986         [non-C99-based standards] (isnanl): Likewise.
60987         [non-C99-based standards] (acoshl): Likewise.
60988         [non-C99-based standards] (asinhl): Likewise.
60989         [non-C99-based standards] (atanhl): Likewise.
60990         [non-C99-based standards] (cbrtl): Likewise.
60991         [non-C99-based standards] (expm1l): Likewise.
60992         [non-C99-based standards] (ilogbl): Likewise.
60993         [non-C99-based standards] (log1pl): Likewise.
60994         [non-C99-based standards] (logbl): Likewise.
60995         [non-C99-based standards] (nextafterl): Likewise.
60996         [non-C99-based standards] (remainderl): Likewise.
60997         [non-C99-based standards] (rintl): Likewise.
60998         [non-C99-based standards] (scalbl): Likewise.
60999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61000         [non-C99-based standards] (FP_*): Do not allow.
61001         [C99-based standards] (FP_*): Change to
61002         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61003         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61004         allow.
61005         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61006         (SIG_ERR): Likewise.
61007         [X/Open-based standards] (SIG_HOLD): Likewise.
61008         (SIG_IGN): Likewise.
61009         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61010         positive value.
61011         (SIGFPE): Likewise.
61012         (SIGILL): Likewise.
61013         (SIGINT): Likewise.
61014         (SIGSEGV): Likewise.
61015         (SIGTER): Likewise.
61016         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61017         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61018         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61019         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61020         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61021         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61022         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61023         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61024         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61025         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61026         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61027         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61028         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61029         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61030         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61031         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61032         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61033         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61034         [X/Open-based standards] (SIGTRAP): Likewise.
61035         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61036         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61037         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61038         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61039         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61040         allow.
61042 2012-05-08  Ian Wienand  <ianw@vmware.com>
61044         [BZ #14080]
61045         * time/tzset.c (__tzset_parse_tz): Update default rules for
61046         daylight time changes in the Energy Policy Act of 2005.
61048 2012-05-09  Andreas Jaeger  <aj@suse.de>
61050         [BZ #13983]
61051         * elf/ldconfig.c (parse_conf): Change string to make clear that
61052         ldconfig only issued a warning if ld.so.conf does not exist.
61054 2012-05-08  David S. Miller  <davem@davemloft.net>
61056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61057         movxtod instead of popping the value on the stack.
61059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61061 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61063         * config.h.in: Add HAVE_ARM_PCS_VFP.
61065 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61067         [BZ #13979]
61068         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61069         checking but the checks are disabled for any reason.
61071 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61073         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61074         and ELF64_R_TYPE with ELFW(R_TYPE).
61076 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61078         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61079         (ulimit): Likewise.
61081         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61082         (settimeofday): Likewise.
61084 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61086         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61087         a struct th_u2 inside the union, and move tu_block/tu_code into
61088         a new th_u3 union of tu_block/tu_code inside of that.  Move
61089         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61090         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61091         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61092         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61093         (th_stuff): Change to th_u1.tu_stuff.
61094         (th_data): Define.
61095         (th_msg): Change to th_u1.th_u2.tu_data.
61097 2012-05-07  David S. Miller  <davem@davemloft.net>
61099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61101         [BZ #14074]
61102         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61103         (SETUP_PIC_REG): Use it.
61104         (SETUP_PIC_REG_LEAF): Use it.
61106 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61108         [BZ #13885]
61109         [BZ #13923]
61110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61111         USE_AS_EXPM1L.
61112         (EXPL_FINITE): Likewise.
61113         (FLDLOG): Likewise.
61114         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61115         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61116         e_expl.S.
61117         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61118         USE_AS_EXPM1L.
61119         (EXPL_FINITE): Likewise.
61120         (FLDLOG): Likewise.
61121         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61122         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61123         e_expl.S.
61124         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61125         test of -max_value argument for long double.
61126         * sysdeps/i386/fpu/libm-test-ulps: Update.
61127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61129 2012-05-06  David S. Miller  <davem@davemloft.net>
61131         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61132         quad soft-float symbols whose references which are compiler
61133         generated.
61134         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61136 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61138         [BZ #13884]
61139         [BZ #13914]
61140         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61141         USE_AS_EXP10L.
61142         (EXPL_FINITE): Likewise.
61143         (FLDLOG): Likewise.
61144         (c0): Likewise.
61145         (c1): Likewise.
61146         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61147         Adjust comments for base varying.
61148         (__expl_finite): Change alias to EXPL_FINITE.
61149         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61150         e_expl.S.
61151         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61152         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61153         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61154         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61156         USE_AS_EXP10L.
61157         (EXPL_FINITE): Likewise.
61158         (FLDLOG): Likewise.
61159         (c0): Likewise.
61160         (c1): Likewise.
61161         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61162         Adjust comments for base varying.
61163         (__expl_finite): Change alias to EXPL_FINITE.
61164         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61165         tests for bugs.
61166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61168         [BZ #14064]
61169         * math/libm-test.inc (check_float_internal): Correct ulp
61170         calculation for subnormal expected results.
61172 2012-05-06  Andreas Jaeger  <aj@suse.de>
61174         * Makeconfig (+math-flags): New, set to -frounding-math.
61175         (+cflags): Add +math-flags so that all of glibc gets compiled with
61176         it.
61178         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61180 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61182         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61183         Disable one test.
61185         [BZ #13787]
61186         [BZ #13922]
61187         [BZ #14036]
61188         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61189         (__ieee754_expl): Allow for and saturate large arguments.
61190         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61191         (u_threshold): Likewise.
61192         (__exp): Call __ieee754_exp before checking for overflow and
61193         underflow.
61194         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61195         (u_threshold): Likewise.
61196         (__expf): Call __ieee754_expf before checking for overflow and
61197         underflow.
61198         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61199         (u_threshold): Likewise.
61200         (__expl): Call __ieee754_expl before checking for overflow and
61201         underflow.
61202         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61203         (__ieee754_expl): Allow for and saturate large arguments.
61204         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61205         missing overflow exception on overflow.
61206         (expm1_test): Do not allow missing overflow exception on overflow.
61208         * sysdeps/i386/fpu/e_expl.c: Move to ...
61209         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61210         rather than using inline asm.
61211         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61212         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61213         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61215         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61216         (nice): Likewise.
61217         (poll): Likewise.
61218         (signal): Likewise.
61219         (time): Likewise.
61220         (times): Likewise.
61222 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61224         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61225         sysdeps/unix/common/syscalls.list.
61226         (fchmod): Likewise.
61227         (fchown): Likewise.
61228         (ftruncate): Likewise.
61229         (getrusage): Likewise.
61230         (gettimeofday): Likewise.
61231         (setpgid): Likewise.
61232         (setregid): Likewise.
61233         (setreuid): Likewise.
61234         (sigaction): Likewise.
61235         (truncate): Likewise.
61236         (vhangup): Likewise.
61237         * sysdeps/unix/common/syscalls.list: Remove file.
61238         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61239         * sysdeps/unix/sysv/linux/Implies: Likewise.
61241 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61243         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61245         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61246         Moved to ...
61247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61248         Here.
61249         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61250         to ...
61251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61252         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61253         to ...
61254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61255         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61256         to ...
61257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61258         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61259         to ...
61260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61261         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61262         to ...
61263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61264         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61265         to ...
61266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61267         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61268         to ...
61269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61270         Here.
61271         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61272         to ...
61273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61274         Here.
61275         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61276         to ...
61277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61278         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61279         Moved to ...
61280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61281         Here.
61282         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61283         to ...
61284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61286 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61288         * sysdeps/unix/common/bits/dirent.h: Remove file.
61289         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61291         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61292         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61293         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61294         * sysdeps/unix/bsd/isatty.c: Likewise.
61295         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61296         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61297         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61299 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61301         [BZ #13563]
61302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61303         long double comparison inaccuracies.
61304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61307 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61309         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61312 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61314         [BZ #14049]
61315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61316         nonzero digits before rounding a hex value.
61317         * stdlib/tst-strtod.c (tests): Add another test.
61319 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61321         * sysdeps/s390/fpu/libm-test-ulps: Update.
61323 2012-05-03  Andreas Jaeger  <aj@suse.de>
61325         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61326         does not get optimized out.
61327         (malloc_opt_barrier): New.
61329 2012-05-03  Andreas Jaeger  <aj@suse.de>
61330             Roland McGrath  <roland@hack.frob.com>
61332         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61333         intermediate file deletion.
61334         (generated): Add .symlist files.
61336 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61338         [BZ #13775]
61339         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61340         Redirect under this condition.
61341         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61342         [__USE_GNU] (__dprintf_chk): Not under this condition.
61343         [__USE_GNU] (__vdprintf_chk): Likewise.
61344         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61345         under this condition.
61346         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61347         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61348         [__USE_XOPEN2K8] (vdprintf): Likewise.
61349         [__USE_GNU] (__dprintf_chk): Not under this condition.
61350         [__USE_GNU] (__vdprintf_chk): Likewise.
61351         [__USE_GNU] (dprintf): Likewise.
61352         [__USE_GNU] (vdprintf): Likewise.
61354 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61356         * elf/Makefile (common-generated): Set this instead of generated for
61357         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61358         $(all-built-dso)-derived lists.
61360 2012-05-03  Andreas Jaeger  <aj@suse.de>
61362         * sysdeps/i386/fpu/libm-test-ulps: Update.
61364         * FAQ: Removed.
61365         * FAQ.in: Likewise.
61366         * scripts/gen-FAQ.pl: Likewise.
61367         * manual/install.texi (Installation): Point to online location of
61368         FAQ.
61369         * Makefile (files-for-dist): Remove FAQ.
61370         (FAQ): Remove.
61372 2012-05-02  Allan McRae  <allan@archlinux.org>
61374         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61375         (LDFLAGS-reldepmod5.so): Likewise.
61376         (LDFLAGS-reldep6mod1.so): Likewise.
61377         (LDFLAGS-reldep6mod4.so): Likewise.
61378         (LDFLAGS-reldep8mod3.so): Likewise.
61379         (LDFLAGS-unload4mod1.so): Likewise.
61380         (LDFLAGS-unload4mod2.so): Likewise.
61381         (LDFLAGS-tst-initorder): Likewise.
61382         (LDFLAGS-tst-initordera2.so): Likewise.
61383         (LDFLAGS-tst-initordera3.so): Likewise.
61384         (LDFLAGS-tst-initordera4.so): Likewise.
61385         (LDFLAGS-tst-initorderb2.so): Likewise.
61386         (LDFLAGS-noload): Likewise.
61387         (LDFLAGS-next): Likewise.
61388         (LDFLAGS-order2mod1.so): Likewise.
61389         (LDFLAGS-order2mod2.so): Likewise.
61390         (LDFLAGS-tst-initorder2): Likewise.
61391         (LDFLAGS-tst-initorder2a.so): Likewise.
61392         (LDFLAGS-tst-initorder2b.so): Likewise.
61393         (LDFLAGS-tst-initorder2c.so): Likewise.
61394         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61396 2012-05-02  David S. Miller  <davem@davemloft.net>
61398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61400 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
61402         [BZ #14055]
61403         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61405 2012-05-02  Andreas Jaeger  <aj@suse.de>
61407         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61408         since we manipulate rounding mode.
61409         (CPPFLAGS-test-idouble.c): Likewise.
61410         (CPPFLAGS-test-ifloat.c): Likewise.
61411         (CFLAGS-test-ldouble.c): Likewise.
61412         (CFLAGS-test-double.c): Likewise.
61413         (CFLAGS-test-float.c): Likewise.
61414         (CFLAGS-test-misc.c): Likewise.
61415         (CFLAGS-test-test-fenv.c): Likewise.
61417 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61419         [BZ #2550]
61420         [BZ #2570]
61421         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61422         comparisons to determine direction to adjust input.
61424 2012-05-01  Roland McGrath  <roland@hack.frob.com>
61426         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61427         output to the target.
61429         * scripts/localplt.awk: New file.
61430         * elf/Makefile ($(objpfx)check-localplt): Target removed.
61431         (check-localplt-CFLAGS): Variable removed.
61432         ($(all-built-dso:=.jmprel)): New static pattern rule.
61433         (generated): Add those targets.
61434         (localplt-built-dso): New variable.
61435         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61437         * elf/check-localplt.c: File removed.
61439         * scripts/check-execstack.awk: New file.
61440         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61441         (check-execstack-CFLAGS): Variable removed.
61442         ($(objpfx)check-execstack.h): Target removed.
61443         ($(objpfx)execstack-default): New target.
61444         (generated): Add that instead of check-execstack.h.
61445         ($(all-built-dso:=.phdr)): New static pattern rule.
61446         (generated): Add those targets.
61447         * elf/check-execstack.c: File removed.
61449         * scripts/check-textrel.awk: New file.
61450         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61451         (check-textrel-CFLAGS): Variable removed.
61452         (all-built-dso): Use := to define.o
61453         ($(all-built-dso:=.dyn)): New static pattern rule.
61454         (generated): Add those targets.
61455         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61456         * config.make.in (READELF): New substituted variable.
61457         * elf/check-textrel.c: File removed.
61459 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61461         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61462         allow.
61463         * conform/data/ctype.h-data [C99-based standards] (isblank):
61464         Expect function.
61465         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61466         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61467         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61468         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61469         Specify type.  Require positive value.
61470         (EILSEQ): Likewise.
61471         (ERANGE): Likewise.
61472         [ISO || POSIX] (EILSEQ): Do not expect.
61473         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61474         Specify type.  Require positive value.
61475         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61476         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61477         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61478         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61479         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61480         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61481         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61482         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61483         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61484         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61485         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61486         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61487         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61488         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61489         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61490         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61491         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61492         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61493         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61494         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61495         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61496         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61497         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61498         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61499         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61500         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61501         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61502         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61503         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61504         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61505         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61506         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61507         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61508         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61509         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61510         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61511         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61512         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61513         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61514         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61515         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61516         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61517         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61518         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61519         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61520         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61521         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61522         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61523         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61524         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61525         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61526         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61527         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61528         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61529         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61530         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61531         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61532         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61533         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61534         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61535         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61536         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61537         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61538         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61539         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61540         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61541         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61542         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61543         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61544         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61545         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61546         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61547         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61548         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61549         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61550         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61551         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61552         Require >= 2.
61553         (FLT_ROUNDS): Expect as macro, not constant.
61554         (FLT_MANT_DIG): Use macro-int-constant.
61555         (DBL_MANT_DIG): Likewise.
61556         (LDBL_MANT_DIG): Likewise.
61557         (FLT_DIG): Likewise.
61558         (DBL_DIG): Likewise.
61559         (LDBL_DIG): Likewise.
61560         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61561         (DBL_MIN_EXP): Likewise.
61562         (LDBL_MIN_EXP): Likewise.
61563         (FLT_MAX_EXP): Use macro-int-constant.
61564         (DBL_MAX_EXP): Likewise.
61565         (LDBL_MAX_EXP): Likewise.
61566         (FLT_MAX_10_EXP): Likewise.
61567         (DBL_MAX_10_EXP): Likewise.
61568         (LDBL_MAX_10_EXP): Likewise.
61569         (FLT_MAX): Use macro-constant.
61570         (DBL_MAX): Likewise.
61571         (LDBL_MAX): Likewise.
61572         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61573         (DBL_EPSILON): Likewise.
61574         (LDBL_EPSILON): Likewise.
61575         (FLT_MIN): Likewise.
61576         (DBL_MIN): Likewise.
61577         (LDBL_MIN): Likewise.
61578         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61579         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61580         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61581         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61582         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61583         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61584         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61585         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61586         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61587         [ISO11] (FLT_TRUE_MIN): Likewise.
61588         [ISO11] (LDBL_TRUE_MIN): Likewise.
61589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61590         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61591         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61592         (SCHAR_MAX): Likewise.
61593         (UCHAR_MAX): Likewise.
61594         (CHAR_MIN): Likewise.
61595         (CHAR_MAX): Likewise.
61596         (MB_LEN_MAX): Use macro-int-constant.
61597         (SHRT_MIN): Use macro-int-constant.  Specify type.
61598         (SHRT_MAX): Likewise.
61599         (USHRT_MAX): Likewise.
61600         (INT_MAX): Likewise.
61601         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61602         bound negative.
61603         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61604         bound with "U".
61605         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61606         bound with "L".
61607         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61608         bound negative.  Suffix upper bound with "L".
61609         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61610         bound with "UL".
61611         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61612         Specify type.
61613         [C99-based standards] (LLONG_MAX): Likewise.
61614         [C99-based standards] (ULLONG_MAX): Likewise.
61615         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61616         == 0.
61617         [ISO11] (max_align_t): Require type.
61618         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61620         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61621         from $CFLAGS, without defining away __attribute__ calls.
61622         (checknamespace): Use $CFLAGS_namespace.
61624         * conform/conformtest.pl (@keywords): Only include C99 keywords
61625         for standards based on C99 or C11.
61627         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61628         Disable tests.
61629         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61630         UNIX98]: Likewise.
61632         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61633         usability of symbols in #if.
61635         * conform/conformtest.pl: If macro or constant types start
61636         "promoted:", expect the symbol to be of the following type
61637         promoted by the integer promotions.
61639         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61640         in one place.  Also handle "macro-constant".
61642         * conform/conformtest.pl: Only accept expected macro values with
61643         "==".  Parse all "macro" lines in one place.
61644         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61646         * conform/conformtest.pl: Handle braced types on "constant" lines
61647         instead of handling "typed-constant".
61648         * conform/data/signal.h-data: Use "constant" instead of
61649         "typed-constant".
61651         * conform/conformtest.pl: Handle "optional-" at start of lines in
61652         one place rather than duplicating several cases.  Handle each
61653         format of "macro" line with initial "optional-".
61655         * conform/conformtest.pl: Only accept expected constant or
61656         optional-constant values with "==".  Parse all "constant" lines in
61657         one place.  Parse all "optional-constant" lines in one place.
61658         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61659         * conform/data/fmtmsg.h-data: Likewise.
61660         * conform/data/netinet/in.h-data: Likewise.
61661         * conform/data/tar.h-data: Likewise.
61662         * conform/data/limits.h-data: Use "==" form on "constant" and
61663         "optional-constant" lines.
61665         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61666         Use -std=c99 for XOPEN2K.
61667         (@knownproblems): Remove.
61668         (newtoken): Don't check %isknown.
61670         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61671         Do not expect macro.
61672         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61673         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61674         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61675         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61676         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61677         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61678         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61679         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61680         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61681         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61682         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61683         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61684         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61685         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61686         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61687         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61688         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61689         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61690         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61691         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61692         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61693         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61694         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61695         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61696         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61697         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61698         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61699         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61700         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61701         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61702         [XPG3] (acosh): Likewise.
61703         [XPG3] (asinh): Likewise.
61704         [XPG3] (atanh): Likewise.
61705         [XPG3] (cbrt): Likewise.
61706         [XPG3] (expm1): Likewise.
61707         [XPG3] (ilogb): Likewise.
61708         [XPG3] (log1p): Likewise.
61709         [XPG3] (logb): Likewise.
61710         [XPG3] (nextafter): Likewise.
61711         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61712         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61713         [XPG3] (remainder): Likewise.
61714         [XPG3] (rint): Likewise.
61715         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61716         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61717         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61718         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61719         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61720         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61721         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61722         [UNIX98 || XOPEN2K] (scalb): Expect.
61723         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61724         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61725         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61726         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61727         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61728         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61729         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61730         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61731         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61732         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61733         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61734         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61735         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61736         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61737         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61738         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61739         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61740         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61741         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61742         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61743         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61744         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61745         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61746         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61747         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61748         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61749         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61750         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61751         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61752         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61753         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61754         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61755         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61756         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61757         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61758         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61759         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61760         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61761         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61762         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61763         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61764         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61765         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61766         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61767         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61768         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61769         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61770         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61771         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61772         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61773         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61774         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61775         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61776         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61777         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61778         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61779         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61780         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61781         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61782         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61783         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61784         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61785         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61786         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61787         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61788         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61789         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61790         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61791         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61792         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61793         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61794         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61795         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61796         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61797         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61798         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61799         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61800         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61801         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61802         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61803         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61804         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61805         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61806         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61807         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61808         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61809         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61810         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61811         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61812         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61813         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61814         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61815         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61816         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61817         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61818         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61819         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61820         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61821         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61822         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61823         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61824         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61825         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61826         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61827         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61828         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61829         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61830         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61831         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61832         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61833         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61834         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61835         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61836         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61837         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61838         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61839         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61840         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61841         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61842         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61843         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61844         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61845         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61846         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61847         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61848         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61849         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61850         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61851         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61852         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61853         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61854         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61855         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61856         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61857         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61858         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61859         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61861         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61862         _XOPEN_SOURCE_EXTENDED for XPG4.
61864         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61866         * Makeconfig (localtime): Remove variable.
61867         (inst_localtime-file): Likewise.
61869 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61872         Update.
61873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61874         Update.
61875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61876         Update.
61877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61878         Update.
61879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61880         Update.
61881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61882         Update.
61883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61884         Update.
61885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61886         Update.
61887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61888         Update.
61890 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61892         [BZ #2550]
61893         [BZ #2570]
61894         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61895         comparisons to determine direction to adjust input.
61896         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61897         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61898         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61899         Likewise.
61900         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61901         Likewise.
61902         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61903         Likewise.
61904         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61905         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61906         Likewise.
61907         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61908         Likewise.
61909         * math/libm-test.inc (nexttoward_test): Add more tests.
61911 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61913         [BZ #14040]
61914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61915         in version GLIBC_2.1, not GLIBC_2.0.
61916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61917         Likewise.
61919 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61921         [BZ #13942]
61922         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61923         (1 - x) * (1 + x).
61924         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61925         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61926         * math/libm-test.inc (acos_test): Add more tests.
61927         (asin_test): Likewise.
61928         * sysdeps/i386/fpu/libm-test-ulps: Update.
61929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61931         [BZ #14034]
61932         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61933         of square root.
61934         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61935         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61936         * math/libm-test.inc (acos_test_tonearest): New function.
61937         (acos_test_towardzero): Likewise.
61938         (acos_test_downward): Likewise.
61939         (acos_test_upward): Likewise.
61940         (asin_test_tonearest): Likewise.
61941         (asin_test_towardzero): Likewise.
61942         (asin_test_downward): Likewise.
61943         (asin_test_upward): Likewise.
61944         (main): Call the new functions.
61945         * sysdeps/i386/fpu/libm-test-ulps: Update.
61946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61948         [BZ #13884]
61949         [BZ #13924]
61950         * math/e_exp10.c: Include <float.h>.
61951         (__ieee754_exp10): Handle underflow here rather than multiplying
61952         large negative argument by M_LN10.
61953         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61954         of __ieee754_expf.
61955         * math/e_exp10l.c: Include <float.h>.
61956         (__ieee754_exp10l): Handle underflow here rather than multiplying
61957         large negative argument by M_LN10l.
61958         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61959         spurious overflow exception on underflow.
61961 2012-04-29  Marek Polacek  <polacek@redhat.com>
61963         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61964         (__fortify_function): New macro.
61965         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61966         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61967         __extern_always_inline.
61968         * libio/bits/stdio2.h: Likewise.
61969         * libio/bits/stdio.h: Likewise.
61970         * string/string.h: Likewise.
61971         * string/bits/string3.h: Likewise.
61972         * include/stdio.h: Likewise.
61973         * stdlib/bits/stdlib.h: Likewise.
61974         * stdlib/stdlib.h: Likewise.
61975         * rt/bits/mqueue2.h: Likewise.
61976         * rt/mqueue.h: Likewise.
61977         * posix/bits/unistd.h: Likewise.
61978         * posix/unistd.h: Likewise.
61979         * io/bits/poll2.h: Likewise.
61980         * io/bits/fcntl2.h: Likewise.
61981         * io/fcntl.h: Likewise.
61982         * io/sys/poll.h: Likewise.
61983         * misc/bits/syslog.h: Likewise.
61984         * misc/bits/syslog-ldbl.h: Likewise.
61985         * misc/sys/syslog.h: Likewise.
61986         * socket/bits/socket2.h: Likewise.
61987         * socket/sys/socket.h: Likewise.
61988         * debug/tst-chk1.c: Likewise.
61989         * wcsmbs/bits/wchar2.h: Likewise.
61990         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61991         * wcsmbs/wchar.h: Likewise.
61993 2012-04-29  Andreas Jaeger  <aj@suse.de>
61995         * Makerules (tests): Remove enable-check-abi protection.
61996         (check-abi-warn): Remove.
61997         (check-abi-%): Remove check-abi-warn usage.
61999         * configure.in: Remove check-abi configure option.
62000         * configure: Regenerated.
62001         * config.make.in (enable-check-abi): Remove.
62003 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62005         [BZ #14033]
62006         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62007         double functions to double *_finite functions.
62009         [BZ #13941]
62010         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62011         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62012         LDBL_MIN_EXP.
62013         * stdio-common/Makefile (tests): Add tst-sprintf3.
62014         * stdio-common/tst-sprintf3.c: New file.
62016         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62017         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62019 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62021         * conform/conformtest.pl: Remove duplicate typed-constant
62022         handling.
62024 2012-04-28  David S. Miller  <davem@davemloft.net>
62026         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62027         (check-abi-%): Remove AWK script prerequisite and explicit
62028         abilist directory.
62029         (check-abi): Rewrite to just diff the symlist with the abilist.
62030         (config-tls, config-abi-config): Delete, no longer used.
62031         (update-abi-%): Remove AWK script and explicit abilist directory.
62032         (update-abi): Rewrite to simply compare and conditionally copy the
62033         symlist and the sysdep abilist file.  Remove update-abi-config
62034         checks.
62035         * abilist/ld.abilist: Remove.
62036         * abilist/libBrokenLocale.abilist: Remove.
62037         * abilist/libanl.abilist: Remove.
62038         * abilist/libcrypt.abilist: Remove.
62039         * abilist/libdl.abilist: Remove.
62040         * abilist/librt.abilist: Remove.
62041         * abilist/libthread_db.abilist: Remove.
62042         * abilist/libutil.abilist: Remove.
62043         * scripts/extract-abilist.awk: Remove.
62044         * scripts/merge-abilist.awk: Remove.
62045         * sysdeps/generic/libcidn.abilist: New file.
62046         * sysdeps/generic/libnss_compat.abilist: New file.
62047         * sysdeps/generic/libnss_db.abilist: New file.
62048         * sysdeps/generic/libnss_dns.abilist: New file.
62049         * sysdeps/generic/libnss_files.abilist: New file.
62050         * sysdeps/generic/libnss_hesiod.abilist: New file.
62051         * sysdeps/generic/libnss_nis.abilist: New file.
62052         * sysdeps/generic/libnss_nisplus.abilist: New file.
62053         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62054         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62055         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62056         file.
62057         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62058         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62059         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62060         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62061         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62062         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62063         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62064         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62065         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62066         file.
62067         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62068         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62069         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62070         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62071         file.
62072         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62073         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62074         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62075         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62076         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62077         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62078         file.
62079         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62080         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62081         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62082         file.
62083         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62085         New file.
62086         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62087         New file.
62088         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62089         New file.
62090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62091         New file.
62092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62093         New file.
62094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62095         New file.
62096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62097         New file.
62098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62099         New file.
62100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62101         New file.
62102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62103         New file.
62104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62105         New file.
62106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62107         New file.
62108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62109         New file.
62110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62111         file.
62112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62113         New file.
62114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62115         New file.
62116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62117         file.
62118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62119         New file.
62120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62121         New file.
62122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62123         file.
62124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62125         New file.
62126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62127         New file.
62128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62129         New file.
62130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62131         New file.
62132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62133         New file.
62134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62135         New file.
62136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62138         file.
62139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62140         New file.
62141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62142         file.
62143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62144         file.
62145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62146         file.
62147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62148         file.
62149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62150         file.
62151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62152         New file.
62153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62154         file.
62155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62156         file.
62157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62158         New file.
62159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62160         file.
62161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62163         file.
62164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62165         New file.
62166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62167         file.
62168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62169         file.
62170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62171         file.
62172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62173         file.
62174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62175         file.
62176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62177         New file.
62178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62179         file.
62180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62181         file.
62182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62183         New file.
62184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62185         file.
62186         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62187         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62188         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62189         file.
62190         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62191         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62192         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62193         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62194         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62195         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62196         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62197         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62198         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62199         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62202         file.
62203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62204         New file.
62205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62206         file.
62207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62208         file.
62209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62210         file.
62211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62212         file.
62213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62214         file.
62215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62216         New file.
62217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62218         New file.
62219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62220         file.
62221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62222         New file.
62223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62224         file.
62225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62227         file.
62228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62229         New file.
62230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62231         file.
62232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62233         file.
62234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62235         file.
62236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62237         file.
62238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62239         file.
62240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62241         New file.
62242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62243         New file.
62244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62245         file.
62246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62247         New file.
62248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62249         file.
62251 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62253         * conform/conformtest.pl: Fix typo in handling typed-constant from
62254         allow-header.
62256 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62258         * README: Cut down references to pre-2.6 Linux kernels and
62259         Linuxthreads.  Update lists of configurations in libc and ports
62260         and sort alphabetically.  Say "or newer" with Linux kernel version
62261         requirements.
62263         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62265 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62267         [BZ #887]
62268         * math/libm-test.inc (logb_test_downward): New test to expose
62269         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62270         rounding mode.
62272 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62274         [BZ #14027]
62275         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62276         to be done.
62277         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62278         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62280 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62282         * sysdeps/unix/i386/brk.S: Remove file.
62283         * sysdeps/unix/i386/dl-brk.S: Likewise.
62284         * sysdeps/unix/i386/pipe.S: Likewise.
62285         * sysdeps/unix/i386/sigreturn.S: Likewise.
62286         * sysdeps/unix/i386/syscall.S: Likewise.
62287         * sysdeps/unix/i386/vfork.S: Likewise.
62288         * sysdeps/unix/i386/wait.S: Likewise.
62290         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62291         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62293         * configure.in (arm*-none*): Do not allow without
62294         --enable-hacker-mode.
62295         (netbsd*): Remove case setting base_os.
62296         (386bsd*): Likewise.
62297         (freebsd*): Likewise.
62298         (bsdi*): Likewise.
62299         (osf*): Likewise.
62300         (sunos*): Likewise.
62301         (ultrix*): Likewise.
62302         (newsos*): Likewise.
62303         (dynix*): Likewise.
62304         (*bsd*): Likewise.
62305         (sysv*): Likewise.
62306         (isc*): Likewise.
62307         (esix*): Likewise.
62308         (sco*): Likewise.
62309         (minix*): Likewise.
62310         (irix4*): Likewise.
62311         (irix6*): Likewise.
62312         (solaris[2-9]*): Likewise.
62313         (none): Likewise.
62314         * configure: Regenerated.
62316 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62318         [BZ #11521]
62319         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62320         overflow or cancellation in calculating denominator.
62321         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62322         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62323         down expression to avoid unexpected rounding in newer GCCs.
62324         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62326 2012-04-26  David S. Miller  <davem@davemloft.net>
62328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62329         long-double compat symbols.
62330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62344 2012-04-25  David S. Miller  <davem@davemloft.net>
62346         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62347         HWCAP_* values only after the memory barriers have been defined.
62348         (atomic_full_barrier): Define.
62349         (atomic_read_barrier): Define.
62350         (atomic_write_barrier): Define.
62352 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62354         * shlib-versions: Add libgcc_s version information.
62355         * sysdeps/generic/libgcc_s.h: Remove.
62356         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62357         libgcc_s.h.
62358         * sysdeps/gnu/unwind-resume.c: Likewise.
62359         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62361 2012-04-25  David S. Miller  <davem@davemloft.net>
62363         * sysdeps/unix/sparc/brk.S: Delete.
62364         * sysdeps/unix/sparc/dl-brk.S: Delete.
62365         * sysdeps/unix/sparc/pipe.S: Delete.
62366         * sysdeps/unix/sparc/sysdep.S: Delete.
62367         * sysdeps/unix/sparc/sysdep.h: Delete.
62368         * sysdeps/unix/sparc/vfork.S: Delete.
62369         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62370         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62371         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62372         (ret_ERRVAL, r0, r1, MOVE): Define.
62373         (JUMPTARGET): Remove.
62374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62375         sysdeps/unix/sparc/sysdep.h
62376         (ENTRY, END): Remove.
62377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62379 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
62381         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62382         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62383         -DIS_IN_build.
62385         * timezone/README: Update upstream location and email address for
62386         tzcode and tzdata.
62387         * timezone/zdump.c: Update from tzcode 2012b.
62388         * timezone/zic.c: Likewise.
62390         * configure.in (libc_cv_as_needed): Remove test.
62391         * configure: Regenerated.
62392         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62393         conditional definition.
62394         [$(have-as-needed) != yes] (no-as-needed): Likewise.
62395         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62396         * config.make.in (have-as-needed): Remove variable.
62398 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62399             Paul Pluzhnikov  <ppluzhnikov@google.com>
62401         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62402         strings correctly.
62404 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
62406         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62407         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62408         * sysdeps/sh/strlen.S: Likewise.
62410 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62412         * sysdeps/unix/fork.S: Remove file.
62413         * sysdeps/unix/i386/fork.S: Likewise.
62414         * sysdeps/unix/sparc/fork.S: Likewise.
62416         * sysdeps/unix/system.c: Remove file.
62417         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62419         * sysdeps/unix/getegid.S: Remove file.
62420         * sysdeps/unix/geteuid.S: Likewise.
62422 2012-04-24  Roland McGrath  <roland@hack.frob.com>
62424         * scripts/check-localplt.awk: New file.
62425         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62426         of diff.
62427         * scripts/data/localplt-generic.data: Add a comment.
62429         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62430         NODE when __dir_mkfile failed.
62431         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62432         Reported by Ludovic Courtès <ludo@gnu.org>.
62434 2012-04-24  Andreas Jaeger  <aj@suse.de>
62436         * Makerules (common-clean): Also remove gen-as-const-headers
62437         files.
62439 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62441         * Makerules (native-compile): Do not change working directory for
62442         build.  Use $(OUTPUT_OPTION) in command.
62443         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62445 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62447         [BZ #13886]
62448         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62449         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62450         * math/libm-test.inc (floor_test): Add more tests.
62451         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62453 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62455         * sysdeps/unix/getdents.c: Remove file.
62456         * sysdeps/unix/sysv/getdents.c: Likewise.
62457         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62459         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62460         sysdeps/unix/mman/syscalls.list.
62461         (mmap): Likewise.
62462         (mprotect): Likewise.
62463         (msync): Likewise.
62464         (munmap): Likewise.
62465         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62466         * sysdeps/unix/mman/syscalls.list: Remove.
62467         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62469         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62470         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62471         * configure: Regenerated.
62472         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62473         $(libgcc_s_suffix).
62474         * config.make.in (libgcc_s_suffix): Remove variable.
62476 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62478         * sysdeps/unix/sysv/gethostname.c: Move to ...
62479         * sysdeps/posix/gethostname.c: ... here.
62481         * sysdeps/unix/execve.S: Remove file.
62483         * sysdeps/unix/_exit.S: Remove file.
62485 2012-04-23  Andreas Jaeger  <aj@suse.de>
62487         [BZ #13739]
62488         * manual/Makefile: Remove make dist support, there's no
62489         need for a stand-alone documentation tar ball.
62490         (TEXI2DVI): Define always, it's not in Makeconfig.
62491         (dist): Removed.
62492         (tar-it): Removed.
62493         (edition): Removed.
62494         (glibc-doc-$(edition).tar): Removed
62495         (%.Z): Removed.
62496         (%.gz): Removed.
62497         (%.uu): Removed.
62498         (ETAGS): Remove, it's in Makeconfig.
62499         (move-if-change): Remove, it's in Makeconfig.
62501 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62503         [BZ #13970]
62504         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62505         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62506         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62507         (strtod_l, strtof_l, strtold_l): Remove __wur.
62508         It is not necessarily an error to ignore strtol's return value.
62509         One can reliably look at the stored endptr to decide whether
62510         the number had valid syntax.
62512 2012-04-21  Andreas Jaeger  <aj@suse.de>
62514         [BZ #13739]
62515         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62517 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62519         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62520         * sysdeps/unix/sysv/Versions: Remove file.
62522 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62524         [BZ #13927]
62525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62527 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62529         [BZ #7064]
62530         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62531         version from __vm86.
62533 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62535         * sysdeps/unix/common/lxstat.c: Remove file.
62536         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62538         * sysdeps/unix/sysv/Makefile: Remove file.
62540         * sysdeps/unix/sysv/direct.h: Remove file.
62542         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62543         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62544         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62545         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62546         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62547         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62548         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62550         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62552         * sysdeps/unix/xmknod.c: Remove file.
62553         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62555         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62557         * sysdeps/unix/sysv/i386/time.S: Remove file.
62559         * sysdeps/unix/fxstat.c: Remove file.
62560         * sysdeps/unix/xstat.c: Likewise.
62561         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62563         * sysdeps/unix/sysv/sigaction.c: Remove file.
62565         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62566         (sysdep_headers): Remove variable.
62567         [termio.h not in sysdep_headers] (generated): Likewise.
62568         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62569         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62570         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62571         * sysdeps/unix/sysv/tcflow.c: Likewise.
62572         * sysdeps/unix/sysv/tcflush.c: Likewise.
62573         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62574         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62575         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62576         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62577         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62579         * sysdeps/unix/siglist.c: Remove file.
62581         * sysdeps/unix/getppid.S: Remove file.
62583         * sysdeps/unix/mkdir.c: Remove file.
62584         * sysdeps/unix/rmdir.c: Likewise.
62586 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62588         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62589         ERR_MAX value.
62590         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62591         errlist-compat value.
62593 2012-04-18  David S. Miller  <davem@davemloft.net>
62595         * sysdeps/generic/memcopy.h (reg_char): Delete.
62596         * debug/strcat_chk.c: Use char, not reg_char.
62597         * debug/strcpy_chk.c: Likewise.
62598         * debug/strncat_chk.c: Likewise.
62599         * debug/strncpy_chk.c: Likewise.
62600         * string/memchr.c: Likewise.
62601         * string/memrchr.c: Likewise.
62602         * string/rawmemchr.c: Likewise.
62603         * string/strcat.c: Likewise.
62604         * string/strchr.c: Likewise.
62605         * string/strchrnul.c: Likewise.
62606         * string/strcmp.c: Likewise.
62607         * string/strcpy.c: Likewise.
62608         * string/strncat.c: Likewise.
62609         * string/strncmp.c: Likewise.
62610         * string/strncpy.c: Likewise.
62612 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62614         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62615         __builtin_memcopy is called when src and dest ranges are known to not
62616         overlap.
62618 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62620         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62621         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62622         fwd_align_merge macro call.
62623         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62624         bwd_align_merge macro call.
62625         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62627 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62629         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62630         bwd_align_merge macros.
62631         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62632         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62633         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62635 2012-04-18  David S. Miller  <davem@davemloft.net>
62637         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62639 2012-04-18  Andreas Jaeger  <aj@suse.de>
62641         [BZ# 6794]
62642         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62643         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62644         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62646         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62647         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62648         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62650         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62651         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62652         Adjust for changed ldbl-128 files.
62654         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62655         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62656         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62658 2012-04-17  David S. Miller  <davem@davemloft.net>
62660         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62662 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62664         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62665         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62666         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62667         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62668         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62669         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62671 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62673         [BZ #6794]
62674         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62675         * math/libm-test.inc: Add ilogb errno and exception tests.
62676         * math/w_ilogb.c: New file: ilogb wrapper.
62677         * math/w_ilogbf.c: New file: ilogbf wrapper.
62678         * math/w_ilogbl.c: New file: ilogbl wrapper.
62679         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62680         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62681         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62682         exception being thrown with 0.0 as argument.
62683         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62684         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62685         exception being thrown with 0.0 as argument.
62686         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62687         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62688         exception being thrown with 0.0 as argument.
62689         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62690         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62691         exception being thrown with 0.0 as argument.
62692         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62693         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62694         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62695         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62696         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62697         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62698         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62699         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62700         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62702 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62704         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62705         with altivec.
62707 2012-04-16  Marek Polacek  <polacek@redhat.com>
62709         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62711 2012-04-16  Marek Polacek  <polacek@redhat.com>
62713         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62714         operands of fdivp instruction.
62716 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62718         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62719         * elf/tst-auditmod3b.c: Likewise.
62720         * elf/tst-auditmod4b.c: Likewise.
62721         * elf/tst-auditmod5b.c: Likewise.
62722         * elf/tst-auditmod6b.c: Likewise.
62723         * elf/tst-auditmod6c.c: Likewise.
62724         * elf/tst-auditmod7b.c: Likewise.
62725         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62726         * sysdeps/x86_64/preconfigure.in: Likewise.
62727         * sysdeps/x86_64/preconfigure: Regenerated.
62729 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62731         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62732         __ILP32__.
62734 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62736         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62737         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62739 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62741         [BZ #13973]
62742         * locale/iso-639.def: Fix gl language name. Spotted by
62743         Yaron Shahrabani.
62745 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62747         [BZ #2074]
62748         * libio/libio.h (__io_write_fn): Update comment.
62750 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62752         [BZ #2074]
62753         * stdio.texi (Hook Functions): The user provided writer function
62754         is not allowed to return -1.
62756 2012-04-11  David S. Miller  <davem@davemloft.net>
62758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62760 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62762         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62763         Add a leading slash to rtkaio.
62765 2012-04-11  Jim Meyering  <meyering@redhat.com>
62767         [BZ #11959]
62768         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62769         It is not necessarily an error to ignore fwrite's return
62770         value.  One can reliably use ferror to test for errors after
62771         the fact.
62773 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62775         * bits/types.h (__snseconds_t): New type.
62776         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62778         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62780         (__SNSECONDS_T_TYPE): Likewise.
62781         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62782         (__SNSECONDS_T_TYPE): Likewise.
62783         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62784         (__SNSECONDS_T_TYPE): Likewise.
62786 2012-04-10  Andreas Jaeger  <aj@suse.de>
62788         [BZ #2636]
62789         * manual/time.texi (Processor Time): Return type of times is
62790         elapsed real time since an arbitrary point in the past.
62791         (CPU Time): Move CLK_TCK from here...
62792         (Processor Time): ...to here.  Correct description.
62793         * manual/conf.texi (Constants for Sysconf): Correct description of
62794         _SC_CLK_TCK.
62796 2012-04-10  David S. Miller  <davem@davemloft.net>
62798         [BZ #13967]
62799         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62800         where the is a gap between DT_REL(A) and DT_JMPREL.
62802 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62804         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62805         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62806         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62808 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62810         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62811         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62812         (dl_main): Handle --inhibit-cache.
62813         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62814         _dl_inhibit_cache.
62815         * elf/dl-load.c (_dl_map_object): Use it.
62816         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62818 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62820         [BZ #13872]
62821         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62822         (__ieee754_powl): Saturate large exponents rather than testing for
62823         overflow of y*log2(x).
62824         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62825         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62826         exceptions.
62828         [BZ #11521]
62829         * math/s_ctan.c: Include <float.h>.
62830         (__ctan): Avoid internal overflow or cancellation in calculating
62831         denominator.
62832         * math/s_ctanf.c: Likewise.
62833         * math/s_ctanl.c: Likewise.
62834         * math/s_ctanh.c: Likewise.
62835         * math/s_ctanhf.c: Likewise.
62836         * math/s_ctanhl.c: Likewise.
62837         * math/libm-test.inc (ctan_test): Add more tests.
62838         (ctanh_test): Likewise.
62839         * sysdeps/i386/fpu/libm-test-ulps: Update.
62840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62842 2012-04-09  Andreas Jaeger  <aj@suse.de>
62844         [BZ #6894]
62845         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62846         is an optional BSD extension.
62848         [BZ #10254]
62849         * manual/stdio.texi (Opening Streams): Document additional fopen
62850         parameters.
62852 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62854         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62855         %eax without telling the compiler.
62857 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62859         [BZ # 13963]
62860         * manual/install.texi: Use sourceware.org.
62862 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62864         [BZ #13873]
62865         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62866         (__ieee754_pow): Generate overflow and underflow using huge*huge
62867         and tiny*tiny rather than just returning constant infinity or zero
62868         for large exponents.
62869         * math/libm-test.inc (pow_test): Require overflow exceptions for
62870         applicable cases of large exponents.
62872         [BZ #706]
62873         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62874         (__ieee754_pow): Use iterative multiplication algorithm only for
62875         integer exponents with absolute value below 1024.  Check for odd
62876         integer exponents when using algorithm for real exponents.
62877         * math/libm-test.inc (pow_test): Add more tests.
62878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62880 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62882         [BZ #13705]
62883         * math/libm-test.inc (exp_test): Do not allow overflow exception
62884         on underflow test.
62886 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62888         [BZ #13705]
62889         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62890         instead of __kernel_standard_f.
62892 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62894         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62895         * sysdeps/x86_64/memset_chk.S: Likewise.
62897 2012-04-08  Andreas Jaeger  <aj@suse.de>
62899         [BZ #10153]
62900         * manual/startup.texi (Environment Access): Describe return value
62901         for putenv and setenv.
62903         [BZ #6895]
62904         * manual/filesys.texi (Directory Entries): Add description for
62905         DT_LNK.
62907         [BZ #6890]
62908         * manual/filesys.texi (Directory Entries): Clarify that it's file
62909         system not operating system in the description of DT_UNKNOWN.
62911         [BZ #6578]
62912         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62914 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62916         [BZ #6649]
62917         * manual/llio.texi (Opening and Closing Files): Add cross
62918         reference to explain mode argument.
62920 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62922         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62923         * sysdeps/x86_64/memset_chk.S: Likewise.
62925 2012-04-07  David S. Miller  <davem@davemloft.net>
62927         * elf/elf.h (R_SPARC_WDISP10): Define.
62928         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62929         R_SPARC_SIZE32.
62930         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62931         R_SPARC_SIZE64 and R_SPARC_H34.
62933 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62935         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62936         conditions and remove no longer applicable assertion.
62938 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62940         * bits/byteswap.h: Include <features.h>.
62941         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62942         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62944 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62946         * bits/byteswap.h (__bswap_16): Removed.
62947         Include <bits/byteswap-16.h> to get __bswap_16.
62948         * sysdeps/i386/bits/byteswap.h: Likewise.
62949         * sysdeps/s390/bits/byteswap.h: Likewise.
62950         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62951         * bits/byteswap-16.h: New file.
62952         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62953         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62954         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62955         * string/Makefile (headers): Add bits/byteswap-16.h.
62957 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62959         [BZ #13895]
62960         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62961         extra indirection.
62962         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62963         * nss/tst-nss-static.c: New.
62965 2012-04-06  Robert Millan  <rmh@gnu.org>
62967         [BZ #6486]
62968         * manual/llio.texi (File Position Primitive): lseek
62969         refers to WHENCE when it really means OFFSET.
62971 2012-04-06  Andreas Jaeger  <aj@suse.de>
62973         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62974         strncmp declarations.
62976         * abilist/libc.abilist: Add __poll and __ppoll.
62978 2012-04-05  David S. Miller  <davem@davemloft.net>
62980         * scripts/check-local-headers.sh: Accept a host triplet in the
62981         path matched by the exclude regexp.
62983         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62984         definition.
62985         * sysdeps/powerpc/powerpc32/dl-machine.h
62986         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62987         * sysdeps/s390/s390-32/dl-machine.h
62988         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62989         * sysdeps/sparc/sparc32/dl-machine.h
62990         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62991         * sysdeps/sparc/sparc64/dl-machine.h
62992         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62994         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62995         lazy binding.
62996         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62997         undefined symbol errors.
62999         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63000         DT_NEEDED entries.
63002 2012-04-05  Michael Matz  <matz@suse.de>
63004         [BZ #13592]
63005         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63007 2012-04-05  Andreas Jaeger  <aj@suse.de>
63009         [BZ #13908]
63010         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63011         comment.
63013 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63015         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63016         which ROUND is no valid rounding mode.
63018 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63020         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63021         read again.
63022         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63024 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63026         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63027         an exception using FPU order intentionally.
63029 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63031         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63032         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63033         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63034         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63036 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63038         [BZ #12340]
63039         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63040         EINVAL when BUFLEN is too smal.
63042 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63044         [BZ #13553]
63045         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63046         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63048 2012-04-03  Andreas Jaeger  <aj@suse.de>
63050         [BZ #13938]
63051         * manual/setjmp.texi (System V contexts): Fix sentence.
63053         [BZ #13926]
63054         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63055         New macro for this case.
63056         [!__GNUC__] (__bswap_64): New inline function for this case.
63057         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63058         * bits/byteswap.h: Likewise.
63059         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63060         ull, guard with __GLIBC_HAVE_LONG_LONG.
63062         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63063         __GLIBC_HAVE_LONG_LONG.
63065         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63066         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63068 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63070         [BZ #13691]
63071         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63072         inptr and inend, rather than using last_ch.
63074 2012-04-02  David S. Miller  <davem@davemloft.net>
63076         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63077         * stdio-common/printf-parse.h (read_int): Change return type to
63078         'int', return -1 on INT_MAX overflow.
63079         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63080         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63081         overflows INT_MAX.  Check for overflow of in-format-string precision
63082         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63083         SIZE_MAX not INT_MAX for integer overflow test.
63084         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63085         skip the construct in the format string but do not record anything.
63086         * stdio-common/bug22.c: Adjust to test both width/prevision
63087         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63088         explicitly for proper errno values.
63090 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63092         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63093         CHAR_MAX.
63094         * string/test-strcmp.c [! WIDE]: Likewise.
63095         * time/tst-mktime2.c: Likewise for INT_MAX.
63096         * string/test-string.h: #include <sys/param.h> for MIN.
63098         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63099         * sysdeps/i386/init-first.c (init): Likewise.
63100         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63101         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63102         * sysdeps/sh/init-first.c (init): Likewise.
63104 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63106         * po/ru.po: Update from translation team.
63107         * po/vi.po: Likewise.
63109 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63111         * resolv/nss_dns/dns-host.c: Merge copyright years.
63113 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63115         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63116         Optimize memcpy with prefetch if
63117         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63118         src, dst pointers have unequal 16 byte alignments.
63120 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63122         [BZ #13928]
63123         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63124         from a CNAME entry and return the minimum ttl for the query.
63125         (gaih_getanswer_slice): Likewise.
63127 2012-03-30  Jeff Law  <law@redhat.com>
63129         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63130         due to long keys.
63131         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63132         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63134         * resolv/nss_dns/dns-host.c: Update copyright year.
63136 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63138         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63139         requests to save a system call.  Fix check that all bytes are sent.
63141         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63142         comments for sendmmsg.
63144 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63146         [BZ #13691]
63147         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63148         with only 1 character between 0x0041 and 0x01b0.
63149         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63150         * wcsmbs/tst-mbsnrtowcs.c: New file.
63152 2012-03-29  David S. Miller  <davem@davemloft.net>
63154         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63155         small copies by hand.
63157 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63159         [BZ #13761]
63160         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63161         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63162         group memberships.
63164 2012-03-28  David S. Miller  <davem@davemloft.net>
63166         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63167         that branches into memcpy.
63168         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63171         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63172         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63173         bits.
63174         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63175         implementation too.
63176         * sysdeps/sparc/mempcpy.S: New file.
63178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63179         the IFUNC routine in the libc case.
63180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63182         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63183         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63184         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63185         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63186         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63187         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63188         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63189         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63191         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63192         loop to 256 bytes instead of 64 bytes and fix test signedness.
63194         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63195         * sysdeps/sparc/sparc32/Makefile: rather than here...
63196         * sysdeps/sparc/sparc64/Makefile: and here.
63198 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63200         * malloc/mallocbug.c: Avoid warnings about unused variables.
63202 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63204         [BZ #13760]
63205         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63206         in the right place. Discard and retry query if response is
63207         larger than input buffer size.
63209 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63211         [BZ #369]
63212         [BZ #2678]
63213         [BZ #3866]
63214         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63215         x for large integer exponent.
63216         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63217         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63218         sign of result as needed afterwards.
63219         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63220         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63221         result for underflowing pow the same as for overflow.
63222         (__kernel_standard_l): Handle powl overflow and underflow here
63223         rather than calling __kernel_standard.
63224         * math/libm-test.inc (pow_test): Add more tests.
63226         [BZ #3868]
63227         [BZ #13879]
63228         [BZ #13910]
63229         [BZ #13911]
63230         [BZ #13912]
63231         [BZ #13913]
63232         [BZ #13915]
63233         [BZ #13916]
63234         [BZ #13917]
63235         [BZ #13918]
63236         [BZ #13919]
63237         [BZ #13920]
63238         [BZ #13921]
63239         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63240         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63241         (__kernel_standard_l): New function.
63242         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63243         __kernel_standard.
63244         * math/w_acosl.c (__acosl): Likewise.
63245         * math/w_asinl.c (__asinl): Likewise.
63246         * math/w_atan2l.c (__atan2l): Likewise.
63247         * math/w_atanhl.c (__atanhl): Likewise.
63248         * math/w_coshl.c (__coshl): Likewise.
63249         * math/w_exp10l.c (__exp10l): Likewise.
63250         * math/w_exp2l.c (__exp2l): Likewise.
63251         * math/w_fmodl.c (__fmodl): Likewise.
63252         * math/w_hypotl.c (__hypotl): Likewise.
63253         * math/w_j0l.c (__j0l, __y0l): Likewise.
63254         * math/w_j1l.c (__j1l, __y1l): Likewise.
63255         * math/w_jnl.c (__jnl, __ynl): Likewise.
63256         * math/w_lgammal.c (__lgammal): Likewise.
63257         * math/w_log10l.c (__log10l): Likewise.
63258         * math/w_log2l.c (__log2l): Likewise.
63259         * math/w_logl.c (__logl): Likewise.
63260         * math/w_powl.c (__powl): Likewise.
63261         * math/w_remainderl.c (__remainderl): Likewise.
63262         * math/w_scalbl.c (sysv_scalbl): Likewise.
63263         * math/w_sinhl.c (__sinhl): Likewise.
63264         * math/w_sqrtl.c (__sqrtl): Likewise.
63265         * math/w_tgammal.c (__tgammal): Likewise.
63266         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63267         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63268         * math/libm-test.inc (acos_test): Add more tests.
63269         (acosh_test): Likewise.
63270         (asin_test): Likewise.
63271         (atanh_test): Likewise.
63272         (exp_test): Likewise.
63273         (exp10_test): Likewise.
63274         (exp2_test): Likewise.
63275         (expm1_test): Likewise.
63276         (lgamma_test): Likewise.
63277         (log_test): Likewise.
63278         (log10_test): Likewise.
63279         (log1p_test): Likewise.
63280         (log2_test): Likewise.
63281         (pow_test): Do not allow some spurious overflow exceptions.
63282         (sqrt_test): Add more tests.
63283         (tgamma_test): Likewise.
63284         (y0_test): Likewise.
63285         (y1_test): Likewise.
63286         (yn_test): Likewise.
63288 2012-03-27  Anton Blanchard  <anton@samba.org>
63290         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63291         MAP_HUGETLB.
63292         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63293         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63294         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63296 2012-03-27  David S. Miller  <davem@davemloft.net>
63298         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63300         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63301         have-as-vis3 check.
63303 2012-03-27  Andreas Jaeger  <aj@suse.de>
63305         * sysdeps/x86_64/elf/configure.in: Moved to ...
63306         * sysdeps/x86_64/configure.in: ... here.
63307         * sysdeps/x86_64/elf/start.S: Moved to ...
63308         * sysdeps/x86_64/start.S: ... here.
63309         * sysdeps/x86_64/elf/configure: Delete.
63311         * sysdeps/x86_64/configure.in: Merge contents from
63312         sysdeps/i386/configure.in (without i686 check).
63314         * sysdeps/i386/elf/Versions: Merge into ...
63315         * sysdeps/i386/Versions: ... this.
63316         * sysdeps/i386/elf/Versions: Delete file.
63317         * sysdeps/i386/elf/start.S: Moved to ...
63318         * sysdeps/i386/start.S: ...here.
63319         * sysdeps/i386/elf/configure.in: Merge into...
63320         * sysdeps/i386/configure.in: ...here.
63321         * sysdeps/i386/elf/configure.in: Delete file.
63322         * sysdeps/i386/elf/configure: Delete file.
63324         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63325         * debug/backtracesyms.c: ... here.
63326         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63327         * debug/backtracesymsfd.c: ... here.
63328         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63329         * sysdeps/generic/ifunc-sel.h: ... here.
63331         * sysdeps/unix/i386/start.c: Delete file.
63332         * sysdeps/unix/sparc/start.c: Delete file.
63333         * sysdeps/unix/start.c: Delete file.
63335         * sysdeps/sh/elf/configure.in: Moved to ...
63336         * sysdeps/sh/configure.in: ... here.
63337         * sysdeps/sh/elf/start.S: Moved to ...
63338         * sysdeps/sh/start.S: ... here.
63339         * sysdeps/sh/elf/configure: Delete file.
63341         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63342         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63343         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63344         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63345         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63346         * sysdeps/powerpc/powerpc64/start.S: here.
63347         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63348         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63349         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63350         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63351         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63353         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63354         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63355         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63356         * sysdeps/powerpc/powerpc32/start.S: ... here.
63357         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63358         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63359         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63361         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63362         * sysdeps/powerpc/ifunc-sel.h: ... here.
63363         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63364         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63366         * sysdeps/sparc/elf/configure.in: Moved to ...
63367         * sysdeps/sparc/configure.in: ... here.
63368         * sysdeps/sparc/elf/configure: Delete file.
63369         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63370         * sysdeps/sparc/sparc32/start.S: ... here.
63371         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63372         * sysdeps/sparc/sparc64/start.S: ... here.
63373         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63374         * sysdeps/sparc/sparc32/Makefile: ... this.
63375         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63376         * sysdeps/sparc/sparc64/Makefile: ... this.
63378         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63379         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63380         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63381         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63382         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63383         * sysdeps/s390/s390-32/setjmp.S: ... here.
63384         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63385         * sysdeps/s390/s390-32/configure.in: ... here.
63386         * sysdeps/s390/s390-32/elf/configure: Delete file.
63387         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63388         * sysdeps/s390/s390-32/start.S: ... here.
63390         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63391         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63392         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63393         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63394         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63395         * sysdeps/s390/s390-64/setjmp.S: ... here.
63396         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63397         * sysdeps/s390/s390-64/configure.in: ... here
63398         * sysdeps/s390/s390-64/elf/configure: Delete file.
63399         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63400         * sysdeps/s390/s390-64/start.S: ... here.
63401         * sysdeps/s390/s390-64/elf/configure: Delete.
63403         * configure.in: Remove support for elf directories in sysdeps.
63405         * configure: Regenerated.
63406         * sysdeps/i386/configure: Regenerated.
63407         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63408         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63409         * sysdeps/s390/s390-32/configure: Regenerated.
63410         * sysdeps/s390/s390-64/configure: Regenerated.
63411         * sysdeps/sh/configure: Regenerated.
63412         * sysdeps/sparc/configure: Regenerated.
63413         * sysdeps/x86_64/configure: Regenerated.
63415 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
63417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63419         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63420         denormal result into account.
63422 2012-03-25  Roland McGrath  <roland@hack.frob.com>
63424         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63425         Reported by Allan McRae <allan@archlinux.org>.
63427 2012-03-23  Jeff Law  <law@redhat.com>
63429         * nss/getnssent.c (__nss_getent): Fix typo.
63431 2012-03-23  David S. Miller  <davem@davemloft.net>
63433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63435 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63437         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63438         to pad to uint64_t for each field.
63439         (dl_tls_index): Replace unsigned long with uint64_t.
63441 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63442         Paul Pluzhnikov  <ppluzhnikov@google.com>
63444         [BZ #6528]
63445         * grp/Makefile (otherlibs): Don't set it.
63446         * inet/Makefile (otherlibs): Likewise.
63447         * login/Makefile (otherlibs): Likewise.
63448         * nscd/Makefile (otherlibs): Likewise.
63449         * posix/Makefile (otherlibs): Likewise.
63450         * pwd/Makefile (otherlibs): Likewise.
63451         * rt/Makefile (otherlibs): Likewise.
63452         * sunrpc/Makefile (otherlibs): Likewise.
63453         * nss/Makefile (otherlibs): Likewise.
63454         Add libnss_files to routines and static-only-routines.
63455         ($(objpfx)getent): Remove rule.
63456         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63457         static-only-routines.
63459 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63461         [BZ #13892]
63462         * math/s_cexp.c: Include <float.h>.
63463         (__cexp): Handle exp result overflowing not necessarily
63464         overflowing both real and imaginary parts of result.
63465         * math/s_cexpf.c: Likewise.
63466         * math/s_cexpl.c: Likewise.
63467         * math/libm-test.inc (cexp_test): Add more tests.
63468         * sysdeps/i386/fpu/libm-test-ulps: Update.
63469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63471 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63473         * include/link.h (ELFW): New macro.
63474         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63475         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63477 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63479         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63480         with uint64_t.
63482 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63484         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63485         declaration.
63486         (struct La_x32_retval): Likewise.
63488 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63490         * sysdeps/x86_64/preconfigure.in: New file.
63491         * sysdeps/x86_64/preconfigure: New generated file.
63493 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63495         [BZ #13824]
63496         * math/e_exp2l.c: Include <float.h>.
63497         (__ieee754_exp2l): Handle overflow and underflow cases
63498         separately.  Only pass fractional part of argument to
63499         __ieee754_expl.
63500         * math/libm-test.inc (exp2_test): Add more tests.
63502         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63503         negating x to take absolute value.
63504         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63505         Likewise.
63506         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63507         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63508         Likewise.
63509         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63510         computing low part if x was negated.
63511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63513 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63515         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63516         la_x32_gnu_pltexit.
63517         (pltexit): Cast int_retval to ptrdiff_t.
63518         * elf/tst-auditmod3b.c: Likewise.
63519         * elf/tst-auditmod4b.c: Likewise.
63520         * elf/tst-auditmod5b.c: Likewise.
63521         * elf/tst-auditmod6b.c: Likewise.
63522         * elf/tst-auditmod6c.c: Likewise.
63523         * elf/tst-auditmod7b.c: Likewise.
63525         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63526         and x32_gnu_pltexit.
63528         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63529         __ELF_NATIVE_CLASS.
63530         (La_x32_regs): New macro.
63531         (La_x32_retval): Likewise.
63532         (la_x32_gnu_pltenter): New function prototype.
63533         (la_x32_gnu_pltexit): Likewise.
63535 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63537         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63538         exponent.
63540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63542         * configure.in (libc_cv_cc_nofma): Check for option to disable
63543         generation of FMA instructions.
63544         * configure: Regenerate.
63545         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63546         * sysdeps/ieee754/dbl-64/Makefile: New file.
63547         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63548         Remove brandred-fma4.
63549         (CFLAGS-brandred-fma4.c): Remove.
63550         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63551         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63552         define.
63553         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63554         define.
63556 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63558         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63559         LLONG_MAX != LONG_MAX.
63560         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63561         (_fitoa_word): Likewise.
63562         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63563         LLONG_MAX != LONG_MAX.
63564         * stdio-common/_itowa.h: Include <_itoa.h>.
63565         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63566         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63567         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63568         only if not defined.
63569         (_ITOA_WORD_TYPE): Likewise.
63570         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63571         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63573 2012-03-21  David S. Miller  <davem@davemloft.net>
63575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63577 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63579         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63580         of x86_64 when setting libc_cv_slibdir, libdir and
63581         libc_cv_localedir.
63582         * sysdeps/unix/sysv/linux/configure: Regenerated.
63584 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63586         * manual/lang.texi (Old Varargs): Remove section.
63587         (How Variadic): Update menu.
63588         (va_start): Do not mention varargs.h.
63590 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63591             Joseph Myers  <joseph@codesourcery.com>
63593         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63594         link test.
63595         * configure: Regenerated.
63597 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63599         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63600         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63601         conformtest.pl
63603 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63605         * NOTES: Remove.
63606         * Makefile (files-for-dist): Remove NOTES.
63607         (NOTES): Remove rule.
63608         * README: Don't refer to NOTES.
63609         * manual/creature.texi: Don't include macros.texi.
63610         * manual/intro.texi (creature.texi): Remove comment referring to
63611         NOTES.
63613         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63614         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63615         * configure: Regenerated.
63616         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63617         LIBC_TRY_CC_OPTION.
63618         (libc_cv_as_i686): Likewise.
63619         (libc_cv_cc_avx): Likewise.
63620         (libc_cv_cc_sse2avx): Likewise.
63621         (libc_cv_cc_fma4): Likewise.
63622         (libc_cv_cc_novzeroupper): Likewise.
63623         * sysdeps/i386/configure: Regenerated.
63625         [BZ #13883]
63626         * sysdeps/i386/fpu/s_cexp.S: Remove.
63627         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63628         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63629         * math/libm-test.inc (cexp_test): Add more tests.
63630         * sysdeps/i386/fpu/libm-test-ulps: Update.
63631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63633 2012-03-21  Allan McRae  <allan@archlinux.org>
63635         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63637 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63639         [BZ #13871]
63640         * math/w_exp2.c: Do not include <float.h>.
63641         (o_threshold, u_threshold): Remove.
63642         (__exp2): Calculate result before checking finiteness and calling
63643         __kernel_standard.
63644         * math/w_exp2f.c: Likewise.
63645         * math/w_exp2l.c: Likewise.
63646         * math/libm-test.inc (exp2_test): Require overflow exception for
63647         1e6 input.
63649         [BZ #3866]
63650         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63651         range of signed 64-bit integers before using fistpll.  Remove
63652         checks for whether integers fit in mantissa bits.
63653         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63654         the range of signed 32-bit integers before using fistpl.  Remove
63655         checks for whether integers fit in mantissa bits.
63656         * sysdeps/i386/fpu/e_powl.S (p64): New object.
63657         (__ieee754_powl): Test for y outside the range of signed 64-bit
63658         integers before using fistpll.  Reduce 64-bit values to 63-bit
63659         ones as needed.
63660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63661         divide-by-zero is raised for zero to large negative powers.
63662         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63663         (__ieee754_powl): Test for y outside the range of signed 64-bit
63664         integers before using fistpll.  Reduce 64-bit values to 63-bit
63665         ones as needed.
63666         * math/libm-test.inc (pow_test): Add more tests.
63668 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63670         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63671         <stdio-common/_itoa.h>.
63672         * debug/segfault.c: Likewise.
63673         * elf/dl-cache.c: Likewise.
63674         * elf/dl-minimal.c: Likewise.
63675         * elf/dl-misc.c: Likewise.
63676         * elf/dl-sysdep.c: Likewise.
63677         * elf/dl-version.c: Likewise.
63678         * elf/rtld.c: Likewise.
63679         * hurd/hurdsock.c: Likewise.
63680         * hurd/lookup-retry.c: Likewise.
63681         * malloc/malloc.c: Likewise.
63682         * malloc/mtrace.c: Likewise.
63683         * nscd/nscd_getgr_r.c: Likewise.
63684         * nscd/nscd_getpw_r.c: Likewise.
63685         * nscd/nscd_getserv_r.c: Likewise.
63686         * posix/getopt_init.c: Likewise.
63687         * posix/wordexp.c: Likewise.
63688         * stdio-common/_itoa.c: Likewise.
63689         * stdio-common/printf_fphex.c: Likewise.
63690         * stdio-common/vfprintf.c: Likewise.
63691         * string/_strerror.c: Likewise.
63692         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63693         * sysdeps/i386/i686/hp-timing.h: Likewise.
63694         * sysdeps/mach/_strerror.c: Likewise.
63695         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63696         * sysdeps/mach/hurd/sethostid.c: Likewise.
63697         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63698         * sysdeps/mach/xpg-strerror.c: Likewise.
63699         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63701         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63702         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63703         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63704         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63705         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63706         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63707         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63708         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63709         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63710         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63711         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63712         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63713         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63714         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63715         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63716         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63717         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63718         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63719         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63721         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63723         * stdio-common/_itoa.h: Moved to ...
63724         * sysdeps/generic/_itoa.h: Here.
63726         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63728         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63729         instead of "_itoa.h" and "_itowa.h".
63730         * stdio-common/vfprintf.: Likewise.
63732 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63734         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63735         <bits/wordsize.h>.
63736         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63737         (__signbit): Likwise.
63738         (llrintf): Likwise.
63739         (llrint): Likwise.
63741 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63743         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63744         __WORDSIZE != 64.
63746 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63748         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63749         OVERFLOW_EXCEPTION_OK.
63750         * math/libm-test.inc ("Philosophy"): Update comment about
63751         exception testing.
63752         (OVERFLOW_EXCEPTION): Define.
63753         (OVERFLOW_EXCEPTION_OK): Likewise.
63754         (INVALID_EXCEPTION_OK): Renumber.
63755         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63756         (IGNORE_ZERO_INF_SIGN): Likewise.
63757         (test_exceptions): Handle FE_OVERFLOW.
63758         (exp10_test): Expect overflow exceptions.
63759         (exp2_test): Likewise.
63760         (expm1_test): Likewise.
63761         (nextafter_test): Likewise.
63762         (pow_test): Likewise.
63763         (scalbn_test): Likewise.
63764         (scalbln_test): Likewise.
63766 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63768         * sysdeps/x86_64/bits/atomic.h
63769         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63770         64bit integer.
63771         (atomic_exchange_acq): Likewise.
63772         (__arch_exchange_and_add_body): Likewise.
63773         (__arch_add_body): Likewise.
63774         (atomic_add_negative): Likewise.
63775         (atomic_add_zero): Likewise.
63777 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63779         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63780         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63784         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63785         Check __x86_64__ instead of __WORDSIZE.
63787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63789         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63791 2012-03-19  David S. Miller  <davem@davemloft.net>
63793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63795         * sysdeps/sparc/fpu/fenv_private.h: New file.
63796         * sysdeps/sparc/fpu/math_private.h: Use it.
63797         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63798         Remove.
63799         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63800         (libc_feholdexcept_setroundl): Remove.
63801         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63802         Remove.
63803         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63804         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63806 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63808         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63809         int64_t instead of long int.
63810         (INSERT_WORDS64): Likwise.
63812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63814         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63815         _Unwind_GetCFA return to _Unwind_Ptr first.
63817 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63819         [BZ #13629]
63820         * math/s_clog.c: Include <float.h>.
63821         (__clog): Scale large or subnormal inputs.
63822         * math/s_clogf.c: Likewise.
63823         * math/s_clogl.c: Likewise.
63824         * math/s_clog10.c: Include <float.h>.
63825         (M_LOG10_2): Define.
63826         (__clog10): Scale large or subnormal inputs.
63827         * math/s_clog10f.c: Likewise.
63828         * math/s_clog10l.c: Likewise.
63829         * math/libm-test.inc (clog_test): Add more tests.
63830         (clog10_test): Likewise.
63831         * sysdeps/i386/fpu/libm-test-ulps: Update.
63832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63834         [BZ #11451]
63835         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63836         x and y.
63837         * math/libm-test.inc (atan2_test): Add another test.
63839         * Makerules (common-objdir-compile): Remove.
63840         * sysdeps/unix/Makefile (config-generated): Do not add
63841         $(unix-generated) to variable.
63842         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63843         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63844         Remove rule.
63845         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63846         Likewise.
63847         [generic bits/local_lim.h] (before-compile): Do not append to
63848         variable.
63849         [generic bits/local_lim.h] (common-generated): Likewise.
63850         [generic sys/param.h] (before-compile): Do not append to variable.
63851         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63852         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63853         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63854         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63855         include.
63856         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63857         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63858         [generic sys/param.h] ($(addprefix
63859         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63860         [generic sys/param.h] (common-generated): Do not append to
63861         variable.
63862         [generic sys/param.h] (sysdep_headers): Likewise.
63863         [generic bits/errno.h] (before-compile): Do not append to
63864         variable.
63865         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63866         rule.
63867         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63868         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63869         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63870         [generic bits/errno.h] (common-generated): Do not append to
63871         variable.
63872         [generic bits/ioctls.h] (before-compile): Do not append to
63873         variable.
63874         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63875         rule.
63876         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63877         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63878         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63879         rule.
63880         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63881         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63882         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63883         [generic bits/ioctls.h] (common-generated): Do not append to
63884         variable.
63885         [generic sys/syscall.h] (syscall.h): Remove variable.
63886         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63887         rule.
63888         [generic sys/syscall.h] (before-compile): Do not append to
63889         variable.
63890         [generic sys/syscall.h] (common-generated): Likewise.
63891         * sysdeps/unix/errnos-tmpl.c: Remove file.
63892         * sysdeps/unix/errnos.awk: Likewise.
63893         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63894         * sysdeps/unix/ioctls.awk: Likewise.
63895         * sysdeps/unix/mk-local_lim.c: Likewise.
63896         * sysdeps/unix/snarf-ioctls: Likewise.
63898 2012-03-19  Richard Henderson  <rth@twiddle.net>
63900         * sysdeps/i386/fpu/fenv_private.h: New file.
63901         * sysdeps/i386/fpu/math_private.h: Use it.
63902         (math_opt_barrier, math_force_eval): Remove.
63903         (libc_feholdexcept_setround_53bit): Remove.
63904         (libc_feupdateenv_53bit): Remove.
63905         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63906         (math_opt_barrier, math_force_eval): Remove.
63907         (libc_feholdexcept): Remove.
63908         (libc_feholdexcept_setround): Remove.
63909         (libc_fetestexcept, libc_fesetenv): Remove.
63910         (libc_feupdateenv_test): Remove.
63911         (libc_feupdateenv, libc_feholdsetround): Remove.
63912         (libc_feresetround): Remove.
63914         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63915         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63917         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63918         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63919         (libc_feupdateenv_testl): New.
63920         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63921         (libc_feupdateenv_testf): New.
63922         (libc_feupdateenv): Use libc_feupdateenv_test.
63923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63924         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63926         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63927         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63928         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63929         (libc_feresetround_noex): New.
63930         (libc_feresetround_noexf): New.
63931         (libc_feresetround_noexl): New.
63932         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63933         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63934         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63935         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63936         SET_RESTORE_ROUND.
63937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63939         (__cos): Likewise.
63940         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63941         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63942         SET_RESTORE_ROUND_NOEX.
63943         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63944         SET_RESTORE_ROUND_NOEXF.
63945         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63946         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63947         (libc_feholdsetroundf): New.
63948         (libc_feresetround, libc_feresetroundf): New.
63950         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63951         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63952         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63954         * sysdeps/generic/math_private.h: Include <fenv.h>.
63955         (default_libc_feholdexcept): New.
63956         (default_libc_feholdexcept_setround): New.
63957         (default_libc_fesetenv, default_libc_feupdateenv): New.
63958         (libc_feholdexcept): Only define if undefined.
63959         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63960         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63961         (libc_feholdexcept_setroundl): Likewise.
63962         (libc_feholdexcept_setround_53bit): Likewise.
63963         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63964         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63965         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63966         (libc_feupdateenv_53bit): Likewise.
63967         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63968         (libc_feholdexcept): Convert from macro to inline function.
63969         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63970         (libc_fesetenv, libc_feupdateenv): Likewise.
63972         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63973         not previously defined.
63974         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63975         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63976         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63977         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63978         * sysdeps/ieee754/flt-32/math_private.h: New file.
63979         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63980         math_private.h below SET_FLOAT_WORD.
63981         (__isnan, __isinf_ns, __finite): Remove.
63982         (__isnanf, __isinf_nsf, __finitef): Remove.
63984 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63988 2012-03-17  David S. Miller  <davem@davemloft.net>
63990         [BZ #6471]
63991         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63992         for 2.16.
63994 2012-03-16  David S. Miller  <davem@davemloft.net>
63996         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63997         warnings.
63999         [BZ #6471]
64000         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64001         properly.
64002         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64003         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64004         sysdep_routines when subdir is sysvipc.
64005         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64006         __getshmlba helper.
64008         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64010 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64012         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64013         [__LP64__].
64015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64017         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64018         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64019         (__lround): Renamed to ...
64020         (__llround): This.  Replace long int with long long int.
64021         Define lround functions as aliases of llround functions.
64022         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64024 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64026         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64027         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64028         adresses to uintptr_t.  Replace "long int" and "unsigned long
64029         int" with "greg_t" on va_arg.
64031 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64033         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64034         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64036         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64037         Move e_machine check before EI_CLASS check.  Handle x32
64038         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64039         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64040         SKIP_EM_IA_64 and include
64041         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64043         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64044         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64045         (add_system_dir): New macro.
64047         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64048         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64050 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64052         [BZ #2551]
64053         [BZ #2552]
64054         [BZ #2553]
64055         [BZ #2554]
64056         [BZ #2562]
64057         [BZ #2563]
64058         [BZ #2565]
64059         [BZ #2566]
64060         [BZ #2576]
64061         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64062         (y0): Likewise.
64063         * math/w_j0f.c (j0f): Likewise.
64064         (y0f): Likewise.
64065         * math/w_j0l.c (__j0l): Likewise.
64066         (__y0l): Likewise.
64067         * math/w_j1.c (j1): Likewise.
64068         (y1): Likewise.
64069         * math/w_j1f.c (j1f): Likewise.
64070         (y1f): Likewise.
64071         * math/w_j1l.c (__j1l): Likewise.
64072         (__y1l): Likewise.
64073         * math/w_jn.c (jn): Likewise.
64074         (yn): Likewise.
64075         * math/w_jnf.c (jnf): Likewise.
64076         (ynf): Likewise.
64077         * math/w_jnl.c (__jnl): Likewise.
64078         (__ynl): Likewise.
64079         * math/libm-test.inc (j0_test): Add more tests.
64080         (j1_test): Likewise.
64081         (jn_test): Likewise.  Add trailing semicolon to existing test.
64082         (y0_test): Likewise.
64083         (y1_test): Likewise.
64084         * sysdeps/i386/fpu/libm-test-ulps: Update.
64085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64087         [BZ #13851]
64088         [BZ #13854]
64089         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64090         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64091         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64092         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64093         (__tanl): Set errno for infinite argument.
64094         * sysdeps/i386/fpu/mptan.c: Remove.
64095         * sysdeps/i386/fpu/s_tan.S: Likewise.
64096         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64097         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64098         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64099         * math/libm-test.inc (tan_test): Add more tests and enable more
64100         tests for double and long double.
64101         * sysdeps/i386/fpu/libm-test-ulps: Update.
64102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64104 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64106         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64107         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64109 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64111         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64112         * configure.in: Use it for both main tree and add-ons.
64113         * configure: Regenerated.
64115 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64117         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64119 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64121         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64122         in comment.
64124         [BZ #13851]
64125         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64126         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64130         infinite argument.
64131         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64132         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64133         != 0 for prec == 2.
64134         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64135         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64136         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64137         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64138         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64139         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64140         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64141         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64142         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64143         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64144         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64145         * math/libm-test.inc (cos_test): Add more tests and enable more
64146         tests for long double.
64147         (sin_test): Likewise.
64148         (sincos_test): Likewise.
64149         * sysdeps/i386/fpu/libm-test-ulps: Update.
64150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64152 2012-03-16  David S. Miller  <davem@davemloft.net>
64154         * sysdeps/sparc/fpu/math_private.h: New file.
64156 2012-03-15  David S. Miller  <davem@davemloft.net>
64158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64159         file.
64160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64162         file.
64163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64169         sysdep routines.
64170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64172         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64173         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64175         * sysdeps/sparc/sparc-ifunc.h: New file.
64176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64177         sparc-ifunc.h
64178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64180         Likewise.
64181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64182         Likewise.
64183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64187         Likewise.
64188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64193         Likewise.
64194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64195         Likewise.
64196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64202         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64203         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64214         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64215         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64216         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64217         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64218         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64219         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64221 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64223         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64224         scaling.
64225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64227 2012-03-15  Andreas Jaeger  <aj@suse.de>
64229         [BZ #13852]
64230         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64231         ieee754/flt-32 implementation for sin, cos and sincos.
64232         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64233         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64234         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64235         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64236         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64237         ieee754/flt-32 implementation for tan.
64239         * math/libm-test.inc (cos_test): Enable some large input tests for
64240         float as well
64241         (sin_test): Likewise.
64242         (sincos_test): Likewise.
64243         (tan_test): Add tests for large input.
64245         * sysdeps/i386/fpu/libm-test-ulps: Update.
64247 2012-03-15  Andreas Jaeger  <aj@suse.de>
64249         [BZ #13658]
64250         * math/libm-test.inc (cos_test): Add more test cases.
64251         (sin_test): Likewise.
64252         (sincos_test): Likewise.
64254 2012-03-15  Andreas Jaeger  <aj@suse.de>
64256         [BZ #13837]
64257         * math/libm-test.inc (cos_test): Add a test case for large input
64258         value.
64259         (sin_test): Likewise.
64260         (sincos_test): Likewise.
64262 2012-03-15  Andreas Jaeger  <aj@suse.de>
64263             Joseph Myers  <joseph@codesourcery.com>
64265         [BZ #13658]
64266         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64267         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64268         * sysdeps/i386/fpu/branred.c: Likewise.
64269         * sysdeps/i386/fpu/dosincos.c: Likewise.
64270         * sysdeps/i386/fpu/mpa.c: Likewise.
64271         * sysdeps/i386/fpu/s_cos.S: Likewise.
64272         * sysdeps/i386/fpu/s_sin.S: Likewise.
64273         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64274         * sysdeps/i386/fpu/sincos32.c: Likewise.
64276         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64277         Define.
64278         (libc_feupdateenv_53bit): Define.
64279         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64280         Define.
64281         (libc_feupdateenv_53bit): Define.
64283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64284         53 bit (without extend i386 double precision).
64286         * math/libm-test.inc (sincos_test): Add tests for large input.
64287         (sin): Likewise.
64288         (cos): Likewise.
64290         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64292 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64296 2012-03-15  David S. Miller  <davem@davemloft.net>
64298         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64299         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64300         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64301         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64314         file.
64315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64317         file.
64318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64320         file.
64321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64323         file.
64324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64326         fmin/fmax sysdep routines.
64327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64329 2012-03-14  David S. Miller  <davem@davemloft.net>
64331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64336         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64337         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64338         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64341         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64342         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64352         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64353         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64354         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64356         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64357         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64358         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64360         routines.
64361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64362         file.
64363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64365         file.
64366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64368         file.
64369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64371         file.
64372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64374         file.
64375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64377         file.
64378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64379         file.
64380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64381         file.
64382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64383         file.
64384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64385         New file.
64386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64387         file.
64388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64389         file.
64390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64392         file.
64393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64395         file.
64396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64398         file.
64399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64401         VIS3 routines.
64403         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64404         New file.
64406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64408         * sysdeps/sparc/configure.in: New file.
64409         * sysdeps/sparc/configure: Generate.
64410         * configure.in (libc_cv_sparc_as_vis3): Substitute.
64411         * configure: Regenerate.
64412         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64413         * config.make.in (have-as-vis3): New.
64414         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64415         available use -Av9d instead of -Av9a.
64416         * sysdeps/sparc/sparc64/Makefile: Likewise.
64417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64419         New file.
64420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64421         file.
64422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64423         New file.
64424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64425         file.
64426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64427         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64428         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64429         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64430         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64432         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64433         fzeros/fnegs to load 0x80000000 into a float register instead of
64434         using the stack.
64435         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64437 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64440         bits/syscall.h.
64441         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64442         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64443         ($(inst_includedir)/bits/syscall.h): Remove rule.
64444         ($(objpfx)bits/syscall.d): Include instead of
64445         $(objpfx)syscall-list.d.
64446         (generated): Change syscall-list.h and syscall-list.d to
64447         bits/syscall.h and bits/syscall.d.
64449 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64451         [BZ #13846]
64452         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64454 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64456         [BZ #13841]
64457         * math/s_csqrt.c: Include <float.h>.
64458         (__csqrt): Scale large or subnormal inputs.
64459         * math/s_csqrtf.c: Likewise.
64460         * math/s_csqrtl.c: Likewise.
64461         * math/libm-test.inc (csqrt_test): Add more tests.
64462         * sysdeps/i386/fpu/libm-test-ulps: Update.
64463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64465         [BZ #13840]
64466         * math/libm-test.inc (hypot_test): Add more tests.
64468 2012-03-13  David S. Miller  <davem@davemloft.net>
64470         [BZ #13840]
64471         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64472         double-precision for the calculation instead of scaling.
64474 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64476         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64477         manipulate bits before adding and subtracting TWO52[sx].
64478         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64479         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64480         Likewise.
64481         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64483 2012-03-13  David S. Miller  <davem@davemloft.net>
64485         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64486         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64488         rtld-global-offsets.h
64489         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64491         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64492         large parameters.
64494         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64497         'err' in the ifdef scope in which it is actually used.
64499         * nss/nss_db/db-init.c: Include string.h
64501 2012-03-12  David S. Miller  <davem@davemloft.net>
64503         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64504         masking out of the most significant byte of random value used.
64505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64506         Fix coding style in previous change.
64508         * sysdeps/unix/sysv/linux/kernel-features.h
64509         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64510         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64511         expression.
64512         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64513         later.
64515 2012-03-11  David S. Miller  <davem@davemloft.net>
64517         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64518         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64519         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64520         for 'resultvar' otherwise things get truncated on 64-bit.
64522         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64523         Fix masking out of the most significant byte of random value used.
64525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64527 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64531 2012-03-09  David S. Miller  <davem@davemloft.net>
64533         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64534         variables with appropriate CPP guards.
64535         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64536         from the frame pointer, not the stack pointer.  Correct layout
64537         comments.  Fix test on resulting framesize and the management of
64538         the outregs buffer for pltexit.  Preserve floating point return
64539         values across _dl_call_pltexit call.
64540         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64541         framesize and the management of the outregs buffer for pltexit.
64542         Preserve floating point return values across _dl_call_pltexit
64543         call.
64544         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64545         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64546         (la_sparc64_gnu_pltexit): New functions.
64547         (print_exit): Fix format string for return register value.
64549 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64551         * sunrpc/Makefile (others): Add rpcgen.
64552         ($(objpfx)rpcgen): Remove special build rule and dependency on
64553         libc.
64554         * sunrpc/rpcgen.c: New file.
64556 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64558         [BZ #13673]
64559         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64560         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64561         * sysdeps/i386/crti.S: Likewise.
64562         * sysdeps/i386/crtn.S: Likewise.
64563         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64564         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64565         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64566         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64567         * sysdeps/sh/crti.S: Likewise.
64568         * sysdeps/sh/crtn.S: Likewise.
64569         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64571         [BZ #13673]
64572         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64573         with URL.
64574         * locale/programs/locfile-kw.gperf: Likewise.
64575         * locale/programs/charmap-kw.h: Regenerated.
64576         * locale/programs/locfile-kw.h: Likewise.
64578         [BZ #13673]
64579         * intl/plural.y: Replace FSF snail mail address with URL.
64580         * intl/plural.c: Regenerated.
64582 2012-03-09  Richard Henderson  <rth@twiddle.net>
64584         * include/math_private.h: Remove file.
64585         * math/math_private.h: Move file ...
64586         * sysdeps/generic/math_private.h: ... here.
64588         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64589         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64590         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64592         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64593         and <math_private.h>.
64594         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64595         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64596         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64597         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64598         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64599         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64600         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64601         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64602         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64603         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64604         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64605         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64606         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64608         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64609         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64610         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64611         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64612         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64613         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64615         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64616         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64618         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64619         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64620         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64621         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64622         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64623         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64624         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64625         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64626         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64627         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64628         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64629         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64630         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64631         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64632         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64633         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64634         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64635         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64636         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64637         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64638         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64639         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64640         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64641         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64642         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64643         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64644         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64645         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64646         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64647         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64648         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64649         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64650         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64651         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64652         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64653         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64654         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64655         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64657         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64658         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64659         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64660         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64661         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64662         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64663         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64664         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64665         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64666         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64668         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64670         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64671         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64673         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64674         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64675         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64677         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64678         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64680         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64681         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64682         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64683         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64684         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64685         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64686         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64687         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64688         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64689         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64690         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64691         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64692         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64693         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64694         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64695         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64696         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64697         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64698         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64699         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64700         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64701         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64702         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64703         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64704         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64705         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64706         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64707         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64708         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64709         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64710         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64711         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64712         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64713         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64714         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64715         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64716         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64717         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64718         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64719         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64720         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64721         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64722         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64723         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64724         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64725         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64726         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64727         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64728         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64729         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64730         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64731         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64732         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64733         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64734         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64735         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64736         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64737         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64738         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64739         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64740         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64741         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64742         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64743         * sysdeps/ieee754/k_standard.c: Likewise.
64744         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64745         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64746         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64747         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64748         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64749         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64750         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64751         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64753         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64754         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64755         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64756         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64757         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64758         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64759         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64760         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64761         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64762         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64767         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64768         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64769         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64771         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64773         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64774         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64775         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64776         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64777         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64778         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64779         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64780         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64781         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64782         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64783         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64784         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64785         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64786         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64787         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64788         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64789         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64790         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64791         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64792         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64793         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64794         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64795         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64796         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64797         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64798         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64799         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64800         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64801         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64802         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64803         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64804         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64805         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64806         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64807         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64810         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64811         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64813         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64814         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64816         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64817         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64818         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64819         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64820         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64821         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64823         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64826         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64827         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64828         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64829         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64830         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64831         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64832         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64834         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64835         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64836         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64837         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64838         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64839         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64840         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64841         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64842         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64843         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64845         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64846         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64847         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64848         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64849         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64850         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64851         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64852         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64853         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64854         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64855         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64856         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64857         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64858         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64859         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64860         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64861         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64862         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64863         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64864         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64865         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64866         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64867         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64868         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64869         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64870         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64871         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64872         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64873         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64874         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64875         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64876         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64877         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64878         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64879         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64880         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64881         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64882         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64883         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64884         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64885         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64886         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64887         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64888         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64889         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64890         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64891         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64892         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64893         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64894         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64895         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64896         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64897         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64898         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64899         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64900         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64901         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64902         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64903         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64904         * sysdeps/ieee754/s_lib_version.c: Likewise.
64905         * sysdeps/ieee754/s_matherr.c: Likewise.
64906         * sysdeps/ieee754/s_signgam.c: Likewise.
64907         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64908         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64909         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64910         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64911         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64912         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64913         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64914         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64915         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64916         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64917         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64918         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64919         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64920         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64921         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64922         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64924         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64925         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64926         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64927         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64929 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64931         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64932         * sunrpc/rpc_main.c: Likewise.
64933         * sunrpc/rpc_svcout.c: Likewise.
64935 2012-03-09  David S. Miller  <davem@davemloft.net>
64937         * include/math_private.h: New file.
64939 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64941         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64942         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64943         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64944         from <bits/socket_type.h>.
64945         (enum __socket_type): Don't define here.
64946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64948         bits/socket_type.h.
64950         [BZ #13566]
64951         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64952         checking __USE_GNU.
64954         * Makerules ($(inst_includedir)/%.h): New rule.
64955         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64956         (install-others): Remove variable setting.
64957         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64959 2012-03-08  Richard Henderson  <rth@twiddle.net>
64961         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64962         from macro to inline function; merge with the
64963         !__LIBC_INTERNAL_MATH_INLINES version.
64964         (__ieee754_sqrtf): Likewise.
64966         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64967         to inline function.
64968         (__rintf, __floor, __floorf): Likewise.
64970         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64971         macro to inline function.
64972         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64974         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64975         not <math/math_private.h>.
64977 2012-03-08  David S. Miller  <davem@davemloft.net>
64979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64980         copyright year.
64981         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64983 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64985         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64986         normalization.
64987         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64988         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64990 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64992         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64993         be defined individually, they must be defined as a block.  Define
64994         S for printing a string instead of hidint the different by using a
64995         macro for adding the 'l'.
64996         * stdio-common/tst-fphex-wide.c: Adjust.
64998 2012-03-07  Marek Polacek  <polacek@redhat.com>
65000         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65002 2012-03-08  Marek Polacek  <polacek@redhat.com>
65004         [BZ #13806]
65005         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65006         * stdio-common/tst-fphex.c: Define a few macros to make the
65007         test reusable.  Use them.
65008         * stdio-common/tst-fphex-wide.c: New file.
65010 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65012         [BZ #6911]
65013         * manual/macros.texi (gnusystems): New macro.
65014         (nongnusystems): Likewise.
65015         (gnulinuxhurdsystems): Likewise.
65016         (gnuhurdsystems): Likewise..
65017         (gnulinuxsystems): Likewise.
65018         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65019         variants of the GNU system, not "GNU system".
65020         * manual/conf.texi: Likewise.
65021         * manual/errno.texi: Likewise.  Update example of errno macro
65022         expansion.
65023         * manual/filesys.texi: Likewise.
65024         (getumask): Document as specific to GNU/Hurd.
65025         * manual/install.texi: Likewise.  Reword some references to
65026         GNU/Linux.
65027         * manual/intro.texi: Likewise.
65028         * manual/io.texi: Likewise.
65029         (File Name Portability): Detail which constraints are inapplicable
65030         to all GNU systems and which are only inapplicable to GNU/Hurd.
65031         * manual/job.texi: Likewise.
65032         * manual/llio.texi: Likewise.
65033         (O_NOCTTY): Document as present on GNU/Linux.
65034         * manual/maint.texi: Likewise.
65035         * manual/memory.texi: Likewise.
65036         * manual/pattern.texi: Likewise.
65037         * manual/pipe.texi: Likewise.
65038         * manual/process.texi: Likewise.
65039         * manual/resource.texi: Likewise.
65040         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65041         child on GNU/Hurd.
65042         * manual/setjmp.texi: Likewise.
65043         * manual/signal.texi: Likewise.
65044         * manual/startup.texi: Likewise.
65045         * manual/stdio.texi: Likewise.
65046         * manual/terminal.texi: Likewise.
65047         (ONLCR): Document as POSIX.
65048         (OXTABS): Document availability on GNU/Linux as XTABS.
65049         (ONOEOT): Document availability separately from other bits.
65050         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65051         * manual/time.texi: Likewise.
65052         * manual/users.texi: Likewise.
65053         * INSTALL: Regenerated.
65054         * sysdeps/gnu/errlist.c: Regenerated.
65056         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65057         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65058         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65059         puts.
65060         * configure: Regenerated.
65062 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65064         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65065         default includes instead of AC_HEADER_CHECK.
65066         * sysdeps/i386/configure: Regenerated.
65068         [BZ #10716]
65069         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65070         * math/s_cacoshf.c (__cacoshf): Likewise.
65071         * math/s_cacoshl.c (__cacoshl): Likewise.
65072         * math/s_casinh.c (__casinh): Set signs of result from argument.
65073         * math/s_casinhf.c (__casinhf): Likewise.
65074         * math/s_casinhl.c (__casinhl): Likewise.
65075         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65076         (casinh_test): Add more tests.
65077         * sysdeps/i386/fpu/libm-test-ulps: Update.
65078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65080 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65082         * po/zh_TW.po: Update from translation team.
65084         * login/Makefile (distribute): Remove variable.
65085         * catgets/Makefile: Likewise.
65086         * mach/Makefile: Likewise.
65087         * malloc/Makefile: Likewise.
65088         * misc/Makefile: Likewise.
65089         * iconv/Makefile: Likewise.
65090         * nscd/Makefile: Likewise.
65091         * hurd/Makefile: Likewise.
65092         * manual/Makefile: Likewise.
65093         * locale/Makefile: Likewise.
65094         * intl/Makefile: Likewise.
65095         * conform/Makefile: Likewise.
65096         * nss/Makefile: Likewise.
65097         * time/Makefile: Likewise.
65098         * soft-fp/Makefile: Likewise.
65099         * dirent/Makefile: Likewise.
65100         * gmon/Makefile: Likewise.
65101         * po/Makefile: Likewise.
65102         * rt/Makefile: Likewise.
65103         * socket/Makefile: Likewise.
65104         * math/Makefile: Likewise.
65105         * signal/Makefile: Likewise.
65106         * debug/Makefile: Likewise.
65107         * elf/Makefile: Likewise.
65108         * timezone/Makefile: Likewise.
65109         * stdlib/Makefile: Likewise.
65110         * iconvdata/Makefile: Likewise.
65111         * sunrpc/Makefile: Likewise.
65112         * io/Makefile: Likewise.
65113         * argp/Makefile: Likewise.
65114         * inet/Makefile: Likewise.
65115         * hesiod/Makefile: Likewise.
65116         * grp/Makefile: Likewise.
65117         * csu/Makefile: Likewise.
65118         * wctype/Makefile: Likewise.
65119         * crypt/Makefile: Likewise.
65120         * libio/Makefile: Likewise.
65121         * string/Makefile: Likewise.
65122         * nis/Makefile: Likewise.
65123         * resolv/Makefile: Likewise.
65124         * stdio-common/Makefile: Likewise.
65125         * wcsmbs/Makefile: Likewise.
65126         * dlfcn/Makefile: Likewise.
65127         * posix/Makefile: Likewise.
65129         [BZ #6959]
65130         * timezone/Makefile: Don't install timezone files, just the programs
65131         and scripts.
65133 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65135         * nss/databases.def: Add missing gshadow entry.
65137         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65139 2012-03-06  Marek Polacek  <polacek@redhat.com>
65141         [BZ #13726]
65142         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65143         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65144         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65145         * stdio-common/tst-long-dbl-fphex.c: New file.
65147 2012-03-06  David S. Miller  <davem@davemloft.net>
65149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65150         (set_obp_int): New function.
65151         (get_obp_int): New function.
65152         (__get_clockfreq_via_dev_openprom): Likewise.
65153         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65154         Avoid unused variable warnings on 'val' and use builtin_expect.
65155         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65156         __builtin_expect.
65157         (INLINE_CLONE_SYSCALL): Likewise.
65159 2012-03-05  David S. Miller  <davem@davemloft.net>
65161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65163 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65168         only for |x| >= 40.
65169         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65171 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65174         Replace gettimeofday with __vdso_gettimeofday.
65176         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65177         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65178         __vdso_clock_gettime and __vdso_getcpu.
65180         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65181         time with __vdso_time.
65183 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65185         * manual/lang.texi (size_t): Note types to which size_t may be
65186         equivalent with the GNU C Library, but do not describe when
65187         differences between them are significant.
65189 2012-03-05  Andreas Jaeger  <aj@suse.de>
65191         * sysdeps/i386/fpu/libm-test-ulps: Update.
65193 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65195         [BZ #3976]
65196         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65197         (__ieee754_pow): Save and restore rounding mode and use
65198         round-to-nearest for main computations.
65199         * math/libm-test.inc (pow_test_tonearest): New function.
65200         (pow_test_towardzero): Likewise.
65201         (pow_test_downward): Likewise.
65202         (pow_test_upward): Likewise.
65203         (main): Call the new functions.
65204         * sysdeps/i386/fpu/libm-test-ulps: Update.
65205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65207         [BZ #3976]
65208         * math/libm-test.inc (cosh_test_tonearest): New function.
65209         (cosh_test_towardzero): Likewise.
65210         (cosh_test_downward): Likewise.
65211         (cosh_test_upward): Likewise.
65212         (sinh_test_tonearest): Likewise.
65213         (sinh_test_towardzero): Likewise.
65214         (sinh_test_downward): Likewise.
65215         (sinh_test_upward): Likewise.
65216         (main): Call the new functions.
65217         * sysdeps/i386/fpu/libm-test-ulps: Update.
65218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65220 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65222         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65223         default stack guard is set in last bytes.
65224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65226 2012-03-05  Kees Cook  <keescook@chromium.org>
65228         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65230         [BZ #13656]
65231         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65232         possibly allocate from heap instead of stack.
65233         * stdio-common/bug-vfprintf-nargs.c: New file.
65234         * stdio-common/Makefile (tests): Add nargs overflow test.
65236 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65240 2012-03-03  Marek Polacek  <polacek@redhat.com>
65242         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65243         * math/math_private.h: Likewise.
65244         * stdlib/tst-strtod.c: Likewise.
65245         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65246         * sysdeps/x86_64/bits/atomic.h: Likewise.
65248 2012-03-02  David S. Miller  <davem@davemloft.net>
65250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65254         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65255         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65256         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65257         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65259 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65261         [BZ #13792]
65262         * manual/examples/README: New file, says the example source files
65263         can be used under GPL>=2.
65264         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65265         line containing just "*/".
65266         * manual/examples/add.c: Add copyright header (GPL>=2).
65267         * manual/examples/argp-ex1.c: Likewise.
65268         * manual/examples/argp-ex2.c: Likewise.
65269         * manual/examples/argp-ex3.c: Likewise.
65270         * manual/examples/argp-ex4.c: Likewise.
65271         * manual/examples/atexit.c: Likewise.
65272         * manual/examples/db.c: Likewise.
65273         * manual/examples/dir.c: Likewise.
65274         * manual/examples/dir2.c: Likewise.
65275         * manual/examples/execinfo.c: Likewise.
65276         * manual/examples/filecli.c: Likewise.
65277         * manual/examples/filesrv.c: Likewise.
65278         * manual/examples/fmtmsgexpl.c: Likewise.
65279         * manual/examples/genpass.c: Likewise.
65280         * manual/examples/inetcli.c: Likewise.
65281         * manual/examples/inetsrv.c: Likewise.
65282         * manual/examples/isockad.c: Likewise.
65283         * manual/examples/longopt.c: Likewise.
65284         * manual/examples/memopen.c: Likewise.
65285         * manual/examples/memstrm.c: Likewise.
65286         * manual/examples/mkfsock.c: Likewise.
65287         * manual/examples/mkisock.c: Likewise.
65288         * manual/examples/mygetpass.c: Likewise.
65289         * manual/examples/pipe.c: Likewise.
65290         * manual/examples/popen.c: Likewise.
65291         * manual/examples/rprintf.c: Likewise.
65292         * manual/examples/search.c: Likewise.
65293         * manual/examples/select.c: Likewise.
65294         * manual/examples/setjmp.c: Likewise.
65295         * manual/examples/sigh1.c: Likewise.
65296         * manual/examples/sigusr.c: Likewise.
65297         * manual/examples/stpcpy.c: Likewise.
65298         * manual/examples/strdupa.c: Likewise.
65299         * manual/examples/strftim.c: Likewise.
65300         * manual/examples/strncat.c: Likewise.
65301         * manual/examples/subopt.c: Likewise.
65302         * manual/examples/swapcontext.c: Likewise.
65303         * manual/examples/termios.c: Likewise.
65304         * manual/examples/testopt.c: Likewise.
65305         * manual/examples/testpass.c: Likewise.
65306         * manual/examples/timeval_subtract.c: Likewise.
65308         [BZ #13792]
65309         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65310         function to ...
65311         * manual/timeval_subtract.c.texi: ... here, new file.
65313 2012-03-02  David S. Miller  <davem@davemloft.net>
65315         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65317 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65319         [BZ #3976]
65320         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65321         (__sin): Save and restore rounding mode and use round-to-nearest
65322         for all computations.
65323         (__cos): Save and restore rounding mode and use round-to-nearest
65324         for all computations.
65325         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65326         <fenv.h>.
65327         (tan): Save and restore rounding mode and use round-to-nearest for
65328         all computations.
65329         * math/libm-test.inc (cos_test_tonearest): New function.
65330         (cos_test_towardzero): Likewise.
65331         (cos_test_downward): Likewise.
65332         (cos_test_upward): Likewise.
65333         (sin_test_tonearest): Likewise.
65334         (sin_test_towardzero): Likewise.
65335         (sin_test_downward): Likewise.
65336         (sin_test_upward): Likewise.
65337         (tan_test_tonearest): Likewise.
65338         (tan_test_towardzero): Likewise.
65339         (tan_test_downward): Likewise.
65340         (tan_test_upward): Likewise.
65341         (main): Call the new functions.
65342         * sysdeps/i386/fpu/libm-test-ulps: Update.
65343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65345         [BZ #10135]
65346         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65347         small n, then large n, before computing and testing k+n.
65348         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65349         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65350         Likewise.
65351         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65352         Likewise.
65353         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65354         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65355         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65356         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65357         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65358         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65359         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65360         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65361         * math/libm-test.inc (scalbn_test): Add more tests.
65362         (scalbln_test): Likewise.
65364         * manual/filesys.texi (mode_t): Describe constraints on size and
65365         signedness, not exact equivalence to a particular type.
65366         (ino_t): Likewise.
65367         (ino64_t): Likewise.
65368         (dev_t): Likewise.
65369         (nlink_t): Likewise.
65370         (blkcnt_t): Likewise.
65371         (blkcnt64_t): Likewise.
65372         * manual/llio.texi (off_t): Likewise.
65374         [BZ #3976]
65375         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65376         (__ieee754_exp): Save and restore rounding mode and use
65377         round-to-nearest for all computations.
65378         * math/libm-test.inc (exp_test_tonearest): New function.
65379         (exp_test_towardzero): Likewise.
65380         (exp_test_downward): Likewise.
65381         (exp_test_upward): Likewise.
65382         (main): Call the new functions.
65383         * sysdeps/i386/fpu/libm-test-ulps: Update.
65384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65386 2012-03-01  Chris Demetriou  <cgd@google.com>
65388         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65389         have predictable order.
65391 2012-03-01  David S. Miller  <davem@davemloft.net>
65393         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65395         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65396         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65397         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65398         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65400         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65401         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65402         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65404         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65405         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65406         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65407         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65408         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65412         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65413         * sysdeps/sparc/fpu/libm-test-ulps: to here.
65414         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65416         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65417         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65418         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65419         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65420         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65421         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65422         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65423         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65424         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65425         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65426         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65427         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65429         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65430         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65432         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65433         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65434         * sysdeps/sparc/elf/configure: Regenerated.
65436 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65438         * configure.in (AS, LD): Require binutils 2.20 or later.
65439         * configure: Regenerated.
65440         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65441         as required minimum version.
65442         * INSTALL: Regenerated.
65444         [BZ #2541]
65445         [BZ #4108]
65446         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65447         before squaring exponent.
65448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65449         bottom long double and 27 bits of top long double before squaring
65450         exponent.
65451         * math/libm-test.inc (erfc_test): Add more tests.
65452         * sysdeps/i386/fpu/libm-test-ulps: Update.
65453         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65456 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65458         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65459         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65460         containing bit-fields.
65461         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65462         * soft-fp/single.h (_FP_UNION_S): Likewise.
65463         * soft-fp/double.h (_FP_UNION_D): Likewise.
65465 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65467         [BZ #13786]
65468         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65469         not include ../strcmp.S.
65470         [USE_AS_STRNCASECMP_L]: Likewise.
65471         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65472         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65473         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65474         (__strncasecmp_l_ia32): Define as alias to
65475         __strncasecmp_l_nonascii.
65477         [BZ #5794]
65478         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65479         * sysdeps/i386/fpu/libm-test-ulps: Update.
65480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65482         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65485 2012-02-29  Jeff Law  <law@redhat.com>
65487         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65488         out of bounds read.
65490 2012-02-29  Marek Polacek  <polacek@redhat.com>
65492         [BZ #13706]
65493         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65494         * elf/Makefile: Add rules to run tst-unused-dep.out.
65496 2012-02-28  David S. Miller  <davem@davemloft.net>
65498         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65499         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65500         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65501         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65502         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65503         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65505 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65507         * math/libm-test.inc (llround_test): Move one test from
65508         lround_test.  Use TEST_f_L in moved test.
65509         (lround_test): Move misplaced test to llround_test.  Add testcase
65510         from bug 2561.
65512 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65514         * sysdeps/x86_64/fpu/e_expf.S: New file.
65515         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65517 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65519         [BZ #13637]
65520         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65521         of remain_len that may cause incomplete multi-byte character and
65522         false match.
65523         * posix/bug-regex33.c: New file.
65524         * posix/Makefile (tests): Add bug-regex33.
65526 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65528         * manual/macros.texi: New file.
65529         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65530         * manual/libc.texinfo: Include macros.texi.
65531         * manual/creatute.texi: Likewise.
65532         * manual/install.texi: Likewise.
65533         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65534         @glibcadj{} in references to the GNU C Library.
65535         * manual/charset.texi: Likewise.
65536         * manual/conf.texi: Likewise.
65537         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65538         when not using those macros.
65539         * manual/creature.texi: Likewise.
65540         * manual/crypt.texi: Likewise.
65541         * manual/errno.texi: Likewise.
65542         * manual/filesys.texi: Likewise.
65543         * manual/header.texi: Likewise.
65544         * manual/install.texi: Likewise.
65545         * manual/intro.texi: Likewise.
65546         * manual/io.texi: Likewise.
65547         * manual/job.texi: Likewise.
65548         * manual/lang.texi: Likewise.
65549         * manual/libc.texiinfo: Likewise.
65550         * manual/llio.texi: Likewise.
65551         * manual/locale.texi: Likewise.
65552         * manual/maint.texi: Likewise.
65553         * manual/math.texi: Likewise.
65554         * manual/memory.texi: Likewise.
65555         * manual/message.texi: Likewise.
65556         * manual/nss.texi: Likewise.
65557         * manual/pattern.texi: Likewise.
65558         * manual/process.texi: Likewise.
65559         * manual/resource.texi: Likewise.
65560         * manual/search.texi: Likewise.
65561         * manual/setjmp.texi: Likewise.
65562         * manual/signal.texi: Likewise.
65563         * manual/socket.texi: Likewise.
65564         * manual/startup.texi: Likewise.
65565         * manual/stdio.texi: Likewise.
65566         * manual/string.texi: Likewise.
65567         * manual/sysinfo.texi: Likewise.
65568         * manual/syslog.texi: Likewise.
65569         * manual/terminal.texi: Likewise.
65570         * manual/time.texi: Likewise.
65571         * manual/users.texi: Likewise.
65572         * INSTALL: Regenerated.
65573         * NOTES: Regenerated.
65574         * sysdeps/gnu/errlist.c: Regenerated.
65576 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65578         * include/dirent.h: Include <dirstream.h> before
65579         <dirent/dirent.h>.
65581 2012-02-28  David S. Miller  <davem@davemloft.net>
65583         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65584         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65585         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65586         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65588 2012-02-27  David S. Miller  <davem@davemloft.net>
65590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65592         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65593         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65596         frame pointer instead of stack pointer relative arg slot.
65597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65598         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65599         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65601 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65603         [BZ #3992]
65604         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65606 2012-02-27  David S. Miller  <davem@davemloft.net>
65608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65612         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65613         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65614         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65615         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65617 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65619         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65620         later.  Allow versions 5-9.
65621         * configure: Regenerated.
65622         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65623         required minimum version and 4.6 as recommended version.  Do not
65624         mention bugs in GCC 2.7 and 2.8.
65625         * INSTALL: Regenerated.
65627 2012-02-27  David S. Miller  <davem@davemloft.net>
65629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65633         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65634         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65635         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65636         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65639         manipulate bits before adding and subtracting TWO112[sx].
65640         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65642 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65644         [BZ #13775]
65645         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65646         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65647         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65648         being in POSIX, because they are in 1003.1-2008.
65650         * rt/tst-aio.c: Include <fcntl.h>.
65651         * rt/tst-aio7.c: Likewise.
65652         * rt/tst-aio64.c: Likewise.
65654         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65656 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65658         * manual/install.texi (--with-headers): Describe headers as
65659         interface headers, not private headers.
65660         (Specific advice for GNU/Linux systems): Describe use of headers
65661         from "make headers_install", not private headers from older
65662         kernels.
65663         * INSTALL: Regenerated.
65664         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65665         Change to 2.6.19.
65666         * sysdeps/unix/sysv/linux/configure: Regenerated.
65668         * manual/llio.texi (fclean): Remove documentation.
65670         * manual/Makefile (libc-texi-generated): New variable.  Include
65671         version.texi.
65672         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65673         $(libc-texi-generated), not duplicated list of files.
65674         (version.texi, stamp-version): New rules.
65675         (realclean): Remove $(libc-texi-generated), not individual files
65676         from that list.  Do not remove dir-add.texinfo.
65677         * manual/libc.texinfo: Comment out uses of edition numbers and
65678         references to printed manual.  Remove last-updated dates.
65679         (EDITION): Comment out.
65680         (ISBN): Likewise.
65681         (VERSION, UPDATED): Remove.
65682         (version.texi): Include.
65684 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65686         * sysdeps/posix/spawni.c: Include <signal.h>.
65687         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65688         * sysdeps/pthread/aio_fsync.c: Likewise.
65690 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65692         * conform/Makefile (tests): Run only when not cross-compiling and
65693         when fast-check is not defined.
65695         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65696         * conform/data/limits.h-data: Fixes for POSIX2008.
65697         * conform/run-conformtest.sh: Run all tests.
65698         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65699         headers.
65700         * include/bits/dlfcn.h: Likewise.
65701         * include/langinfo.h: Likewise.
65702         * include/monetary.h: Likewise.
65703         * include/sys/poll.h: Likewise.
65705         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65706         for __USE_GNU.
65707         * posix/spawn.h: Define __need_sigset_t.
65708         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65709         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65710         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65711         to get sigevent_t only.
65712         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65713         only for __USE_GNU.
65714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65715         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65716         process_vm_writev only for __USE_GNU.
65717         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65719         * conform/Makefile: For now ignore errors from run-conformtest.
65720         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65721         POSIX to avoid namespace pollution.  Don't prepend headers.
65722         * conform/data/aio.h-data: Fixes for POSIX testing.
65723         * conform/data/fcntl.h-data: Likewise.
65724         * conform/data/glob.h-data: Likewise.
65725         * conform/data/grp.h-data: Likewise.
65726         * conform/data/pthread.h-data: Likewise.
65727         * conform/data/pwd.h-data: Likewise.
65728         * conform/data/signal.h-data: Likewise.
65729         * conform/data/spawn.h-data: Likewise.
65730         * conform/data/stdio.h-data: Likewise.
65731         * conform/data/stdlib.h-data: Likewise.
65732         * conform/data/stropts.h-data: Likewise.
65733         * conform/data/sys/mman.h-data: Likewise.
65734         * conform/data/sys/stat.h-data: Likewise.
65735         * conform/data/sys/types.h-data: Likewise.
65736         * conform/data/sys/wait.h-data: Likewise.
65737         * conform/data/time.h-data: Likewise.
65738         * conform/data/unistd.h-data: Likewise.
65739         * conform/data/utime.h-data: Likewise.
65741         * io/sys/stat.h: fchmod was always in POSIX.
65742         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65743         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65744         * rt/aio.h: Define __need_timespec before including <time.h>.
65745         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65746         struct.  Add forward declaration of pthread_attr_t and use it in
65747         sigevent.
65748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65750         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65751         always remove CLK_TCK definition.
65753 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65755         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65757 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65759         * conform/run-conformtest.sh: New file.
65760         * conform/Makefile: Run run-conformtest for tests.
65761         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65762         support.
65764         * conform/data/uchar.h-data: New file.
65765         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65766         * conform/data/arpa/inet.h-data: Likewise.
65767         * conform/data/assert.h-data: Likewise.
65768         * conform/data/complex.h-data: Likewise.
65769         * conform/data/cpio.h-data: Likewise.
65770         * conform/data/ctype.h-data: Likewise.
65771         * conform/data/dirent.h-data: Likewise.
65772         * conform/data/dlfcn.h-data: Likewise.
65773         * conform/data/errno.h-data: Likewise.
65774         * conform/data/fcntl.h-data: Likewise.
65775         * conform/data/float.h-data: Likewise.
65776         * conform/data/fmtmsg.h-data: Likewise.
65777         * conform/data/fnmatch.h-data: Likewise.
65778         * conform/data/ftw.h-data: Likewise.
65779         * conform/data/glob.h-data: Likewise.
65780         * conform/data/grp.h-data: Likewise.
65781         * conform/data/iconv.h-data: Likewise.
65782         * conform/data/inttypes.h-data: Likewise.
65783         * conform/data/langinfo.h-data: Likewise.
65784         * conform/data/libgen.h-data: Likewise.
65785         * conform/data/limits.h-data: Likewise.
65786         * conform/data/locale.h-data: Likewise.
65787         * conform/data/math.h-data: Likewise.
65788         * conform/data/monetary.h-data: Likewise.
65789         * conform/data/mqueue.h-data: Likewise.
65790         * conform/data/ndbm.h-data: Likewise.
65791         * conform/data/net/if.h-data: Likewise.
65792         * conform/data/netdb.h-data: Likewise.
65793         * conform/data/netinet/in.h-data: Likewise.
65794         * conform/data/nl_types.h-data: Likewise.
65795         * conform/data/poll.h-data: Likewise.
65796         * conform/data/pthread.h-data: Likewise.
65797         * conform/data/pwd.h-data: Likewise.
65798         * conform/data/regex.h-data: Likewise.
65799         * conform/data/sched.h-data: Likewise.
65800         * conform/data/search.h-data: Likewise.
65801         * conform/data/semaphore.h-data: Likewise.
65802         * conform/data/setjmp.h-data: Likewise.
65803         * conform/data/signal.h-data: Likewise.
65804         * conform/data/spawn.h-data: Likewise.
65805         * conform/data/stdarg.h-data: Likewise.
65806         * conform/data/stdio.h-data: Likewise.
65807         * conform/data/stdlib.h-data: Likewise.
65808         * conform/data/string.h-data: Likewise.
65809         * conform/data/strings.h-data: Likewise.
65810         * conform/data/stropts.h-data: Likewise.
65811         * conform/data/sys/ipc.h-data: Likewise.
65812         * conform/data/sys/mman.h-data: Likewise.
65813         * conform/data/sys/msg.h-data: Likewise.
65814         * conform/data/sys/resource.h-data: Likewise.
65815         * conform/data/sys/select.h-data: Likewise.
65816         * conform/data/sys/sem.h-data: Likewise.
65817         * conform/data/sys/shm.h-data: Likewise.
65818         * conform/data/sys/socket.h-data: Likewise.
65819         * conform/data/sys/stat.h-data: Likewise.
65820         * conform/data/sys/statvfs.h-data: Likewise.
65821         * conform/data/sys/time.h-data: Likewise.
65822         * conform/data/sys/timeb.h-data: Likewise.
65823         * conform/data/sys/times.h-data: Likewise.
65824         * conform/data/sys/types.h-data: Likewise.
65825         * conform/data/sys/uio.h-data: Likewise.
65826         * conform/data/sys/un.h-data: Likewise.
65827         * conform/data/sys/utsname.h-data: Likewise.
65828         * conform/data/sys/wait.h-data: Likewise.
65829         * conform/data/syslog.h-data: Likewise.
65830         * conform/data/tar.h-data: Likewise.
65831         * conform/data/termios.h-data: Likewise.
65832         * conform/data/utime.h-data: Likewise.
65833         * conform/data/utmpx.h-data: Likewise.
65834         * conform/data/varargs.h-data: Likewise.
65835         * conform/data/wchar.h-data: Likewise.
65836         * conform/data/wctype.h-data: Likewise.
65837         * conform/data/wordexp.h-data: Likewise.
65839         * include/stropts.h: New file.
65840         * include/uchar.h: New file.
65841         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65842         * include/assert.h: Likewise.
65843         * include/ctype.h: Likewise.
65844         * include/dirent.h: Likewise.
65845         * include/dlfcn.h: Likewise.
65846         * include/fcntl.h: Likewise.
65847         * include/fnmatch.h: Likewise.
65848         * include/glob.h: Likewise.
65849         * include/grp.h: Likewise.
65850         * include/libio.h: Likewise.
65851         * include/locale.h: Likewise.
65852         * include/math.h: Likewise.
65853         * include/net/if.h: Likewise.
65854         * include/netdb.h: Likewise.
65855         * include/netinet/in.h: Likewise.
65856         * include/pthread.h: Likewise.
65857         * include/pwd.h: Likewise.
65858         * include/regex.h: Likewise.
65859         * include/sched.h: Likewise.
65860         * include/search.h: Likewise.
65861         * include/setjmp.h: Likewise.
65862         * include/signal.h: Likewise.
65863         * include/stdio.h: Likewise.
65864         * include/stdlib.h: Likewise.
65865         * include/string.h: Likewise.
65866         * include/sys/cdefs.h: Likewise.
65867         * include/sys/mman.h: Likewise.
65868         * include/sys/msg.h: Likewise.
65869         * include/sys/resource.h: Likewise.
65870         * include/sys/select.h: Likewise.
65871         * include/sys/socket.h: Likewise.
65872         * include/sys/stat.h: Likewise.
65873         * include/sys/statvfs.h: Likewise.
65874         * include/sys/time.h: Likewise.
65875         * include/sys/times.h: Likewise.
65876         * include/sys/uio.h: Likewise.
65877         * include/sys/utsname.h: Likewise.
65878         * include/sys/wait.h: Likewise.
65879         * include/termios.h: Likewise.
65880         * include/time.h: Likewise.
65881         * include/ulimit.h: Likewise.
65882         * include/unistd.h: Likewise.
65883         * include/utime.h: Likewise.
65884         * include/wchar.h: Likewise.
65885         * include/wctype.h: Likewise.
65886         * include/wordexp.h: Likewise.
65888         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65890         * time/time.h: TIME_UTC must be a macro.
65891         Make timespec_get available for ISO C11 only as well.
65893 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65895         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65896         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65898 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65900         * configure.in: Use -o not -a in test for unsupported multi-arch.
65902 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65904         * manual/texinfo.tex: Update to version 2012-01-19.16.
65906 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65908         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65910 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65912         [BZ #13738]
65913         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65914         * manual/fdl-1.3.texi: New file.
65915         * manual/fdl-1.1.texi: File removed.
65917         [BZ #13738]
65918         * manual/libc.texinfo (FDL_VERSION): New @set.
65919         Use it for mention of FDL in cover text.
65920         (Documentation License): Use it in @include file name.
65922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65923             Roland McGrath  <roland@hack.frob.com>
65925         [BZ #5461]
65926         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65927         (not LONG_LONG_MAX and LONG_LONG_MIN.
65928         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65929         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65930         name.
65931         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65933 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65935         [BZ #2547]
65936         [BZ #11365]
65937         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65938         manipulate bits before adding and subtracting TWO23[sx].
65939         * math/libm-test.inc (nearbyint_test): Add more tests.
65941 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65943         [BZ #2548]
65944         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65945         bits before adding and subtracting TWO23[sx].
65946         * math/libm-test.inc (rint_test): Add more tests.
65947         (rint_test_tonearest): Likewise.
65948         (rint_test_towardzero): Likewise.
65949         (rint_test_downward): Likewise.
65950         (rint_test_upward: Likewise.
65952 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65954         [BZ #10110]
65955         * include/stdc-predef.h: New file.  Extracted from features.h.
65956         * include/features.h: Include stdc-predef.h.
65957         * Makefile (headers): Add stdc-predef.h.
65958         * CONFORMANCE (Compiler limitations): Update.
65960 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65962         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65964 2012-02-21  David S. Miller  <davem@davemloft.net>
65966         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65967         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65969 2012-02-20  David S. Miller  <davem@davemloft.net>
65971         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65972         using a normal save/restore sequence, rather than allocating a
65973         dummy stack frame just to store a frame pointer and restore.
65974         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65976 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65978         * manual/install.texi: Fix stray word in line-wrapped comment.
65980 2012-02-20  David S. Miller  <davem@davemloft.net>
65982         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65983         both binutils and gcc support GOTDATA.
65985         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65986         "rd %pc" in the PIC register setup sequences.
65988         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65989         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65990         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65991         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65992         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65994         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65995         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65997         (SYSCALL_ERROR_HANDLER): Likewise.
65998         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65999         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66001         (SYSCALL_ERROR_HANDLER): Likewise.
66003         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66004         (HAVE_GCC_GOTDATA): New.
66005         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66006         relocation support in both binutils and gcc.
66007         * sysdeps/sparc/elf/configure: Regenerate.
66009         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66010         * sysdeps/sparc/sparc32/elf/configure: Delete.
66011         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66012         * sysdeps/sparc/sparc64/elf/configure: Delete.
66013         * sysdeps/sparc/elf/configure.in: New file.
66014         * sysdeps/sparc/elf/configure: Generate.
66016         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66017         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66018         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66019         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66020         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66024         * manual/install.texi: Do not mention specific glibc version
66025         numbers.
66026         * manual/libc.texinfo (VERSION, UPDATED): Update.
66027         (@copying): Use @copyright{} and range of years.
66029 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66031         [BZ #13695]
66032         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66033         [crti.S not in sysdirs] (generated): Do not append.
66034         [crti.S not in sysdirs] (omit-deps): Likewise.
66035         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66036         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66037         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66038         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66039         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66040         Likewise.
66041         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66042         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66043         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66044         * csu/defs.awk: Remove file.
66045         * sysdeps/generic/initfini.c: Likewise.
66046         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66047         variable.
66048         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66049         Likewise.
66051 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66053         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66054         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66055         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66057         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66058         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66059         <bits/epoll.h>.
66060         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66061         (__EPOLL_PACKED): Define to empty if not defined by
66062         <bits/epoll.h>.
66063         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66065         bits/epoll.h.
66067 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66069         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66070         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66071         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66072         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66073         <bits/timerfd.h>.
66074         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66076         bits/timerfd.h.
66078 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66080         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66081         in C locale.
66082         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66083         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66084         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66087 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66089         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66090         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66092 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66094         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66095         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66096         defined.
66097         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66098         Likewise.
66099         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66100         entry for 2.16.
66102 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66104         * math/w_acos.c: Use non-signaling floating-point comparisons.
66105         * math/w_acosf.c: Likewise.
66106         * math/w_acosh.c: Likewise.
66107         * math/w_acoshf.c: Likewise.
66108         * math/w_acoshl.c: Likewise.
66109         * math/w_acosl.c: Likewise.
66110         * math/w_asin.c: Likewise.
66111         * math/w_asinf.c: Likewise.
66112         * math/w_asinl.c: Likewise.
66113         * math/w_atanh.c: Likewise.
66114         * math/w_atanhf.c: Likewise.
66115         * math/w_atanhl.c: Likewise.
66116         * math/w_exp2.c: Likewise.
66117         * math/w_exp2f.c: Likewise.
66118         * math/w_exp2l.c: Likewise.
66119         * math/w_j0.c: Likewise.
66120         * math/w_j0f.c: Likewise.
66121         * math/w_j0l.c: Likewise.
66122         * math/w_j1.c: Likewise.
66123         * math/w_j1f.c: Likewise.
66124         * math/w_j1l.c: Likewise.
66125         * math/w_jn.c: Likewise.
66126         * math/w_jnf.c: Likewise.
66127         * math/w_log.c: Likewise.
66128         * math/w_log10.c: Likewise.
66129         * math/w_log10f.c: Likewise.
66130         * math/w_log10l.c: Likewise.
66131         * math/w_log2.c: Likewise.
66132         * math/w_log2f.c: Likewise.
66133         * math/w_log2l.c: Likewise.
66134         * math/w_logf.c: Likewise.
66135         * math/w_logl.c: Likewise.
66136         * math/w_sqrt.c: Likewise.
66137         * math/w_sqrtf.c: Likewise.
66138         * math/w_sqrtl.c: Likewise.
66139         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66140         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66141         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66142         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66143         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66145 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66147         [BZ #9739]
66148         * manual/string.texi (strnlen): Use correct parameter name in
66149         equivalent expression.
66151 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66153         [BZ #11174]
66154         * manual/users.texi (seteuid): Consistently use neweuid for
66155         argument name.
66157 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66159         [BZ #13704]
66160         * manual/nss.texi (Services in the NSS configuration): Correct
66161         list of services in example configuration file.
66163 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66165         [BZ #11322]
66166         * manual/arith.texi: Remove statements about negative zero
66167         behaving identically to zero.
66169 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66171         [BZ #5993]
66172         * manual/install.texi: Do not document upgrading from libc5.
66174 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66176         [BZ #4596]
66177         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66179 2012-02-18  David S. Miller  <davem@davemloft.net>
66181         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66182         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66183         %o7 across the call.
66184         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66185         instead.
66186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66187         SETUP_PIC_REG_LEAF.
66188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66189         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66190         * sysdeps/sparc/crtn.S: Likewise.
66192 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66194         * aout/Makefile: Remove.
66196 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66198         [BZ #13058]
66199         * manual/examples/argp-ex1.c (main): Format definition in GNU
66200         style.
66201         * manual/examples/argp-ex2.c (main): Likewise.
66202         * manual/examples/argp-ex3.c (main): Likewise.
66203         * manual/examples/argp-ex4.c (main): Likewise.
66204         * manual/examples/longopt.c (main): Use new-style prototype
66205         definition.
66206         * manual/examples/strncat.c (main): Specify return type and use
66207         (void) for arguments.
66208         * manual/examples/subopt.c (main): Use char **argv argument.
66210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66212         [BZ #5077]
66213         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66214         rounding modes.
66216 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66218         [BZ #6907]
66219         * manual/string.texi (strchr): Change when strchrnul is
66220         recommended.
66222 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66224         [BZ #174]
66225         * manual/locale.texi (setlocale): Document LOCPATH.
66227 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66229         [BZ #10210]
66230         * manual/process.texi (execle): Move @dots{} before last argument.
66232 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66234         [BZ #12047]
66235         * manual/charset.texi (Generic Charset Conversion): Fix typo
66236         (LC_TYPE -> LC_CTYPE).
66238 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66240         [BZ #5805]
66241         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66242         (scalbnf): Likewise.
66243         (scalbnl): Likewise.
66244         (scalbln): Likewise.
66245         (scalblnf): Likewise.
66246         (scalblnl): Likewise.
66247         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66248         (vwarnx): Likewise.
66249         (verr): Likewise.
66250         (verrx): Likewise.
66251         * manual/filesys.texi (telldir): Use braces around return type.
66252         * manual/llio.texi (mmap): Add space after comma.
66253         (mmap64): Likewise.
66254         * manual/math.texi (jn): Use @var{} on parameter names.
66255         (jnf): Likewise.
66256         (jnl): Likewise.
66257         (yn): Likewise.
66258         (ynf): Likewise.
66259         (ynl): Likewise.
66260         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66261         line.
66262         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66263         "...".
66264         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66265         (sched_get_priority_max): Likewise.
66266         * manual/signal.texi (sigvec): Add space after comma.
66267         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66268         names.
66269         (if_indextoname): Likewise.
66270         (if_freenameindex): Likewise.
66271         (sendto): Use ',' instead of '.' in prototype.
66272         * manual/startup.texi (syscall): Use @dots{} instead of literal
66273         "...".
66274         * manual/stdio.texi (__fpending): Separate initial words of
66275         paragraph from @deftypefun line.
66276         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66277         "...".
66278         (vsyslog): Use @var{} on parameter names.
66279         * manual/terminal.texi (stty): Use @var{} on parameter names.
66280         * manual/users.texi (getutmp): Use @var{} on parameter names.
66281         (getutmpx): Likewise.
66283 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66285         [BZ #6884]
66286         * manual/stdio.texi (fopen): Fix typos in description of
66287         ",ccs=STRING".
66289 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66291         [BZ #4026]
66292         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66293         get clock_id definition.
66295 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66297         [BZ #4822]
66298         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66299         (madvise): Cast every argument to void on its own.
66301 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66303         [BZ #9902]
66304         * manual/startup.texi (Exit Status): Fix typo.
66306 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66308         [BZ #10140]
66309         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66310         * manual/examples/argp-ex2.c: Likewise.
66311         * manual/examples/argp-ex3.c: Likewise.
66313 2012-02-16  Richard Henderson  <rth@redhat.com>
66315         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66316         * sysdeps/s390/s390-32/initfini.c: Remove.
66317         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66318         * sysdeps/s390/s390-64/initfini.c: Remove.
66320 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66322         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66323         compiler output for sysdeps/generic/initfini.c.
66324         * sysdeps/sh/elf/initfini.c: Remove file.
66326 2012-02-16  David S. Miller  <davem@davemloft.net>
66328         [BZ #11494]
66329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66331         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66332         * sysdeps/sparc/crti.S: New file.
66333         * sysdeps/sparc/crtn.S: New file.
66334         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66335         * sysdeps/sparc/sparc64/Makefile: Likewise.
66337 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66339         [BZ #3335]
66340         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66342 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66344         [BZ #4822]
66345         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66347         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66348         (write, read, close): Likewise.
66349         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66351 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66353         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66354         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66355         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66356         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66357         <bits/signalfd.h>.
66358         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66360         bits/signalfd.h.
66362 2012-02-14  Marek Polacek  <polacek@redhat.com>
66364         * sysdeps/x86_64/crti.S: New file.
66365         * sysdeps/x86_64/crtn.S: New file.
66366         * sysdeps/x86_64/elf/initfini.c: Remove file.
66368 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66370         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66371         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66372         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66373         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66374         <bits/inotify.h>.
66375         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66376         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66377         bits/inotify.h.
66379 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66381         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66382         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66383         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66384         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66385         <bits/eventfd.h>.
66386         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66388         bits/eventfd.h.
66390 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
66392         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66393         __feraiseexcept instead of feraiseexcept.
66395         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66396         nanosleep invocations.
66397         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66398         strings, and add error checking for a nanosleep invocations.
66400 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
66402         Replace FSF snail mail address with URLs, as per GNU coding standards.
66403         Most of the snail mail addresses were wrong anyway, and omitting
66404         them makes the source code easier to maintain.  Almost all of the
66405         changes are to license notices and to locale LC_IDENTIFICATION
66406         addresses, except for this one:
66407         * manual/libc.texinfo: In "Published by", give the FSF's URL,
66408         not its snail mail address.
66410 2012-02-09  Richard Henderson  <rth@twiddle.net>
66412         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66413         of kernel-features.h.
66415         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66417 2012-02-08  Marek Polacek  <polacek@redhat.com>
66419         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66420         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66421         * sysdeps/gnu/_G_config.h: Likewise.
66422         * sysdeps/generic/_G_config.h: Likewise.
66424 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
66426         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66427         tests.
66428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66430         * sysdeps/powerpc/powerpc32/crti.S: New file.
66431         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66432         * sysdeps/powerpc/powerpc64/crti.S: New file.
66433         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66435         * Makeconfig (have-initfini): Don't set.
66436         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66437         * configure.in (nopic_initfini): Don't substitute.
66438         * config.h.in (HAVE_INITFINI): Don't #undef.
66439         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66440         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66442 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66444         Support crti.S and crtn.S provided directly by architectures.
66445         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66446         [crti.S in sysdirs] (omit-deps): Likewise.
66447         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66448         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66449         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66450         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66451         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66452         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66453         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66454         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66455         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66456         compiler output for sysdeps/generic/initfini.c.
66457         * sysdeps/i386/elf/Makefile: Remove file.
66458         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66460 2012-02-07  Marek Polacek  <polacek@redhat.com>
66462         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66463         * sysdeps/gnu/_G_config.h: Likewise.
66464         * sysdeps/mach/hurd/_G_config.h: Likewise.
66466 2012-02-07  Marek Polacek  <polacek@redhat.com>
66468         * math/Makefile (tests): Add tst-CMPLX2.
66469         * math/tst-CMPLX2.c: New file.
66471 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66473         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66475         * math/libm-test.inc (jn_test): Add missing L suffix.
66477 2012-02-06  Marek Polacek  <polacek@redhat.com>
66479         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66480         * sysdeps/i386/fpu/e_powf.S: Likewise.
66481         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66482         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66483         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66484         * sysdeps/i386/fpu/e_pow.S: Likewise.
66485         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66486         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66487         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66488         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66489         * sysdeps/i386/fpu/e_log2.S: Likewise.
66490         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66491         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66492         * sysdeps/i386/fpu/e_powl.S: Likewise.
66493         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66494         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66495         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66496         * sysdeps/i386/fpu/e_logl.S: Likewise.
66497         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66498         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66499         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66500         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66501         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66502         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66503         * sysdeps/i386/fpu/e_log.S: Likewise.
66504         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66505         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66506         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66507         * sysdeps/i386/fpu/e_logf.S: Likewise.
66508         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66509         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66510         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66511         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66512         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66513         * sysdeps/i386/fpu/e_log10.S: Likewise.
66514         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66515         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66516         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66517         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66518         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66519         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66520         * sysdeps/i386/asm-syntax.h: Likewise.
66521         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66522         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66523         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66524         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66525         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66526         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66527         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66528         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66529         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66530         * sysdeps/powerpc/sysdep.h: Likewise.
66531         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66532         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66534 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66536         [BZ #411]
66537         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66539 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66541         * sysdeps/i386/sysdep.h: Include <features.h>.
66542         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66543         version.
66545 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66547         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66548         Define.
66549         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66550         LOAD_PIC_REG_STR.
66552 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66554         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66555         (SETUP_PIC_REG): Use GET_PC_THUNK.
66556         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66557         macro.
66559 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66561         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66562         for non-PIC compilation.
66563         (SETUP_PIC_REG): Add .p2align directive.
66564         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66565         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66566         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66567         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66568         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66569         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66570         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66571         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66572         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66573         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66574         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66575         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66576         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66577         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66578         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66579         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66580         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66581         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66582         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66583         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66584         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66585         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66586         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66587         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66588         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66590         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66591         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66592         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66593         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66594         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66595         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66596         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66597         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66598         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66599         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66600         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66601         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66602         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66603         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66604         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66606 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66608         * math/tst-CMPLX.c: Include <stdio.h>.
66610 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66612         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66613         float.
66614         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66615         * sysdeps/sparc/bits/mathdef.h: Likewise.
66617 2012-01-31  Marek Polacek  <polacek@redhat.com>
66619         * libio/libio.h: Don't define _PARAMS.
66620         * locale/programs/config.h: Don't define PARAMS.
66621         * stdlib/strtol_l.c: Likewise.
66622         (__strtol_l): Remove PARAMS from the prototype.
66624 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66626         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66627         names.  Just use the correct names.  Remove unnecessary wrapper
66628         functions.
66629         * malloc/arena.c: Likewise.
66630         * malloc/hooks.c: Likewise.
66632         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66633         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66634         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66636 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66638         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66639         into tail calls.
66640         (update_get_addr): New function.
66641         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66642         GET_ADDR_MODULE parameter.
66644 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66646         * crypt/cert.c: Remove __STDC__ conditionals.
66647         * crypt/crypt-entry.c: Likewise.
66648         * crypt/crypt_util.c: Likewise.
66649         * libio/filedoalloc.c: Likewise.
66650         * libio/fileops.c: Likewise.
66651         * libio/genops.c: Likewise.
66652         * libio/iofclose.c: Likewise.
66653         * libio/iofdopen.c: Likewise.
66654         * libio/iofopen.c: Likewise.
66655         * libio/iofopen64.c: Likewise.
66656         * libio/iogetdelim.c: Likewise.
66657         * libio/iopopen.c: Likewise.
66658         * libio/obprintf.c: Likewise.
66659         * libio/oldfileops.c: Likewise.
66660         * libio/oldiofclose.c: Likewise.
66661         * libio/oldiofdopen.c: Likewise.
66662         * libio/oldiofopen.c: Likewise.
66663         * libio/oldiopopen.c: Likewise.
66664         * libio/wfiledoalloc.c: Likewise.
66665         * libio/wgenops.c: Likewise.
66666         * locale/programs/xmalloc.c: Likewise.
66667         * misc/syslog.c: Likewise.
66668         * stdio-common/xbug.c: Likewise.
66669         * string/memchr.c: Likewise.
66670         * string/memcmp.c: Likewise.
66671         * string/memrchr.c: Likewise.
66672         * string/rawmemchr.c: Likewise.
66673         * sysdeps/posix/getcwd.c: Likewise.
66674         * time/strftime_l.c: Likewise.
66676 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66678         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66679         * config.make.in (config-cflags-sse2avx): Define.
66680         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66681         Fix typo.
66683 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66685         * scripts/config.guess: Update from upstream config git repository.
66686         * scripts/config.sub: Likewise.
66688 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66690         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66691         (EM_NUM): Update.
66692         (R_TILEPRO_*, R_TILEGX_*): New macros.
66694         * scripts/firstversions.awk: Fix bug in version range handling.
66696         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66698         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66700         * include/sys/epoll.h: New file.
66701         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66702         libc_hidden_def.
66704 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66706         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66707         Avoid unnecessary __WORDSIZE == 64 test.
66708         (fmaxf): Use VEX format if possible.
66709         (fmax): Likewise.
66710         (fminf): Likewise.
66711         (fmin): Likewise.
66713         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66714         * math/math_private.h: Remove libc_fegetround* and
66715         libc_fesetround*.
66716         * sysdeps/i386/configure.in: Check for -msse2avx.
66717         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66718         also if SSE2AVX is defined.
66719         Remove libc_fegetround* and libc_fesetround*.
66720         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66721         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66722         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66723         of HAS_YMM_USABLE.
66724         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66725         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66726         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66727         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66728         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66730         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66732 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66734         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66735         size is not set.
66736         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66738 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66740         [BZ #13618]
66741         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66742         relocation.
66743         * Makeconfig (libm): Define.
66744         * elf/Makefile: Add rules to build and run tst-relsort1.
66745         * elf/tst-relsort1.c: New file.
66746         * elf/tst-relsort1mod1.c: New file.
66747         * elf/tst-relsort1mod2.c: New file.
66749 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66751         * math/s_ldexp.c: Remove __STDC__ conditionals.
66752         * math/s_ldexpf.c: Likewise.
66753         * math/s_ldexpl.c: Likewise.
66754         * math/s_nextafter.c: Likewise.
66755         * math/s_nexttowardf.c: Likewise.
66756         * math/s_significand.c: Likewise.
66757         * math/s_significandf.c: Likewise.
66758         * math/s_significandl.c: Likewise.
66759         * math/w_jnl.c: Likewise.
66760         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66761         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66762         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66763         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66764         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66765         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66766         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66767         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66768         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66769         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66770         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66771         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66772         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66773         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66774         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66775         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66776         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66777         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66779         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66780         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66781         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66782         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66784         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66785         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66786         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66787         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66788         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66789         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66790         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66791         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66792         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66793         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66794         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66795         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66796         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66797         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66798         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66799         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66800         * sysdeps/ieee754/k_standard.c: Likewise.
66801         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66805         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66806         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66808         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66810         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66811         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66812         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66813         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66815         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66816         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66817         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66818         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66819         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66820         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66824         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66826         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66827         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66828         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66831         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66832         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66833         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66834         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66836         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66837         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66838         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66839         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66840         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66841         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66843         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66844         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66845         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66846         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66847         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66848         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66849         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66850         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66851         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66852         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66853         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66854         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66855         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66856         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66857         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66858         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66859         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66860         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66861         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66862         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66863         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66864         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66865         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66866         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66867         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66868         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66869         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66870         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66871         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66876         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66877         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66878         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66879         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66880         * sysdeps/ieee754/s_matherr.c: Likewise.
66881         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66886 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66888         * crypt/md5.h: Remove __STDC__ conditionals.
66889         * libio/libioP.h: Likewise.
66890         * locale/programs/config.h: Likewise.
66891         * sysdeps/generic/sysdep.h: Likewise.
66892         * sysdeps/i386/asm-syntax.h: Likewise.
66893         * sysdeps/s390/asm-syntax.h: Likewise.
66894         * sysdeps/unix/sysdep.h: Likewise.
66895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66898 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66900         * libio/libio.h: Remove __STDC__ conditionals.
66901         * malloc/obstack.h: Likewise.
66902         * math/complex.h: Likewise.
66903         * math/math.h: Likewise.
66904         * sysdeps/generic/_G_config.h: Likewise.
66905         * sysdeps/gnu/_G_config.h: Likewise.
66906         * sysdeps/mach/hurd/_G_config.h: Likewise.
66907         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66908         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66909         * sysdeps/sparc/bits/mathdef.h: Likewise.
66911 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66913         [BZ #13583]
66914         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66915         Clean up HAS_* macros.
66916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66917         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66918         possible.
66919         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66920         HAS_AVX.
66921         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66922         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66923         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66924         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66925         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66927 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66929         * elf/tst-unique3.cc (gets): Remove declaration.
66930         * elf/tst-unique3lib.cc (gets): Likewise.
66931         * elf/tst-unique3lib2.cc (gets): Likewise.
66932         * elf/tst-unique4.cc (gets): Likewise.
66934 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66936         * include/stdio.h: Add C++ protection.  Add gets declarations and
66937         definitions.
66938         * debug/tst-chk1.c: Don't declare gets here.
66939         * stdio-common/tst-gets.c: Likewise.
66941 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66943         * posix/glob: Remove directory.
66945 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66947         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66949 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66951         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66952         of the non-standard EPFNOSUPPORT.
66954 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66956         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66957         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66958         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66960 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66962         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66964 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66966         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66967         transient errors.
66968         * nscd/grpcache.c (cache_addgr): Likewise.
66969         * nscd/hstcache.c (cache_addhst): Likewise.
66970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66971         * nscd/pwdcache.c (cache_addpw): Likewise.
66972         * nscd/servicescache.c (cache_addserv): Likewise.
66974 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66976         * malloc/malloc.c: Various cleanups.
66977         * malloc/hooks.c: Likewise.
66979         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66980         * stdlib/bug-fmtmsg1.c: New file.
66982         * stdlib/fmtmsg.c (init): Add missing unlock.
66983         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66985 2012-01-12  Marek Polacek  <polacek@redhat.com>
66987         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66988         and _GNU_SOURCE.
66990 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66992         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66993         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66994         macro to ensure uniqueness of label name.
66995         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66996         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66998 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67000         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67002         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67003         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67004         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67005         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67007 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67009         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67011         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67012         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67013         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67015         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67017         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67018         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67019         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67022         * math/bits/math-finite.h: Add ldexp support.
67024 2012-01-10  Marek Polacek  <polacek@redhat.com>
67026         * locale/programs/localedef.h (show_archive_content): Add noreturn
67027         attribute.
67029 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67031         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67033 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67035         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67037         * io/Makefile (headers): Add bits/poll2.h.
67039 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67042         typo #include statement.
67044 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67046         * include/sys/cdefs.h: Define __attribute_alloc_size.
67047         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67048         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67049         * elf/pldd.c: Likewise.
67050         * iconv/iconv_charmap.c: Likewise.
67051         * iconv/iconvconfig.c: Likewise.
67052         * iconv/strtab.c: Likewise.
67053         * locale/programs/locale.c: Likewise.
67054         * locale/programs/localedef.h: Likewise.
67055         * locale/programs/simple-hash.c: Likewise.
67056         * nscd/nscd.h: Likewise.
67057         * nss/makedb.c: Likewise.
67058         * sysdeps/generic/ldconfig.h: Likewise.
67059         * locale/programs/localedef.c: Remove xmalloc prototype.
67060         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67062 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67065         appropriate.
67067 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67069         * math/Makefile (tests): Add tst-CMPLX.
67070         * math/tst-CMPLX.c: New file.
67072         * math/complex.h (CMPLXL): Fix typo.
67074         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67075         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67076         GLIBC_2.16.
67077         * debug/tst-chk1.c: Add poll and ppoll tests.
67078         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67079         * include/sys/poll.h: Add hidden proto for ppoll.
67080         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67081         * sysdeps/mach/hurd/ppoll.c: Likewise.
67082         * io/ppoll.c: Likewise.
67083         * debug/poll_chk.c: New file.
67084         * debug/ppoll_chk.c: New file.
67085         * include/bits/poll2.h: New file.
67086         * io/bits/poll2.h: New file.
67088         [BZ #1350]
67089         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67091         * configure.in: static is always set to yes.  Remove.
67092         * config.make.in: Don't set build-static.
67093         * Makeconfig: Remove use of build-static.
67094         * dlfcn/Makefile: Likewise.
67095         * elf/Makefile: Likewise.
67096         * math/Makefile: Likewise.
67097         * misc/Makefile: Likewise.
67098         * nptl/Makefile: Likewise.
67099         * sysdeps/mach/hurd/Makefile: Likewise.
67101         * configure.in: PWD_P is not used anymore.
67102         * config.make.in: Remove PWD_P entry.
67104         * configure.in: Remove last remnants of RANLIB.
67105         No need to check for signed size_t anymore.
67106         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67107         and IA-64.
67108         Remove __builtin_expect test because we require at least gcc 3.4.
67109         * aclocal.m4: Likewise.
67111         * wcsmbs/mbrtoc16.c: Implement using towc function.
67112         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67113         * wcsmbs/wcsmbsload.c: Likewise.
67114         * iconv/gconv_simple.c: Likewise.
67115         * iconv/gconv_int.h: Likewise.
67116         * iconv/gconv_builtin.h: Likewise.
67117         * iconv/iconv_prog.c: Remove CHAR16 handling.
67119         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67121         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67123         * configure.in: Remove --with-elf and --enable-bounded options.
67124         Dont set base_machine for ia64.  More non-ELF conditions removed.
67125         Remove testing and setting of leading underscore information.
67126         * config.make.in (build-bounded): Set to no.
67127         * config.h.in: Remove NO_UNDERSCORES entry.
67128         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67129         them.
67130         * csu/start.c: Remove !NO_UNDERSCORE code.
67131         * locale/localeinfo.h: Likewise.
67132         * sysdeps/generic/machine-gmon.h: Likewise.
67133         * sysdeps/generic/sysdep.h: Likewise.
67134         * sysdeps/i386/sysdep.h: Likewise.
67135         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67136         * sysdeps/mach/sysdep.h: Likewise.
67137         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67139         * sysdeps/sh/sysdep.h: Likewise.
67140         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67141         * sysdeps/unix/i386/sysdep.S: Likewise.
67142         * sysdeps/unix/sparc/start.c: Likewise.
67143         * sysdeps/unix/sparc/sysdep.S: Likewise.
67144         * sysdeps/unix/sparc/sysdep.h: Likewise.
67145         * sysdeps/unix/start.c: Likewise.
67146         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67147         * sysdeps/x86_64/sysdep.h: Likewise.
67149 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67151         [BZ #13553]
67152         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67153         for non-gcc.
67154         * argp/argp-fmtstream.h: Use const instead __const.
67155         * argp/argp.h: Likewise.
67156         * assert/assert.h: Likewise.
67157         * bits/fenv.h: Likewise.
67158         * bits/sched.h: Likewise.
67159         * bits/sigset.h: Likewise.
67160         * bits/sigthread.h: Likewise.
67161         * catgets/nl_types.h: Likewise.
67162         * conform/data/pthread.h-data: Likewise.
67163         * crypt/crypt-private.h: Likewise.
67164         * crypt/crypt.h: Likewise.
67165         * crypt/crypt_util.c: Likewise.
67166         * ctype/ctype.h: Likewise.
67167         * debug/execinfo.h: Likewise.
67168         * debug/mbsnrtowcs_chk.c: Likewise.
67169         * debug/mbsrtowcs_chk.c: Likewise.
67170         * debug/wcsnrtombs_chk.c: Likewise.
67171         * debug/wcsrtombs_chk.c: Likewise.
67172         * debug/wcstombs_chk.c: Likewise.
67173         * dirent/dirent.h: Likewise.
67174         * dlfcn/dlfcn.h: Likewise.
67175         * elf/neededtest4.c: Likewise.
67176         * grp/grp.h: Likewise.
67177         * gshadow/gshadow.h: Likewise.
67178         * iconv/gconv.h: Likewise.
67179         * iconv/gconv_int.h: Likewise.
67180         * iconv/gconv_simple.c: Likewise.
67181         * iconv/iconv.h: Likewise.
67182         * iconv/loop.c: Likewise.
67183         * iconv/skeleton.c: Likewise.
67184         * include/aio.h: Likewise.
67185         * include/aliases.h: Likewise.
67186         * include/argz.h: Likewise.
67187         * include/arpa/inet.h: Likewise.
67188         * include/assert.h: Likewise.
67189         * include/dirent.h: Likewise.
67190         * include/dlfcn.h: Likewise.
67191         * include/execinfo.h: Likewise.
67192         * include/fcntl.h: Likewise.
67193         * include/fenv.h: Likewise.
67194         * include/glob.h: Likewise.
67195         * include/grp.h: Likewise.
67196         * include/libintl.h: Likewise.
67197         * include/mntent.h: Likewise.
67198         * include/netdb.h: Likewise.
67199         * include/pwd.h: Likewise.
67200         * include/rpc/netdb.h: Likewise.
67201         * include/sched.h: Likewise.
67202         * include/search.h: Likewise.
67203         * include/shadow.h: Likewise.
67204         * include/signal.h: Likewise.
67205         * include/stdio.h: Likewise.
67206         * include/stdlib.h: Likewise.
67207         * include/string.h: Likewise.
67208         * include/sys/socket.h: Likewise.
67209         * include/sys/stat.h: Likewise.
67210         * include/sys/statfs.h: Likewise.
67211         * include/sys/statvfs.h: Likewise.
67212         * include/sys/syslog.h: Likewise.
67213         * include/sys/time.h: Likewise.
67214         * include/sys/uio.h: Likewise.
67215         * include/time.h: Likewise.
67216         * include/unistd.h: Likewise.
67217         * include/utmp.h: Likewise.
67218         * include/wchar.h: Likewise.
67219         * include/wctype.h: Likewise.
67220         * inet/aliases.h: Likewise.
67221         * inet/arpa/inet.h: Likewise.
67222         * inet/netinet/ether.h: Likewise.
67223         * inet/netinet/in.h: Likewise.
67224         * intl/libintl.h: Likewise.
67225         * io/bits/fcntl2.h: Likewise.
67226         * io/fcntl.h: Likewise.
67227         * io/ftw.h: Likewise.
67228         * io/sys/poll.h: Likewise.
67229         * io/sys/stat.h: Likewise.
67230         * io/sys/statfs.h: Likewise.
67231         * io/sys/statvfs.h: Likewise.
67232         * io/utime.h: Likewise.
67233         * libio/bits/stdio.h: Likewise.
67234         * libio/bits/stdio2.h: Likewise.
67235         * libio/libio.h: Likewise.
67236         * libio/libioP.h: Likewise.
67237         * libio/stdio.h: Likewise.
67238         * locale/lc-ctype.c: Likewise.
67239         * locale/locale.h: Likewise.
67240         * login/utmp.h: Likewise.
67241         * malloc/arena.c: Likewise.
67242         * malloc/malloc.c: Likewise.
67243         * malloc/malloc.h: Likewise.
67244         * malloc/mcheck.c: Likewise.
67245         * malloc/mtrace.c: Likewise.
67246         * math/bits/mathcalls.h: Likewise.
67247         * math/fenv.h: Likewise.
67248         * math/math_private.h: Likewise.
67249         * misc/bits/error.h: Likewise.
67250         * misc/bits/syslog.h: Likewise.
67251         * misc/err.h: Likewise.
67252         * misc/error.h: Likewise.
67253         * misc/fstab.h: Likewise.
67254         * misc/mntent.h: Likewise.
67255         * misc/regexp.h: Likewise.
67256         * misc/search.h: Likewise.
67257         * misc/sgtty.h: Likewise.
67258         * misc/sys/mman.h: Likewise.
67259         * misc/sys/syslog.h: Likewise.
67260         * misc/sys/uio.h: Likewise.
67261         * misc/sys/xattr.h: Likewise.
67262         * misc/ttyent.h: Likewise.
67263         * nis/rpcsvc/ypclnt.h: Likewise.
67264         * nss/nss.h: Likewise.
67265         * posix/bits/unistd.h: Likewise.
67266         * posix/fnmatch.h: Likewise.
67267         * posix/glob.h: Likewise.
67268         * posix/sched.h: Likewise.
67269         * posix/spawn.h: Likewise.
67270         * posix/sys/wait.h: Likewise.
67271         * posix/unistd.h: Likewise.
67272         * posix/wordexp.h: Likewise.
67273         * pwd/pwd.h: Likewise.
67274         * resolv/netdb.h: Likewise.
67275         * resource/sys/resource.h: Likewise.
67276         * rt/aio.h: Likewise.
67277         * rt/bits/mqueue2.h: Likewise.
67278         * rt/mqueue.h: Likewise.
67279         * shadow/shadow.h: Likewise.
67280         * signal/signal.h: Likewise.
67281         * socket/send.c: Likewise.
67282         * socket/sendto.c: Likewise.
67283         * socket/sys/socket.h: Likewise.
67284         * stdio-common/printf.h: Likewise.
67285         * stdlib/bits/stdlib.h: Likewise.
67286         * stdlib/fmtmsg.h: Likewise.
67287         * stdlib/monetary.h: Likewise.
67288         * stdlib/stdlib.h: Likewise.
67289         * stdlib/ucontext.h: Likewise.
67290         * streams/stropts.h: Likewise.
67291         * string/argz.h: Likewise.
67292         * string/bits/string2.h: Likewise.
67293         * string/string.h: Likewise.
67294         * string/strings.h: Likewise.
67295         * sunrpc/rpc/auth.h: Likewise.
67296         * sunrpc/rpc/auth_des.h: Likewise.
67297         * sunrpc/rpc/clnt.h: Likewise.
67298         * sunrpc/rpc/netdb.h: Likewise.
67299         * sunrpc/rpc/pmap_clnt.h: Likewise.
67300         * sunrpc/rpc/xdr.h: Likewise.
67301         * sysdeps/generic/inttypes.h: Likewise.
67302         * sysdeps/generic/net/if.h: Likewise.
67303         * sysdeps/generic/sys/swap.h: Likewise.
67304         * sysdeps/gnu/net/if.h: Likewise.
67305         * sysdeps/gnu/utmpx.h: Likewise.
67306         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67307         * sysdeps/i386/i486/bits/string.h: Likewise.
67308         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67309         * sysdeps/s390/bits/string.h: Likewise.
67310         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67311         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67312         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67313         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67314         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67315         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67316         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67317         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67318         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67319         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67320         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67321         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67322         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67323         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67324         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67325         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67326         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67328         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67329         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67330         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67331         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67332         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67333         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67334         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67335         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67336         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67337         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67338         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67339         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67340         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67341         * sysvipc/sys/ipc.h: Likewise.
67342         * sysvipc/sys/msg.h: Likewise.
67343         * sysvipc/sys/sem.h: Likewise.
67344         * sysvipc/sys/shm.h: Likewise.
67345         * termios/termios.h: Likewise.
67346         * time/sys/time.h: Likewise.
67347         * time/time.h: Likewise.
67348         * wcsmbs/bits/wchar2.h: Likewise.
67349         * wcsmbs/uchar.h: Likewise.
67350         * wcsmbs/wchar.h: Likewise.
67351         * wctype/wctype.h: Likewise.
67353         [BZ #13551]
67354         * Makeconfig: Remove all but ELF support including AIX support.
67355         * Makerules: Likewise.
67356         * config.h.in: Likewise.
67357         * config.make.in: Likewise.
67358         * configure: Likewise.
67359         * configure.in: Likewise.
67360         * csu/Makefile: Likewise.
67361         * csu/version.c: Likewise.
67362         * debug/Makefile: Likewise.
67363         * dlfcn/Makefile: Likewise.
67364         * elf/Makefile: Likewise.
67365         * extra-lib.mk: Likewise.
67366         * iconv/Makefile: Likewise.
67367         * include/libc-symbols.h: Likewise.
67368         * include/shlib-compat.h: Likewise.
67369         * resolv/Makefile: Likewise.
67370         * resolv/res_libc.c: Likewise.
67371         * rt/Makefile: Likewise.
67372         * sysdeps/i386/asm-syntax.h: Likewise.
67373         * sysdeps/i386/sysdep.h: Likewise.
67374         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67375         * sysdeps/mach/sysdep.h: Likewise.
67376         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67377         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67378         * sysdeps/s390/asm-syntax.h: Likewise.
67379         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67380         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67381         * sysdeps/sh/sysdep.h: Likewise.
67382         * sysdeps/unix/sparc/sysdep.h: Likewise.
67383         * sysdeps/wordsize-32/divdi3.c: Likewise.
67384         * sysdeps/x86_64/sysdep.h: Likewise.
67386         * argp/Versions: Remove _argp_unlock_xxx.
67388         [BZ #13559]
67389         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
67390         * abilist/libBrokenLocale.abilist: Likewise.
67391         * abilist/libanl.abilist: Likewise.
67392         * abilist/libc.abilist: Likewise.
67393         * abilist/libcrypt.abilist: Likewise.
67394         * abilist/libdl.abilist: Likewise.
67395         * abilist/libm.abilist: Likewise.
67396         * abilist/libnsl.abilist: Likewise.
67397         * abilist/libpthread.abilist: Likewise.
67398         * abilist/libresolv.abilist: Likewise.
67399         * abilist/librt.abilist: Likewise.
67400         * abilist/libthread_db.abilist: Likewise.
67401         * abilist/libutil.abilist: Likewise.
67402         * abilist/libnss_db.abilist: New file.
67404         * scripts/abilist.awk: Add support for indirect functions.
67406         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67408         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67410         * shlib-versions: Remove entries for ports architectures.
67412         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
67413         files in ports.
67414         * elf/stackguard-macros.h: Remove support for IA-64.
67415         * elf/tst-auditmod1.c: Likewise.
67416         * sysdeps/generic/ldsodefs.h: Likewise.
67418         * sysdeps/unix/sysv/linux/configure.in: Ports should define
67419         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67420         configure files.
67422         [BZ #13552]
67423         * configure.in: Remove --enable-omitfp support.
67424         * FAQ.in: Adjust.
67425         * config.make.in: Likewise.
67426         * Makeconfig: Likewise.
67427         * manual/install.texi: Likewise.
67429         In case anyone cares, the IA-64 architecture could move to ports.
67430         * sysdeps/ia64/*: Removed.
67431         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67432         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67434         [BZ #13555]
67435         * configure.in: Remove entries for unsupported architectures.
67437         [BZ #13533]
67438         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67439         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67440         routines.
67441         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67442         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67443         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67444         fall back to using wcrtomb.
67445         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67446         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67447         renaming.
67448         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67449         * wcsmbs/tst-c16c32-1.c: New file.
67451         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67452         local variable.
67454         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67456         * elf/tst-unique3.cc: Add explicit declaration of gets.
67457         * elf/tst-unique3lib.cc: Likewise.
67458         * elf/tst-unique3lib2.cc: Likewise.
67459         * elf/tst-unique4.cc: Likewise.
67461         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67463 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67465         [BZ #13566]
67466         * assert/assert.h (static_assert): Don't define for C++.
67467         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67468         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67470 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67472         * iconv/loop.c (single loop): Fix assertion in storing of
67473         remaining bytes.
67475         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67477 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67479         * posix/getconf.c: Update copyright year.
67480         * nss/getent.c: Likewise.
67481         * nss/makedb.c: Likewise.
67482         * iconv/iconvconfig.c: Likewise.
67483         * iconv/iconv_prog.c: Likewise.
67484         * elf/ldconfig.c: Likewise.
67485         * elf/pldd.c: Likewise.
67486         * elf/sotruss.ksh: Likewise.
67487         * catgets/gencat.c: Likewise.
67488         * csu/version.c: Likewise.
67489         * elf/ldd.bash.in: Likewise.
67490         * elf/sprof.c (print_version): Likewise.
67491         * locale/programs/locale.c: Likewise.
67492         * locale/programs/localedef.c: Likewise.
67493         * login/programs/pt_chown.c: Likewise.
67494         * nscd/nscd.c (print_version): Likewise.
67495         * debug/xtrace.sh: Likewise.
67496         * malloc/memusage.sh: Likewise.
67497         * malloc/mtrace.pl: Likewise.
67498         * debug/catchsegv.sh: Likewise.
67500 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67502         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67503         pure attribute.
67505 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67507         [BZ #13533]
67508         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67509         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67510         transformations.
67511         * iconv/gconv_int.h: Likewise.
67512         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67513         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67514         from libc for GLIBC_2.16.
67515         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67516         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67517         * wcsmbs/uchar.h: Really define mbstate_t.
67518         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67519         * wcsmbs/c16rtomb.c: New file.
67520         * wcsmbs/mbrtoc16.c: New file.
67521         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67522         for C/POSIX locale.
67523         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67524         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67526         * wcsmbs/wchar.h: Add missing __restrict.
67528 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67530         [BZ #13532]
67531         * time/Makefile (routines): Add timespec_get.
67532         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67533         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67534         timespec for ISO C11.
67535         * time/timespec_get.c: New file.
67536         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67537         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67539         [BZ #13531]
67540         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67541         * stdlib/stdlib.h: Declare aligned_alloc.
67542         * Versions.def: Add GLIBC_2.16 for libc.
67543         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67545         [BZ 13527]
67546         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67547         ISO C11.
67549         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67550         code.
67552         [BZ #13528]
67553         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67555         [BZ #13529]
67556         * assert/assert.h (static_assert): Define.
67558         * version.h: Update for 2.16 development version.
67560         [BZ #13526]
67561         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67562         _ISOC11_SOURCE.
67564         * version.h (RELEASE): Bump for 2.15 release.
67565         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67567         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67568         Patch by Marek Polacek <mpolacek@redhat.com>.
67570         * bits/byteswap.h: Protect long long constants with __extension__.
67571         * sysdeps/i386/bits/byteswap.h: Likewise.
67572         * sysdeps/ia64/bits/byteswap.h: Likewise.
67573         * sysdeps/s390/bits/byteswap.h: Likewise.
67574         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67576 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67578         [BZ #13540]
67579         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67580         destination buffer.
67581         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67583 2011-12-23  Marek Polacek  <polacek@redhat.com>
67585         * elf/dl-addr.c (determine_info): Add inline keyword.
67586         * elf/tst-auditmod4b.c (check_avx): Likewise.
67587         * elf/tst-auditmod6b.c (check_avx): Likewise.
67588         * elf/tst-auditmod6c.c (check_avx): Likewise.
67589         * elf/tst-auditmod7b.c (check_avx): Likewise.
67591 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67593         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67594         !__SSE_MATH__.
67596 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67598         [BZ #13540]
67599         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67600         processing for last bytes.
67602 2011-08-06  Bruno Haible  <bruno@clisp.org>
67604         [BZ #13061]
67605         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67606         U+0385, not to U+1FEE.
67608         [BZ #13062]
67609         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67610         entry for U+00A5 U+0301.
67612 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67614         [BZ #13166]
67615         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67616         buffer for the output is too small.
67618         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67619         optimization.
67621         [BZ #13185]
67622         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67623         SSE flags if possible.
67625 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67627         [BZ #13540]
67628         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67629         processing for last bytes.
67631 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67633         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67634         (syscall-list-default-options, syscall-list-default-condition)
67635         (syscall-list-includes): Define.
67636         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67637         list of ABIs and options and #if conditions for each ABI.  Do not
67638         handle common syscalls between ABIs specially.
67639         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67640         Remove.
67641         (syscall-list-variants, syscall-list-32bit-options)
67642         (syscall-list-32bit-condition, syscall-list-64bit-options)
67643         (syscall-list-64bit-condition): Define.
67644         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67645         (syscall-list-variants, syscall-list-32bit-options)
67646         (syscall-list-32bit-condition, syscall-list-64bit-options)
67647         (syscall-list-64bit-condition): Define.
67648         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67649         Remove.
67650         (syscall-list-variants, syscall-list-32bit-options)
67651         (syscall-list-32bit-condition, syscall-list-64bit-options)
67652         (syscall-list-64bit-condition): Define.
67653         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67654         Remove.
67655         (syscall-list-variants, syscall-list-32bit-options)
67656         (syscall-list-32bit-condition, syscall-list-64bit-options)
67657         (syscall-list-64bit-condition): Define.
67659 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67661         * locale/iso-639.def: Add brx entry.
67663         [BZ #13328]
67664         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67665         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67667         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67668         __feraiseexcept_renamed.
67670 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67672         [BZ #13538]
67673         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67674         EPOLLET with unsigned values.
67675         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67676         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67678         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67679         to large cancellation.
67680         * math/s_cacoshf.c: Likewise.
67681         * math/s_cacoshl.c: Likewise.
67683 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67685         [BZ #13305]
67686         [BZ #12786]
67687         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67688         * math/s_cacoshf.c: Likewise.
67689         * math/s_cacoshl.c: Likewise.
67691 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67693         [BZ #13439]
67694         * iconv/gconv.h: Define __GCONV_SWAP.
67695         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67696         * iconvdata/utf-16.c: Likewise.
67697         * iconvdata/utf-32.c: Likewise.
67699 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67701         [BZ #13524]
67702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67703         numerator after shifting it by one limb.
67705 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67707         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67708         under [__USE_EXTERN_INLINES].
67710 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67712         [BZ #13446]
67713         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67715 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67717         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67718         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67719         optimized code.
67720         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67721         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67722         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67723         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67724         for strncasecmp/strncasecmp_l compilation.
67725         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67726         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67728 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67730         [BZ #13484]
67731         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67732         of __asm__.
67734 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67736         [BZ #13506]
67737         * time/tzfile.c (__tzfile_read): Check values from file header.
67739 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67741         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67742         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67743         * powerpc/powerpc32/dl-start.S: Likewise.
67744         * powerpc/powerpc32/elf/start.S: Likewise.
67745         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67746         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67747         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67748         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67749         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67750         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67751         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67752         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67753         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67754         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67755         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67756         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67757         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67758         * powerpc/powerpc32/memset.S: Likewise.
67759         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67760         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67761         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67762         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67763         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67764         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67765         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67766         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67767         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67768         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67769         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67770         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67771         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67773 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67775         * math/libm-test.inc: Added more nearbyint tests.
67776         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67777         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67778         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67779         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67781 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67783         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67784         FD_CLOEXEC.
67786 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67788         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67789         Add wcscpy-ssse3 wcscpy-c.
67790         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67791         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67792         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67793         * sysdeps/x86_64/wcschr.S: New file.
67794         * sysdeps/x86_64/wcsrchr.S: New file.
67795         * string/test-strcmp.c: Remove checking of wcscmp function for
67796         wrong alignments.
67797         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67798         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67799         wcsrchr-sse2 wcsrchr-c.
67800         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67801         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67802         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67803         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67804         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67805         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67806         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67807         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67808         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67809         * wcsmbc/wcschr.c (WCSCHR): New macro.
67811 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67813         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67814         * wcsmbs/test-wcsrchr.c: New file.
67815         * string/test-strrchr.c: Add wcsrchr support.
67816         (WIDE): New macro.
67817         * wcsmbs/test-wcscpy.c: New file.
67818         * string/test-strcpy.c: Add wcscpy support.
67819         (WIDE): New macro.
67821 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67823         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67824         the inner loop.
67826 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67828         [BZ #13472]
67829         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67831 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67833         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67834         Minor optimizations.
67836         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67837         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67838         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67840 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67842         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67843         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67844         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67845         for gcc to avoid warnings.
67846         * inet/Makefile (tests): Add tst-checks.
67847         * inet/tst-checks.c: New file.
67849         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67850         warning.
67852         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67853         __wmemcmp_sse2.
67855         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67856         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67858         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67860 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67862         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67863         problem.
67865         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67867 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67869         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67870         conditional on GCC version.
67871         (__arch_compare_and_exchange_val_8_acq)
67872         (__arch_compare_and_exchange_val_16_acq)
67873         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67874         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67875         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67877 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67879         * sysdeps/sh/backtrace.c: New file.
67881 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67883         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67884         parenthesis.
67886 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67888         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67889         falling back to utime.
67891 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67893         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67894         expectations for float.
67896 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67898         * locale/weight.h (findidx): Add parameter len.
67899         * locale/weightwc.h (findidx): Likewise.
67900         * posix/fnmatch_loop.c (FCT): Adjust caller.
67901         * posix/regcomp.c (build_equiv_class): Likewise.
67902         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67903         * posix/regexec.c (check_node_accept_bytes): Likewise.
67904         * string/strcoll_l.c (STRCOLL): Likewise.
67905         * string/strxfrm_l.c (STRXFRM): Likewise.
67907 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67909         * Makefile.in: Remove CVSOPT handling.
67910         * configure.in: Remove use of AC_REVISION.
67911         * iconvdata/Makefile (distribute): No need to filter out CVS.
67912         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67913         handling.
67915 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67918         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67919         [USE_AS_STRNCASECMP_L]: Likewise.
67920         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67921         NO_TLS_DIRECT_SEG_REFS.
67922         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67923         Fix argument offsets for non-PIC.
67924         [USE_AS_STRNCASECMP_L]: Likewise.
67925         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67926         NO_TLS_DIRECT_SEG_REFS.
67928 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67930         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67931         O_CLOEXEC.
67932         * locale/loadlocale.c (_nl_load_locale): Likewise.
67934 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67936         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67937         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67938         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67939         (SYSCALL_GETTIME): Set errno on error.
67941         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67942         count references to noai6ai_cached.
67944 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67946         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67948         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67949         FD_CLOEXEC for /proc/self/maps.
67951         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67952         FD_CLOEXEC for /proc/meminfo.
67954         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67955         gai.conf.
67957         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67958         FD_CLOEXEC for given file.
67960         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67962         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67963         FD_CLOEXEC for /etc/hosts.
67964         (_gethtent): Likewise.
67966         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67968         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67969         cancellation and set FD_CLOEXEC for /etc/netgroup.
67971         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67972         reading /etc/publickey.
67974         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67975         allow cancellation when reading /etc/group.
67977         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67978         cancellation.
67979         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67981         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67982         when using data file.
67984         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67986         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67987         (write_nis_obj): Use "c" and "e" in fopen.
67989         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67991         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67993         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67995         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67997         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67998         locale.alias.
68000         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68002         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68004         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68006         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68007         file parsing and set FD_CLOEXEC.
68009 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68011         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68013 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68015         * malloc/arena.c (arena_get2): Don't call reused_arena when
68016         _int_new_arena failed.
68018 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68020         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68021         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68024         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68026         to compile strcasecmp and strncasecmp.
68027         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68028         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68030         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68032 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68034         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68035         locale-defines.sym to gen-as-const-headers.
68036         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68037         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68039         to compile strcasecmp and strncasecmp.
68040         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68041         strcasecmp_l and strncasecmp_l.
68042         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68043         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68044         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68045         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68046         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68047         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68048         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68049         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68050         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68051         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68052         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68054 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68056         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68057         result of SYSDEP_GETTIME_CPU to retval.
68058         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68059         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68061         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68062         variable.
68064         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68065         mantissa words.
68066         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68068         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68069         from unused variable.
68071         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68072         DWARF definitions.
68073         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68074         for assembling.
68076         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68077         over namespaces.
68079         * sunrpc/rpc_prot.c (rejected): Fix case value.
68081         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68082         unsigned long long int to avoid warnings in shift.
68084         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68085         of use of trans.
68086         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68087         variable tmp.
68089         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68090         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68091         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68093         * nis/nis_table.c (nis_list): Use variable of correct type for
68094         result of __follow_path call.
68096 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68098         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68099         of math functions ceil, trunc, floor, round, and sqrt, when
68100         avaliable on the platform.
68101         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68102         name clash.
68103         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68104         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68105         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68107 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68109         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68110         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68112 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68114         * include/unistd.h: Fix __readlink return type.
68115         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68117 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68119         * stdlib/ucontext.h: Undo last change for makecontext.
68121 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68123         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68125         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68126         * setjmp/setjmp.h: Mark functions as non-leaf.
68127         * setjmp/bits/setjmp2.h: Likewise.
68128         * stdlib/ucontext.h: Likewise.
68130 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68132         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68133         (reused_arena): Don't check arena limit.
68134         (arena_get2): Atomically check arena limit.
68136 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68138         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68139         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68141         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68142         instructions.
68144 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68146         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68147         handler when locking.
68149         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68150         Fix size of allocated buffer.
68152 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68154         [BZ #10103]
68155         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68156         declarations for long double functions.
68157         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68159         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68161 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68163         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68164         installed.
68166         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68167         is disabled.
68169 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68171         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68173 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68175         * include/alloca.h (stackinfo_alloca_round): Define.
68176         (extend_alloca): Use it.
68177         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68178         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68179         here.
68181         * scripts/check-local-headers.sh: Ignore libaudit.h.
68183         * nscd/Makefile (extra-objs): Make recursively expanded.
68185 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68187         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68188         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68190         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68191         * posix/tst-rfc3484-2.c: Likewise.
68192         * posix/tst-rfc3484-3.c: Likewise.
68194         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68195         process_vm_writev.
68196         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68197         process_vm_writev.
68198         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68199         process_vm_writev from libc using GLIBC_2.15 version.
68201         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68203 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68205         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68206         stack usage.
68208 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68210         [BZ #13367]
68211         * nss/getent.c (initgroups_keys): Show error message in case no group
68212         names are given.
68214         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68215         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68216         __bump_nl_timestamp.
68217         * nscd/connections (nscd_init): When host database is served open
68218         netlink socket and request notification about configuration changes.
68219         (main_loop_poll): Track netlink file descriptor and bump timestamp
68220         in case data becomes available.
68221         (main_loop_epoll): Likewise.
68222         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68223         (database_pers_head): Add extra_data fileds.
68224         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68225         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68226         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68227         Adjust caller.
68228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68229         in6ai data, call __free_in6ai.
68230         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68231         Add -DHAVE_NETLINK.
68232         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68233         interface information.  Reuse previous data if netlink timestamp
68234         is not changed.
68235         (__bump_nl_timestamp): New function.
68236         (__free_in6ai): New function.
68238 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68241         close_not_cancel_no_status here.
68242         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68244 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68246         [BZ #13276]
68247         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68248         return value.
68250         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68251         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68252         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68254 2011-07-03  Andreas Jaeger  <aj@suse.de>
68256         [BZ #10709]
68257         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68258         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68259         * math/libm-test.inc (sin_test): Add test case.
68261 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68263         [BZ #13337]
68264         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68265         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68267         * elf/chroot_canon.c (chroot_canon): Cleanups.
68269         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68271         [BZ #13335]
68272         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68273         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68275         * string/test-strchr.c: Make usable for strchrnul testing.
68276         * string/test-strchrnul.c: New file.
68277         * string/Makefile (strop-tests): Add strchrnul.
68279         * po/it.po: Update from translation team.
68280         * po/es.po: Likewise.
68282 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68284         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68285         the three constants needed as parameters.  Drop the others.
68286         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68287         __m128i_strloadu_tolower.
68288         Create and initialize variable zero and use it in all the places
68289         where _mm_setzero_si128 was used.
68291         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68292         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68293         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68294         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68295         anymore.
68296         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68297         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68298         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68299         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68300         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68301         __mpranred, __mptan.
68302         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68303         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68304         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68305         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68306         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68307         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68308         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68309         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68310         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68312 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68314         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68315         redefine if SHARED.
68316         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68319         wide char related routines to wcsmbs subdir.
68321 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68323         [BZ #13344]
68324         * misc/sys/cdefs.h (__THROWNL): Define.
68325         * posix/unistd.h: Use __THREADNL instead of __THREAD
68326         for memory synchronization functions.
68328 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68330         [BZ #13349]
68331         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68332         doesn't exist.
68333         * manual/stdio.texi (Obstack Streams): Node removed.
68335 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68337         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68338         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68339         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68341         * math/math_private.h (math_force_eval): Allow non-addressable
68342         arguments.
68343         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68345 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68347         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68348         file is not needed.
68350         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68351         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68352         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68353         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68354         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68355         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68356         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68357         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68358         Add AVX variants.
68359         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68360         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68361         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68362         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68363         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68364         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68365         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68366         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68367         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68368         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68369         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68370         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68371         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68372         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68373         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68374         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68375         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68376         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68377         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68379         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68380         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
68382         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68383         place.  Use VEX encoding when compiling for AVX.
68385 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68387         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68388         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68390         * string/test-strchr.c (do_test): Don't generate NUL bytes.
68392 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68394         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68395         useless if() expression.
68396         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68397         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68398         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68399         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68400         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68402         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68403         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68405         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68406         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68407         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68408         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68409         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68410         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68411         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68412         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68413         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68414         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68416         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68418 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68420         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68421         condition.
68422         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68424 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68426         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68427         .text section.  Avoid duplicate constants.
68428         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68430         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68431         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68432         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68435         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68436         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68437         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68438         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68439         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68440         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68441         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68442         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68443         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68444         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68445         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68446         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68448         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68449         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68450         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68451         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68452         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68453         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68454         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68455         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68456         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68457         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68458         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68459         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68460         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68461         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68462         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68463         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68464         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68465         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68466         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68467         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68468         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68469         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68470         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68471         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68472         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68474 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68476         * sysdeps/x86_64/dla.h: Move to ...
68477         * sysdeps/x86_64/fpu/dla.h: ...here.
68478         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68479         situations.  Use __builtin_fma only for gcc 4.6 and up.
68481         * config.make.in: Add have-mfma4 entry.
68482         * configure.in: Substitute libc_cv_cc_fma4.
68483         * math/Makefile (dbl-only-routines): Add sincostab.
68484         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68485         Use __sincostab not sincos.
68486         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68487         name is a macro.
68488         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68491         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68492         using __copysign.
68493         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68494         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68495         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68496         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68497         and __inv.
68498         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68499         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68500         __copysign.
68501         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68502         define aliases when function name is a macro.
68503         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68504         sysdeps/ieee754/dbl-64/sincos.tbl.
68505         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68506         fma4-enabled routines.
68507         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68508         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68509         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68510         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68511         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68512         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68513         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68514         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68515         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68516         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68517         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68518         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68519         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68520         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68521         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68522         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68523         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68524         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68525         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68526         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68527         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68528         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68529         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68530         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68532         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68534         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68535         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68536         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68538         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68539         rename.
68540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68541         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68546         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68547         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68549 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68551         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68553 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68555         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68557         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68558         prediction.
68559         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68561         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68562         Remove unused variable magic_bits.
68563         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68565         * string/strnlen.c: Define and use STRNLEN macro.
68566         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68567         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68569         * wcsmbs/wcslen.c: Define and use WCSLEN.
68570         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68571         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68572         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68573         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68574         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68575         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68576         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68578 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68581         strnlen-sse2-no-bsf.
68582         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68583         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68584         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68585         Add strnlen support.
68586         (USE_AS_STRNLEN): New macro.
68587         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68588         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68589         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68590         * sysdeps/x86_64/wcslen.S: New file.
68592 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68594         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68595         XMM-moves are used for copying on small sizes.
68597 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68599         * wcsmbs/Makefile (strop-tests): Add wcschr.
68600         * wcsmbs/test-wcschr.c: New file.
68601         * string/test-strchr.c: Update.
68602         Add wcschr support.
68603         (WIDE): New macro.
68605 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68607         * wcsmbs/Makefile (strop-tests): Add wcslen.
68608         * wcsmbs/test-wcslen.c: New file.
68609         * string/test-strlen.c: Update.
68610         Add wcslen support.
68611         (WIDE): New macro.
68613 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68615         * po/it.po: Update from translation team.
68617 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68619         * sysdeps/x86_64/wcscmp.S: Update.
68620         Fix wrong comparison semantics.
68621         wcscmp shall use signed comparison not unsigned.
68622         Don't use substraction to avoid overflow bug.
68623         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68624         * wcsmbc/wcscmp.c: Likewise.
68625         * string/test-strcmp.c: Likewise.
68626         Add new tests to check cases with negative values.
68628 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68630         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68631         * sysdeps/x86_64/dla.h: ...here.  New file.
68632         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68634         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68636         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68639         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68640         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68642 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68645         __ynl_finite aliases.
68647 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68651         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68652         define DLA_FMA.
68653         [DLA_FMA] (EMULV): Use DLA_FMA.
68654         [DLA_FMA] (MUL12): Use EMULV.
68655         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68656         that are not needed.
68657         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68660         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68661         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68665 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68667         * math/s_nan.c: Undef __nan.
68668         * math/s_nanf.c: Undef __nanf.
68669         * math/s_nanl.c: Undef __nanl.
68670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68671         "math_private.h".
68673 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68675         * math/s_catan.c: Add branch predictions.
68676         * math/s_catanf.c: Likewise.
68677         * math/s_catanh.c: Likewise.
68678         * math/s_catanhf.c: Likewise.
68679         * math/s_catanhl.c: Likewise.
68680         * math/s_catanl.c: Likewise.
68681         * math/s_cexp.c: Likewise.
68682         * math/s_cexpf.c: Likewise.
68683         * math/s_cexpl.c: Likewise.
68684         * math/s_clog.c: Likewise.
68685         * math/s_clog10.c: Likewise.
68686         * math/s_clog10f.c: Likewise.
68687         * math/s_clog10l.c: Likewise.
68688         * math/s_clogf.c: Likewise.
68689         * math/s_clogl.c: Likewise.
68690         * math/s_csqrt.c: Likewise.
68691         * math/s_csqrtf.c: Likewise.
68692         * math/s_csqrtl.c: Likewise.
68693         * math/s_ctanf.c: Likewise.
68694         * math/s_ctanh.c: Likewise.
68695         * math/s_ctanhf.c: Likewise.
68696         * math/s_ctanhl.c: Likewise.
68697         * math/s_ctanl.c: Likewise.
68699         * math/math_private.h: Define __nan, __nanf, __nanl.
68700         * math/s_cacosh.c: Include <math_private.h>.
68701         * math/s_cacoshl.c: Likewise.
68702         * math/s_casinh.c: Likewise.
68703         * math/s_casinhf.c: Likewise.
68704         * math/s_casinhl.c: Likewise.
68705         * math/s_ccos.c: Rely entire on ccosh.
68706         * math/s_ccosf.c: Rely entire on ccoshf.
68707         * math/s_ccosl.c: Rely entirely on ccoshl.
68708         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68709         Remove tests for FE_INVALID.
68710         * math/s_ccoshf.c: Likewise.
68711         * math/s_ccoshl.c: Likewise.
68712         * math/s_csin.c: Likewise.
68713         * math/s_csinf.c: Likewise.
68714         * math/s_csinh.c Likewise.
68715         * math/s_csinhf.c: Likewise.
68716         * math/s_csinhl.c: Likewise.
68717         * math/s_csinl.c: Likewise.
68718         * math/s_ctan.c: Likewise.
68719         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68720         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68721         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68723 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68726         compilation problems.
68728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68729         __builtin_expect.
68731 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68733         * sysdeps/i386/configure.in: Test for -mfma4 option.
68734         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68735         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68736         COMMON_CPUID_INDEX_80000001.
68737         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68738         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68739         use it if FMA3 is not supported.
68740         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68742         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68743         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68745 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68747         [BZ #12892]
68748         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68749         it would create a cycle with a link time dependency.
68751 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68753         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68754         instruction.
68755         * string/Makefile (strop-tests): Add rawmemchr.
68756         * string/test-rawmemchr.c: New file.
68758         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68759         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68760         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68761         when compiling str{,n}casecmp and when AVX is available.  Hook up
68762         new optimized code in initializers.
68764 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68766         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68767         __feraiseexcept instead of feraiseexcept.
68769 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68771         * math/math_private.h: Define defaults for libc_fetestexcept and
68772         libc_feupdateenv.
68773         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68774         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68775         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68776         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68777         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68778         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68779         libc_fetestexcept and libc_feupdateenv.
68781         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68782         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68783         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68784         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68785         libc_feholdexcept_setround.
68787         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68788         Add s_nearbyint-c and s_nearbyintf-c.
68789         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68790         nearbyintf inlines.
68791         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68792         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68793         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68794         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68796         * math/math_private.h: Define defaults for libc_fegetround,
68797         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68798         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68799         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68800         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68801         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68802         standard functions.
68803         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68804         Remove comments and hacks for old compiler versions.
68805         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68806         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68807         libc_feholdexceptl.
68809 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68811         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68812         (__feraiseexcept_renamed): Add __NTH.
68813         (feraiseexcept): Add __NTH.  Rename local variables to fix
68814         namespace violations.
68816 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68818         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68820         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68822         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68823         recently added interfaces.
68824         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68826         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68827         about macro parameter expansion.
68829         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68830         __NO_MATH_INLINES is defined.  Cleanups.
68832         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68833         and __floorf is target has SSE4.1.
68834         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68835         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68836         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68837         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68839         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68840         name.
68841         (floorf): Likewise.
68843         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68845 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68847         * misc/sys/cdefs.h: Fix last change.
68849         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68850         database lookup.
68852 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68854         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68856         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68857         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68858         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68859         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68861         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68862         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68863         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68864         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68865         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68866         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68867         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68868         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68869         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68870         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68871         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68872         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68873         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68874         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68875         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68876         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68877         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68879         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68880         ceil, ceilf, floor, floorf.
68882         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68883         Perform IRELATIVE relocations last.
68885         * elf/do-rel.h: Add another parameter nrelative, replacing the
68886         local variable with the same name.  Change name of the function
68887         to end in Rel or Rela (uppercase).
68888         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68889         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68890         elf_dynamic_do_##reloc function.
68892 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68894         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68895         is sufficient, at least on modern CPUs.
68897         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68899         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68900         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68902         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68903         __expl_finite.
68904         * math/bits/math-finite.h: Add entries for exp.
68905         * math/e_expl.c: Add __*_finite alias.
68906         * sysdeps/i386/fpu/e_exp.S: Likewise.
68907         * sysdeps/i386/fpu/e_expf.S: Likewise.
68908         * sysdeps/i386/fpu/e_expl.c: Likewise.
68909         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68910         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68911         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68912         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68913         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68914         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68915         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68917         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68918         is sufficient, at least on modern CPUs.
68920         * ctype/ctype-info.c (__ctype_init): Define.
68921         * include/ctype.h (__ctype_init): Declare.
68922         (__ctype_b_loc): The variable is always initialized.
68923         (__ctype_toupper_loc): Likewise.
68924         (__ctype_tolower_loc): Likewise.
68925         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68926         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68928 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68930         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68932         * configure.in: Also look in $cxxmachine/include for C++ system
68933         headers.
68935 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68937         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68938         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68939         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68940         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68941         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68942         (USE_AS_WMEMCMP): New macro.
68943         Fixing indents.
68944         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68945         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68946         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68947         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68949         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68950         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68951         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68952         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68953         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68954         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68955         (USE_AS_WMEMCMP): New macro.
68956         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68957         * sysdeps/string/test-memcmp.c: Update.
68958         Fix simple_wmemcmp.
68959         Add new tests.
68960         * wcsmbs/wmemcmp.c: Update.
68961         (WMEMCMP): New macro.
68962         Fix overflow bug.
68964 2011-10-12  Andreas Jaeger  <aj@suse.de>
68966         [BZ #13268]
68967         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68969 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68971         * libio/iofwide.c (do_length): Avoid warning.
68973         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68975 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68977         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68979         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68980         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68981         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68982         * sysdeps/i386/i686/fpu/e_log.S: New file.
68983         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68984         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68986         * ctype/ctype.h: Add support for inlined isXXX functions when
68987         compiling C++ code.
68989 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68991         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68993         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68995 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68997         [BZ #13291]
68998         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69000 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69002         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69003         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69004         feraiseexcept.
69006         * sysdeps/x86_64/memrchr.S: Check for zero size.
69008         * string/stratcliff.c: Add memrchr tests.
69010 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69013         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69014         rawmemchr-sse2 rawmemchr-sse2-bsf.
69015         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69016         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69017         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69018         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69019         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69020         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69021         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69022         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69023         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69024         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69025         * string/memrchr.c (MEMRCHR): New macro.
69027 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69029         Add integration with gcc's -ffinite-math-only and optimize wrapper
69030         functions in libm.
69031         * Versions.def: Define GLIBC_2.15 version for libm.
69032         * math/Makefile (headers): Add bits/math-finite.h.
69033         * math/bits/math-finite.h: New file.
69034         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69035         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69036         * math/e_acoshl.c: Add __*_finite alias.
69037         * math/e_acosl.c: Likewise.
69038         * math/e_asinl.c: Likewise.
69039         * math/e_atan2l.c: Likewise.
69040         * math/e_atanhl.c: Likewise.
69041         * math/e_coshl.c: Likewise.
69042         * math/e_exp10.c: Likewise.
69043         * math/e_exp10f.c: Likewise.
69044         * math/e_exp10l.c: Likewise.
69045         * math/e_exp2l.c: Likewise.
69046         * math/e_fmodl.c: Likewise.
69047         * math/e_gammal_r.c: Likewise.
69048         * math/e_hypotl.c: Likewise.
69049         * math/e_j0l.c: Likewise.
69050         * math/e_j1l.c: Likewise.
69051         * math/e_jnl.c: Likewise.
69052         * math/e_lgammal_r.c: Likewise.
69053         * math/e_log10l.c: Likewise.
69054         * math/e_log2l.c: Likewise.
69055         * math/e_logl.c: Likewise.
69056         * math/e_powl.c: Likewise.
69057         * math/e_sinhl.c: Likewise.
69058         * math/e_sqrtl.c: Likewise.
69059         * math/e_scalb.c: Completely rewritten and optimized.
69060         * math/e_scalbf.c: Likewise.
69061         * math/e_scalbl.c: Likewise.
69062         * math/w_acos.c: Likewise.
69063         * math/w_acosf.c: Likewise.
69064         * math/w_acosl.c: Likewise.
69065         * math/w_acosh.c: Likewise.
69066         * math/w_acoshf.c: Likewise.
69067         * math/w_acoshl.c: Likewise.
69068         * math/w_asin.c: Likewise.
69069         * math/w_asinf.c: Likewise.
69070         * math/w_asinl.c: Likewise.
69071         * math/w_atan2.c: Likewise.
69072         * math/w_atan2f.c: Likewise.
69073         * math/w_atan2l.c: Likewise.
69074         * math/w_atanh.c: Likewise.
69075         * math/w_atanhf.c: Likewise.
69076         * math/w_atanhl.c: Likewise.
69077         * math/w_exp10.c: Likewise.
69078         * math/w_exp10f.c: Likewise.
69079         * math/w_exp10l.c: Likewise.
69080         * math/w_fmod.c: Likewise.
69081         * math/w_fmodf.c: Likewise.
69082         * math/w_fmodl.c: Likewise.
69083         * math/w_j0.c: Likewise.
69084         * math/w_j0f.c: Likewise.
69085         * math/w_j0l.c: Likewise.
69086         * math/w_j1.c: Likewise.
69087         * math/w_j1f.c: Likewise.
69088         * math/w_j1l.c: Likewise.
69089         * math/w_jn.c: Likewise.
69090         * math/w_jnf.c: Likewise.
69091         * math/w_log.c: Likewise.
69092         * math/w_logf.c: Likewise.
69093         * math/w_logl.c: Likewise.
69094         * math/w_log10.c: Likewise.
69095         * math/w_log10f.c: Likewise.
69096         * math/w_log10l.c: Likewise.
69097         * math/w_log2.c: Likewise.
69098         * math/w_log2f.c: Likewise.
69099         * math/w_log2l.c: Likewise.
69100         * math/w_pow.c: Likewise.
69101         * math/w_powf.c: Likewise.
69102         * math/w_powl.c: Likewise.
69103         * math/w_remainder.c: Likewise.
69104         * math/w_remainderf.c: Likewise.
69105         * math/w_remainderl.c: Likewise.
69106         * math/w_scalb.c: Likewise.
69107         * math/w_scalbf.c: Likewise.
69108         * math/w_scalbl.c: Likewise.
69109         * math/w_sqrt.c: Likewise.
69110         * math/w_sqrtf.c: Likewise.
69111         * math/w_sqrtl.c: Likewise.
69112         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69113         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69114         used.
69115         * math/math_private.h: Declare __kernel_standard_f.
69116         * math/w_cosh.c: Remove cruft and optimize a bit.
69117         * math/w_coshf.c: Likewise.
69118         * math/w_coshl.c: Likewise.
69119         * math/w_exp2.c: Likewise.
69120         * math/w_exp2f.c: Likewise.
69121         * math/w_exp2l.c: Likewise.
69122         * math/w_hypot.c: Likewise.
69123         * math/w_hypotf.c: Likewise.
69124         * math/w_hypotl.c: Likewise.
69125         * math/w_lgamma.c: Likewise.
69126         * math/w_lgamma_r.c: Likewise.
69127         * math/w_lgammaf.c: Likewise.
69128         * math/w_lgammaf_r.c: Likewise.
69129         * math/w_lgammal.c: Likewise.
69130         * math/w_lgammal_r.c: Likewise.
69131         * math/w_sinh.c: Likewise.
69132         * math/w_sinhf.c: Likewise.
69133         * math/w_sinhl.c: Likewise.
69134         * math/w_tgamma.c: Likewise.
69135         * math/w_tgammaf.c: Likewise.
69136         * math/w_tgammal.c: Likewise.
69137         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69138         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69139         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69140         Minor optimizations.  Pretty printing.  Remove cruft.
69141         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69142         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69143         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69144         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69145         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69146         * sysdeps/i386/fpu/e_asin.S: Likewise.
69147         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69148         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69149         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69150         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69151         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69152         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69153         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69154         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69155         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69156         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69157         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69158         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69159         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69160         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69161         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69162         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69163         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69164         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69165         * sysdeps/i386/fpu/e_log.S: Likewise.
69166         * sysdeps/i386/fpu/e_log10.S: Likewise.
69167         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69168         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69169         * sysdeps/i386/fpu/e_log2.S: Likewise.
69170         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69171         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69172         * sysdeps/i386/fpu/e_logf.S: Likewise.
69173         * sysdeps/i386/fpu/e_logl.S: Likewise.
69174         * sysdeps/i386/fpu/e_pow.S: Likewise.
69175         * sysdeps/i386/fpu/e_powf.S: Likewise.
69176         * sysdeps/i386/fpu/e_powl.S: Likewise.
69177         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69178         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69179         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69180         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69181         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69182         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69183         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69184         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69185         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69186         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69187         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69189         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69191         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69192         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69193         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69194         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69195         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69196         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69197         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69198         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69199         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69200         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69202         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69203         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69204         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69206         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69207         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69208         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69209         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69210         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69211         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69212         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69213         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69214         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69215         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69216         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69217         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69218         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69219         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69220         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69221         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69222         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69223         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69224         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69225         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69226         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69227         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69228         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69229         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69230         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69231         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69232         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69233         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69234         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69235         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69236         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69237         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69238         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69239         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69240         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69241         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69242         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69243         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69244         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69245         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69246         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69247         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69248         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69249         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69250         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69251         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69252         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69253         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69254         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69255         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69256         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69257         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69258         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69259         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69260         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69261         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69262         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69263         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69264         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69265         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69266         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69267         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69268         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69269         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69270         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69271         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69272         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69273         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69274         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69275         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69276         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69277         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69278         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69279         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69280         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69281         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69282         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69283         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69284         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69285         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69286         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69287         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69288         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69289         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69290         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69291         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69293         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69294         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69295         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69296         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69297         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69298         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69299         (__isnanf): Likewise.
69300         (__isinf_ns): Likewise.
69301         (__isinf_nsf): Likewise.
69302         (__finite): Likewise.
69303         (__finitef): Likewise.
69304         (__ieee754_sqrt): Define as macro.
69305         (__ieee754_sqrtf): Define as macro.
69306         (__ieee754_sqrtl): Define as macro.
69307         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69308         inlined copy.
69309         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69310         __FINITE_MATH_ONLY__ consistent.
69311         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69313 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69315         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69316         of rawmemchr.
69318         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69320 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69322         * po/ja.po: Update from translation team.
69324 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69326         * locale/programs/locarchive.c (prepare_address_space): New function.
69327         (create_archive, enlarge_archive, open_archive): Use it.
69329         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69330         inside [SHARED], where it is used.
69332         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69334         * nss/getent.c (netgroup_keys): Remove unused variable.
69335         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69337 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69339         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69342         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69343         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69344         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69345         * math/Makefile (libm-calls): Add s_isinf_ns.
69346         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69347         * math/multc3.c: Likewise.
69348         * math/s_casin.c: Likewise.
69349         * math/s_casinf.c: Likewise.
69350         * math/s_casinl.c: Likewise.
69351         * math/s_ccos.c: Likewise.
69352         * math/s_ccosf.c: Likewise.
69353         * math/s_ccosl.c: Likewise.
69354         * math/s_ctan.c: Likewise.
69355         * math/s_ctanf.c: Likewise.
69356         * math/s_ctanh.c: Likewise.
69357         * math/s_ctanhf.c: Likewise.
69358         * math/s_ctanhl.c: Likewise.
69359         * math/s_ctanl.c: Likewise.
69360         * math/w_fmod.c: Likewise.
69361         * math/w_fmodf.c: Likewise.
69362         * math/w_fmodl.c: Likewise.
69363         * math/w_remainder.c: Likewise.
69364         * math/w_remainderf.c: Likewise.
69365         * math/w_remainderl.c: Likewise.
69366         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69367         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69370         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69371         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69372         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69373         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69375         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69376         of the number.
69377         * stdio-common/printf_fphex.c: Likewise.
69378         * stdio-common/printf_size.c: Likewise.
69380         * math/e_exp10.c: Include math_private.h using <...> not "...".
69381         * math/e_exp10f.c: Likewise.
69382         * math/e_exp10l.c: Likewise.
69383         * math/e_exp2l.c: Likewise.
69384         * math/e_j0l.c: Likewise.
69385         * math/e_j1l.c: Likewise.
69386         * math/e_jnl.c: Likewise.
69387         * math/e_lgammal_r.c: Likewise.
69388         * math/e_rem_pio2l.c: Likewise.
69389         * math/e_scalb.c: Likewise.
69390         * math/e_scalbf.c: Likewise.
69391         * math/e_scalbl.c: Likewise.
69392         * math/k_cosl.c: Likewise.
69393         * math/k_sinl.c: Likewise.
69394         * math/k_tanl.c: Likewise.
69395         * math/s_cacoshf.c: Likewise.
69396         * math/s_catan.c: Likewise.
69397         * math/s_catanf.c: Likewise.
69398         * math/s_catanh.c: Likewise.
69399         * math/s_catanhf.c: Likewise.
69400         * math/s_catanhl.c: Likewise.
69401         * math/s_catanl.c: Likewise.
69402         * math/s_ccosh.c: Likewise.
69403         * math/s_ccoshf.c: Likewise.
69404         * math/s_ccoshl.c: Likewise.
69405         * math/s_cexp.c: Likewise.
69406         * math/s_cexpf.c: Likewise.
69407         * math/s_cexpl.c: Likewise.
69408         * math/s_clog.c: Likewise.
69409         * math/s_clog10.c: Likewise.
69410         * math/s_clog10f.c: Likewise.
69411         * math/s_clog10l.c: Likewise.
69412         * math/s_clogf.c: Likewise.
69413         * math/s_clogl.c: Likewise.
69414         * math/s_csin.c: Likewise.
69415         * math/s_csinf.c: Likewise.
69416         * math/s_csinh.c: Likewise.
69417         * math/s_csinhf.c: Likewise.
69418         * math/s_csinhl.c: Likewise.
69419         * math/s_csinl.c: Likewise.
69420         * math/s_csqrt.c: Likewise.
69421         * math/s_csqrtf.c: Likewise.
69422         * math/s_csqrtl.c: Likewise.
69423         * math/s_ctan.c: Likewise.
69424         * math/s_ctanf.c: Likewise.
69425         * math/s_ctanh.c: Likewise.
69426         * math/s_ctanhf.c: Likewise.
69427         * math/s_ctanhl.c: Likewise.
69428         * math/s_ctanl.c: Likewise.
69429         * math/s_ldexp.c: Likewise.
69430         * math/s_ldexpf.c: Likewise.
69431         * math/s_ldexpl.c: Likewise.
69432         * math/s_significand.c: Likewise.
69433         * math/s_significandf.c: Likewise.
69434         * math/s_significandl.c: Likewise.
69435         * math/w_acos.c: Likewise.
69436         * math/w_acosf.c: Likewise.
69437         * math/w_acosh.c: Likewise.
69438         * math/w_acoshf.c: Likewise.
69439         * math/w_acoshl.c: Likewise.
69440         * math/w_acosl.c: Likewise.
69441         * math/w_asin.c: Likewise.
69442         * math/w_asinf.c: Likewise.
69443         * math/w_asinl.c: Likewise.
69444         * math/w_atan2.c: Likewise.
69445         * math/w_atan2f.c: Likewise.
69446         * math/w_atan2l.c: Likewise.
69447         * math/w_atanh.c: Likewise.
69448         * math/w_atanhf.c: Likewise.
69449         * math/w_atanhl.c: Likewise.
69450         * math/w_cosh.c: Likewise.
69451         * math/w_coshf.c: Likewise.
69452         * math/w_coshl.c: Likewise.
69453         * math/w_dremf.c: Likewise.
69454         * math/w_exp10.c: Likewise.
69455         * math/w_exp10f.c: Likewise.
69456         * math/w_exp10l.c: Likewise.
69457         * math/w_exp2.c: Likewise.
69458         * math/w_exp2f.c: Likewise.
69459         * math/w_fmod.c: Likewise.
69460         * math/w_fmodf.c: Likewise.
69461         * math/w_fmodl.c: Likewise.
69462         * math/w_hypot.c: Likewise.
69463         * math/w_hypotf.c: Likewise.
69464         * math/w_hypotl.c: Likewise.
69465         * math/w_j0.c: Likewise.
69466         * math/w_j0f.c: Likewise.
69467         * math/w_j0l.c: Likewise.
69468         * math/w_j1.c: Likewise.
69469         * math/w_j1f.c: Likewise.
69470         * math/w_j1l.c: Likewise.
69471         * math/w_jn.c: Likewise.
69472         * math/w_jnf.c: Likewise.
69473         * math/w_jnl.c: Likewise.
69474         * math/w_lgamma.c: Likewise.
69475         * math/w_lgamma_r.c: Likewise.
69476         * math/w_lgammaf.c: Likewise.
69477         * math/w_lgammaf_r.c: Likewise.
69478         * math/w_lgammal.c: Likewise.
69479         * math/w_lgammal_r.c: Likewise.
69480         * math/w_log.c: Likewise.
69481         * math/w_log10.c: Likewise.
69482         * math/w_log10f.c: Likewise.
69483         * math/w_log10l.c: Likewise.
69484         * math/w_log2.c: Likewise.
69485         * math/w_log2f.c: Likewise.
69486         * math/w_log2l.c: Likewise.
69487         * math/w_logf.c: Likewise.
69488         * math/w_logl.c: Likewise.
69489         * math/w_pow.c: Likewise.
69490         * math/w_powf.c: Likewise.
69491         * math/w_powl.c: Likewise.
69492         * math/w_remainder.c: Likewise.
69493         * math/w_remainderf.c: Likewise.
69494         * math/w_remainderl.c: Likewise.
69495         * math/w_scalb.c: Likewise.
69496         * math/w_scalbf.c: Likewise.
69497         * math/w_scalbl.c: Likewise.
69498         * math/w_sinh.c: Likewise.
69499         * math/w_sinhf.c: Likewise.
69500         * math/w_sinhl.c: Likewise.
69501         * math/w_sqrt.c: Likewise.
69502         * math/w_sqrtf.c: Likewise.
69503         * math/w_sqrtl.c: Likewise.
69504         * math/w_tgamma.c: Likewise.
69505         * math/w_tgammaf.c: Likewise.
69506         * math/w_tgammal.c: Likewise.
69508         * po/ja.po: Update from translation team.
69510 2011-09-29  Andreas Jaeger  <aj@suse.de>
69512         [BZ #13179]
69513         * sunrpc/netname.c (netname2host): Fix logic.
69515         [BZ #6779]
69516         [BZ #6783]
69517         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69518         correctly.
69519         * math/w_remainder.c (__remainder): Likewise.
69520         * math/w_remainderf.c (__remainderf): Likewise.
69521         * math/libm-test.inc (remainder_test): Add test cases.
69523 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69525         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69526         sdiv_qrnnd.
69528 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69530         * string/test-memcmp.c: Avoid unncessary #defines.
69531         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69533 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69535         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69536         Use new sse2 version for core i3 - i7 as it's faster
69537         than sse42 version.
69538         (bit_Prefer_PMINUB_for_stringop): New.
69539         * sysdeps/x86_64/rawmemchr.S: Update.
69540         Replace with faster SSE2 version.
69541         * sysdeps/x86_64/memrchr.S: New file.
69542         * sysdeps/x86_64/memchr.S: Update.
69543         Replace with faster SSE2 version.
69545 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69547         * elf/dl-load.c (lose): Add cast to avoid warning.
69549 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69551         * po/ca.po: Update from translation team.
69553         * inet/getnetgrent_r.c: Hook up nscd.
69554         * nscd/Makefile (routines): Add nscd_netgroup.
69555         (nscd-modules): Add netgroupcache.
69556         (CFLAGS-netgroupcache.c): Define.
69557         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69558         (cache_search): Add const to second parameter.
69559         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69560         INNETGR.
69561         (dbs): Add netgrdb entry.
69562         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69563         (verify_persistent_db): Handle netgrdb.
69564         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69565         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69566         GETFDNETGR.
69567         (netgroup_response_header): Define.
69568         (innetgroup_response_header): Define.
69569         (datahead): Add netgroup_response_header and innetgroup_response_header
69570         elements.
69571         * nscd/nscd.conf: Add entries for netgroup cache.
69572         * nscd/nscd.h (dbtype): Add netgrdb.
69573         (_PATH_NSCD_NETGROUP_DB): Define.
69574         (netgroup_iov_disabled): Declare.
69575         (xmalloc, xcalloc, xrealloc): Move declarations here.
69576         (cache_search): Adjust prototype.
69577         Add netgroup-related prototypes.
69578         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69579         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69580         (__nscd_innetgr): Declare.
69581         * nscd/selinux.c (perms): Use access_vector_t as element type and
69582         add netgroup-related initializers.
69583         * nscd/netgroupcache.c: New file.
69584         * nscd/nscd_netgroup.c: New file.
69585         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69586         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69587         For four parameters use innetgr.
69588         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69589         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69590         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69591         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69593         * nscd/connections.c (register_traced_file): Don't register file
69594         for disabled databases.
69596 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69598         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69600         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69601         from tree and freeing node.
69603 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69605         * nss/nsswitch.c (__nss_database_lookup): Handle
69606         nss_parse_service_list out of memory case.
69608 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69610         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69611         out of memory case.
69613 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69615         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69616         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69617         pass it down.
69618         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69619         elf_machine_rela, elf_machine_lazy_rel.
69620         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69621         (ELF_DYNAMIC_DO_REL): Likewise.
69622         (ELF_DYNAMIC_DO_RELA): Likewise.
69623         (ELF_DYNAMIC_RELOCATE): Likewise.
69624         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69625         to ELF_DYNAMIC_DO_REL.
69626         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69627         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69628         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69629         elf_machine_rela.
69630         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69631         skip_ifunc, don't call ifunc function if non-zero.
69632         (elf_machine_rela): Likewise.
69633         (elf_machine_lazy_rel): Likewise.
69634         (elf_machine_lazy_rela): Likewise.
69635         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69636         (elf_machine_lazy_rel): Likewise.
69637         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69638         Likewise.
69639         (elf_machine_lazy_rel): Likewise.
69640         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69641         Likewise.
69642         (elf_machine_lazy_rel): Likewise.
69643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69644         (elf_machine_lazy_rel): Likewise.
69645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69646         (elf_machine_lazy_rel): Likewise.
69647         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69648         (elf_machine_lazy_rel): Likewise.
69649         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69650         (elf_machine_lazy_rel): Likewise.
69651         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69652         (elf_machine_lazy_rel): Likewise.
69653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69654         (elf_machine_lazy_rel): Likewise.
69656 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
69658         * nss/nss_files/files-init.c (_nss_files_init): Use static
69659         initialization for all the *_traced_file variables.
69661 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69663         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69665 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69667         [BZ #13226]
69668         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69670 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69672         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69673         Reread the line before reparsing it.
69675 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69677         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69679 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69680             Maxim Kuvyrkov  <maxim@codesourcery.com>
69681             Joseph Myers  <joseph@codesourcery.com>
69683         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69684         if needed for __stack_chk_guard.
69686 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69688         * sysdeps/posix/spawni.c (script_execute): Always define it.
69689         It will be optimized away if unused.
69690         (maybe_script_execute): New function.
69691         (__spawni): Call it.
69693         * Makerules: Don't include tls.make.
69694         (config-tls): Always set to thread.
69695         * tls.make.c: File removed.
69697 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69699         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69700         * config.make.in (CPPFLAGS-config): New substituted variable.
69702 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69706         [BZ #13192]
69707         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69708         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69710 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69712         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69713         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69714         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69715         (CALL_FAIL): Likewise.
69716         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69717         (CALL_FAIL): Macro removed.
69718         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69720 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69722         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69723         for __FINITE_MATH_ONLY__ == 1.
69725 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69727         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69728         __ieee754_sqrt instead of sqrt.
69729         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69730         __ieee754_sqrtf instead of sqrtf.
69731         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69732         __floorf instead of floorf.
69733         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69734         __floorf, __truncf instead of floorf, truncf.
69736 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69738         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69740         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69741         __extern_always_inline.
69742         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69743         32-bit.
69745 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69747         * elf/rtld.c (dl_main): Also relocate in dependency order when
69748         doing symbol dependency testing.
69750 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69753         Always define `refsym'.
69755 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69757         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69758         (__FD_ELT): Renamed from __FDELT.
69759         * misc/bits/select2.h (__FD_ELT): Likewise.
69760         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69761         __FD_MASK instead of __FDELT, __FDMASK.
69762         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69763         Likewise.
69764         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69765         Likewise.
69767         * elf/Makefile (gen-ldd): Fix pattern.
69769         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69770         (init_tls): Likewise.
69772 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69774         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69776 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69778         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69779         `struct cmsghdr *' instead of `void *'.
69780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69781         Likewise.
69783 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69785         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69786         if non-absolute.
69787         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69788         ldd_rewrite_script.
69790 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69792         * configure.in: Remove --with-tls option.
69793         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69794         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69795         out in case it is missing.
69796         * sysdeps/ia64/elf/configure.in: Likewise.
69797         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69798         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69799         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69800         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69801         * sysdeps/sh/elf/configure.in: Likewise.
69802         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69803         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69804         * sysdeps/x86_64/elf/configure.in: Likewise.
69805         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69806         * sysdeps/mach/hurd/tls.h: Likewise.
69808         [BZ #13067]
69809         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69811         [BZ #13090]
69812         * configure.in: Fix use of AC_INIT.
69814         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69816 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69818         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69819         __set_errno.
69820         * malloc/hooks.c: Likewise.
69822         [BZ #11929]
69823         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69824         variables statically.
69825         (narenas): Initialize.
69826         (list_lock): Initialize.
69827         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69828         initializtion of main_arena and list_lock.  Small cleanups.
69829         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69830         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69831         Add initializers to main_arena and mp_.
69832         (malloc_state): Remove pagesize member.  Change all users to use
69833         GLRO(dl_pagesize).
69835         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69836         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69837         is always initialized.
69839         * malloc/malloc.c: Removed unused configurations and dead code.
69840         * malloc/arena.c: Likewise.
69841         * malloc/hooks.c: Likewise.
69842         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69844         * include/tls.h: Removed.  USE___THREAD must always be defined.
69845         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69846         * elf/dl-libc.c: Likewise.
69847         * elf/dl-tsd.c: Likewise.
69848         * include/errno.h: Likewise.
69849         * include/netdb.h: Likewise.
69850         * include/resolv.h: Likewise.
69851         * inet/herrno-loc.c: Likewise.
69852         * inet/herrno.c: Likewise.
69853         * malloc/arena.c: Likewise.
69854         * malloc/hooks.c: Likewise.
69855         * malloc/malloc.c: Likewise.
69856         * resolv/res-state.c: Likewise.
69857         * resolv/res_libc.c: Likewise.
69858         * sysdeps/i386/dl-machine.h: Likewise.
69859         * sysdeps/ia64/dl-machine.h: Likewise.
69860         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69861         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69862         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69863         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69864         * sysdeps/sh/dl-machine.h: Likewise.
69865         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69866         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69867         * sysdeps/unix/i386/sysdep.S: Likewise.
69868         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69869         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69871         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69872         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69874         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69878         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69879         * sysdeps/x86_64/dl-machine.h: Likewise.
69880         * tls.make.c: Likewise.
69882         * configure.in: Remove --with-__thread option.  Make tests for
69883         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69884         tls_model attribute fail if no support is available.  Remove
69885         USE_IN_LIBIO.
69886         * Makeconfig: Adjust for dropped configure option.  All features are
69887         now mandatory.
69888         * Makerules: Likewise.
69889         * Versions.def: Likewise.
69890         * argp/argp-fmtstream.c: Likewise.
69891         * argp/argp-fmtstream.h: Likewise.
69892         * argp/argp-help.c: Likewise.
69893         * assert/assert.c: Likewise.
69894         * config.h.in: Likewise.
69895         * config.make.in: Likewise.
69896         * configure: Likewise.
69897         * configure.in: Likewise.
69898         * csu/Versions: Likewise.
69899         * csu/init.c: Likewise.
69900         * elf/tst-audit2.c: Likewise.
69901         * elf/tst-tls10.c: Likewise.
69902         * elf/tst-tls10.h: Likewise.
69903         * elf/tst-tls11.c: Likewise.
69904         * elf/tst-tls12.c: Likewise.
69905         * elf/tst-tls14.c: Likewise.
69906         * elf/tst-tlsmod11.c: Likewise.
69907         * elf/tst-tlsmod12.c: Likewise.
69908         * elf/tst-tlsmod13.c: Likewise.
69909         * elf/tst-tlsmod13a.c: Likewise.
69910         * elf/tst-tlsmod14a.c: Likewise.
69911         * elf/tst-tlsmod15b.c: Likewise.
69912         * elf/tst-tlsmod16a.c: Likewise.
69913         * elf/tst-tlsmod16b.c: Likewise.
69914         * elf/tst-tlsmod7.c: Likewise.
69915         * elf/tst-tlsmod8.c: Likewise.
69916         * elf/tst-tlsmod9.c: Likewise.
69917         * gmon/gmon.c: Likewise.
69918         * grp/fgetgrent_r.c: Likewise.
69919         * grp/putgrent.c: Likewise.
69920         * hurd/fopenport.c: Likewise.
69921         * include/libc-symbols.h: Likewise.
69922         * include/tls.h: Likewise.
69923         * intl/gettextP.h: Likewise.
69924         * intl/loadinfo.h: Likewise.
69925         * locale/global-locale.c: Likewise.
69926         * locale/localeinfo.h: Likewise.
69927         * mach/devstream.c: Likewise.
69928         * malloc/arena.c: Likewise.
69929         * malloc/set-freeres.c: Likewise.
69930         * misc/err.c: Likewise.
69931         * misc/getttyent.c: Likewise.
69932         * misc/mntent_r.c: Likewise.
69933         * posix/getopt.c: Likewise.
69934         * posix/wordexp.c: Likewise.
69935         * pwd/fgetpwent_r.c: Likewise.
69936         * resolv/Versions: Likewise.
69937         * resolv/res_hconf.c: Likewise.
69938         * shadow/fgetspent_r.c: Likewise.
69939         * shadow/putspent.c: Likewise.
69940         * stdio-common/printf_fphex.c: Likewise.
69941         * stdio-common/tmpfile.c: Likewise.
69942         * stdlib/abort.c: Likewise.
69943         * stdlib/fmtmsg.c: Likewise.
69944         * sunrpc/auth_unix.c: Likewise.
69945         * sunrpc/clnt_perr.c: Likewise.
69946         * sunrpc/clnt_tcp.c: Likewise.
69947         * sunrpc/clnt_udp.c: Likewise.
69948         * sunrpc/clnt_unix.c: Likewise.
69949         * sunrpc/openchild.c: Likewise.
69950         * sunrpc/svc_simple.c: Likewise.
69951         * sunrpc/svc_tcp.c: Likewise.
69952         * sunrpc/svc_udp.c: Likewise.
69953         * sunrpc/svc_unix.c: Likewise.
69954         * sunrpc/xdr.c: Likewise.
69955         * sunrpc/xdr_array.c: Likewise.
69956         * sunrpc/xdr_rec.c: Likewise.
69957         * sunrpc/xdr_ref.c: Likewise.
69958         * sunrpc/xdr_stdio.c: Likewise.
69960 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69962         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69964 2011-07-03  Andreas Jaeger  <aj@suse.de>
69966         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69967         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69968         regenerate with gen-libm-tests.pl.
69970 2010-05-12  Petr Baudis  <pasky@suse.cz>
69972         [BZ #11589]
69973         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69974         around j0() zero points by switching to j1().
69975         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69976         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69977         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69978         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69980 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69982         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69983         instead of 0.
69984         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69985         instead of 0.
69986         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69987         Patch in part by Pavel Roskin <proski@gnu.org>.
69989         [BZ #13138]
69990         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69991         realloc.
69992         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69993         Free memory block if necessary.
69995         [BZ #12847]
69996         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69997         be NULL.  Don't lock in this case.
69999 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70001         * elf/elf.h (ELFOSABI_GNU): New macro.
70002         (ELFOSABI_LINUX): Define to that.
70004 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70006         * string/strncat.c (strncat): Undef the symbol in case it has been
70007         defined in bits/string.h.
70009 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70011         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70013         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70014         link map.
70016 2011-08-17  Andreas Jaeger  <aj@suse.de>
70018         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70020 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70021             Ian Lance Taylor  <iant@google.com>
70023         * math/libm-test.inc (lround_test): New testcase.
70024         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70026 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70028         * Makefile: Remove support for automatic cvs check-ins.
70029         * Makerules: Likewise.
70030         * config.make.in: Likewise.
70031         * configure.in: Likewise.
70032         * intl/Makefile: Likewise.
70033         * locale/Makefile: Likewise.
70034         * po/Makefile: Likewise.
70035         * posix/Makefile: Likewise.
70036         * sysdeps/gnu/Makefile: Likewise.
70037         * sysdeps/mach/hurd/Makefile: Likewise.
70038         * sysdeps/sparc/sparc32/Makefile: Likewise.
70040         [BZ #13118]
70041         * posix/Makefile (bug-regex32-ENV): Define.
70042         Patch by John Stanley <jpsinthemix@verizon.net>.
70044         * misc/Makefile (headers): Add bits/select2.h.
70045         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70046         * misc/bits/select2.h: New file.
70047         * include/bits/select2.h: New file.
70048         * debug/Makefile (routines): Add fdelt_chk.
70049         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70050         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70051         FD_ISSET.
70052         * debug/fdelt_chk.c: New file.
70054         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70055         * wcsmbs/test-wmemcmp.c: Likewise.
70056         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70057         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70059 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70061         * string/Makefile (strop-tests): Add memcmp.
70062         * string/test-wmemcmp.c: New file.
70063         * string/test-memcmp.c: Add wmemcmp support.
70065 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70067         [BZ #13153]
70068         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70069         2011-07-19 change.
70071         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70072         garbage value in a __mach_port_mod_refs call in the cases of the
70073         task-self and thread-self ports.
70075 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70077         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70079 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70081         * elf/dl-load.c (lose): Check for non-null L.
70083 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70085         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70087         * elf/dl-libc.c (dlerror_run): Pass back error code from
70088         dl_catch_error.
70090         [BZ #13123]
70091         * elf/dl-load.c (lose): Free l_origin if it is valid.
70093         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70094         names.
70095         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70096         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70097         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70098         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70099         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70100         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70102 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70104         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70105         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70106         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70107         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70108         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70109         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70110         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70111         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70112         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70113         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70115 2011-08-15  Alan Modra  <amodra@gmail.com>
70117         [BZ #13092]
70118         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70119         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70120         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70121         ppc_mcount to static-only-routines.
70122         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70123         __mcount_internal.
70124         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70125         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70127 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70129         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70130         for finite and infinity parameters.
70132 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70134         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70135         and add nop instructions for throughput optimization.
70136         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70138 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70141         aligned copy for power7 with vector-scalar instructions.
70142         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70144 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70147         AVX check.
70149 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70151         [BZ #13144]
70152         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70153         last change.
70155 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70157         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70158         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70159         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70160         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70161         clock_gettime.
70163 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70165         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70166         Forgot to demangle the pointer.
70168         * sysdeps/i386/sysdep.h: Define atom_text_section.
70169         * sysdeps/x86_64/sysdep.h: Likewise.
70170         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70171         section with atom_text_section.
70172         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70173         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70174         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70175         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70176         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70178         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70179         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70180         already be defined.  Change to take two parameters and don't assign
70181         result to variable.  Adjust all users.
70182         Define INTERNAL_GETTIME if not already defined.
70183         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70184         call.
70185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70186         HAVE_CLOCK_GETTIME_VSYSCALL.
70187         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70190         gettimeofday vsyscall, just use time.
70192 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70195         <errno.h>.
70197 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70199         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70200         syscall on x86-64.
70201         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70202         syscall.
70203         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70204         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70205         syscall if possible.
70207 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70209         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70210         e_ident.  Don't pass to find_mapsXX.
70211         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70213 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70216         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70217         * sysdeps/x86_64/multiarch/strchr.S: Update.
70218         Check bit_slow_BSF bit.
70219         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70221         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70223 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70225         [BZ #13134]
70226         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70227         before glibc 2.15.
70228         (tryshell): Define.
70229         (__spawni): Change last parameter to be flag.  Test
70230         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70231         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70232         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70233         * posix/spawni.c: Likewise.
70234         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70235         * posix/spawnp.c: Likewise.  Change normal version to use
70236         SPAWN_XFLAGS_USE_PATH.
70237         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70238         SPAWN_XFLAGS_TRY_SHELL.
70240         [BZ #13150]
70241         * posix/glob.h: Remove gcc 1.x support.
70243         [BZ #13068]
70244         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70246 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70249         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70250         strrchr-sse2-bsf
70251         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70252         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70253         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70254         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70255         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70256         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70258 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70260         * sysdeps/x86_64/wcscmp.S: New file.
70262         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70263         wcscmp-c wcscmp-sse2
70264         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70265         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70266         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70267         * wcsmbs/wcscmp.c: Allow renaming.
70269 2011-09-05  David S. Miller  <davem@davemloft.net>
70271         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70272         stack slot, rather than the struct return pointer slot.
70273         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70274         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70276         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70278 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70280         * po/ja.po: Update from translation team.
70282         [BZ #13144]
70283         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70284         kernel in 64-bit binaries.
70286 2011-09-01  David S. Miller  <davem@davemloft.net>
70288         * elf/elf.h (HWCAP_SPARC_*): Move to..
70289         * sysdeps/sparc/sysdep.h: this new file and add new values.
70290         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70291         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70292         _DL_HWCAP_COUNT to 24.
70293         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70294         entries.
70295         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70296         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70297         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70299         instead of magic constants.
70300         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70302 2011-08-31  David S. Miller  <davem@davemloft.net>
70304         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70306         Reimplement to do errno handling inline.
70307         (SYSCALL_ERROR_HANDLER): New macro.
70308         (__SYSCALL_STRING): Do not do errno handling in asm.
70309         (__CLONE_SYSCALL_STRING): Delete.
70310         (__INTERNAL_SYSCALL_STRING): Delete.
70311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70312         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70313         (PSEUDO): Reimplement to do errno handling inline.
70314         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70315         (SYSCALL_ERROR_HANDLER): New macro.
70316         (__SYSCALL_STRING): Do not do errno handling in asm.
70317         (__CLONE_SYSCALL_STRING): Delete.
70318         (__INTERNAL_SYSCALL_STRING): Delete.
70319         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70320         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70321         i386.
70322         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70323         (inline_syscall*): Add 'err' argument.
70324         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70325         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70326         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70327         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70329         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70330         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70332 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70334         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70336 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70338         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70339         directive.
70341 2011-08-24  David S. Miller  <davem@davemloft.net>
70343         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70345 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70347         * elf/Makefile: Add rules to build and run unload8 test.
70348         * elf/unload8.c: New file.
70349         * elf/unload8mod1.c: New file.
70350         * elf/unload8mod1x.c: New file.
70351         * elf/unload8mod2.c: New file.
70352         * elf/unload8mod3.c: New file.
70354         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70355         it wasn't used.
70357 2011-08-23  David S. Miller  <davem@davemloft.net>
70359         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70360         subtract stack bias.
70361         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70362         %sp not %fp in calculations.
70363         (_JMPBUF_UNWINDS_ADJ): Likewise.
70365         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70366         (aio_suspend): Call it to force an exception region around the
70367         AIO_MISC_WAIT() invocation.
70369 2011-08-23  Andreas Schwab  <schwab@redhat.com>
70371         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70372         backslash.
70374 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
70376         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70377         protection macro.
70378         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70379         and <dl-machine.h>.
70380         (Elf64_FuncDesc): Remove.
70382 2011-08-22  David S. Miller  <davem@davemloft.net>
70384         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70385         sigaltstack check, add missing cfi directives.
70386         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70387         missing cfi directives, and sigaltstack handling.
70389 2011-08-16  Andreas Schwab  <schwab@redhat.com>
70391         [BZ #11724]
70392         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70393         object is seen twice.
70394         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70396         * elf/Makefile (distribute): Add tst-initorder2.c.
70397         (tests): Add tst-initorder2.
70398         (modules-names): Add tst-initorder2a tst-initorder2b
70399         tst-initorder2c tst-initorder2d.  Add rules to build them.
70400         ($(objpfx)tst-initorder2.out): New rule.
70401         * elf/tst-initorder2.c: New file.
70402         * elf/tst-initorder2.exp: New file.
70404 2011-08-22  Andreas Schwab  <schwab@redhat.com>
70406         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70408         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70409         dependencies back to end of function.
70411         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70412         $(elfobjdir)/ld.so.
70414 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
70416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70417         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70419         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70420         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70421         of __vdso_gettimeofday.
70422         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70423         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
70424         attribute_hidden.
70425         (_libc_vdso_platform_setup): Remove initialization of
70426         __vdso_gettimeofday and __vdso_time.
70428 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70430         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70431         and fgetc_unlocked.
70432         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70433         getc_unlocked.
70435         * elf/dl-open.c (add_to_global): Report additions to the global scope
70436         for LD_DEBUG=scopes.
70437         (dl_open_worker): Also print scope of newly loaded dependencies.
70438         (_dl_show_scope): Indicate if there is no scope.
70440         [BZ #13114]
70441         * stdio-common/Makefile (tests): Add bug24.
70442         * stdio-common/bug24.c: New file.
70444 2011-08-19  Andreas Jaeger  <aj@suse.de>
70446         [BZ #13114]
70447         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70448         non-existant file when using close-on-exec mode.
70450 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70453         the very first instruction.
70455         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70456         the CFI state in the end.
70457         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70458         inclusion of dl-trampoline.h.
70459         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70461 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70463         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70464         expectations for long double.
70466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70467         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70469 2011-08-14  David S. Miller  <davem@davemloft.net>
70471         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70472         artificual limit depends upon the system page size.
70474 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70476         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70477         * resolv/Makefile: Define CFLAGS-libresolv.
70479 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70481         * nss/makedb.c (compute_tables): Make variables used in nested
70482         function static.
70484 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70486         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70487         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70488         if buffer was too small.
70490         * elf/pldd.c (main): Attach to all threads in the process.
70491         Rewrite /proc handling to use *at functions.
70493 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70495         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70496         specifies first scope to show.
70497         (dl_open_worker): Update callers.  Move printing scope of new
70498         object to before the relocation.
70499         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70500         * sysdeps/generic/ldsodefs.h: Update declaration.
70502         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70503         string for the scope number.
70505 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70507         * nscd/servicescache.c (cache_addserv): Make sure written is always
70508         initialized.
70510 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70512         * sysdeps/i386/i486/bits/atomic.h
70513         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70514         statement expression, so as to suppress "set but not used" warning.
70515         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70517         * string/strncat.c (STRNCAT): Use prototype definition.
70519         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70520         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70521         -Iprograms here.
70522         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70523         (localedef-modules): Add localedef.
70524         (locale-modules): Add locale.
70526         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70527         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70528         to avoid a warning.
70530 2011-08-14  David S. Miller  <davem@davemloft.net>
70532         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70533         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70535 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70537         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70538         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70539         * elf/rtld.c (dl_main): Set l_name of vDSO.
70540         Call _dl_show_scope when DL_DEBUG_SCOPES.
70541         (process_dl_debug): Recognize scopes flag and also set it for all.
70542         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70543         Declare _dl_show_scope.
70545         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70546         (do_dlopen): Pass caller_dlopen to dl_open.
70547         (__libc_dlopen_mode): Initialize caller_dlopen.
70549         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70550         of libc.  Make tolower call locale-independent.  Optimize a bit by
70551         using isdigit instead of isalnum.
70552         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70554 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70556         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70557         was a dependency or dynamically loaded.
70559 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70561         * intl/l10nflist.c: Allow architecture-specific pop function.
70562         * sysdeps/x86_64/l10nflist.c: New file.
70564         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70565         classification.
70567 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70569         * include/dirent.h: Add libc_hidden_proto for scandirat and
70570         scandirat64.  Don't declare __scandirat64.
70571         * dirent/scandirat.c: Add libc_hidden_def.
70572         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70573         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70575 2011-08-10  David S. Miller  <davem@davemloft.net>
70577         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70578         enum.
70579         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70581         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70583 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70585         * Versions.def [libc]: Add GLIBC_2.15.
70586         * dirent/Makefile (routines): Add scandirat and scandirat64.
70587         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70588         GLIBC_2.15.
70589         * dirent/dirent.h: Declare scandirat and scandirat64.
70590         * dirent/scandirat.c: New file.
70591         * dirent/scandirat64.c: New file.
70592         * sysdeps/wordsize-64/scandirat.c: New file.
70593         * sysdeps/wordsize-64/scandirat64.c: New file.
70594         * dirent/opendir.c: Define opendirat.
70595         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70596         using scandirat.
70597         * dirent/scandir64.c: Adjust for scandir.c change.
70598         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70599         __scandirat64, and __scandir_cancel_handler.
70600         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70601         additional parameter and use openat instead of open (outside of ld.so).
70602         Add new __opendir as wrapper around __opendirat.
70603         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70604         here without requiring old scandirat implementation.
70606 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70608         * dirent/scandir.c (cancel_handler): Renamed to
70609         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70610         defined.  Adjust users.
70611         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70612         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70614 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70616         * string/test-string.h (IMPL): Use __STRING to expand name and then
70617         stringify it.
70619         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70620         of cleanups.
70622 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70624         * string/Makefile: Update.
70625         (strop-tests): Append strncat.
70626         * string/test-wcscmp.c: New file.
70627         New comprehensive test for wcscmp.
70628         * string/test-strcmp.c: Update.
70629         (WIDE): New define.
70631 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70633         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70634         line.
70636 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70639         encoding to ACE if AI_IDN.
70641 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70643         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70644         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70646 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70648         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70649         Fix overflow bug in strncat.
70650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70652         * string/test-strncat.c: Update.
70653         Add new tests for checking overflow bugs.
70655 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70658         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70659         * sysdeps/i386/i686/multiarch/strcat.S: New file.
70660         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70661         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70662         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70663         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70664         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70665         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70667         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70668         (USE_AS_STRCAT): Define.
70669         Add strcat and strncat support.
70670         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70672 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70674         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70675         __n bigger than INT_MAX+1.
70676         (__strncmp_g): Likewise.
70678 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70680         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70681         * libio/stido.h: Likewise.
70683         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70684         (AF_NFC): Define.
70685         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70686         (AF_NFC): Define.
70688         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70690         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70691         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70692         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70694         [BZ #13021]
70695         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70696         installed.
70698         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70699         typo.
70700         (_dl_x86_64_save_sse): Likewise.
70702 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70705         OSXSAVE.
70706         (_dl_x86_64_save_sse): Likewise.
70708         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70710         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70712 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70715         change.
70716         (_dl_x86_64_save_sse): Use correct AVX check.
70718 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70720         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70721         bug in strncpy/strncat.
70722         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70724 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70726         * string/tester.c (test_strcat): Add tests for different alignments
70727         of source and destination.
70728         (test_strncat): Likewise.
70730 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70732         [BZ #12852]
70733         * posix/glob.c (glob): Check passed in values before using them in
70734         expressions to avoid some overflows.
70735         (glob_in_dir): Likewise.
70737         [BZ #13007]
70738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70739         check for AVX enablement so that we don't crash with old kernels and
70740         new hardware.
70741         * elf/tst-audit4.c: Add same checks here.
70742         * elf/tst-audit6.c: Likewise.
70744         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70746 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70748         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70750 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70752         * po/cs.po: Update from translation team.
70753         * po/bg.po: Likewise.
70755 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70757         * misc/sys/cdefs.h: Add support for const attribute.
70758         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70759         to gnu_dev_{major,minor,makedev} functions.
70761 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70763         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70765 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70767         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70768         strlen results.
70770 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70773         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70774         register in order to avoid conflicts with the soft frame pointer
70775         being held in r11 when necessary.
70776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70777         (INTERNAL_VSYSCALL_NCS): Likewise.
70779 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70781         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70782         * elf/dl-fini.c (_dl_fini): Adjust caller.
70783         * elf/dl-close.c (_dl_close_worker): Likewise.
70784         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70786 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70788         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70789         "aux_cache->nlibs < 0".
70791         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70792         in the reload-count case.
70794 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70797         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70798         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70799         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70800         * sysdeps/x86_64/multiarch/strcat.S: New file.
70801         * sysdeps/x86_64/multiarch/strncat.S: New file.
70802         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70804         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70805         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70806         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70807         (USE_AS_STRCAT): Define.
70808         Add strcat and strncat support.
70809         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70810         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70811         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70812         * string/strncat.c: Update.
70813         (USE_AS_STRNCAT): Define.
70814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70815         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70816         and i7.
70817         * sysdeps/x86_64/multiarch/init-arch.h
70818         (bit_Prefer_PMINUB_for_stringop): New.
70819         (index_Prefer_PMINUB_for_stringop): Likewise.
70820         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70821         bit_Prefer_PMINUB_for_stringop.
70823 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70825         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70826         buffer64.
70827         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70828         of casting of buffer.
70829         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70830         buffer32 and buffer64.
70831         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70832         writes instead of casting of buffer.
70833         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70834         buffer32.
70835         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70836         casting of buffer.
70838 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70840         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70842 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70844         * nscd/nscd.c (termination_handler): Don't do anything for a database
70845         if it has not yet been initialized.
70847 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70849         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70851 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70853         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70855 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70857         * po/nl.po: Update from translation team.
70858         * po/sv.po: Likewise.
70860 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70862         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70863         now disallowed by GCC.
70865         * configure.in (use-default-link): Default to yes if a test -shared
70866         link meets our qualifications.
70867         * configure: Regenerated.
70869         * config.make.in (output-format): New variable.
70870         * configure.in: Check for ld --print-output-format support.
70871         * configure: Regenerated.
70872         * Makerules ($(common-objpfx)format.lds)
70873         [$(output-format) != unknown]: Just use $(output-format),
70874         instead of the linker-script munging.
70876 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70878         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70879         of $(common-objpfx)shlib.lds.
70880         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70882         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70883         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70885         * configure.in (-z relro check): Adjust test code to add a large
70886         writable data section after it.
70887         * configure: Regenerated.
70889 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70891         * configure.in (-z relro check): Fix test code to make the variable
70892         truly const.
70893         * configure: Regenerated.
70895 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70897         * nscd/nscd.h (struct traced_file): Define.
70898         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70899         elements.  Add traced_files.
70900         (inotify_fd): Declare.
70901         (register_traced_file): Declare.
70902         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70903         (inotify_fd): Export.
70904         (resolv_conf_descr): Remove.
70905         (nscd_init): Move inotify descriptor creation to main.
70906         Don't register files for notification here.
70907         (register_traced_file): New function.
70908         (invalidate_cache): Don't use reset_res to determine whether to call
70909         res_init, go through the list of registered files.
70910         (main_loop_poll): The inotify descriptors are now stored in the
70911         structures for the traced files.
70912         (main_loop_epoll): Likewise.
70913         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70914         to __nss_disable_nscd.
70915         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70916         for a database anymore.  Check the records for all the registered
70917         files instead.
70918         * nss/Makefile (libnss_files-routines): Add files-init.
70919         (libnss_db-routines): Add db-init.
70920         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70921         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70922         * nss/nss_db/db-init.c: New file.
70923         * nss/nss_files/files-init.c: New file.
70924         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70925         __nss_lookup_function.
70926         (__nss_lookup_function): Call nss_load_library.
70927         (nss_load_all_libraries): New function.
70928         (__nss_disable_nscd): Take parameter with callback function for files
70929         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70930         used for the cached services.
70931         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70933         options for features to all the files in nscd.
70935         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70937 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70939         * csu/elf-init.c (__libc_csu_init): Comment typo.
70941 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70943         * po/pl.po: Update from translation team.
70944         * po/ja.po: Likewise.
70945         * po/ru.po: Likewise.
70946         * po/ko.po: Likewise.
70947         * po/fr.po: Likewise.
70949 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70951         * configure.in (.ctors/.dtors header and trailer check):
70952         Use an empirical test on a built program.
70953         * configure: Regenerated.
70955         * configure.in (-z relro check): Use an empirical test on a built DSO.
70956         Detect, but do not require, on ia64.
70957         * configure: Regenerated.
70959         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70960         Update tests that use readelf to use $READELF instead.
70961         * configure: Regenerated.
70963 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70965         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70966         if the result is not used.
70968 2011-07-05  Andreas Jaeger  <aj@suse.de>
70970         [BZ#9696]
70971         * stdlib/tst-strtod.c: Add testcase.
70973 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70975         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70976         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70977         The latter has a higher limit.  Take additional parameter to pass to
70978         the new function.
70979         (__pathconf): Pass file to __statfs_link_max.
70980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70981         __statfs_link_max.
70982         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70983         __statfs_link_max.
70985         [BZ #12868]
70986         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70988         Handle Lustre.
70989         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70990         (__statfs_filesize_max): Likewise.
70991         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70993 2011-07-05  Andreas Jaeger  <aj@suse.de>
70995         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70997 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70999         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71000         `status' variable.
71001         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71002         Likewise.
71004 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71006         * Makefile (strop-tests): Add strncat.
71007         * string/test-strncat.c: New file.
71009 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71011         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71013 2011-06-21  Andreas Jaeger  <aj@suse.de>
71015         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71016         Copy rule from iconvdata/Makefile.
71018 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71020         [BZ #12922]
71021         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71022         but no long options are defined, just return 'W'.
71024 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71026         [BZ #9696]
71027         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71029 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71031         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71032         netgroups to read.
71033         (innetgr): Likewise.
71035 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71037         * config.make.in (install_root): Default to $(DESTDIR).
71039 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71041         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71043 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71045         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71047         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71048         containing directory rather than embedding absolute directory names.
71050         * scripts/check-local-headers.sh: Rewritten using awk.
71051         Match by word, not by line.  Print error messages for matches.
71052         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71054         * Makerules [shlib-lds-flags empty]:
71055         ($(common-objpfx)libc_pic.opts): New target.
71056         ($(common-objpfx)libc_pic.os.clean): New target.
71057         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71059         * config.make.in (OBJCOPY): New variable.
71060         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71061         * configure: Regenerated.
71063         * config.make.in (use-default-link): New variable.
71064         * configure.in (use_default_link): Grok --with-default-link to set it.
71065         * configure: Regenerated.
71066         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71067         (shlib-lds, shlib-lds-flags): Define to empty.
71069         * Makerules (shlib-lds): New variable.
71070         (shlib-lds-flags): New variable.
71071         (build-shlib, build-moduile, build-module-asneeded): Use it.
71072         ($(common-objpfx)libc.so): Use $(shlib-lds).
71073         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71074         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71076         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71077         DT_FLAGS/DT_FLAGS_1 with zero flags.
71079         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71080         linker script munging.
71082 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71084         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71085         as 128-bit value.
71086         * crypt/sha512.c (sha512_process_block): Perform total addition using
71087         128-bit if possible.
71088         (__sha512_finish_ctx): Likewise.
71089         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71090         as 64-bit value.
71091         * crypt/sha256.c (SWAP64): Define.
71092         (sha256_process_block): Perform total addition using 64-bit if
71093         possible.
71094         (__sha256_finish_ctx): Likewise.
71096 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71098         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71100         * nscd/hstcache.c (cache_addhst): Likewise.
71101         * nscd/grpcache.c (cache_addgr): Likewise.
71102         * nscd/aicache.c (addhstaiX): Likewise.
71103         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71105 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71107         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71108         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71109         * nscd/hstcache.c (cache_addhst): Likewise.
71110         * nscd/grpcache.c (cache_addgr): Likewise.
71111         * nscd/aicache.c (addhstaiX): Likewise.
71113 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71115         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71116         domain only when needed.
71118 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71121         is always restored.
71123 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71125         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71126         are re-adding the entry.
71127         * nscd/servicescache.c (cache_addserv): Likewise.
71129 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71131         * sysdeps/generic/dl-irel.h: fix protection against multiple
71132         inclusions.
71133         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71135 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71137         [BZ #12935]
71138         * malloc/memusage.sh: Fix quoting in message.
71139         * debug/xtrace.sh: Likewise.
71141         * configure.in: Remove support for --experimental-malloc option, make
71142         it the default.
71143         * config.make.in: Likewise.
71144         * malloc/Makefile: Likewise.
71146 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71148         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71149         two-byte characters.
71151 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71153         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71154         AC_CACHE_CHECK invocation.
71155         * configure: Regenerated.
71157         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71159 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71161         [BZ #12350]
71162         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71163         bit from old_res_options.
71165         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71167         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71168         value type for setfct.
71170 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71173         __gettimeofday instead of gettimeofday.
71175 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71177         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71179 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71181         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71183         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71184         info.
71186 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71189         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71190         strcpy-sse2-unaligned strncpy-sse2-unaligned
71191         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71192         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71193         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71194         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71195         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71196         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71197         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71198         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71199         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71200         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71201         (STRCPY): Support SSE2 and SSSE3 versions.
71203 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71205         [BZ #12874]
71206         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71207         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71208         kernels which artificially limit size of requests.
71210 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71213         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71214         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71215         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71216         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71217         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71218         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71219         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71220         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71222         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71223         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71224         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71225         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71226         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71228         Enable unaligned load optimization for Intel Core i3, i5 and i7
71229         processors.
71230         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71231         Define.
71232         (index_Fast_Unaligned_Load): Define.
71233         (HAS_FAST_UNALIGNED_LOAD): Define.
71235 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71237         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71239 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71241         [BZ #12907]
71242         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71243         until it is clear that the information is realy needed.
71244         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71246 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71250 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71253         /sys/devices/system/cpu/online if it is usable.
71255         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71256         reading the information from the /proc filesystem to once a second.
71258 2011-06-21  Andreas Jaeger  <aj@suse.de>
71260         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71261         NULL after inclusion of kernel headers.
71263 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71265         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71266         calls to internal_setent.
71268         [BZ #12885]
71269         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71270         addresses using gethostbyname4_r ignore IPv4 addresses.
71272         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71273         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71275         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71277 2011-06-20  David S. Miller  <davem@davemloft.net>
71279         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71280         inclusions.
71281         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71283         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71284         (elf_irel): Use it.
71285         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71286         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71287         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71288         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71289         * sysdeps/x86_64/dl-irel.h: Likewise.
71291         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71292         * elf/dl-sym.c: Likewise.
71294 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71296         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71297         need to dereference resplen2.
71299 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71301         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71303 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71305         * Makeconfig: Define vardbdir and inst_vardbdir.
71306         * nss/Makefile: Add rules to install db-Makefile.
71308         * nss/nss_db/db-XXX.c: Cleanup.
71310         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71311         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71312         GLIBC_PRIVATE.
71313         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71314         * nss/makedb.c: Implement -g option to specify that value strings
71315         are generated and should not be added to table iterated over for
71316         get*ent calls.
71317         * nss/nss_db/db-initgroups.c: New file.
71319         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71320         interface.
71322         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71323         (internal_getgrouplist): Adjust to name change.
71324         Update use_initgroups_entry if this is not the first call.
71325         * nss/databases.def: Add initgroups entry.
71327         * nss/makedb.c (compute_tables): Check result of multiple hash table
71328         sizes to minimize maximum chain length.
71330 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71332         * Versions.def: Add entry for libnss_db.
71333         * shlib-versions: Likewise.
71334         * nss/Makefile: Add rules to build libnss_db.
71335         * nss/Versions: Add libnss_db information.  Organize libnss_files
71336         entries better.
71337         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71338         makedb progra.  Some minor improvements to generate smaller files.
71339         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71340         here from...
71341         * nss/makedb.c: ...here.
71342         Improve database format to be smaller and require less memory at
71343         runtime.
71344         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71345         db anymore.
71346         * nss/nss_db/db-netgrp.c: Likewise.
71347         * nss/nss_db/db-open.c: Likewise.
71348         * nss/nss_files/flies-XXX.x: Adjust comments.
71349         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71350         * nss/nss_files/files-grp.c: Likewise.
71351         * nss/nss_files/files-hosts.c: Likewise.
71352         * nss/nss_files/files-network.c: Likewise.
71353         * nss/nss_files/files-proto.c: Likewise.
71354         * nss/nss_files/files-pwd.c: Likewise.
71355         * nss/nss_files/files-rpc.c: Likewise.
71356         * nss/nss_files/files-service.c: Likewise.
71357         * nss/nss_files/files-sgrp.c: Likewise.
71358         * nss/nss_files/files-spwd.c: Likewise.
71359         * nss/nss_db/db-alias.c: Removed.
71360         * nss/nss_db/dummy-db.h: Removed.
71362 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
71364         * nss/makedb.c: Rewritten to not use database library.
71365         * nss/Makefile: Update to build new makedb program.
71367 2011-06-14  Andreas Jaeger  <aj@suse.de>
71369         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71370         memset declaration.
71372 2011-06-10  Andreas Schwab  <schwab@redhat.com>
71374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71375         tmpbuf.
71377 2011-06-10  Roland McGrath  <roland@hack.frob.com>
71379         * Makerules (shlib.lds): Fail if the linker script comes out empty.
71380         * elf/Makefile ($(objpfx)ld.so): Likewise.
71382         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71383         Don't list ld.so twice in dependencies.
71385         * posix/bug-regex31.c: Include <stdlib.h>.
71387         * nscd/hstcache.c (cache_addhst): Remove unused variable.
71389         * nis/nss_compat/compat-spwd.c
71390         (getspent_next_nss_netgr): Remove unused variable.
71391         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71393         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71394         nonmembers" output to use the right array.
71396         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71398         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71400         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71401         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71402         * catgets/gencat.c (read_input_file): Likewise.
71403         * locale/programs/locarchive.c (enlarge_archive): Likewise.
71405         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71406         variable definition inside #if's controlling its use.
71408         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71410         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71412         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71414         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71415         unreachable code.
71417         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71419         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71420         * configure: Regenerated.
71422         * Makerules: Revert last change.
71423         * elf/Makefile: Likewise.
71425 2011-06-09  Roland McGrath  <roland@hack.frob.com>
71427         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71428         * elf/Makefile ($(objpfx)librtld.os): Likewise.
71429         (reloc-link): Likewise.
71431 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71433         * elf/Makefile: Add rules to build pldd.
71434         * elf/pldd.c: New file.
71435         * elf/pldd-xx.c: New file.
71437 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71439         * version.h: Update for 2.15 development version.
71441 2011-06-07  David S. Miller  <davem@davemloft.net>
71443         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71444         ifuncs.
71445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71446         elf_machine_lazy_rel): Likewise.
71447         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71448         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71449         elf_machine_lazy_rel): Likewise.
71450         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71451         dl_hwcap via passed in argument.
71452         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71453         Likewise.
71455 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71457         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71459 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71461         [BZ #12849]
71462         * manual/fdl-1.1.texi: New file, verbatim from:
71463         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71464         * manual/lgpl-2.1.texi: New file, verbatim from:
71465         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71466         * manual/Makefile (licenses): New variable, list those new file names.
71467         (texis): Use it.
71468         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71470         * manual/fdl.texi: File removed.
71471         * manual/lesser.texi: File removed.
71472         * manual/libc.texinfo (Copying, Documentation License):
71473         Use new @include file names, put @appendix directive before @include.
71475 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71477         [BZ #12841]
71478         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71479         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71480         (mq_open): Add __NTH.
71482 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71485         Assume Intel Core i3/i5/i7 processor if AVX is available.
71487 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71489         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71490         typo.
71492 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71494         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71495         memory.  Use alloca_account.  Fix memory leak when retrying.
71497 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71499         * version.h (RELEASE): Bump for 2.14 release.
71500         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71502         * config.make.in (RANLIB): Remove entry.
71504 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71506         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71507         (libc.pot): Work around missing support for .ksh extension in xgettext.
71509         [BZ #12684]
71510         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71511         if both request failed.
71512         (send_dg): In case of server errors clear resplen or *resplen2.
71514         [BZ #12454]
71515         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71516         when there are multiple maps.
71517         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71518         (_dl_fini): Remove test here.
71520         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71522 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71524         [BZ #12350]
71525         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71526         bit from old_res_options.
71527         (gaih_inet): Likewise.
71529         [BZ #11099]
71530         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71531         as signed.
71533         * resolv/res_init.c (res_setoptions): Make the code more compact.
71535         [BZ #11558]
71536         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71537         set RES_USEVC.
71539         [BZ #11634]
71540         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71542         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71544         [BZ #11781]
71545         * malloc/malloc.h: Declare malloc hook variables as volatile.
71547         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71548         in last patch.
71550         [BZ #11799]
71551         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71552         raise in the comment.
71553         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71555         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71557 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71559         [BZ #12811]
71560         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71561         grow the buffers more if it already has to be sufficient.
71562         (build_wcs_upper_buffer): Likewise.
71563         * posix/regexec.c (check_matching): Likewise.
71564         (clean_state_log_if_needed): Likewise.
71565         (extend_buffers): Don't enlarge buffers beyond size of the input
71566         buffer.
71567         Patches mostly by Emil Wojak <emil@wojak.eu>.
71568         * posix/bug-regex32.c: New file.
71569         * posix/Makefile (tests): Add bug-regex32.
71571         * locale/findlocale.c (_nl_find_locale): Return right away if
71572         _nl_explode_name failed.
71573         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71575         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71577         * debug/xtrace.sh: Unify messages.
71578         * malloc/memusage.sh: Likewise.
71580         [BZ #12813]
71581         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71582         time symbol from vDSO.  Substitute with vsyscall if not available.
71583         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71584         __vdso_time.
71586         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71587         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71588         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71589         Add sendmmsg and internal_sendmmsg.
71590         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71591         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71592         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71594         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71595         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71596         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71598 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71600         [BZ #12813]
71601         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71602         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71603         available.
71604         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71605         __vdso_getcpu.
71607         [BZ #12814]
71608         * iconvdata/Makefile (tests): Add bug-iconv9.
71609         * iconvdata/bug-iconv9.c: New file.
71611 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71613         [BZ #12814]
71614         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71616 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71618         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71619         (struct user_regs_struct): Change intcs field back to cs.
71621 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71623         * po/ja.po: Update from translation team.
71625 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71627         [BZ #12795]
71628         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71629         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71631 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71633         * stdlib/longlong.h: Update from GCC.
71635 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71637         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71638         parameter name.
71639         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71640         Add parameter name.
71641         (__sysconf): Pass it down.
71643 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71645         [BZ #12671]
71646         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71647         some situations.
71648         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71649         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71650         add in in __libc_use_alloca calls.  Adjust callers.
71651         (glob): Use malloc in some situations.
71653         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71654         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71655         pltexit.
71657 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
71659         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71660         and CLOCK_BOOTTIME_ALARM.
71662         [BZ #12782]
71663         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71664         is returned.
71666         * string/_strerror.c (__strerror_r): Print negative errors as signed
71667         numbers.
71669         [BZ #12777]
71670         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71671         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71672         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71674         * configure.in: Fix typo in redirection and correct removal of test
71675         files in two cases.
71677         [BZ #12788]
71678         * locale/setlocale.c (new_composite_name): Fix test to check for
71679         identical name of all categories.
71681         [BZ #12792]
71682         * libio/filedoalloc.c (local_isatty): New function.
71683         (_IO_file_doallocate): Use local_isatty.
71684         * stdio-common/perror.c (perror): In case a new stream is used
71685         forward the stream error.
71686         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71687         error flag.
71689 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71691         [BZ #11884]
71692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71693         alloca.
71694         * include/alloca.h (extend_alloca_account): Define.
71696         [BZ #11857]
71697         * posix/regex.h: Fix comments with documentation of user-accessible
71698         fields after compilation and describe correct free'ing of pattern
71699         after re_compile_pattern.
71700         Patch by Reuben Thomas <rrt@sc3d.org>.
71702 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71704         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71705         and -mno-altivec to prevent the compiler from using Altivec and/or
71706         VSX instructions when the corresponding registers are not available.
71708 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71710         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71712 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71714         * libio/freopen.c (freopen): Use __dup2, not dup2.
71715         * libio/freopen64.c (freopen64): Likewise.
71717 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71719         [BZ #12775]
71720         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71721         * math/Makefile (tests): Add test-powl.
71722         (CFLAGS-test-powl.c): Define.
71723         * math/test-powl.c: New file.
71725 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71727         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71729 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71731         [BZ #11837]
71732         * iconvdata/gb18030.c: Update to GB18020-2005.
71734 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71736         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71737         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71738         Patch by Aharon Robbins <arnold@skeeve.com>.
71740         [BZ #11892]
71741         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71742         on the stack.
71744         [BZ #11895]
71745         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71746         through underflows.
71748         [BZ #12766]
71749         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71750         point to strings before performing equality test for error_one_per_line
71751         mode.
71753         [BZ #11697]
71754         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71756         [BZ #11820]
71757         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71758         (struct user_fpregs_struct): Avoid __uint*_t types.
71760         [BZ #6420]
71761         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71762         symbol info.  Use it instead of calling _dl_addr locally.
71763         (lock_and_info): New function.
71764         (tr_freehook): Call lock_and_info and pass symbol info as additional
71765         parameter to tr_where.
71766         (tr_mallochook): Likewise.
71767         (tr_reallochook): Likewise.
71768         (tr_memalignhook): Likewise.
71770         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71771         used and couldn't be at all thread-safe.
71773 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71775         * libio/freopen.c (freopen): Don't close old file descriptor
71776         before the new one is opened.  Instead dup the new file descriptor
71777         to the old one after the new stream is created.
71778         * libio/freopen64.c (freopen64): Likewise.
71779         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71780         * libio/fileops.c (_IO_new_file_close_it): Handle new
71781         _IO_FLAGS2_NOCLOSE flag.
71782         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71783         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71784         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71785         _IO_FLAGS2_NOCLOSE flag.
71786         * include/unistd.h: Add hidden_proto for dup3.
71787         Define __have_dup3.
71788         * io/dup3.c: Define hidden symbol.
71789         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71791         [BZ #7101]
71792         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71793         when an incomplete long option is used.
71794         * posix/tst-getopt_long1.c: New file.
71795         * posix/Makefile (tests): Add tst-getopt_long1.
71797         [BZ #10138]
71798         * scripts/config.guess: Update from autoconf-2.68.
71799         * scripts/config.sub: Likewise.
71801         [BZ #10157]
71802         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71803         tests into ...
71804         (has_cpuclock): ...this.  New function.
71805         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71806         macro here based on has_cpuclock code.
71808         [BZ #10149]
71809         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71810         First byte (not low byte) is now always NUL.
71811         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71813         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71814         Use non-cancelable interfaces.
71816         [BZ #9809]
71817         * locale/iso-639.def: Add entry for Sorani.
71819         [BZ #11901]
71820         * include/stdlib.h: Move include protection to the right place.
71821         Define abort_msg_s.  Declare __abort_msg with it.
71822         * stdlib/abort.c (__abort_msg): Adjust type.
71823         * assert/assert.c (__assert_fail_base): New function.  Majority
71824         of code from __assert_fail.  Allocate memory for __abort_msg with
71825         mmap.
71826         (__assert_fail): Now call __assert_fail_base.
71827         * assert/assert-perr.c: Remove bulk of implementation.  Use
71828         __assert_fail_base.
71829         * include/assert.hL Declare __assert_fail_base.
71830         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71831         mmap.
71832         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71834 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71836         [BZ #11952]
71837         [BZ #12453]
71838         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71839         until all modules are registered in the DTV.
71840         * elf/Makefile: Add rules to build and run tst-tls19.
71841         * elf/tst-tls19.c: New file.
71842         * elf/tst-tls19mod1.c: New file.
71843         * elf/tst-tls19mod2.c: New file.
71844         * elf/tst-tls19mod3.c: New file.
71845         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71847         [BZ #12083]
71848         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71849         correctly.
71851         [BZ #12601]
71852         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71853         two-byte sequence errors.
71854         * iconvdata/Makefile (tests): Add bug-iconv8.
71855         * iconvdata/bug-iconv8.c: New file.
71857         [BZ #12626]
71858         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71859         buf2 definition.
71861         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71863         [BZ #12432]
71864         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71865         (dummy_getcfa): New function.
71866         (init): Get _Unwind_GetCFA address, use dummy if not found.
71867         (backtrace_helper): In recursion check, also check whether CFA changes.
71868         (__backtrace): Completely initialize arg.
71870         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71871         storing incomplete byte sequence in state object.  Avoid testing for
71872         guaranteed too small input if we know there is enough data available.
71874 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71876         * Makeconfig (+link-pie): Indent.
71877         * Rules (binaries-pie): Define if $(have-fpie) and
71878         $(build-shared).
71879         (binaries-shared): Also filter out $(binaries-pie).
71880         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71881         * nscd/Makefile (others-pie): Add nscd.
71882         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71883         ($(objpfx)nscd): Remove command override.
71884         * login/Makefile (others-pie): Add pt_chown.
71885         ($(objpfx)pt_chown): Remove command override.
71886         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71887         remove command overrides.
71889 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71891         * libio/tst_putwc.c: Fix error messages.
71893         [BZ #12724]
71894         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71895         currently writing and seek to current position when not.
71896         * libio/Makefile (tests): Add bug-fclose1.
71897         * libio/bug-fclose1.c: New file.
71899 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71901         [BZ #12511]
71902         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71903         don't set DF_1_NODELETE here.
71904         (do_lookup_x): When entering new entry test for copy relocation
71905         and if necessary set DF_1_NODELETE flag.
71906         * elf/tst-unique4.cc: New file.
71907         * elf/tst-unique4.h: New file.
71908         * elf/tst-unique4lib.cc: New file.
71909         * elf/Makefile: Add rules to build and run tst-unique4.
71910         Patch by Piotr Bury <pbury@goahead.com>.
71912 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71914         [BZ #12052]
71915         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71917         [BZ #12625]
71918         * misc/mntent_r.c (addmntent): Flush the stream after the output
71920         [BZ #12393]
71921         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71922         (is_trusted_path_normalize): Skip initial colon.  Append slash
71923         to empty buffer.  Duplicate is_trusted_path code but allow
71924         constructed patch to be prefix.
71925         (is_dst): Allow $ORIGIN followed by /.
71926         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71927         Correct testing of result of is_trusted_path_normalize
71928         (decompose_rpath): Fix warning.
71930 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71932         [BZ #11257]
71933         * grp/initgroups.c (internal_getgrouplist): When we found the service
71934         list through the initgroups entry in nsswitch.conf do not always
71935         continue on a successful lookup.  Don't always use the
71936         __nss_group_database value if it is set.
71937         * nss/nsswitch.conf (initgroups): Change action for successful db
71938         lookup to continue for compatibility.
71940 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71942         [BZ #11532]
71943         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71944         and CP774 modules.
71945         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71946         and CP774 modules.
71947         * iconvdata/tst-tables.sh: Likewise.
71948         * iconvdata/cp770.c: New file.
71949         * iconvdata/cp771.c: New file.
71950         * iconvdata/cp772.c: New file.
71951         * iconvdata/cp773.c: New file.
71952         * iconvdata/cp774.c: New file.
71953         * iconvdata/testdata/CP770: New file.
71954         * iconvdata/testdata/CP770..UTF8: New file.
71955         * iconvdata/testdata/CP771: New file.
71956         * iconvdata/testdata/CP771..UTF8: New file.
71957         * iconvdata/testdata/CP772: New file.
71958         * iconvdata/testdata/CP772..UTF8: New file.
71959         * iconvdata/testdata/CP773: New file.
71960         * iconvdata/testdata/CP773..UTF8: New file.
71961         * iconvdata/testdata/CP774: New file.
71962         * iconvdata/testdata/CP774..UTF8: New file.
71964         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71965         END CHARMAP line.
71966         * iconvdata/gen-8bit-gap.sh: Likewise.
71967         * iconvdata/gen-8bit.sh: Likewise.
71969         * locale/iso-639.def: Add ary entry.
71971         [BZ #11258]
71972         * locale/C-translit.h.in: Add U20A1 transliteration.
71974         [BZ #12178]
71975         * locale/iso-639.def: Add wae entry.
71976         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71978         [BZ #12545]
71979         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71980         for n.
71982         [BZ #12711]
71983         * locale/C-translit.h.in: Add entry for U20B9.
71984         Patch by pravin.d.s@gmail.com.
71986 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71988         [BZ #12713]
71989         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71990         ENAMETOOLONG use generic getcwd.
71991         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71992         in rtld.  Use *stat64.
71993         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71994         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71995         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71996         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71997         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71998         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71999         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72000         __fstatat64 macros.
72001         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72002         * dirent/rewinddir.c: Add libc_hidden_def.
72003         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72004         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72006         * include/dirent.h (__alloc_dir): Add flags parameter.
72007         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72008         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72009         __alloc_dir.
72010         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72011         from fdopendir if O_CLOEXEC is already set.
72013 2011-03-15  Alan Modra  <amodra@gmail.com>
72015         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72016         l_tls_firstbyte_offset non-zero.  Save padding offset in
72017         l_tls_firstbyte_offset for later use.
72018         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72019         freeing static tls block.
72021 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72023         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72024         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72025         being defined by the kernel headers.
72027 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72029         [BZ #12734]
72030         * resolv/resolv.h: Define RES_NOTLDQUERY.
72031         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72032         no-tld-query and set RES_NOTLDQUERY.
72033         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72034         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72035         modern BIND to search name as TLD unless forbidden.
72037 2011-05-07  Petr Baudis  <pasky@suse.cz>
72038             Ulrich Drepper  <drepper@gmail.com>
72040         [BZ #12393]
72041         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72042         (is_trusted_path): ...to here.
72043         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72044         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72045         using is_trusted_path_normalize() in setuid scripts.
72047 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72049         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72050         __BEGIN/__END_DECLS.
72052 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72054         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72055         NSS_STATUS_NOTFOUND if no record was found.
72057 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72059         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72060         (headers-not-in-tirpc): Remove rpc/netdb.h
72061         * resolv/netdb.h: Revert last change.
72063 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72065         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72066         circular dependency between libgcc.a and libc.a.
72068 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72070         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72071         * nis/Makefile: Don't install rpcsvc/*.
72072         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72073         instead of <rpc/types.h>.
72074         (MAXHOSTNAMELEN): Define.
72076 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72078         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72080 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72082         [BZ #12714]
72083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72084         gethostbyname4_r when IPv6 results are possible.
72086 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72088         [BZ #12723]
72089         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72090         _PC_PIPE_BUF handling.
72092 2011-04-30  Bruno Haible  <bruno@clisp.org>
72094         [BZ #12717]
72095         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72096         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72097         to 'int'.
72098         * inet/getnameinfo.c (getnameinfo): Likewise.
72100 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72102         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72103         to groups setting in database lookup.
72104         * nss/nsswitch.conf: Add initgroups entry.
72106 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72108         [BZ #12685]
72109         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72110         mode string.
72111         Patch by Eric Blake <eblake@redhat.com>.
72113 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72115         * sunrpc/Makefile (need-export-routines): Add svc_run.
72116         (routines): Remove svc_run.
72117         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72118         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72119         * sunrpc/svc_run.c (svc_run): Likewise.
72120         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72122 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72124         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72125         problem in reallocation in last patch.
72127 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72129         * sunrpc/Makefile: Move inclusion of Rules.
72131 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72133         * nss/nss_files/files-initgroups.c: New file.
72134         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72135         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72136         _nss_files_initgroups_dyn.
72138 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72140         * elf/elf.h (R_ARM_IRELATIVE): Define.
72142 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72144         * po/ru.po: Update from translation team.
72146 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72148         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72149         dependencies.
72151 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72153         [BZ #12653]
72154         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72155         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72156         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72157         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72158         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72160 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72162         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72163         differing bytes.
72164         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72165         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72166         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72168 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72170         [BZ #12420]
72171         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72172         storing it.
72173         * stdlib/bug-getcontext.c: New file.
72174         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72176 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72178         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72179         instructions into .machine "z9-109".
72180         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72181         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72183 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72185         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72186         between environment variables and auxiliary vector.
72188 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72190         * Makefile: Add rules to build linkobj/libc.so.
72191         * include/libc-symbols.h: Define libc_hidden_nolink.
72192         * include/rpc/auth.h: Mark functions which are to be hidden.
72193         * include/rpc/auth_des.h: Likewise.
72194         * include/rpc/auth_unix.h: Likewise.
72195         * include/rpc/clnt.h: Likewise.
72196         * include/rpc/des_crypt.h: Likewise.
72197         * include/rpc/key_prot.h: Likewise.
72198         * include/rpc/pmap_clnt.h: Likewise.
72199         * include/rpc/pmap_prot.h: Likewise.
72200         * include/rpc/pmap_rmt.h: Likewise.
72201         * include/rpc/rpc_msg.h: Likewise.
72202         * include/rpc/svc.h: Likewise.
72203         * include/rpc/svc_auth.h: Likewise.
72204         * include/rpc/xdr.h: Likewise.
72205         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72206         * nss/Makefile: Likewise.
72207         * sunrpc/Makefile: Don't install headers.  Build library with normal
72208         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72209         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72210         for the compat linking library.  Remove use of INTDEF/INTUSE.
72211         * sunrpc/auth_none.c: Likewise.
72212         * sunrpc/auth_unix.c: Likewise.
72213         * sunrpc/authdes_prot.c: Likewise.
72214         * sunrpc/authuxprot.c: Likewise.
72215         * sunrpc/clnt_gen.c: Likewise.
72216         * sunrpc/clnt_perr.c: Likewise.
72217         * sunrpc/clnt_raw.c: Likewise.
72218         * sunrpc/clnt_simp.c: Likewise.
72219         * sunrpc/clnt_tcp.c: Likewise.
72220         * sunrpc/clnt_udp.c: Likewise.
72221         * sunrpc/clnt_unix.c: Likewise.
72222         * sunrpc/des_crypt.c: Likewise.
72223         * sunrpc/des_soft.c: Likewise.
72224         * sunrpc/get_myaddr.c: Likewise.
72225         * sunrpc/key_call.c: Likewise.
72226         * sunrpc/key_prot.c: Likewise.
72227         * sunrpc/netname.c: Likewise.
72228         * sunrpc/pm_getmaps.c: Likewise.
72229         * sunrpc/pm_getport.c: Likewise.
72230         * sunrpc/pmap_clnt.c: Likewise.
72231         * sunrpc/pmap_prot.c: Likewise.
72232         * sunrpc/pmap_prot2.c: Likewise.
72233         * sunrpc/pmap_rmt.c: Likewise.
72234         * sunrpc/publickey.c: Likewise.
72235         * sunrpc/rpc_cmsg.c: Likewise.
72236         * sunrpc/rpc_common.c: Likewise.
72237         * sunrpc/rpc_dtable.c: Likewise.
72238         * sunrpc/rpc_prot.c: Likewise.
72239         * sunrpc/rpc_thread.c: Likewise.
72240         * sunrpc/rtime.c: Likewise.
72241         * sunrpc/svc.c: Likewise.
72242         * sunrpc/svc_auth.c: Likewise.
72243         * sunrpc/svc_authux.c: Likewise.
72244         * sunrpc/svc_raw.c: Likewise.
72245         * sunrpc/svc_run.c: Likewise.
72246         * sunrpc/svc_simple.c: Likewise.
72247         * sunrpc/svc_tcp.c: Likewise.
72248         * sunrpc/svc_udp.c: Likewise.
72249         * sunrpc/svc_unix.c: Likewise.
72250         * sunrpc/svcauth_des.c: Likewise.
72251         * sunrpc/xcrypt.c: Likewise.
72252         * sunrpc/xdr.c: Likewise.
72253         * sunrpc/xdr_array.c: Likewise.
72254         * sunrpc/xdr_float.c: Likewise.
72255         * sunrpc/xdr_intXX_t.c: Likewise.
72256         * sunrpc/xdr_mem.c: Likewise.
72257         * sunrpc/xdr_rec.c: Likewise.
72258         * sunrpc/xdr_ref.c: Likewise.
72259         * sunrpc/xdr_sizeof.c: Likewise.
72260         * sunrpc/xdr_stdio.c: Likewise.
72262 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72264         [BZ #12650]
72265         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72266         * sysdeps/ia64/dl-tls.h: Likewise.
72267         * sysdeps/powerpc/dl-tls.h: Likewise.
72268         * sysdeps/s390/dl-tls.h: Likewise.
72269         * sysdeps/sh/dl-tls.h: Likewise.
72270         * sysdeps/sparc/dl-tls.h: Likewise.
72271         * sysdeps/x86_64/dl-tls.h: Likewise.
72272         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72274 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72276         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72277         rpath element also skip the following colon.
72278         (expand_dynamic_string_token): Add is_path parameter and pass
72279         down to DL_DST_REQUIRED and _dl_dst_substitute.
72280         (decompose_rpath): Call expand_dynamic_string_token with
72281         non-zero is_path.  Ignore empty rpaths.
72282         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72283         with zero is_path.
72285 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72288         Make cancelable.
72290 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72292         [BZ #12655]
72293         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72294         Patch by Filipe David Manana <fdmanana@apache.org>.
72296 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72299         Maintain aligned stack.
72300         (CHECK_RSP): Remove unused macro.
72302 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72304         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72305         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72307 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72309         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72311         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72313 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72315         [BZ #12518]
72316         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72317         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72318         * sysdeps/x86_64/memmove.c: New file.
72319         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72320         (memcpy): Renamed to ...
72321         (__new_memcpy): This.
72322         (memcpy): Provide GLIBC_2_14 memcpy.
72323         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72324         (memcpy): Provide GLIBC_2_2_5 memcpy.
72326 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72328         [BZ #12631]
72329         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72331 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72333         * misc/syncfs.c: New file.
72334         * misc/Makefile (routines): Add syncfs.
72335         * posix/unistd.h: Declare syncfs.
72336         * sysdeps/unix/syscalls.list: Add syncfs.
72338 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72340         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72341         open_by_handle_at.
72342         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72343         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72345         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72347         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72348         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72350 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72352         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72353         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72354         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72355         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72358         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72360         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72361         sync_file_range.c with -fexceptions.
72362         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72363         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72364         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72365         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72366         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72367         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72368         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72369         sync_file_range as cancellation point
72370         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
72371         now a wrapper around __call_sync_file_range with cancellation handling.
72372         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72373         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
72374         function name to __call_sync_file_range.
72375         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72376         Add call_sync_file_range.
72378 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72381         bits/timex.h.
72383 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72385         * iconv/iconv.h: Fix typo in comment.
72386         * io/fcntl.h: Likewise.
72387         * libio/stdio.h: Likewise.
72388         * posix/spawn.h: Likewise.
72389         * posix/unistd.h: Likewise.
72390         * stdlib/stdlib.h: Likewise.
72391         * time/time.h: Likewise.
72392         * wcsmbs/wchar.h: Likewise.
72394         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72395         open_by_handle): Add.
72396         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72397         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
72398         Augment a few comments.
72399         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72400         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72401         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72403         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72404         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72405         open_by_handle.
72407         * io/fcntl.h (AT_EMPTY_PATH): Define.
72409 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
72411         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72412         * sysdeps/unix/sysv/linux/bits/time.h: New file.
72413         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72414         to...
72415         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
72416         * Versions.def: Add GLIBC_2.14.
72417         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72418         Export.
72420 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
72422         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72423         round counter.
72424         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72426 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72428         [BZ #12597]
72429         * string/test-strncmp.c (do_page_test): New function.
72430         (check2): Likewise.
72431         (test_main): Call check2.
72432         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72434 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72436         [BZ #12587]
72437         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72438         Handle cache information in CPU leaf 4.
72439         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72441 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72443         [BZ #12583]
72444         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72445         character representation.
72446         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72448 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72450         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72451         END(__isnan) to END(__isnanf) to match function entry point/label
72452         EALIGN(__isnanf,...).
72454 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72456         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72458 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72460         [BZ #12510]
72461         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72462         copy from the symbol referenced in the relocation to initialize the
72463         used variable.
72464         Patch by Piotr Bury <pbury@goahead.com>.
72465         * elf/Makefile: Add rules to build and tst-unique3.
72466         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72467         * elf/tst-unique3.cc: New file.
72468         * elf/tst-unique3.h: New file.
72469         * elf/tst-unique3lib.cc: New file.
72470         * elf/tst-unique3lib2.cc: New file.
72472         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72474 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72476         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72477         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72478         to _start.
72480 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72482         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72483         to-be-loaded object along a path to loader is ld.so.
72485 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72486             Ulrich Drepper  <drepper@gmail.com>
72488         * sysdeps/x86_64/memset.S: After aligning destination, code
72489         branches to different locations depending on the value of
72490         misalignment, when multiarch is enabled. Fix this.
72492 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72494         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72495         Set _x86_64_preferred_memory_instruction for AMD processsors.
72496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72497         Set bit_Prefer_SSE_for_memop for AMD processors.
72499 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72501         * libio/fmemopen.c (fmemopen): Optimize a bit.
72503 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72505         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72507 2011-03-03  Roland McGrath  <roland@redhat.com>
72509         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72511 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72513         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72514         __bzero_ultra1 instead of __memset_ultra1.
72516 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72517             Ulrich Drepper  <drepper@gmail.com>
72519         [BZ #12509]
72520         * include/link.h (struct link_map): Add l_orig_initfini.
72521         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72522         returning unsuccessfully.
72523         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72524         close of a file loaded at startup, restore the original l_initfini
72525         list.
72526         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72527         list, store the pointer.
72528         * elf/Makefile ($(objpfx)noload-mem): New rule.
72529         (noload-ENV): Define.
72530         (tests): Add $(objpfx)noload-mem.
72531         * elf/noload.c: Include <memcheck.h>.
72532         (main): Call mtrace.  Close all opened handles.
72534 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72536         [BZ #12454]
72537         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72538         dependencies are missing.
72540 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72542         Fix __if_freereq crash: Unlike the generic version which uses free,
72543         Hurd needs munmap.
72544         * sysdeps/mach/hurd/ifreq.h: New file.
72546 2011-01-27  Petr Baudis  <pasky@suse.cz>
72547             Ulrich Drepper  <drepper@gmail.com>
72549         [BZ 12445]#
72550         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72551         to extend_alloca().
72552         * stdio-common/bug23.c: New file.
72553         * stdio-common/Makefile (tests): Add bug23.
72555 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72556             Ulrich Drepper  <drepper@gmail.com>
72558         [BZ #12489]
72559         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72560         before performing relro protection.  At old place add assertion
72561         to make sure nothing changed.
72563 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72564             Glauber de Oliveira Costa  <glommer@gmail.com>
72566         * elf/elf.h: Add new ARM TLS relocs.
72568 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72571         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72572         cast from r3.
72573         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72574         'tests' variable.
72575         * sysdeps/wordsize-64/tst-writev.c: New file.
72577 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72579         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72580         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72581         insns in _dl_start to prevent a TOC reference before relocs are
72582         resolved.
72584 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72586         [BZ #12469]
72587         * Makeconfig: Remove RANLIB definition.
72588         * Makerules: Don't use RANLIB.
72589         * aclocal.m4: Remove ranlib test.
72590         * configure.in: No need to check for ranlib.
72591         * elf/rtld-Rules: Don't use RANLIB.
72593 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72595         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72596         protection macro.
72597         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72598         inclusion protection macro.
72600         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72601         SIGRTMIN and SIGRTMAX and print information in that case only when
72602         SIGRTMIN is defined.
72604 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72606         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72607         arginfo fn returning -1.
72609         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72610         and thousands string is zero terminated.
72612 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72614         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72615         sysdeps/unix/sysv/linux/bits/socket.h.
72617 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72619         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72620         (__CPU_COUNT): Remove old macros.
72621         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72622         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72623         (__CPU_ALLOC, __CPU_FREE): Add macros.
72624         (__sched_cpualloc, __sched_cpufree): Add declarations.
72626 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72628         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72629         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72630         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72631         (readdhstai): Return value of addhstaiX call.
72632         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72633         (addgrbyX): Return value returned by cache_addgr.
72634         (readdgrbyname): Return value returned by addgrbyX.
72635         (readdgrbygid): Likewise.
72636         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72637         (addpwbyX): Return value returned by cache_addpw.
72638         (readdpwbyname): Return value returned by addhstbyX.
72639         (readdpwbyuid): Likewise.
72640         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72641         (addservbyX): Return value returned by cache_addserv.
72642         (readdservbyname): Return value returned by addservbyX:
72643         (readdservbyport): Likewise.
72644         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72645         (addhstbyX): Return value returned by cache_addhst.
72646         (readdhstbyname): Return value returned by addhstbyX.
72647         (readdhstbyaddr): Likewise.
72648         (readdhstbynamev6): Likewise.
72649         (readdhstbyaddrv6): Likewise.
72650         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72651         (readdinitgroups): Return value returned by addinitgroupsX.
72652         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72653         (prune_cache): Keep track of timeout value of re-added entries.
72654         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72655         * nscd/nscd.h: Adjust prototypes of readd* functions.
72657 2011-02-04  Roland McGrath  <roland@redhat.com>
72659         * nis/nis_server.c (nis_servstate): Use the right name for 0.
72660         (nis_stats): Likewise.
72661         * nis/nis_modify.c (nis_modify): Likewise.
72662         * nis/nis_remove.c (nis_remove): Likewise.
72663         * nis/nis_add.c (nis_add): Likewise.
72665         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72667         * posix/fnmatch_loop.c: Add some consts.
72669         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72671 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72673         [BZ #12460]
72674         * config.make.in (config-cflags-novzeroupper): Define.
72675         * configure.in: Substitute libc_cv_cc_novzeroupper.
72676         * elf/Makefile (AVX-CFLAGS): Define.
72677         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72678         (CFLAGS-tst-auditmod4a.c): Likewise.
72679         (CFLAGS-tst-auditmod4b.c): Likewise.
72680         (CFLAGS-tst-auditmod6b.c): Likewise.
72681         (CFLAGS-tst-auditmod6c.c): Likewise.
72682         (CFLAGS-tst-auditmod7b.c): Likewise.
72683         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72685 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72687         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72688         function to the callback.
72689         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72691 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72693         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72694         of errno.
72696 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72698         [BZ #11724]
72699         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72700         of constructors.
72701         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72702         of destructors.
72703         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72705         [BZ #11724]
72706         * elf/Makefile: Add rules to build and run new test.
72707         * elf/tst-initorder.c: New file.
72708         * elf/tst-initorder.exp: New file.
72709         * elf/tst-initordera1.c: New file.
72710         * elf/tst-initordera2.c: New file.
72711         * elf/tst-initordera3.c: New file.
72712         * elf/tst-initordera4.c: New file.
72713         * elf/tst-initorderb1.c: New file.
72714         * elf/tst-initorderb2.c: New file.
72715         * elf/tst-order-a1.c: New file.
72716         * elf/tst-order-a2.c: New file.
72717         * elf/tst-order-a3.c: New file.
72718         * elf/tst-order-a4.c: New file.
72719         * elf/tst-order-b1.c: New file.
72720         * elf/tst-order-b2.c: New file.
72721         * elf/tst-order-main.c: New file.
72722         New test case by George Gensure <werkt0@gmail.com>.
72724 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72727         decoding ACE if AI_CANONIDN.
72729 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72731         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72733 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72735         * version.h (RELEASE): Bump for 2.13 release.
72736         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72738         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72740         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72741         MADV_NOHUGEPAGE.
72742         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72745         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72747         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72749         * posix/getconf.c: Update copyright year.
72750         * catgets/gencat.c: Likewise.
72751         * csu/version.c: Likewise.
72752         * debug/catchsegv.sh: Likewise.
72753         * debug/xtrace.sh: Likewise.
72754         * elf/ldconfig.c: Likewise.
72755         * elf/ldd.bash.in: Likewise.
72756         * elf/sprof.c (print_version): Likewise.
72757         * iconv/iconv_prog.c: Likewise.
72758         * iconv/iconvconfig.c: Likewise.
72759         * locale/programs/locale.c: Likewise.
72760         * locale/programs/localedef.c: Likewise.
72761         * malloc/memusage.sh: Likewise.
72762         * malloc/mtrace.pl: Likewise.
72763         * nscd/nscd.c (print_version): Likewise.
72764         * nss/getent.c: Likewise.
72766         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72767         PF_CAIF, and PF_ALG.
72768         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72770 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72772         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72773         (modules-names): Use them.
72774         (ifunc-test-modules, ifunc-pie-tests): Define.
72775         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72776         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72777         (test-extras): Likewise.
72778         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72779         $(compile-command.c).
72780         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72781         (all-built-dso): Define.
72782         (check-textrel.out, check-execstack.out): Depend on it.
72784         * configure.in: Don't override --enable-multi-arch.
72786 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72788         [BZ #6812]
72789         * nscd/hstcache.c (tryagain): Define.
72790         (cache_addhst): Return tryagain not notfound for temporary errors.
72791         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72792         failed.
72794 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72796         [BZ #10563]
72797         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72798         to make the syscall.
72799         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72801         [BZ #12378]
72802         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72803         and fall back to matching as normal character if the string ends before
72804         the matching ']' is found.  This is what POSIX requires.
72805         * posix/testfnm.c: Adjust test result.
72806         * posix/globtest.sh: Adjust test result.  Add new test.
72807         * posix/tst-fnmatch.input: Likewise.
72808         * posix/tst-fnmatch2.c: Add new test.
72810 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72812         * elf/Makefile (check-execstack): Revert last change.  Depend on
72813         check-execstack.h.
72814         (check-execstack.h): New target.
72815         (generated): Add check-execstack.h.
72816         * elf/check-execstack.c: Include "check-execstack.h".
72817         (main): Revert last change.
72818         (handle_file): Return zero if GNU_STACK is absent and
72819         DEFAULT_STACK_PERMS doesn't include PF_X.
72821 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72823         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72824         in child fails because the descriptor is already closed.
72825         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72826         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72827         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72829         [BZ #12397]
72830         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72831         syscall.
72833         [BZ #10484]
72834         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72835         temporary buffer used to handle multi lookups locally.
72836         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72838 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72840         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72841         loader is ld.so.
72843 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72845         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72846         alignment for SSE2.
72848 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72850         [BZ #12394]
72851         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72852         characters.  When rounding increased number of integer digits recompute
72853         number of groups.
72854         * stdio-common/tst-grouping.c: New file.
72855         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72857 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72859         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72860         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72862         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72863         void.
72864         * bits/select.h: Likewise.
72866 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72868         * po/ja.po: Update from translation team.
72870 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72872         [BZ #11155]
72873         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72874         implementation just like for lxstat, fxstatat, et al.
72876 2010-12-27  Jim Meyering  <meyering@redhat.com>
72878         [BZ #12348]
72879         * posix/regexec.c (build_trtable): Return failure indication upon
72880         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72882 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72884         [BZ #12201]
72885         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72886         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72887         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72888         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72890         [BZ #12207]
72891         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72893         [BZ #12204]
72894         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72895         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72897 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72899         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72900         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72901         script has SORT_BY_INIT_PRIORITY.
72902         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72903         NO_CTORS_DTORS_SECTIONS is defined.
72904         * elf/soinit.c: Likewise.
72905         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72906         NO_CTORS_DTORS_SECTIONS is defined.
72907         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72908         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72909         * sysdeps/sh/init-first.c: Likewise.
72910         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72912 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72914         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72915         always use the slow path.
72917 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72919         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72920         similar rule which adds the sysdep directories to the header search in
72921         order to pick up the correct platform stackinfo.h.
72922         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72923         perform test if it is, otherwise return successfully without testing.
72924         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72925         DEFAULT_STACK_PERMS define in stackinfo.h.
72926         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72927         defined in stackinfo.h.
72928         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72929         DEFAULT_STACK_PERMS defined in stackinfo.h.
72930         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72931         * sysdeps/ia64/stackinfo.h: Likewise.
72932         * sysdeps/s390/stackinfo.h: Likewise.
72933         * sysdeps/sh/stackinfo.h: Likewise.
72934         * sysdeps/sparc/stackinfo.h: Likewise.
72935         * sysdeps/x86_64/stackinfo.h: Likewise.
72936         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72937         PF_X for powerpc64.  Retain PF_X for powerpc32.
72939 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72941         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72942         accurately.
72943         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72944         GETDENTS_64BIT_ALIGNED.
72946 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72948         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72950 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72952         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72953         _GNU_SOURCE.
72955         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72956         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72957         Remove __restrict.
72958         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72959         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72961 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72963         [BZ #11655]
72964         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72965         are initialized.
72967 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72969         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72971 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72973         * po/it.po: Update from translation team.
72975 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72978         unused codes.
72980 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72982         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72984 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72986         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72987         specially.
72988         (gaih_getanswer_slice): Likewise.
72990 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72994 2010-05-31  Petr Baudis  <pasky@suse.cz>
72996         [BZ #11149]
72997         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72998         silently even in the chroot mode.
73000 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73002         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73003         last patch a bit.  Pretty printing
73005 2010-05-31  Petr Baudis <pasky@suse.cz>
73007         [BZ #10085]
73008         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73009         initialization of skip_initgroups_dyn.
73011 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73013         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73014         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73016 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73018         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73020 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73022         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73023         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73024         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73025         ($(objpfx)tst-fnmatch-mem): New rule.
73026         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73027         * posix/tst-fnmatch.c (main): Call mtrace.
73029 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73032         Support Intel processor model 6 and model 0x2c.
73034 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73036         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73037           signed comparison.
73039 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73041         [BZ #12205]
73042         * string/test-strncasecmp.c (check_result): New function.
73043         (do_one_test): Use it.
73044         (check1): New function.
73045         (test_main): Use it.
73046         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73047         Support strcasecmp and strncasecmp.
73049 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73051         [BZ #12194]
73052         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73053         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73055 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73057         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73058         IFUNC support.
73059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73060         memset-x86-64.
73061         * sysdeps/x86_64/multiarch/bzero.S: New file.
73062         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73063         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73064         * sysdeps/x86_64/multiarch/memset.S: New file.
73065         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73067         Set bit_Prefer_SSE_for_memop for Intel processors.
73068         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73069         Define.
73070         (index_Prefer_SSE_for_memop): Define.
73071         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73073 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73075         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73076         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73078 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73080         [BZ #12191]
73081         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73082         (__x86_64_raw_data_cache_size_half): Likewise.
73083         (__x86_64_raw_shared_cache_size): Likewise.
73084         (__x86_64_raw_shared_cache_size_half): Likewise.
73086         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73087         (__x86_64_raw_data_cache_size_half): Likewise.
73088         (__x86_64_raw_shared_cache_size): Likewise.
73089         (__x86_64_raw_shared_cache_size_half): Likewise.
73090         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73091         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73092         and __x86_64_raw_shared_cache_size_half.  Round
73093         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73094         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73095         to multiple of 256 bytes.
73097 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73099         [BZ #12167]
73100         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73101         of inacessible symlinks.  Verify result of symlink before returning it.
73102         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73103         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73105 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73107         * math/math.h (isinf): Fix typo in comment.
73109 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73111         * po/da.po: Update from translation team.
73113 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73115         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73116         is added to the list.
73118 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73119             Ulrich Drepper  <drepper@gmail.com>
73121         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73122         the global list here.  Move code to...
73123         (_dl_add_to_namespace_list): ...here.  New function.
73124         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73125         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73126         * elf/dl-load.c (lose): Don't remove the element from the list.
73127         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73128         (_dl_map_object): Likewise.
73130 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73132         [BZ #12159]
73133         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73134         into all bytes of SSE register.
73135         Patch by Richard Li <richardpku@gmail.com>.
73137 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73139         [BZ #12140]
73140         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73141         perturbing.
73143 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73145         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73146         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73147         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73148         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73150         submachine.
73151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73153 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73155         * include/dlfcn.h (__RTLD_SECURE): Define.
73156         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73157         mode & __RTLD_SECURE instead.
73158         (open_path): Rename preloaded parameter to secure.
73159         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73160         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73161         * elf/dl-deps.c (openaux): Likewise.
73162         * elf/rtld.c (struct map_args): Remove is_preloaded.
73163         (map_doit): Don't use it.
73164         (dl_main): Likewise.
73165         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73166         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73168 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73170         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73171         (sysd-rules-targets): Remove duplicates.
73172         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73173         rtld-%.$o dependency.
73175 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73177         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73178         _dl_map_object do it.
73180 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73182         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73183         fast fma builtins, define the macros in the C99 standard.
73184         (FP_FAST_FMAF): Likewise.
73185         (FP_FAST_FMAL): Likewise.
73186         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73188         * bits/mathdef.h: Update copyright year.
73189         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73191 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73193         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73194         builtins, define the macros in the C99 standard.
73195         (FP_FAST_FMAF): Likewise.
73196         (FP_FAST_FMAL): Likewise.
73197         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73198         multiply/add.
73199         (FP_FAST_FMAF): Likewise.
73201 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73203         [BZ #3268]
73204         * math/libm-test.inc (fma_test): Some new testcases.
73205         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73206         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73207         y and infinite z.  Do multiplication by C already in long double.
73208         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73210         y and infinite z.  Do bitwise or of inexact bit into u.d.
73211         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73212         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73213         * sysdeps/i386/fpu/s_fma.S: Removed.
73214         * sysdeps/i386/fpu/s_fmal.S: Removed.
73216 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73218         [BZ #3268]
73219         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73221         computation is not scheduled after fetestexcept.  Fix value
73222         of minimum denormal long double.
73224 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73226         [BZ #3268]
73227         * math/libm-test.inc (fma_test): Add some more tests.
73228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73229         correctly.
73231 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73233         * scripts/data/localplt-s390-linux-gnu.data: New file.
73234         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73236 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73238         [BZ #3268]
73239         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73240         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73241         instead of dbl-64.
73242         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73243         inlines.
73244         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73246         if one of x and y is very large and the other is subnormal.
73247         * sysdeps/s390/fpu/s_fmaf.c: New file.
73248         * sysdeps/s390/fpu/s_fma.c: New file.
73249         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73250         * sysdeps/powerpc/fpu/s_fma.S: New file.
73251         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73252         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73253         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73255 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73257         [BZ #3268]
73258         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73259         fma tests.
73260         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73261         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73262         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73263         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73264         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73265         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73266         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73268 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73270         [BZ #12078]
73271         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73272         * posix/bug-regex31.input: Add test case.
73274 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73276         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73277         * posix/bug-regex31.input: New file.
73279         [BZ #12078]
73280         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73281         (parse_sub_exp): Fix last change, use postorder.
73283         * posix/bug-regex31.c: New file.
73284         * posix/Makefile: Add rules to build and run bug-regex31.
73286         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73288         [BZ #12078]
73289         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73291         [BZ #12108]
73292         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73293         to have entries in sys_siglist.
73295         [BZ #12093]
73296         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73297         be NULL.
73299 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73301         [BZ #3268]
73302         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73303         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73304         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73305         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73306         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73307         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73308         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73309         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73310         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73311         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73312         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73313         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73314         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73315         * math/ftestexcept.c (fetestexcept): Likewise.
73316         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73317         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73318         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73319         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73320         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73321         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73322         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73324 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73326         [BZ #12107]
73327         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73328         newline.
73330 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73332         * string/bug-strstr1.c: New file.
73333         * string/Makefile: Add rules to build and run bug-strstr1.
73335 2010-10-05  Eric Blake  <eblake@redhat.com>
73337         [BZ #12092]
73338         * string/str-two-way.h (two_way_long_needle): Always clear memory
73339         when skipping input due to the shift table.
73341 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73343         [BZ #12005]
73344         * malloc/mcheck.c: Handle large requests.
73346         [BZ #12077]
73347         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73348         for strncmp and strncasecmp.
73349         * string/stratcliff.c: Add tests for strcmp and strncmp.
73350         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73352 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73354         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73355         __set_fpscr.
73357 2010-09-30  Andreas Jaeger  <aj@suse.de>
73359         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73360         (CGROUP_SUPER_MAGIC): Define.
73361         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73362         Handle btrfs and cgroup file systems.
73363         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73364         Likewise.
73366 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
73368         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73369         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73371 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73373         [BZ #12067]
73374         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73375         trying to locate the ELF header.
73377 2010-09-27  Andreas Schwab  <schwab@redhat.com>
73379         [BZ #11611]
73380         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73381         Mask out sign-bit copies when constructing f_fsid.
73383 2010-09-24  Petr Baudis <pasky@suse.cz>
73385         * debug/stack_chk_fail_local.c: Add missing licence exception.
73386         * debug/warning-nop.c: Likewise.
73388 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
73390         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73391         implementing getdents64 using getdents syscall, set d_type if
73392         __ASSUME_GETDENTS32_D_TYPE.
73394 2010-09-16  Andreas Schwab  <schwab@redhat.com>
73396         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73397         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73399 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
73401         [BZ #12037]
73402         * posix/unistd.h: Undo change of feature selection for ftruncate from
73403         2010-01-11.
73405 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
73407         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73408         detection.
73410 2010-09-20  Andreas Schwab  <schwab@redhat.com>
73412         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73413         fanotify_mark.
73414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73416 2010-09-14  Andreas Schwab  <schwab@redhat.com>
73418         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73419         variables after CHECK_SP call.
73420         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73422 2010-09-13  Andreas Schwab  <schwab@redhat.com>
73423             Ulrich Drepper  <drepper@redhat.com>
73425         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73426         re-relocationg ld.so.
73427         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73428         _dl_init_paths call.
73429         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
73430         here anymore.
73432 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73434         * resolv/res_init.c (__res_vinit): Count the default server we added.
73436 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73437             Ulrich Drepper  <drepper@redhat.com>
73439         [BZ #11968]
73440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73441         (____longjmp_chk): Use %ebx for saving value across system call.
73442         Add unwind info.
73444 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73446         * manual/Makefile: Don't mix pattern rules with normal rules.
73448 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73450         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73451         operation.
73452         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73453         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73454         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73455         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73456         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73457         Likewise.
73459 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73461         [BZ #11979]
73462         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73463         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73465 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73467         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73468         * sysdeps/x86_64/addmul_1.S: Likewise.
73469         * sysdeps/x86_64/lshift.S: Likewise.
73470         * sysdeps/x86_64/mul_1.S: Likewise.
73471         * sysdeps/x86_64/rshift.S: Likewise.
73472         * sysdeps/x86_64/sub_n.S: Likewise.
73473         * sysdeps/x86_64/submul_1.S: Likewise.
73475 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73477         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73478         Define __sched_param instead of SCHED_* and sched_param when
73479         <bits/sched.h> is included with __need_schedparam defined.
73480         * bits/sched.h [__need_schedparam]
73481         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73482         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73483         (__defined_schedparam): Define to 1.
73484         (__sched_param): New structure, identical to sched_param.
73485         (__need_schedparam): Undefine.
73487 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73490         (epoll_create1): Declare.
73492         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73494 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73496         [BZ #7066]
73497         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73498         shifting retval into place.
73500 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73502         * nis/rpcsvc/nis.h: Update copyright notice.
73503         * nis/rpcsvc/nis.x: Likewise.
73504         * nis/rpcsvc/nis_callback.h: Likewise.
73505         * nis/rpcsvc/nis_callback.x: Likewise.
73506         * nis/rpcsvc/nis_object.x: Likewise.
73507         * nis/rpcsvc/nis_tags.h: Likewise.
73508         * nis/rpcsvc/yp.h: Likewise.
73509         * nis/rpcsvc/yp.x: Likewise.
73510         * nis/rpcsvc/ypupd.h: Likewise.
73511         * nis/yp_xdr.c: Likewise.
73512         * nis/ypupdate_xdr.c: Likewise.
73514         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73515         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73516         (pmap_getport): Use __libc_rpc_getport.
73517         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73518         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73519         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73521 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73524         fanotify_mark.
73526 2010-08-27  Roland McGrath  <roland@redhat.com>
73528         * sysdeps/i386/i686/multiarch/Makefile
73529         (CFLAGS-varshift.c): New variable.
73531 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73533         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73534         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73538         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73540 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73542         * sysdeps/x86_64/strlen.S: Unroll the loop.
73543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73544         strlen-sse2 strlen-sse2-bsf.
73545         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73546         __strlen_no_bsf if bit_Slow_BSF is set.
73547         (__strlen_sse42): Removed.
73548         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73549         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73551 2010-08-25  Roland McGrath  <roland@redhat.com>
73553         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73554         * sysdeps/x86_64/multiarch/varshift.c: New file.
73555         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73556         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73557         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73558         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73560 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73563         strlen-sse2 strlen-sse2-bsf.
73564         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73565         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73566         (__strlen_sse2): Removed.
73567         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73570         bit_Slow_BSF for Atom.
73571         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73572         (index_Slow_BSF): Define.
73573         (HAS_SLOW_BSF): Define.
73575 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73577         [BZ #10851]
73578         * resolv/res_init.c (__res_vinit): When no server address at all
73579         is given default to loopback.
73581 2010-08-24  Roland McGrath  <roland@redhat.com>
73583         * configure.in: Remove config-name.h generation.
73584         * configure: Regenerated.
73585         * config-name.in: File removed.
73586         * scripts/config-uname.sh: New file.
73587         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73588         ($(objdir)config-name.h): New target.
73590         * sunrpc/rpc_parse.h: Avoid nested comment.
73592 2010-08-24  Richard Henderson  <rth@redhat.com>
73593             Ulrich Drepper  <drepper@redhat.com>
73594             H.J. Lu  <hongjiu.lu@intel.com>
73596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73598         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73599         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73600         _mm_alignr_epi8 with _mm_loadu_si128.
73601         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73602         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73603         (__m128i_shift_right): Removed.
73604         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73605         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73606         * sysdeps/x86_64/multiarch/varshift.h: New file.
73607         * sysdeps/x86_64/multiarch/varshift.S: New file.
73609 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73611         * configure.in: Move assembler checks to before sysdep dir checking.
73613 2010-08-20  Petr Baudis  <pasky@suse.cz>
73615         * LICENSES: Sync the sunrpc license.
73617 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73619         * sunrpc/auth_des.c: Update copyright notice once again.
73620         * sunrpc/auth_none.c: Likewise.
73621         * sunrpc/auth_unix.c: Likewise.
73622         * sunrpc/authdes_prot.c: Likewise.
73623         * sunrpc/authuxprot.c: Likewise.
73624         * sunrpc/bindrsvprt.c: Likewise.
73625         * sunrpc/clnt_gen.c: Likewise.
73626         * sunrpc/clnt_perr.c: Likewise.
73627         * sunrpc/clnt_raw.c: Likewise.
73628         * sunrpc/clnt_simp.c: Likewise.
73629         * sunrpc/clnt_tcp.c: Likewise.
73630         * sunrpc/clnt_udp.c: Likewise.
73631         * sunrpc/clnt_unix.c: Likewise.
73632         * sunrpc/des_crypt.c: Likewise.
73633         * sunrpc/des_soft.c: Likewise.
73634         * sunrpc/get_myaddr.c: Likewise.
73635         * sunrpc/getrpcport.c: Likewise.
73636         * sunrpc/key_call.c: Likewise.
73637         * sunrpc/key_prot.c: Likewise.
73638         * sunrpc/openchild.c: Likewise.
73639         * sunrpc/pm_getmaps.c: Likewise.
73640         * sunrpc/pm_getport.c: Likewise.
73641         * sunrpc/pmap_clnt.c: Likewise.
73642         * sunrpc/pmap_prot.c: Likewise.
73643         * sunrpc/pmap_prot2.c: Likewise.
73644         * sunrpc/pmap_rmt.c: Likewise.
73645         * sunrpc/rpc/auth.h: Likewise.
73646         * sunrpc/rpc/auth_unix.h: Likewise.
73647         * sunrpc/rpc/clnt.h: Likewise.
73648         * sunrpc/rpc/des_crypt.h: Likewise.
73649         * sunrpc/rpc/key_prot.h: Likewise.
73650         * sunrpc/rpc/netdb.h: Likewise.
73651         * sunrpc/rpc/pmap_clnt.h: Likewise.
73652         * sunrpc/rpc/pmap_prot.h: Likewise.
73653         * sunrpc/rpc/pmap_rmt.h: Likewise.
73654         * sunrpc/rpc/rpc.h: Likewise.
73655         * sunrpc/rpc/rpc_des.h: Likewise.
73656         * sunrpc/rpc/rpc_msg.h: Likewise.
73657         * sunrpc/rpc/svc.h: Likewise.
73658         * sunrpc/rpc/svc_auth.h: Likewise.
73659         * sunrpc/rpc/types.h: Likewise.
73660         * sunrpc/rpc/xdr.h: Likewise.
73661         * sunrpc/rpc_clntout.c: Likewise.
73662         * sunrpc/rpc_cmsg.c: Likewise.
73663         * sunrpc/rpc_common.c: Likewise.
73664         * sunrpc/rpc_cout.c: Likewise.
73665         * sunrpc/rpc_dtable.c: Likewise.
73666         * sunrpc/rpc_hout.c: Likewise.
73667         * sunrpc/rpc_main.c: Likewise.
73668         * sunrpc/rpc_parse.c: Likewise.
73669         * sunrpc/rpc_parse.h: Likewise.
73670         * sunrpc/rpc_prot.c: Likewise.
73671         * sunrpc/rpc_sample.c: Likewise.
73672         * sunrpc/rpc_scan.c: Likewise.
73673         * sunrpc/rpc_scan.h: Likewise.
73674         * sunrpc/rpc_svcout.c: Likewise.
73675         * sunrpc/rpc_tblout.c: Likewise.
73676         * sunrpc/rpc_util.c: Likewise.
73677         * sunrpc/rpc_util.h: Likewise.
73678         * sunrpc/rpcinfo.c: Likewise.
73679         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73680         * sunrpc/rpcsvc/key_prot.x: Likewise.
73681         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73682         * sunrpc/rpcsvc/mount.x: Likewise.
73683         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73684         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73685         * sunrpc/rpcsvc/rex.x: Likewise.
73686         * sunrpc/rpcsvc/rstat.x: Likewise.
73687         * sunrpc/rpcsvc/rusers.x: Likewise.
73688         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73689         * sunrpc/rpcsvc/spray.x: Likewise.
73690         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73691         * sunrpc/rtime.c: Likewise.
73692         * sunrpc/svc.c: Likewise.
73693         * sunrpc/svc_auth.c: Likewise.
73694         * sunrpc/svc_authux.c: Likewise.
73695         * sunrpc/svc_raw.c: Likewise.
73696         * sunrpc/svc_run.c: Likewise.
73697         * sunrpc/svc_simple.c: Likewise.
73698         * sunrpc/svc_tcp.c: Likewise.
73699         * sunrpc/svc_udp.c: Likewise.
73700         * sunrpc/svc_unix.c: Likewise.
73701         * sunrpc/svcauth_des.c: Likewise.
73702         * sunrpc/xcrypt.c: Likewise.
73703         * sunrpc/xdr.c: Likewise.
73704         * sunrpc/xdr_array.c: Likewise.
73705         * sunrpc/xdr_float.c: Likewise.
73706         * sunrpc/xdr_mem.c: Likewise.
73707         * sunrpc/xdr_rec.c: Likewise.
73708         * sunrpc/xdr_ref.c: Likewise.
73709         * sunrpc/xdr_sizeof.c: Likewise.
73710         * sunrpc/xdr_stdio.c: Likewise.
73712         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73713         handling.
73715 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73717         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73719 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73721         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73722         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73723         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73724         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73725         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73726         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73727         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73728         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73730         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73731         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73732         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73733         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73734         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73736 2010-07-26  Anton Blanchard  <anton@samba.org>
73738         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73739         * malloc/arena.c (heap_trim): Likewise.
73741 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73743         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73744         here.  Not...
73745         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73746         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73748 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73750         * sysdeps/i386/elf/Makefile: New file.
73752 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73754         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73755         from fanotify_init.
73756         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73759 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73761         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73762         of strncasecmp_l.
73763         * sysdeps/multiarch/strcmp.S: Likewise.
73765 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73767         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73768         strncase_l-nonascii.
73769         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73770         Add strncase_l-ssse3.
73771         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73772         * sysdeps/x86_64/strcmp.S: Likewise.
73773         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73774         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73775         * sysdeps/x86_64/strncase.S: New file.
73776         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73777         * sysdeps/x86_64/strncase_l.S: New file.
73778         * string/Makefile (strop-tests): Add strncasecmp.
73779         * string/test-strncasecmp.c: New file.
73781         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73782         warning.
73784         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73785         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73787 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73789         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73791 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73793         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73794         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73795         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73797 2010-05-01  Alan Modra  <amodra@gmail.com>
73799         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73800         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73801         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73802         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73803         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73804         tidying.  Don't tail-call __sigjmp_save for static lib.
73805         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73806         save location.
73807         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73808         (CALL_MCOUNT): Add eh info, and nop after bl.
73809         (TAIL_CALL_SYSCALL_ERROR): New macro.
73810         (PSEUDO_RET): Use it.
73811         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73812         Correct save location of integer regs and cr.
73813         (_dl_profile_resolve): Correct cr save location.  Delete nops
73814         after bl when SHARED.  Reduce cfi size a little by better
73815         placement of cfi directives.
73816         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73817         make a stack frame.  Instead use parm save area as a temp.
73818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73819         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73821         Don't make a stack frame for parent, use parm save area.
73822         Increase child stack frame to 112 bytes.  Don't save unused reg,
73823         and adjust reg usage.  Set up cfi on error recovery and
73824         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73826         (__makecontext): Add dummy nop after jump to exit.
73827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73828         Use correct parm save area and cr save, reduce stack frame.
73829         Correct cfi for possible PSEUDO_RET frame setup.
73830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73831         Branch to local label emitted by PSEUDO_RET rather than
73832         __syscall_error.
73834 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73836         [BZ #11904]
73837         * locale/programs/locale.c (print_assignment): New function.
73838         (show_locale_vars): Use it.
73840 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73842         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73843         field.
73844         (struct statfs64): Likewise.
73845         (_STATFS_F_FLAGS): Define.
73846         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73847         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73848         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73849         (ST_VALID): Define locally.
73850         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73851         __statvfs_getflags, use the provided value.
73852         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73853         __ASSUME_STATFS_F_FLAGS.
73855         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73857         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73858         Add sys/fanotify.h.
73859         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73860         fanotify_mask for GLIBC_2.13.
73861         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73862         fanotify_init and fanotify_mark.
73863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73864         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73866         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73867         Add prlimit.
73868         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73869         prlimit64 for GLIBC_2.13.
73870         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73871         prlimit64.
73872         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73873         syscall.
73874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73876         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73877         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73878         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73879         add prlimit alias.
73880         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73882         [BZ #11903]
73883         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73884         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73886         * nss/Makefile: Add rules to build and run tst-nss-test1.
73887         * shlib-versions: Add entry for libnss_test1.
73888         * nss/nss_test1.c: New file.
73889         * nss/tst-nss-test1.c: New file.
73891         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73892         (__nss_configure_lookup): Set appropriate entry in
73893         __nss_configure_lookup to true.
73894         * nss/nsswitch.h: Define enum with indeces of databases in
73895         databases and __nss_database_custom arrays.  Declare
73896         __nss_database_custom.
73897         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73898         to avoid using nscd when custom rules are installed.
73899         * nss/getXXbyYY_r.c: Likewise.
73900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73902         * nss/nss_files/files-parse.c: Whitespace fixes.
73904 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73906         [BZ #11883]
73907         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73908         * posix/fnmatch_loop.c: Likewise.
73910 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73912         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73913         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73914         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73915         * Versions.def [GLIBC_2.13]: Add.
73917 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73920         Also fail if tpwd after pwuid call is NULL.
73922 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73924         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73925         when converting to ms.
73927 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73929         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73930         EOPNOTSUPP errors with ENOTTY.
73931         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73932         EOPNOTSUPP errors with ENOTTY.
73934 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73936         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73937         Add strcasecmp_l-ssse3.
73938         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73939         strcasecmp.
73940         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73941         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73942         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73944 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73946         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73948         * string/Makefile (strop-tests): Add strcasecmp.
73949         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73950         strcasecmp_l-nonascii.
73951         (gen-as-const-headers): Add locale-defines.sym.
73952         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73953         * sysdeps/x86_64/strcasecmp.S: New file.
73954         * sysdeps/x86_64/strcasecmp_l.S: New file.
73955         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73956         * sysdeps/x86_64/locale-defines.sym: New file.
73957         * string/test-strcasecmp.c: New file.
73959         * string/test-strcasestr.c: Test both ends of the range of characters.
73960         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73962 2010-07-29  Roland McGrath  <roland@redhat.com>
73964         [BZ #11856]
73965         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73967 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73969         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73970         for ld.so.
73972 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73974         * manual/memory.texi (Malloc Tunable Parameters): Document
73975         M_PERTURB.
73977 2010-07-26  Roland McGrath  <roland@redhat.com>
73979         [BZ #11840]
73980         * configure.in (-fgnu89-inline check): Set and substitute
73981         gnu89_inline, not libc_cv_gnu89_inline.
73982         * configure: Regenerated.
73983         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73985 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73987         * string/test-strnlen.c: New file.
73988         * string/Makefile (strop-tests): Add strnlen.
73989         * string/tester.c (test_strnlen): Add a few more test cases.
73990         * string/tst-strlen.c: Better error reporting.
73992         * sysdeps/x86_64/strnlen.S: New file.
73994 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73996         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73997         lower-latency instructions.
73999 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74001         * string/test-strcasestr.c: New file.
74002         * string/test-strstr.c: New file.
74003         * string/Makefile (strop-tests): Add strstr and strcasestr.
74004         * string/str-two-way.h: Don't undefine MAX.
74005         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74007 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74009         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74010         strcasestr-nonascii.
74011         (CFLAGS-strcasestr-nonascii.c): Define.
74012         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74013         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74014         Remove unused attribute.
74016 2010-07-20  Roland McGrath  <roland@redhat.com>
74018         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74019         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74020         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74021         like LD_HWCAP_MASK can disable hwcaps.
74023 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74025         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74027 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74029         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74030         call in strcasestr.
74031         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74032         __strcasestr_sse42_nonascii.
74033         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74034         strcasestr-nonascii.c.
74035         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74037 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74039         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74040         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74041         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74042         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74044 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74046         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74047         fcntl.
74049 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74051         [BZ #11577]
74052         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74053         dl_signal_cerror.
74055 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74057         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74058         _PC_PIPE_BUF using F_GETPIPE_SZ.
74060 2010-07-05  Roland McGrath  <roland@redhat.com>
74062         * manual/arith.texi (Rounding Functions): Fix rint description
74063         implicit in round description.
74065 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74067         * elf/Makefile: Fix linking for a few tests to make recent linker
74068         happy.
74070 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74072         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74073         $(common-objpfx)libc_nonshared.a.
74075 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74077         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74078         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74079         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74080         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74081         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74082         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74083         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74084         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74099         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74100         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74101         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74102         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74103         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74104         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74105         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74106         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74107         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74108         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74109         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74110         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74126 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74128         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74129         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74130         * string/memmove.c (memmove): Renamed to ...
74131         (MEMMOVE): ...this.  Default to memmove.
74132         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74133         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74134         (END_CHK): Define.
74135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74136         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74137         mempcpy-ssse3-back memmove-ssse3-back.
74138         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74141         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74142         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74143         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74144         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74145         * sysdeps/x86_64/multiarch/memmove.c: New file.
74146         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74147         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74148         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74149         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74150         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74151         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74152         Define.
74153         (index_Fast_Copy_Backward): Define.
74154         (HAS_ARCH_FEATURE): Define.
74155         (HAS_FAST_REP_STRING): Define.
74156         (HAS_FAST_COPY_BACKWARD): Define.
74158 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74160         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74161         Restore proper fallback handling.
74163 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74165         [BZ #11701]
74166         * posix/group_member.c (__group_member): Correct checking loop.
74168         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74169         OOM in getpwuid_r correctly.  Return error number when the caller
74170         should return, otherwise -1.
74171         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74172         call returning > 0 value.
74173         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74175 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74177         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74178         libc_nonshared.a from targets in modules-names.
74180 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74182         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74183         requires it.
74185 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74187         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74188         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74189         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74190         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74192 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74194         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74196 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74198         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74199         and F_GETPIPE_SZ.
74200         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74204         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74205         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74207 2010-06-14  Roland McGrath  <roland@redhat.com>
74209         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74211 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74213         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74214         __REDIRECT followed by __THROW.
74215         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74216         * posix/getopt.h (getopt): Likewise.
74218 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74220         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74221         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74222         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74223         in AT_FLAGS.
74224         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74225         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74227 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74229         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74231 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74233         [BZ #11640]
74234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74235         Properly check family and model.
74237 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74239         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74241 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74243         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74245 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74247         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74248         symbol reference.
74250 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74252         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74253         symbol reference.
74255 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74257         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74258         and internal_recvmmsg.
74259         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74260         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74261         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74262         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74264         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74265         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74266         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74268 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74270         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74272 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74274         POWER7 optimizations.
74275         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74276         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74278 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74280         * version.h: Update for 2.13 development version.
74282 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74284         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74285         exceptions.  Return 0.
74287 2010-05-07  Roland McGrath  <roland@redhat.com>
74289         * elf/ldconfig.c (main): Add a const.
74291 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74293         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74294         (args_options): Add no-idn option.
74295         (ahosts_keys_int): Add idn_flags to ai_flags.
74296         (parse_option): Handle 'i' option to clear idn_flags.
74298         * malloc/malloc.c (_int_free): Possible race in the most recently
74299         added check.  Only act on the data if no current modification
74300         happened.
74302 See ChangeLog.17 for earlier changes.